@remnawave/backend-contract 3.3.0 → 3.3.1

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.
@@ -82,6 +82,7 @@ export declare namespace GetSubscriptionSettingsCommand {
82
82
  key: z.ZodString;
83
83
  }, z.core.$strip>>;
84
84
  excludeHostsByTags: z.ZodOptional<z.ZodArray<z.ZodString>>;
85
+ respondWithRemarks: z.ZodOptional<z.ZodArray<z.ZodString>>;
85
86
  }, z.core.$strip>>;
86
87
  }, z.core.$strip>>;
87
88
  }, z.core.$strip>>;
@@ -1 +1 @@
1
- {"version":3,"file":"get-subscription-settings.command.d.ts","sourceRoot":"","sources":["../../../../commands/subscription-settings/get-subscription-settings.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,8BAA8B,CAAC;IACrC,MAAM,GAAG,+BAAqC,CAAC;IAC/C,MAAM,OAAO,+BAAM,CAAC;IAEpB,MAAM,eAAe,2CAK3B,CAAC;IAEK,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"get-subscription-settings.command.d.ts","sourceRoot":"","sources":["../../../../commands/subscription-settings/get-subscription-settings.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,8BAA8B,CAAC;IACrC,MAAM,GAAG,+BAAqC,CAAC;IAC/C,MAAM,OAAO,+BAAM,CAAC;IAEpB,MAAM,eAAe,2CAK3B,CAAC;IAEK,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -81,6 +81,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
81
81
  key: z.ZodString;
82
82
  }, z.core.$strip>>;
83
83
  excludeHostsByTags: z.ZodOptional<z.ZodArray<z.ZodString>>;
84
+ respondWithRemarks: z.ZodOptional<z.ZodArray<z.ZodString>>;
84
85
  }, z.core.$strip>>;
85
86
  }, z.core.$strip>>;
86
87
  }, z.core.$strip>>;
@@ -169,6 +170,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
169
170
  key: z.ZodString;
170
171
  }, z.core.$strip>>;
171
172
  excludeHostsByTags: z.ZodOptional<z.ZodArray<z.ZodString>>;
173
+ respondWithRemarks: z.ZodOptional<z.ZodArray<z.ZodString>>;
172
174
  }, z.core.$strip>>;
173
175
  }, z.core.$strip>>;
174
176
  }, z.core.$strip>>;
@@ -1 +1 @@
1
- {"version":3,"file":"update-subscription-settings.command.d.ts","sourceRoot":"","sources":["../../../../commands/subscription-settings/update-subscription-settings.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAWxB,yBAAiB,iCAAiC,CAAC;IACxC,MAAM,GAAG,+BAAwC,CAAC;IAClD,MAAM,OAAO,+BAAM,CAAC;IAEpB,MAAM,eAAe,2CAK3B,CAAC;IAEK,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAmB5B,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-subscription-settings.command.d.ts","sourceRoot":"","sources":["../../../../commands/subscription-settings/update-subscription-settings.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAWxB,yBAAiB,iCAAiC,CAAC;IACxC,MAAM,GAAG,+BAAwC,CAAC;IAClD,MAAM,OAAO,+BAAM,CAAC;IAEpB,MAAM,eAAe,2CAK3B,CAAC;IAEK,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAmB5B,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"}
@@ -68,6 +68,7 @@ export declare namespace TestSrrMatcherCommand {
68
68
  key: z.ZodString;
69
69
  }, z.core.$strip>>;
70
70
  excludeHostsByTags: z.ZodOptional<z.ZodArray<z.ZodString>>;
71
+ respondWithRemarks: z.ZodOptional<z.ZodArray<z.ZodString>>;
71
72
  }, z.core.$strip>>;
72
73
  }, z.core.$strip>>;
73
74
  }, z.core.$strip>;
@@ -145,6 +146,7 @@ export declare namespace TestSrrMatcherCommand {
145
146
  key: z.ZodString;
146
147
  }, z.core.$strip>>;
147
148
  excludeHostsByTags: z.ZodOptional<z.ZodArray<z.ZodString>>;
149
+ respondWithRemarks: z.ZodOptional<z.ZodArray<z.ZodString>>;
148
150
  }, z.core.$strip>>;
149
151
  }, z.core.$strip>>;
150
152
  inputHeaders: z.ZodRecord<z.ZodString, z.ZodString>;
@@ -1 +1 @@
1
- {"version":3,"file":"test-srr-matcher.command.d.ts","sourceRoot":"","sources":["../../../../../commands/system/testers/test-srr-matcher.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,qBAAqB,CAAC;IAC5B,MAAM,GAAG,mCAAsC,CAAC;IAChD,MAAM,OAAO,mCAAM,CAAC;IAEpB,MAAM,eAAe,8CAK3B,CAAC;IACK,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAE5B,CAAC;IAEI,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAQzB,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":"test-srr-matcher.command.d.ts","sourceRoot":"","sources":["../../../../../commands/system/testers/test-srr-matcher.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,qBAAqB,CAAC;IAC5B,MAAM,GAAG,mCAAsC,CAAC;IAChD,MAAM,OAAO,mCAAM,CAAC;IAEpB,MAAM,eAAe,8CAK3B,CAAC;IACK,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAE5B,CAAC;IAEI,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAQzB,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"}
@@ -25,5 +25,6 @@ export declare const ResponseRuleModificationsSchema: z.ZodOptional<z.ZodObject<
25
25
  key: z.ZodString;
26
26
  }, z.core.$strip>>;
27
27
  excludeHostsByTags: z.ZodOptional<z.ZodArray<z.ZodString>>;
28
+ respondWithRemarks: z.ZodOptional<z.ZodArray<z.ZodString>>;
28
29
  }, z.core.$strip>>;
