@remnawave/backend-contract 0.7.6 → 0.7.8
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.
- package/build/backend/commands/subscription-settings/get-subscription-settings.command.d.ts +5 -0
- package/build/backend/commands/subscription-settings/get-subscription-settings.command.d.ts.map +1 -1
- package/build/backend/commands/subscription-settings/update-subscription-settings.command.d.ts +8 -0
- package/build/backend/commands/subscription-settings/update-subscription-settings.command.d.ts.map +1 -1
- package/build/backend/commands/subscription-settings/update-subscription-settings.command.js +1 -0
- package/build/backend/models/subscription-settings.schema.d.ts +3 -0
- package/build/backend/models/subscription-settings.schema.d.ts.map +1 -1
- package/build/backend/models/subscription-settings.schema.js +1 -0
- package/build/frontend/commands/subscription-settings/update-subscription-settings.command.js +1 -0
- package/build/frontend/models/subscription-settings.schema.js +1 -0
- package/package.json +1 -1
@@ -19,6 +19,7 @@ export declare namespace GetSubscriptionSettingsCommand {
|
|
19
19
|
limitedUsersRemarks: z.ZodArray<z.ZodString, "many">;
|
20
20
|
disabledUsersRemarks: z.ZodArray<z.ZodString, "many">;
|
21
21
|
customResponseHeaders: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
22
|
+
randomizeHosts: z.ZodBoolean;
|
22
23
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
23
24
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
24
25
|
}, "strip", z.ZodTypeAny, {
|
@@ -38,6 +39,7 @@ export declare namespace GetSubscriptionSettingsCommand {
|
|
38
39
|
limitedUsersRemarks: string[];
|
39
40
|
disabledUsersRemarks: string[];
|
40
41
|
customResponseHeaders: Record<string, string> | null;
|
42
|
+
randomizeHosts: boolean;
|
41
43
|
}, {
|
42
44
|
uuid: string;
|
43
45
|
createdAt: string;
|
@@ -55,6 +57,7 @@ export declare namespace GetSubscriptionSettingsCommand {
|
|
55
57
|
limitedUsersRemarks: string[];
|
56
58
|
disabledUsersRemarks: string[];
|
57
59
|
customResponseHeaders: Record<string, string> | null;
|
60
|
+
randomizeHosts: boolean;
|
58
61
|
}>;
|
59
62
|
}, "strip", z.ZodTypeAny, {
|
60
63
|
response: {
|
@@ -74,6 +77,7 @@ export declare namespace GetSubscriptionSettingsCommand {
|
|
74
77
|
limitedUsersRemarks: string[];
|
75
78
|
disabledUsersRemarks: string[];
|
76
79
|
customResponseHeaders: Record<string, string> | null;
|
80
|
+
randomizeHosts: boolean;
|
77
81
|
};
|
78
82
|
}, {
|
79
83
|
response: {
|
@@ -93,6 +97,7 @@ export declare namespace GetSubscriptionSettingsCommand {
|
|
93
97
|
limitedUsersRemarks: string[];
|
94
98
|
disabledUsersRemarks: string[];
|
95
99
|
customResponseHeaders: Record<string, string> | null;
|
100
|
+
randomizeHosts: boolean;
|
96
101
|
};
|
97
102
|
}>;
|
98
103
|
type Response = z.infer<typeof ResponseSchema>;
|
package/build/backend/commands/subscription-settings/get-subscription-settings.command.d.ts.map
CHANGED
@@ -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,2CAI3B,CAAC;IAEK,MAAM,cAAc
|
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,2CAI3B,CAAC;IAEK,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
package/build/backend/commands/subscription-settings/update-subscription-settings.command.d.ts
CHANGED
@@ -18,6 +18,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
18
18
|
limitedUsersRemarks: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
19
19
|
disabledUsersRemarks: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
20
20
|
customResponseHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
21
|
+
randomizeHosts: z.ZodOptional<z.ZodBoolean>;
|
21
22
|
}, "strip", z.ZodTypeAny, {
|
22
23
|
uuid: string;
|
23
24
|
profileTitle?: string | undefined;
|
@@ -33,6 +34,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
33
34
|
limitedUsersRemarks?: string[] | undefined;
|
34
35
|
disabledUsersRemarks?: string[] | undefined;
|
35
36
|
customResponseHeaders?: Record<string, string> | undefined;
|
37
|
+
randomizeHosts?: boolean | undefined;
|
36
38
|
}, {
|
37
39
|
uuid: string;
|
38
40
|
profileTitle?: string | undefined;
|
@@ -48,6 +50,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
48
50
|
limitedUsersRemarks?: string[] | undefined;
|
49
51
|
disabledUsersRemarks?: string[] | undefined;
|
50
52
|
customResponseHeaders?: Record<string, string> | undefined;
|
53
|
+
randomizeHosts?: boolean | undefined;
|
51
54
|
}>;
|
52
55
|
type Request = z.infer<typeof RequestSchema>;
|
53
56
|
const ResponseSchema: z.ZodObject<{
|
@@ -66,6 +69,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
66
69
|
limitedUsersRemarks: z.ZodArray<z.ZodString, "many">;
|
67
70
|
disabledUsersRemarks: z.ZodArray<z.ZodString, "many">;
|
68
71
|
customResponseHeaders: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
72
|
+
randomizeHosts: z.ZodBoolean;
|
69
73
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
70
74
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
71
75
|
}, "strip", z.ZodTypeAny, {
|
@@ -85,6 +89,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
85
89
|
limitedUsersRemarks: string[];
|
86
90
|
disabledUsersRemarks: string[];
|
87
91
|
customResponseHeaders: Record<string, string> | null;
|
92
|
+
randomizeHosts: boolean;
|
88
93
|
}, {
|
89
94
|
uuid: string;
|
90
95
|
createdAt: string;
|
@@ -102,6 +107,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
102
107
|
limitedUsersRemarks: string[];
|
103
108
|
disabledUsersRemarks: string[];
|
104
109
|
customResponseHeaders: Record<string, string> | null;
|
110
|
+
randomizeHosts: boolean;
|
105
111
|
}>;
|
106
112
|
}, "strip", z.ZodTypeAny, {
|
107
113
|
response: {
|
@@ -121,6 +127,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
121
127
|
limitedUsersRemarks: string[];
|
122
128
|
disabledUsersRemarks: string[];
|
123
129
|
customResponseHeaders: Record<string, string> | null;
|
130
|
+
randomizeHosts: boolean;
|
124
131
|
};
|
125
132
|
}, {
|
126
133
|
response: {
|
@@ -140,6 +147,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
140
147
|
limitedUsersRemarks: string[];
|
141
148
|
disabledUsersRemarks: string[];
|
142
149
|
customResponseHeaders: Record<string, string> | null;
|
150
|
+
randomizeHosts: boolean;
|
143
151
|
};
|
144
152
|
}>;
|
145
153
|
type Response = z.infer<typeof ResponseSchema>;
|
package/build/backend/commands/subscription-settings/update-subscription-settings.command.d.ts.map
CHANGED
@@ -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;AAMxB,yBAAiB,iCAAiC,CAAC;IACxC,MAAM,GAAG,+BAAwC,CAAC;IAClD,MAAM,OAAO,+BAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa
|
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;AAMxB,yBAAiB,iCAAiC,CAAC;IACxC,MAAM,GAAG,+BAAwC,CAAC;IAClD,MAAM,OAAO,+BAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA0BxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
package/build/backend/commands/subscription-settings/update-subscription-settings.command.js
CHANGED
@@ -28,6 +28,7 @@ var UpdateSubscriptionSettingsCommand;
|
|
28
28
|
limitedUsersRemarks: zod_1.z.optional(zod_1.z.array(zod_1.z.string())),
|
29
29
|
disabledUsersRemarks: zod_1.z.optional(zod_1.z.array(zod_1.z.string())),
|
30
30
|
customResponseHeaders: zod_1.z.optional(zod_1.z.record(zod_1.z.string(), zod_1.z.string())),
|
31
|
+
randomizeHosts: zod_1.z.optional(zod_1.z.boolean()),
|
31
32
|
});
|
32
33
|
UpdateSubscriptionSettingsCommand.ResponseSchema = zod_1.z.object({
|
33
34
|
response: models_1.SubscriptionSettingsSchema,
|
@@ -14,6 +14,7 @@ export declare const SubscriptionSettingsSchema: z.ZodObject<{
|
|
14
14
|
limitedUsersRemarks: z.ZodArray<z.ZodString, "many">;
|
15
15
|
disabledUsersRemarks: z.ZodArray<z.ZodString, "many">;
|
16
16
|
customResponseHeaders: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
17
|
+
randomizeHosts: z.ZodBoolean;
|
17
18
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
18
19
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
19
20
|
}, "strip", z.ZodTypeAny, {
|
@@ -33,6 +34,7 @@ export declare const SubscriptionSettingsSchema: z.ZodObject<{
|
|
33
34
|
limitedUsersRemarks: string[];
|
34
35
|
disabledUsersRemarks: string[];
|
35
36
|
customResponseHeaders: Record<string, string> | null;
|
37
|
+
randomizeHosts: boolean;
|
36
38
|
}, {
|
37
39
|
uuid: string;
|
38
40
|
createdAt: string;
|
@@ -50,5 +52,6 @@ export declare const SubscriptionSettingsSchema: z.ZodObject<{
|
|
50
52
|
limitedUsersRemarks: string[];
|
51
53
|
disabledUsersRemarks: string[];
|
52
54
|
customResponseHeaders: Record<string, string> | null;
|
55
|
+
randomizeHosts: boolean;
|
53
56
|
}>;
|
54
57
|
//# sourceMappingURL=subscription-settings.schema.d.ts.map
|
@@ -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;AAExB,eAAO,MAAM,0BAA0B
|
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;AAExB,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuCrC,CAAC"}
|
@@ -20,6 +20,7 @@ exports.SubscriptionSettingsSchema = zod_1.z.object({
|
|
20
20
|
limitedUsersRemarks: zod_1.z.array(zod_1.z.string()),
|
21
21
|
disabledUsersRemarks: zod_1.z.array(zod_1.z.string()),
|
22
22
|
customResponseHeaders: zod_1.z.nullable(zod_1.z.record(zod_1.z.string().regex(/^[!#$%&'*+-.^_`|~0-9a-zA-Z]+$/, 'Invalid header name'), zod_1.z.string())),
|
23
|
+
randomizeHosts: zod_1.z.boolean(),
|
23
24
|
createdAt: zod_1.z
|
24
25
|
.string()
|
25
26
|
.datetime()
|
package/build/frontend/commands/subscription-settings/update-subscription-settings.command.js
CHANGED
@@ -28,6 +28,7 @@ var UpdateSubscriptionSettingsCommand;
|
|
28
28
|
limitedUsersRemarks: zod_1.z.optional(zod_1.z.array(zod_1.z.string())),
|
29
29
|
disabledUsersRemarks: zod_1.z.optional(zod_1.z.array(zod_1.z.string())),
|
30
30
|
customResponseHeaders: zod_1.z.optional(zod_1.z.record(zod_1.z.string(), zod_1.z.string())),
|
31
|
+
randomizeHosts: zod_1.z.optional(zod_1.z.boolean()),
|
31
32
|
});
|
32
33
|
UpdateSubscriptionSettingsCommand.ResponseSchema = zod_1.z.object({
|
33
34
|
response: models_1.SubscriptionSettingsSchema,
|
@@ -20,6 +20,7 @@ exports.SubscriptionSettingsSchema = zod_1.z.object({
|
|
20
20
|
limitedUsersRemarks: zod_1.z.array(zod_1.z.string()),
|
21
21
|
disabledUsersRemarks: zod_1.z.array(zod_1.z.string()),
|
22
22
|
customResponseHeaders: zod_1.z.nullable(zod_1.z.record(zod_1.z.string().regex(/^[!#$%&'*+-.^_`|~0-9a-zA-Z]+$/, 'Invalid header name'), zod_1.z.string())),
|
23
|
+
randomizeHosts: zod_1.z.boolean(),
|
23
24
|
createdAt: zod_1.z
|
24
25
|
.string()
|
25
26
|
.datetime()
|