@remnawave/backend-contract 0.0.71 → 0.0.73
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/users/revoke-user-subscription.command.d.ts +8 -2
- package/build/backend/commands/users/revoke-user-subscription.command.d.ts.map +1 -1
- package/build/backend/commands/users/revoke-user-subscription.command.js +3 -1
- package/build/backend/commands/users/update-user.command.d.ts +8 -2
- package/build/backend/commands/users/update-user.command.d.ts.map +1 -1
- package/build/backend/commands/users/update-user.command.js +3 -1
- package/build/frontend/commands/users/revoke-user-subscription.command.js +3 -1
- package/build/frontend/commands/users/update-user.command.js +3 -1
- package/package.json +1 -1
@@ -11,7 +11,7 @@ export declare namespace RevokeUserSubscriptionCommand {
|
|
11
11
|
}>;
|
12
12
|
type Request = z.infer<typeof RequestSchema>;
|
13
13
|
const ResponseSchema: z.ZodObject<{
|
14
|
-
response: z.ZodObject<{
|
14
|
+
response: z.ZodObject<z.objectUtil.extendShape<{
|
15
15
|
uuid: z.ZodString;
|
16
16
|
subscriptionUuid: z.ZodString;
|
17
17
|
shortUuid: z.ZodString;
|
@@ -45,7 +45,9 @@ export declare namespace RevokeUserSubscriptionCommand {
|
|
45
45
|
type: string;
|
46
46
|
tag: string;
|
47
47
|
}>, "many">;
|
48
|
-
},
|
48
|
+
}, {
|
49
|
+
subscriptionUrl: z.ZodString;
|
50
|
+
}>, "strip", z.ZodTypeAny, {
|
49
51
|
uuid: string;
|
50
52
|
username: string;
|
51
53
|
status: "DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED";
|
@@ -71,6 +73,7 @@ export declare namespace RevokeUserSubscriptionCommand {
|
|
71
73
|
type: string;
|
72
74
|
tag: string;
|
73
75
|
}[];
|
76
|
+
subscriptionUrl: string;
|
74
77
|
}, {
|
75
78
|
uuid: string;
|
76
79
|
username: string;
|
@@ -94,6 +97,7 @@ export declare namespace RevokeUserSubscriptionCommand {
|
|
94
97
|
type: string;
|
95
98
|
tag: string;
|
96
99
|
}[];
|
100
|
+
subscriptionUrl: string;
|
97
101
|
status?: "DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED" | undefined;
|
98
102
|
trafficLimitBytes?: number | undefined;
|
99
103
|
trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH" | undefined;
|
@@ -125,6 +129,7 @@ export declare namespace RevokeUserSubscriptionCommand {
|
|
125
129
|
type: string;
|
126
130
|
tag: string;
|
127
131
|
}[];
|
132
|
+
subscriptionUrl: string;
|
128
133
|
};
|
129
134
|
}, {
|
130
135
|
response: {
|
@@ -150,6 +155,7 @@ export declare namespace RevokeUserSubscriptionCommand {
|
|
150
155
|
type: string;
|
151
156
|
tag: string;
|
152
157
|
}[];
|
158
|
+
subscriptionUrl: string;
|
153
159
|
status?: "DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED" | undefined;
|
154
160
|
trafficLimitBytes?: number | undefined;
|
155
161
|
trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH" | undefined;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"revoke-user-subscription.command.d.ts","sourceRoot":"","sources":["../../../../commands/users/revoke-user-subscription.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,6BAA6B,CAAC;IACpC,MAAM,GAAG,0BAAqC,CAAC;IAC/C,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc
|
1
|
+
{"version":3,"file":"revoke-user-subscription.command.d.ts","sourceRoot":"","sources":["../../../../commands/users/revoke-user-subscription.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,6BAA6B,CAAC;IACpC,MAAM,GAAG,0BAAqC,CAAC;IAC/C,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAIzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
@@ -12,6 +12,8 @@ var RevokeUserSubscriptionCommand;
|
|
12
12
|
uuid: zod_1.z.string().uuid(),
|
13
13
|
});
|
14
14
|
RevokeUserSubscriptionCommand.ResponseSchema = zod_1.z.object({
|
15
|
-
response: users_schema_1.UsersSchema
|
15
|
+
response: users_schema_1.UsersSchema.extend({
|
16
|
+
subscriptionUrl: zod_1.z.string(),
|
17
|
+
}),
|
16
18
|
});
|
17
19
|
})(RevokeUserSubscriptionCommand || (exports.RevokeUserSubscriptionCommand = RevokeUserSubscriptionCommand = {}));
|
@@ -59,7 +59,7 @@ export declare namespace UpdateUserCommand {
|
|
59
59
|
}>;
|
60
60
|
type Request = z.infer<typeof RequestSchema>;
|
61
61
|
const ResponseSchema: z.ZodObject<{
|
62
|
-
response: z.ZodObject<{
|
62
|
+
response: z.ZodObject<z.objectUtil.extendShape<{
|
63
63
|
uuid: z.ZodString;
|
64
64
|
subscriptionUuid: z.ZodString;
|
65
65
|
shortUuid: z.ZodString;
|
@@ -93,7 +93,9 @@ export declare namespace UpdateUserCommand {
|
|
93
93
|
type: string;
|
94
94
|
tag: string;
|
95
95
|
}>, "many">;
|
96
|
-
},
|
96
|
+
}, {
|
97
|
+
subscriptionUrl: z.ZodString;
|
98
|
+
}>, "strip", z.ZodTypeAny, {
|
97
99
|
uuid: string;
|
98
100
|
username: string;
|
99
101
|
status: "DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED";
|
@@ -119,6 +121,7 @@ export declare namespace UpdateUserCommand {
|
|
119
121
|
type: string;
|
120
122
|
tag: string;
|
121
123
|
}[];
|
124
|
+
subscriptionUrl: string;
|
122
125
|
}, {
|
123
126
|
uuid: string;
|
124
127
|
username: string;
|
@@ -142,6 +145,7 @@ export declare namespace UpdateUserCommand {
|
|
142
145
|
type: string;
|
143
146
|
tag: string;
|
144
147
|
}[];
|
148
|
+
subscriptionUrl: string;
|
145
149
|
status?: "DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED" | undefined;
|
146
150
|
trafficLimitBytes?: number | undefined;
|
147
151
|
trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH" | undefined;
|
@@ -173,6 +177,7 @@ export declare namespace UpdateUserCommand {
|
|
173
177
|
type: string;
|
174
178
|
tag: string;
|
175
179
|
}[];
|
180
|
+
subscriptionUrl: string;
|
176
181
|
};
|
177
182
|
}, {
|
178
183
|
response: {
|
@@ -198,6 +203,7 @@ export declare namespace UpdateUserCommand {
|
|
198
203
|
type: string;
|
199
204
|
tag: string;
|
200
205
|
}[];
|
206
|
+
subscriptionUrl: string;
|
201
207
|
status?: "DISABLED" | "ACTIVE" | "LIMITED" | "EXPIRED" | undefined;
|
202
208
|
trafficLimitBytes?: number | undefined;
|
203
209
|
trafficLimitStrategy?: "MONTH" | "YEAR" | "NO_RESET" | "DAY" | "WEEK" | "CALENDAR_MONTH" | undefined;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"update-user.command.d.ts","sourceRoot":"","sources":["../../../../commands/users/update-user.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,qBAAwB,CAAC;IAClC,MAAM,OAAO,qBAAM,CAAC;IAEpB,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAyCxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc
|
1
|
+
{"version":3,"file":"update-user.command.d.ts","sourceRoot":"","sources":["../../../../commands/users/update-user.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,qBAAwB,CAAC;IAClC,MAAM,OAAO,qBAAM,CAAC;IAEpB,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAyCxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAIzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
@@ -52,6 +52,8 @@ var UpdateUserCommand;
|
|
52
52
|
.optional(),
|
53
53
|
});
|
54
54
|
UpdateUserCommand.ResponseSchema = zod_1.z.object({
|
55
|
-
response: models_1.UsersSchema
|
55
|
+
response: models_1.UsersSchema.extend({
|
56
|
+
subscriptionUrl: zod_1.z.string(),
|
57
|
+
}),
|
56
58
|
});
|
57
59
|
})(UpdateUserCommand || (exports.UpdateUserCommand = UpdateUserCommand = {}));
|
@@ -12,6 +12,8 @@ var RevokeUserSubscriptionCommand;
|
|
12
12
|
uuid: zod_1.z.string().uuid(),
|
13
13
|
});
|
14
14
|
RevokeUserSubscriptionCommand.ResponseSchema = zod_1.z.object({
|
15
|
-
response: users_schema_1.UsersSchema
|
15
|
+
response: users_schema_1.UsersSchema.extend({
|
16
|
+
subscriptionUrl: zod_1.z.string(),
|
17
|
+
}),
|
16
18
|
});
|
17
19
|
})(RevokeUserSubscriptionCommand || (exports.RevokeUserSubscriptionCommand = RevokeUserSubscriptionCommand = {}));
|
@@ -52,6 +52,8 @@ var UpdateUserCommand;
|
|
52
52
|
.optional(),
|
53
53
|
});
|
54
54
|
UpdateUserCommand.ResponseSchema = zod_1.z.object({
|
55
|
-
response: models_1.UsersSchema
|
55
|
+
response: models_1.UsersSchema.extend({
|
56
|
+
subscriptionUrl: zod_1.z.string(),
|
57
|
+
}),
|
56
58
|
});
|
57
59
|
})(UpdateUserCommand || (exports.UpdateUserCommand = UpdateUserCommand = {}));
|