@remnawave/backend-contract 2.9.27 → 2.9.29

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 (31) hide show
  1. package/build/backend/commands/external-squads/actions/reorder.command.d.ts +2 -1
  2. package/build/backend/commands/external-squads/actions/reorder.command.d.ts.map +1 -1
  3. package/build/backend/commands/external-squads/create-external-squad.command.d.ts +2 -1
  4. package/build/backend/commands/external-squads/create-external-squad.command.d.ts.map +1 -1
  5. package/build/backend/commands/external-squads/get-external-squad-by-uuid.command.d.ts +2 -1
  6. package/build/backend/commands/external-squads/get-external-squad-by-uuid.command.d.ts.map +1 -1
  7. package/build/backend/commands/external-squads/get-external-squads.command.d.ts +2 -1
  8. package/build/backend/commands/external-squads/get-external-squads.command.d.ts.map +1 -1
  9. package/build/backend/commands/external-squads/update-external-squad.command.d.ts +4 -2
  10. package/build/backend/commands/external-squads/update-external-squad.command.d.ts.map +1 -1
  11. package/build/backend/commands/external-squads/update-external-squad.command.js +2 -1
  12. package/build/backend/commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.d.ts +1 -0
  13. package/build/backend/commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.d.ts.map +1 -1
  14. package/build/backend/models/export-stream/export-stream.schema.d.ts +2 -2
  15. package/build/backend/models/export-stream/export-stream.schema.d.ts.map +1 -1
  16. package/build/backend/models/export-stream/export-stream.schema.js +10 -3
  17. package/build/backend/models/external-squad.schema.d.ts +2 -1
  18. package/build/backend/models/external-squad.schema.d.ts.map +1 -1
  19. package/build/backend/models/external-squad.schema.js +4 -5
  20. package/build/backend/models/external-squads/external-squad-response-headers.schema.d.ts +2 -1
  21. package/build/backend/models/external-squads/external-squad-response-headers.schema.d.ts.map +1 -1
  22. package/build/backend/models/external-squads/external-squad-response-headers.schema.js +3 -2
  23. package/build/backend/models/resolved-proxy-config.schema.d.ts +3 -0
  24. package/build/backend/models/resolved-proxy-config.schema.d.ts.map +1 -1
  25. package/build/backend/models/resolved-proxy-config.schema.js +1 -0
  26. package/build/frontend/commands/external-squads/update-external-squad.command.js +2 -1
  27. package/build/frontend/models/export-stream/export-stream.schema.js +10 -3
  28. package/build/frontend/models/external-squad.schema.js +4 -5
  29. package/build/frontend/models/external-squads/external-squad-response-headers.schema.js +3 -2
  30. package/build/frontend/models/resolved-proxy-config.schema.js +1 -0
  31. package/package.json +1 -1
@@ -45,7 +45,8 @@ export declare namespace ReorderExternalSquadCommand {
45
45
  serverDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
46
46
  vlessRouteId: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
47
47
  }, z.core.$strip>>;
