@remnawave/backend-contract 2.5.1 → 2.5.2
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/actions/revoke-user-subscription.command.d.ts +4 -0
- package/build/backend/commands/users/actions/revoke-user-subscription.command.d.ts.map +1 -1
- package/build/backend/commands/users/actions/revoke-user-subscription.command.js +4 -0
- package/build/frontend/commands/users/actions/revoke-user-subscription.command.js +4 -0
- package/package.json +1 -1
|
@@ -12,13 +12,17 @@ export declare namespace RevokeUserSubscriptionCommand {
|
|
|
12
12
|
}>;
|
|
13
13
|
type Request = z.infer<typeof RequestSchema>;
|
|
14
14
|
const RequestBodySchema: z.ZodEffects<z.ZodObject<{
|
|
15
|
+
revokeOnlyPasswords: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
15
16
|
shortUuid: z.ZodOptional<z.ZodString>;
|
|
16
17
|
}, "strip", z.ZodTypeAny, {
|
|
17
18
|
shortUuid?: string | undefined;
|
|
19
|
+
revokeOnlyPasswords?: boolean | undefined;
|
|
18
20
|
}, {
|
|
19
21
|
shortUuid?: string | undefined;
|
|
22
|
+
revokeOnlyPasswords?: boolean | undefined;
|
|
20
23
|
}>, {
|
|
21
24
|
shortUuid?: string | undefined;
|
|
25
|
+
revokeOnlyPasswords?: boolean | undefined;
|
|
22
26
|
}, unknown>;
|
|
23
27
|
type RequestBody = z.infer<typeof RequestBodySchema>;
|
|
24
28
|
const ResponseSchema: z.ZodObject<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"revoke-user-subscription.command.d.ts","sourceRoot":"","sources":["../../../../../commands/users/actions/revoke-user-subscription.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,6BAA6B,CAAC;IACpC,MAAM,GAAG,0BAA6C,CAAC;IACvD,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"revoke-user-subscription.command.d.ts","sourceRoot":"","sources":["../../../../../commands/users/actions/revoke-user-subscription.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,6BAA6B,CAAC;IACpC,MAAM,GAAG,0BAA6C,CAAC;IACvD,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,iBAAiB;;;;;;;;;;;;eAsB7B,CAAC;IAEF,KAAY,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;IAErD,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -14,6 +14,10 @@ var RevokeUserSubscriptionCommand;
|
|
|
14
14
|
uuid: zod_1.z.string().uuid(),
|
|
15
15
|
});
|
|
16
16
|
RevokeUserSubscriptionCommand.RequestBodySchema = zod_1.z.preprocess((val) => val || {}, zod_1.z.object({
|
|
17
|
+
revokeOnlyPasswords: zod_1.z.optional(zod_1.z
|
|
18
|
+
.boolean()
|
|
19
|
+
.default(false)
|
|
20
|
+
.describe('Optional. If true, only passwords will be revoked, without changing the short UUID (Subscription URL).')),
|
|
17
21
|
shortUuid: zod_1.z.optional(zod_1.z
|
|
18
22
|
.string()
|
|
19
23
|
.min(6, { message: 'Short UUID must be at least 6 characters' })
|
|
@@ -14,6 +14,10 @@ var RevokeUserSubscriptionCommand;
|
|
|
14
14
|
uuid: zod_1.z.string().uuid(),
|
|
15
15
|
});
|
|
16
16
|
RevokeUserSubscriptionCommand.RequestBodySchema = zod_1.z.preprocess((val) => val || {}, zod_1.z.object({
|
|
17
|
+
revokeOnlyPasswords: zod_1.z.optional(zod_1.z
|
|
18
|
+
.boolean()
|
|
19
|
+
.default(false)
|
|
20
|
+
.describe('Optional. If true, only passwords will be revoked, without changing the short UUID (Subscription URL).')),
|
|
17
21
|
shortUuid: zod_1.z.optional(zod_1.z
|
|
18
22
|
.string()
|
|
19
23
|
.min(6, { message: 'Short UUID must be at least 6 characters' })
|