29
30
  //# sourceMappingURL=response-rule-modifications.schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"response-rule-modifications.schema.d.ts","sourceRoot":"","sources":["../../../../models/response-rules/response-rule-modifications.schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,eAAO,MAAM,4BAA4B;;;;;;iBAGvC,CAAC;AAEH,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;kBA+HtC,CAAC"}
1
+ {"version":3,"file":"response-rule-modifications.schema.d.ts","sourceRoot":"","sources":["../../../../models/response-rules/response-rule-modifications.schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,eAAO,MAAM,4BAA4B;;;;;;iBAGvC,CAAC;AAEH,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;kBAoItC,CAAC"}
@@ -100,6 +100,10 @@ exports.ResponseRuleModificationsSchema = zod_1.default
100
100
  title: 'Exclude Hosts by Tags',
101
101
  markdownDescription: 'Excludes hosts from the subscription output if at least one tag in the host matches the given tags.',
102
102
  }),
103
+ respondWithRemarks: zod_1.default.array(zod_1.default.string()).optional().meta({
104
+ title: 'Respond With Remarks',
105
+ markdownDescription: 'Replaces the response body with the provided remarks. If this array contains more than one element, actual hosts will not be sent.',
106
+ }),
103
107
  })
104
108
  .optional()
105
109
  .meta({
@@ -56,6 +56,7 @@ export declare const ResponseRuleSchemaBase: z.ZodObject<{
56
56
  key: z.ZodString;
57
57
  }, z.core.$strip>>;
58
58
  excludeHostsByTags: z.ZodOptional<z.ZodArray<z.ZodString>>;
59
+ respondWithRemarks: z.ZodOptional<z.ZodArray<z.ZodString>>;
59
60
  }, z.core.$strip>>;
60
61
  }, z.core.$strip>;
61
62
  export declare const ResponseRuleSchema: z.ZodObject<{
@@ -115,6 +116,7 @@ export declare const ResponseRuleSchema: z.ZodObject<{
115
116
  key: z.ZodString;
116
117
  }, z.core.$strip>>;
117
118
  excludeHostsByTags: z.ZodOptional<z.ZodArray<z.ZodString>>;
119
+ respondWithRemarks: z.ZodOptional<z.ZodArray<z.ZodString>>;
118
120
  }, z.core.$strip>>;
119
121
  }, z.core.$strip>;
120
122
  //# sourceMappingURL=response-rule.schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"response-rule.schema.d.ts","sourceRoot":"","sources":["../../../../models/response-rules/response-rule.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAexB,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAuCjC,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAmB7B,CAAC"}
1
+ {"version":3,"file":"response-rule.schema.d.ts","sourceRoot":"","sources":["../../../../models/response-rules/response-rule.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAexB,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAuCjC,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAmB7B,CAAC"}
@@ -63,6 +63,7 @@ export declare const ResponseRulesConfigSchema: z.ZodObject<{
63
63
  key: z.ZodString;
64
64
  }, z.core.$strip>>;
65
65
  excludeHostsByTags: z.ZodOptional<z.ZodArray<z.ZodString>>;
66
+ respondWithRemarks: z.ZodOptional<z.ZodArray<z.ZodString>>;
66
67
  }, z.core.$strip>>;
67
68
  }, z.core.$strip>>;
68
69
  }, z.core.$strip>;
@@ -1 +1 @@
1
- {"version":3,"file":"response-rules-config.schema.d.ts","sourceRoot":"","sources":["../../../../models/response-rules/response-rules-config.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAYpC,CAAC"}
1
+ {"version":3,"file":"response-rules-config.schema.d.ts","sourceRoot":"","sources":["../../../../models/response-rules/response-rules-config.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAYpC,CAAC"}
@@ -77,6 +77,7 @@ export declare const SubscriptionSettingsSchema: z.ZodObject<{
77
77
  key: z.ZodString;
78
78
  }, z.core.$strip>>;
79
79
  excludeHostsByTags: z.ZodOptional<z.ZodArray<z.ZodString>>;
80
+ respondWithRemarks: z.ZodOptional<z.ZodArray<z.ZodString>>;
80
81
  }, z.core.$strip>>;
81
82
  }, z.core.$strip>>;
82
83
  }, z.core.$strip>>;
@@ -1 +1 @@
1
- {"version":3,"file":"subscription-settings.schema.d.ts","sourceRoot":"","sources":["../../../models/subscription-settings.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAiBrC,CAAC"}
1
+ {"version":3,"file":"subscription-settings.schema.d.ts","sourceRoot":"","sources":["../../../models/subscription-settings.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAiBrC,CAAC"}
@@ -100,6 +100,10 @@ exports.ResponseRuleModificationsSchema = zod_1.default
100
100
  title: 'Exclude Hosts by Tags',
101
101
  markdownDescription: 'Excludes hosts from the subscription output if at least one tag in the host matches the given tags.',
102
102
  }),
103
+ respondWithRemarks: zod_1.default.array(zod_1.default.string()).optional().meta({
104
+ title: 'Respond With Remarks',
105
+ markdownDescription: 'Replaces the response body with the provided remarks. If this array contains more than one element, actual hosts will not be sent.',
106
+ }),
103
107
  })
104
108
  .optional()
105
109
  .meta({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remnawave/backend-contract",
3
- "version": "3.3.0",
3
+ "version": "3.3.1",
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",