48
- responseHeaders: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
48
+ responseHeadersAdd: z.ZodRecord<z.ZodString, z.ZodString>;
49
+ responseHeadersRemove: z.ZodArray<z.ZodString>;
49
50
  hwidSettings: z.ZodNullable<z.ZodObject<{
50
51
  enabled: z.ZodBoolean;
51
52
  fallbackDeviceLimit: z.ZodNumber;
@@ -1 +1 @@
1
- {"version":3,"file":"reorder.command.d.ts","sourceRoot":"","sources":["../../../../../commands/external-squads/actions/reorder.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,2BAA2B,CAAC;IAClC,MAAM,GAAG,wCAA2C,CAAC;IACrD,MAAM,OAAO,wCAAM,CAAC;IAEpB,MAAM,eAAe,8CAK3B,CAAC;IAEK,MAAM,iBAAiB;;;;;qBAO5B,CAAC;IAEI,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAKzB,CAAC;IAEH,KAAY,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;IAC5D,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"reorder.command.d.ts","sourceRoot":"","sources":["../../../../../commands/external-squads/actions/reorder.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,2BAA2B,CAAC;IAClC,MAAM,GAAG,wCAA2C,CAAC;IACrD,MAAM,OAAO,wCAAM,CAAC;IAEpB,MAAM,eAAe,8CAK3B,CAAC;IAEK,MAAM,iBAAiB;;;;;qBAO5B,CAAC;IAEI,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAKzB,CAAC;IAEH,KAAY,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;IAC5D,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -40,7 +40,8 @@ export declare namespace CreateExternalSquadCommand {
40
40
  serverDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
41
  vlessRouteId: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
42
42
  }, z.core.$strip>>;
43
- responseHeaders: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
43
+ responseHeadersAdd: z.ZodRecord<z.ZodString, z.ZodString>;
44
+ responseHeadersRemove: z.ZodArray<z.ZodString>;
44
45
  hwidSettings: z.ZodNullable<z.ZodObject<{
45
46
  enabled: z.ZodBoolean;
46
47
  fallbackDeviceLimit: z.ZodNumber;
@@ -1 +1 @@
1
- {"version":3,"file":"create-external-squad.command.d.ts","sourceRoot":"","sources":["../../../../commands/external-squads/create-external-squad.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,0BAA0B,CAAC;IACjC,MAAM,GAAG,yBAAkC,CAAC;IAC5C,MAAM,OAAO,yBAAM,CAAC;IAEpB,MAAM,eAAe,2CAK3B,CAAC;IAEK,MAAM,iBAAiB;;qBAS5B,CAAC;IAEI,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAEzB,CAAC;IAEH,KAAY,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;IAC5D,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"create-external-squad.command.d.ts","sourceRoot":"","sources":["../../../../commands/external-squads/create-external-squad.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,0BAA0B,CAAC;IACjC,MAAM,GAAG,yBAAkC,CAAC;IAC5C,MAAM,OAAO,yBAAM,CAAC;IAEpB,MAAM,eAAe,2CAK3B,CAAC;IAEK,MAAM,iBAAiB;;qBAS5B,CAAC;IAEI,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAEzB,CAAC;IAEH,KAAY,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;IAC5D,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -40,7 +40,8 @@ export declare namespace GetExternalSquadByUuidCommand {
40
40
  serverDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
41
  vlessRouteId: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
42
42
  }, z.core.$strip>>;
43
- responseHeaders: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
43
+ responseHeadersAdd: z.ZodRecord<z.ZodString, z.ZodString>;
44
+ responseHeadersRemove: z.ZodArray<z.ZodString>;
44
45
  hwidSettings: z.ZodNullable<z.ZodObject<{
45
46
  enabled: z.ZodBoolean;
46
47
  fallbackDeviceLimit: z.ZodNumber;
@@ -1 +1 @@
1
- {"version":3,"file":"get-external-squad-by-uuid.command.d.ts","sourceRoot":"","sources":["../../../../commands/external-squads/get-external-squad-by-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,6BAA6B,CAAC;IACpC,MAAM,GAAG,0BAAuC,CAAC;IACjD,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,eAAe,2CAK3B,CAAC;IAEK,MAAM,kBAAkB;;qBAE7B,CAAC;IAEI,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAEzB,CAAC;IAEH,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAC9D,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"get-external-squad-by-uuid.command.d.ts","sourceRoot":"","sources":["../../../../commands/external-squads/get-external-squad-by-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,6BAA6B,CAAC;IACpC,MAAM,GAAG,0BAAuC,CAAC;IACjD,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,eAAe,2CAK3B,CAAC;IAEK,MAAM,kBAAkB;;qBAE7B,CAAC;IAEI,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAEzB,CAAC;IAEH,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAC9D,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -39,7 +39,8 @@ export declare namespace GetExternalSquadsCommand {
39
39
  serverDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
40
  vlessRouteId: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
41
41
  }, z.core.$strip>>;
42
- responseHeaders: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
42
+ responseHeadersAdd: z.ZodRecord<z.ZodString, z.ZodString>;
43
+ responseHeadersRemove: z.ZodArray<z.ZodString>;
43
44
  hwidSettings: z.ZodNullable<z.ZodObject<{
44
45
  enabled: z.ZodBoolean;
45
46
  fallbackDeviceLimit: z.ZodNumber;
@@ -1 +1 @@
1
- {"version":3,"file":"get-external-squads.command.d.ts","sourceRoot":"","sources":["../../../../commands/external-squads/get-external-squads.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,wBAAwB,CAAC;IAC/B,MAAM,GAAG,yBAA+B,CAAC;IACzC,MAAM,OAAO,yBAAM,CAAC;IAEpB,MAAM,eAAe,2CAK3B,CAAC;IAEK,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAKzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"get-external-squads.command.d.ts","sourceRoot":"","sources":["../../../../commands/external-squads/get-external-squads.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,wBAAwB,CAAC;IAC/B,MAAM,GAAG,yBAA+B,CAAC;IACzC,MAAM,OAAO,yBAAM,CAAC;IAEpB,MAAM,eAAe,2CAK3B,CAAC;IAEK,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAKzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -32,7 +32,8 @@ export declare namespace UpdateExternalSquadCommand {
32
32
  serverDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
33
  vlessRouteId: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
34
34
  }, z.core.$strip>>;
35
- responseHeaders: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
35
+ responseHeadersAdd: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
36
+ responseHeadersRemove: z.ZodOptional<z.ZodArray<z.ZodString>>;
36
37
  hwidSettings: z.ZodOptional<z.ZodNullable<z.ZodObject<{
37
38
  enabled: z.ZodBoolean;
38
39
  fallbackDeviceLimit: z.ZodNumber;
@@ -82,7 +83,8 @@ export declare namespace UpdateExternalSquadCommand {
82
83
  serverDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
83
84
  vlessRouteId: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
84
85
  }, z.core.$strip>>;
85
- responseHeaders: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
86
+ responseHeadersAdd: z.ZodRecord<z.ZodString, z.ZodString>;
87
+ responseHeadersRemove: z.ZodArray<z.ZodString>;
86
88
  hwidSettings: z.ZodNullable<z.ZodObject<{
87
89
  enabled: z.ZodBoolean;
88
90
  fallbackDeviceLimit: z.ZodNumber;
@@ -1 +1 @@
1
- {"version":3,"file":"update-external-squad.command.d.ts","sourceRoot":"","sources":["../../../../commands/external-squads/update-external-squad.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAaxB,yBAAiB,0BAA0B,CAAC;IACjC,MAAM,GAAG,yBAAkC,CAAC;IAC5C,MAAM,OAAO,yBAAM,CAAC;IAEpB,MAAM,eAAe,2CAK3B,CAAC;IAEK,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBA2B5B,CAAC;IAEI,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAEzB,CAAC;IAEH,KAAY,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;IAC5D,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"update-external-squad.command.d.ts","sourceRoot":"","sources":["../../../../commands/external-squads/update-external-squad.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAcxB,yBAAiB,0BAA0B,CAAC;IACjC,MAAM,GAAG,yBAAkC,CAAC;IAC5C,MAAM,OAAO,yBAAM,CAAC;IAEpB,MAAM,eAAe,2CAK3B,CAAC;IAEK,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBA4B5B,CAAC;IAEI,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAEzB,CAAC;IAEH,KAAY,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;IAC5D,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -28,7 +28,8 @@ var UpdateExternalSquadCommand;
28
28
  .optional(),
29
29
  subscriptionSettings: models_1.ExternalSquadSubscriptionSettingsSchema.optional(),
30
30
  hostOverrides: models_1.ExternalSquadHostOverridesSchema.optional(),
31
- responseHeaders: models_1.ExternalSquadResponseHeadersSchema.optional(),
31
+ responseHeadersAdd: models_1.ExternalSquadResponseHeadersAddSchema.optional(),
32
+ responseHeadersRemove: models_1.ExternalSquadResponseHeadersRemoveSchema.optional(),
32
33
  hwidSettings: models_1.HwidSettingsSchema.nullish(),
33
34
  customRemarks: models_1.CustomRemarksSchema.nullish(),
34
35
  subpageConfigUuid: zod_1.z.uuid().nullish(),
@@ -170,6 +170,7 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
170
170
  serverName: z.ZodNullable<z.ZodString>;
171
171
  echConfigList: z.ZodNullable<z.ZodString>;
172
172
  echForceQuery: z.ZodNullable<z.ZodString>;
173
+ echSockopt: z.ZodNullable<z.ZodUnknown>;
173
174
  }, z.core.$strip>, z.ZodObject<{
174
175
  fingerprint: z.ZodString;
175
176
  publicKey: z.ZodString;
@@ -1 +1 @@
1
- {"version":3,"file":"get-raw-subscription-by-short-uuid.command.d.ts","sourceRoot":"","sources":["../../../../../commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,oCAAoC,CAAC;IAC3C,MAAM,GAAG,+BAA+C,CAAC;IACzD,MAAM,OAAO,QAAoB,CAAC;IAElC,MAAM,eAAe,8CAK3B,CAAC;IAEK,MAAM,kBAAkB;;qBAE7B,CAAC;IAEI,MAAM,kBAAkB;;qBAM7B,CAAC;IAEI,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAoBzB,CAAC;IAEH,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAC9D,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAC9D,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"get-raw-subscription-by-short-uuid.command.d.ts","sourceRoot":"","sources":["../../../../../commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,oCAAoC,CAAC;IAC3C,MAAM,GAAG,+BAA+C,CAAC;IACzD,MAAM,OAAO,QAAoB,CAAC;IAElC,MAAM,eAAe,8CAK3B,CAAC;IAEK,MAAM,kBAAkB;;qBAE7B,CAAC;IAEI,MAAM,kBAAkB;;qBAM7B,CAAC;IAEI,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAoBzB,CAAC;IAEH,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAC9D,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAC9D,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -32,7 +32,7 @@ export declare const NodeConnectionUserSchema: z.ZodObject<{
32
32
  userId: z.ZodString;
33
33
  ips: z.ZodArray<z.ZodObject<{
34
34
  ip: z.ZodString;
35
- lastSeen: z.ZodCoercedDate<unknown>;
35
+ lastSeen: z.ZodPipe<z.ZodISODateTime, z.ZodTransform<Date, string>>;
36
36
  }, z.core.$strip>>;
37
37
  }, z.core.$strip>;
38
38
  export declare const RemnawaveNodeConnectionsStreamMessageSchema: z.ZodObject<{
@@ -43,7 +43,7 @@ export declare const RemnawaveNodeConnectionsStreamMessageSchema: z.ZodObject<{
43
43
  userId: z.ZodString;
44
44
  ips: z.ZodArray<z.ZodObject<{
45
45
  ip: z.ZodString;
46
- lastSeen: z.ZodCoercedDate<unknown>;
46
+ lastSeen: z.ZodPipe<z.ZodISODateTime, z.ZodTransform<Date, string>>;
47
47
  }, z.core.$strip>>;
48
48
  }, z.core.$strip>>>;
49
49
  }, z.core.$strip>;
@@ -1 +1 @@
1
- {"version":3,"file":"export-stream.schema.d.ts","sourceRoot":"","sources":["../../../../models/export-stream/export-stream.schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAMpB,eAAO,MAAM,iCAAiC,MAAM,CAAC;AAErD,eAAO,MAAM,2BAA2B;;;iBAMtC,CAAC;AAEH,eAAO,MAAM,qCAAqC;;;;;;;;;;;iBAyB5C,CAAC;AAEP,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AACjF,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CAClD,OAAO,qCAAqC,CAC/C,CAAC;AAEF,eAAO,MAAM,2CAA2C,MAAM,CAAC;AAE/D,eAAO,MAAM,+CAA+C;;;;;;iBAkBtD,CAAC;AAEP,MAAM,MAAM,0CAA0C,GAAG,CAAC,CAAC,KAAK,CAC5D,OAAO,+CAA+C,CACzD,CAAC;AAEF,eAAO,MAAM,uCAAuC,MAAM,CAAC;AAE3D,eAAO,MAAM,wBAAwB;;;;;;iBAYnC,CAAC;AAEH,eAAO,MAAM,2CAA2C;;;;;;;;;;;iBA0BlD,CAAC;AAEP,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC3E,MAAM,MAAM,sCAAsC,GAAG,CAAC,CAAC,KAAK,CACxD,OAAO,2CAA2C,CACrD,CAAC"}
1
+ {"version":3,"file":"export-stream.schema.d.ts","sourceRoot":"","sources":["../../../../models/export-stream/export-stream.schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAMpB,eAAO,MAAM,iCAAiC,MAAM,CAAC;AAErD,eAAO,MAAM,2BAA2B;;;iBAMtC,CAAC;AAEH,eAAO,MAAM,qCAAqC;;;;;;;;;;;iBAyB5C,CAAC;AAEP,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AACjF,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CAClD,OAAO,qCAAqC,CAC/C,CAAC;AAEF,eAAO,MAAM,2CAA2C,MAAM,CAAC;AAE/D,eAAO,MAAM,+CAA+C;;;;;;iBAkBtD,CAAC;AAEP,MAAM,MAAM,0CAA0C,GAAG,CAAC,CAAC,KAAK,CAC5D,OAAO,+CAA+C,CACzD,CAAC;AAEF,eAAO,MAAM,uCAAuC,MAAM,CAAC;AAE3D,eAAO,MAAM,wBAAwB;;;;;;iBAanC,CAAC;AAEH,eAAO,MAAM,2CAA2C;;;;;;;;;;;iBAkClD,CAAC;AAEP,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC3E,MAAM,MAAM,sCAAsC,GAAG,CAAC,CAAC,KAAK,CACxD,OAAO,2CAA2C,CACrD,CAAC"}
@@ -66,8 +66,9 @@ exports.NodeConnectionUserSchema = zod_1.default.object({
66
66
  ips: zod_1.default
67
67
  .array(zod_1.default.object({
68
68
  ip: zod_1.default.string().describe('Client IP address.'),
69
- lastSeen: zod_1.default.coerce
70
- .date()
69
+ lastSeen: zod_1.default.iso
70
+ .datetime()
71
+ .transform((str) => new Date(str))
71
72
  .describe('Last time this IP was seen on the node (ISO 8601, UTC).'),
72
73
  }))
73
74
  .describe('IP addresses the user is connected from.'),
@@ -95,7 +96,13 @@ exports.RemnawaveNodeConnectionsStreamMessageSchema = zod_1.default
95
96
  }
96
97
  })
97
98
  .pipe(zod_1.default.array(exports.NodeConnectionUserSchema))
98
- .describe('JSON array of users connected to the node with their IPs.'),
99
+ .describe([
100
+ 'JSON-encoded array of users connected to the node with their IPs.',
101
+ 'Example:',
102
+ '```json',
103
+ '[{ "userId": "42", "ips": [{ "ip": "1.2.3.4", "lastSeen": "2026-07-16T11:59:30.000Z" }] }]',
104
+ '```',
105
+ ].join('\n')),
99
106
  })
100
107
  .meta({
101
108
  description: `A single message of the "${NODE_CONNECTIONS_STREAM_KEY}" Redis Stream (EXPORT_TO_STREAM_ENABLED). Snapshot of connections on one node; retention is time-based.`,
@@ -32,7 +32,8 @@ export declare const ExternalSquadSchema: z.ZodObject<{
32
32
  serverDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
33
  vlessRouteId: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
34
34
  }, z.core.$strip>>;
35
- responseHeaders: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
35
+ responseHeadersAdd: z.ZodRecord<z.ZodString, z.ZodString>;
36
+ responseHeadersRemove: z.ZodArray<z.ZodString>;
36
37
  hwidSettings: z.ZodNullable<z.ZodObject<{
37
38
  enabled: z.ZodBoolean;
38
39
  fallbackDeviceLimit: z.ZodNumber;
@@ -1 +1 @@
1
- {"version":3,"file":"external-squad.schema.d.ts","sourceRoot":"","sources":["../../../models/external-squad.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAUxB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA0B9B,CAAC"}
1
+ {"version":3,"file":"external-squad.schema.d.ts","sourceRoot":"","sources":["../../../models/external-squad.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAWxB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAyB9B,CAAC"}
@@ -18,12 +18,11 @@ exports.ExternalSquadSchema = zod_1.z.object({
18
18
  })),
19
19
  subscriptionSettings: zod_1.z.nullable(external_squads_1.ExternalSquadSubscriptionSettingsSchema),
20
20
  hostOverrides: zod_1.z.nullable(external_squads_1.ExternalSquadHostOverridesSchema),
21
- responseHeaders: external_squads_1.ExternalSquadResponseHeadersSchema,
21
+ responseHeadersAdd: external_squads_1.ExternalSquadResponseHeadersAddSchema,
22
+ responseHeadersRemove: external_squads_1.ExternalSquadResponseHeadersRemoveSchema,
22
23
  hwidSettings: zod_1.z.nullable(subscription_settings_1.HwidSettingsSchema),
23
24
  customRemarks: zod_1.z.nullable(subscription_settings_1.CustomRemarksSchema),
24
25
  subpageConfigUuid: zod_1.z.nullable(zod_1.z.uuid()),
25
- createdAt: zod_1.z.iso.datetime()
26
- .transform((str) => new Date(str)),
27
- updatedAt: zod_1.z.iso.datetime()
28
- .transform((str) => new Date(str)),
26
+ createdAt: zod_1.z.iso.datetime().transform((str) => new Date(str)),
27
+ updatedAt: zod_1.z.iso.datetime().transform((str) => new Date(str)),
29
28
  });
@@ -1,3 +1,4 @@
1
1
  import { z } from 'zod';
2
- export declare const ExternalSquadResponseHeadersSchema: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
2
+ export declare const ExternalSquadResponseHeadersAddSchema: z.ZodRecord<z.ZodString, z.ZodString>;
3
+ export declare const ExternalSquadResponseHeadersRemoveSchema: z.ZodArray<z.ZodString>;
3
4
  //# sourceMappingURL=external-squad-response-headers.schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"external-squad-response-headers.schema.d.ts","sourceRoot":"","sources":["../../../../models/external-squads/external-squad-response-headers.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,kCAAkC,sDAA+C,CAAC"}
1
+ {"version":3,"file":"external-squad-response-headers.schema.d.ts","sourceRoot":"","sources":["../../../../models/external-squads/external-squad-response-headers.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,qCAAqC,uCAAmC,CAAC;AACtF,eAAO,MAAM,wCAAwC,yBAAsB,CAAC"}
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ExternalSquadResponseHeadersSchema = void 0;
3
+ exports.ExternalSquadResponseHeadersRemoveSchema = exports.ExternalSquadResponseHeadersAddSchema = void 0;
4
4
  const zod_1 = require("zod");
5
- exports.ExternalSquadResponseHeadersSchema = zod_1.z.nullable(zod_1.z.record(zod_1.z.string(), zod_1.z.string()));
5
+ exports.ExternalSquadResponseHeadersAddSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.string());
6
+ exports.ExternalSquadResponseHeadersRemoveSchema = zod_1.z.array(zod_1.z.string());
@@ -84,6 +84,7 @@ export declare const TlsSecurityOptionsSchema: z.ZodObject<{
84
84
  serverName: z.ZodNullable<z.ZodString>;
85
85
  echConfigList: z.ZodNullable<z.ZodString>;
86
86
  echForceQuery: z.ZodNullable<z.ZodString>;
87
+ echSockopt: z.ZodNullable<z.ZodUnknown>;
87
88
  }, z.core.$strip>;
88
89
  export declare const RealitySecurityOptionsSchema: z.ZodObject<{
89
90
  fingerprint: z.ZodString;
@@ -204,6 +205,7 @@ export declare const SecurityVariantSchema: z.ZodDiscriminatedUnion<[z.ZodObject
204
205
  serverName: z.ZodNullable<z.ZodString>;
205
206
  echConfigList: z.ZodNullable<z.ZodString>;
206
207
  echForceQuery: z.ZodNullable<z.ZodString>;
208
+ echSockopt: z.ZodNullable<z.ZodUnknown>;
207
209
  }, z.core.$strip>;
208
210
  }, z.core.$strip>, z.ZodObject<{
209
211
  security: z.ZodLiteral<"reality">;
@@ -339,6 +341,7 @@ export declare const ResolvedProxyConfigSchema: z.ZodObject<{
339
341
  serverName: z.ZodNullable<z.ZodString>;
340
342
  echConfigList: z.ZodNullable<z.ZodString>;
341
343
  echForceQuery: z.ZodNullable<z.ZodString>;
344
+ echSockopt: z.ZodNullable<z.ZodUnknown>;
342
345
  }, z.core.$strip>, z.ZodObject<{
343
346
  fingerprint: z.ZodString;
344
347
  publicKey: z.ZodString;
@@ -1 +1 @@
1
- {"version":3,"file":"resolved-proxy-config.schema.d.ts","sourceRoot":"","sources":["../../../models/resolved-proxy-config.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,0BAA0B;;;;;;;;iBAIrC,CAAC;AAEH,eAAO,MAAM,2BAA2B;;iBAEtC,CAAC;AAEH,eAAO,MAAM,gCAAgC;;;;;iBAK3C,CAAC;AA4BH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;iBAEpC,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;;;;;;;;iBAKtC,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;iBAKnC,CAAC;AAEH,eAAO,MAAM,iCAAiC;;;;iBAI5C,CAAC;AAEH,eAAO,MAAM,0BAA0B;;;;iBAIrC,CAAC;AAEH,eAAO,MAAM,yBAAyB;;;;iBAIpC,CAAC;AAEH,eAAO,MAAM,6BAA6B;;iBAExC,CAAC;AAEH,eAAO,MAAM,8BAA8B;;;iBAGzC,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;iBASnC,CAAC;AAEH,eAAO,MAAM,4BAA4B;;;;;;;iBAOvC,CAAC;AAsBH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+BAKhC,CAAC;AAqCH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAQjC,CAAC;AAgBH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;+BAIhC,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;iBAanC,CAAC;AAEH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA2CpC,CAAC"}
1
+ {"version":3,"file":"resolved-proxy-config.schema.d.ts","sourceRoot":"","sources":["../../../models/resolved-proxy-config.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,0BAA0B;;;;;;;;iBAIrC,CAAC;AAEH,eAAO,MAAM,2BAA2B;;iBAEtC,CAAC;AAEH,eAAO,MAAM,gCAAgC;;;;;iBAK3C,CAAC;AA4BH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;iBAEpC,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;;;;;;;;iBAKtC,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;iBAKnC,CAAC;AAEH,eAAO,MAAM,iCAAiC;;;;iBAI5C,CAAC;AAEH,eAAO,MAAM,0BAA0B;;;;iBAIrC,CAAC;AAEH,eAAO,MAAM,yBAAyB;;;;iBAIpC,CAAC;AAEH,eAAO,MAAM,6BAA6B;;iBAExC,CAAC;AAEH,eAAO,MAAM,8BAA8B;;;iBAGzC,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;iBAUnC,CAAC;AAEH,eAAO,MAAM,4BAA4B;;;;;;;iBAOvC,CAAC;AAsBH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+BAKhC,CAAC;AAqCH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAQjC,CAAC;AAgBH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;+BAIhC,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;iBAanC,CAAC;AAEH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA2CpC,CAAC"}
@@ -84,6 +84,7 @@ exports.TlsSecurityOptionsSchema = zod_1.z.object({
84
84
  serverName: zod_1.z.string().nullable(),
85
85
  echConfigList: zod_1.z.string().nullable(),
86
86
  echForceQuery: zod_1.z.string().nullable(),
87
+ echSockopt: zod_1.z.nullable(zod_1.z.unknown()),
87
88
  });
88
89
  exports.RealitySecurityOptionsSchema = zod_1.z.object({
89
90
  fingerprint: zod_1.z.string(),
@@ -28,7 +28,8 @@ var UpdateExternalSquadCommand;
28
28
  .optional(),
29
29
  subscriptionSettings: models_1.ExternalSquadSubscriptionSettingsSchema.optional(),
30
30
  hostOverrides: models_1.ExternalSquadHostOverridesSchema.optional(),
31
- responseHeaders: models_1.ExternalSquadResponseHeadersSchema.optional(),
31
+ responseHeadersAdd: models_1.ExternalSquadResponseHeadersAddSchema.optional(),
32
+ responseHeadersRemove: models_1.ExternalSquadResponseHeadersRemoveSchema.optional(),
32
33
  hwidSettings: models_1.HwidSettingsSchema.nullish(),
33
34
  customRemarks: models_1.CustomRemarksSchema.nullish(),
34
35
  subpageConfigUuid: zod_1.z.uuid().nullish(),
@@ -66,8 +66,9 @@ exports.NodeConnectionUserSchema = zod_1.default.object({
66
66
  ips: zod_1.default
67
67
  .array(zod_1.default.object({
68
68
  ip: zod_1.default.string().describe('Client IP address.'),
69
- lastSeen: zod_1.default.coerce
70
- .date()
69
+ lastSeen: zod_1.default.iso
70
+ .datetime()
71
+ .transform((str) => new Date(str))
71
72
  .describe('Last time this IP was seen on the node (ISO 8601, UTC).'),
72
73
  }))
73
74
  .describe('IP addresses the user is connected from.'),
@@ -95,7 +96,13 @@ exports.RemnawaveNodeConnectionsStreamMessageSchema = zod_1.default
95
96
  }
96
97
  })
97
98
  .pipe(zod_1.default.array(exports.NodeConnectionUserSchema))
98
- .describe('JSON array of users connected to the node with their IPs.'),
99
+ .describe([
100
+ 'JSON-encoded array of users connected to the node with their IPs.',
101
+ 'Example:',
102
+ '```json',
103
+ '[{ "userId": "42", "ips": [{ "ip": "1.2.3.4", "lastSeen": "2026-07-16T11:59:30.000Z" }] }]',
104
+ '```',
105
+ ].join('\n')),
99
106
  })
100
107
  .meta({
101
108
  description: `A single message of the "${NODE_CONNECTIONS_STREAM_KEY}" Redis Stream (EXPORT_TO_STREAM_ENABLED). Snapshot of connections on one node; retention is time-based.`,
@@ -18,12 +18,11 @@ exports.ExternalSquadSchema = zod_1.z.object({
18
18
  })),
19
19
  subscriptionSettings: zod_1.z.nullable(external_squads_1.ExternalSquadSubscriptionSettingsSchema),
20
20
  hostOverrides: zod_1.z.nullable(external_squads_1.ExternalSquadHostOverridesSchema),
21
- responseHeaders: external_squads_1.ExternalSquadResponseHeadersSchema,
21
+ responseHeadersAdd: external_squads_1.ExternalSquadResponseHeadersAddSchema,
22
+ responseHeadersRemove: external_squads_1.ExternalSquadResponseHeadersRemoveSchema,
22
23
  hwidSettings: zod_1.z.nullable(subscription_settings_1.HwidSettingsSchema),
23
24
  customRemarks: zod_1.z.nullable(subscription_settings_1.CustomRemarksSchema),
24
25
  subpageConfigUuid: zod_1.z.nullable(zod_1.z.uuid()),
25
- createdAt: zod_1.z.iso.datetime()
26
- .transform((str) => new Date(str)),
27
- updatedAt: zod_1.z.iso.datetime()
28
- .transform((str) => new Date(str)),
26
+ createdAt: zod_1.z.iso.datetime().transform((str) => new Date(str)),
27
+ updatedAt: zod_1.z.iso.datetime().transform((str) => new Date(str)),
29
28
  });
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ExternalSquadResponseHeadersSchema = void 0;
3
+ exports.ExternalSquadResponseHeadersRemoveSchema = exports.ExternalSquadResponseHeadersAddSchema = void 0;
4
4
  const zod_1 = require("zod");
5
- exports.ExternalSquadResponseHeadersSchema = zod_1.z.nullable(zod_1.z.record(zod_1.z.string(), zod_1.z.string()));
5
+ exports.ExternalSquadResponseHeadersAddSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.string());
6
+ exports.ExternalSquadResponseHeadersRemoveSchema = zod_1.z.array(zod_1.z.string());
@@ -84,6 +84,7 @@ exports.TlsSecurityOptionsSchema = zod_1.z.object({
84
84
  serverName: zod_1.z.string().nullable(),
85
85
  echConfigList: zod_1.z.string().nullable(),
86
86
  echForceQuery: zod_1.z.string().nullable(),
87
+ echSockopt: zod_1.z.nullable(zod_1.z.unknown()),
87
88
  });
88
89
  exports.RealitySecurityOptionsSchema = zod_1.z.object({
89
90
  fingerprint: zod_1.z.string(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remnawave/backend-contract",
3
- "version": "2.9.27",
3
+ "version": "2.9.29",
4
4
  "description": "A contract library for Remnawave Backend. It can be used in backend and frontend.",
5
5
  "keywords": [],
6
6
  "homepage": "https://github.com/remnawave",