@remnawave/backend-contract 0.7.17 → 0.7.19
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/hwid/create-user-hwid-device.command.d.ts +77 -44
- package/build/backend/commands/hwid/create-user-hwid-device.command.d.ts.map +1 -1
- package/build/backend/commands/hwid/create-user-hwid-device.command.js +4 -1
- package/build/backend/commands/hwid/delete-user-hwid-device.command.d.ts +77 -44
- package/build/backend/commands/hwid/delete-user-hwid-device.command.d.ts.map +1 -1
- package/build/backend/commands/hwid/delete-user-hwid-device.command.js +4 -1
- package/build/frontend/commands/hwid/create-user-hwid-device.command.js +4 -1
- package/build/frontend/commands/hwid/delete-user-hwid-device.command.js +4 -1
- package/package.json +1 -1
@@ -27,56 +27,89 @@ export declare namespace CreateUserHwidDeviceCommand {
|
|
27
27
|
}>;
|
28
28
|
type Request = z.infer<typeof RequestSchema>;
|
29
29
|
const ResponseSchema: z.ZodObject<{
|
30
|
-
response: z.
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
30
|
+
response: z.ZodObject<{
|
31
|
+
total: z.ZodNumber;
|
32
|
+
device: z.ZodArray<z.ZodObject<{
|
33
|
+
hwid: z.ZodString;
|
34
|
+
userUuid: z.ZodString;
|
35
|
+
platform: z.ZodNullable<z.ZodString>;
|
36
|
+
osVersion: z.ZodNullable<z.ZodString>;
|
37
|
+
deviceModel: z.ZodNullable<z.ZodString>;
|
38
|
+
userAgent: z.ZodNullable<z.ZodString>;
|
39
|
+
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
40
|
+
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
41
|
+
}, "strip", z.ZodTypeAny, {
|
42
|
+
hwid: string;
|
43
|
+
createdAt: Date;
|
44
|
+
updatedAt: Date;
|
45
|
+
userUuid: string;
|
46
|
+
platform: string | null;
|
47
|
+
osVersion: string | null;
|
48
|
+
deviceModel: string | null;
|
49
|
+
userAgent: string | null;
|
50
|
+
}, {
|
51
|
+
hwid: string;
|
52
|
+
createdAt: string;
|
53
|
+
updatedAt: string;
|
54
|
+
userUuid: string;
|
55
|
+
platform: string | null;
|
56
|
+
osVersion: string | null;
|
57
|
+
deviceModel: string | null;
|
58
|
+
userAgent: string | null;
|
59
|
+
}>, "many">;
|
39
60
|
}, "strip", z.ZodTypeAny, {
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
61
|
+
total: number;
|
62
|
+
device: {
|
63
|
+
hwid: string;
|
64
|
+
createdAt: Date;
|
65
|
+
updatedAt: Date;
|
66
|
+
userUuid: string;
|
67
|
+
platform: string | null;
|
68
|
+
osVersion: string | null;
|
69
|
+
deviceModel: string | null;
|
70
|
+
userAgent: string | null;
|
71
|
+
}[];
|
48
72
|
}, {
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
73
|
+
total: number;
|
74
|
+
device: {
|
75
|
+
hwid: string;
|
76
|
+
createdAt: string;
|
77
|
+
updatedAt: string;
|
78
|
+
userUuid: string;
|
79
|
+
platform: string | null;
|
80
|
+
osVersion: string | null;
|
81
|
+
deviceModel: string | null;
|
82
|
+
userAgent: string | null;
|
83
|
+
}[];
|
84
|
+
}>;
|
58
85
|
}, "strip", z.ZodTypeAny, {
|
59
86
|
response: {
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
87
|
+
total: number;
|
88
|
+
device: {
|
89
|
+
hwid: string;
|
90
|
+
createdAt: Date;
|
91
|
+
updatedAt: Date;
|
92
|
+
userUuid: string;
|
93
|
+
platform: string | null;
|
94
|
+
osVersion: string | null;
|
95
|
+
deviceModel: string | null;
|
96
|
+
userAgent: string | null;
|
97
|
+
}[];
|
98
|
+
};
|
69
99
|
}, {
|
70
100
|
response: {
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
101
|
+
total: number;
|
102
|
+
device: {
|
103
|
+
hwid: string;
|
104
|
+
createdAt: string;
|
105
|
+
updatedAt: string;
|
106
|
+
userUuid: string;
|
107
|
+
platform: string | null;
|
108
|
+
osVersion: string | null;
|
109
|
+
deviceModel: string | null;
|
110
|
+
userAgent: string | null;
|
111
|
+
}[];
|
112
|
+
};
|
80
113
|
}>;
|
81
114
|
type Response = z.infer<typeof ResponseSchema>;
|
82
115
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"create-user-hwid-device.command.d.ts","sourceRoot":"","sources":["../../../../commands/hwid/create-user-hwid-device.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,2BAA2B,CAAC;IAClC,MAAM,GAAG,qBAAwC,CAAC;IAClD,MAAM,OAAO,qBAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;MAOxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc
|
1
|
+
{"version":3,"file":"create-user-hwid-device.command.d.ts","sourceRoot":"","sources":["../../../../commands/hwid/create-user-hwid-device.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,2BAA2B,CAAC;IAClC,MAAM,GAAG,qBAAwC,CAAC;IAClD,MAAM,OAAO,qBAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;MAOxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAKzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
@@ -19,6 +19,9 @@ var CreateUserHwidDeviceCommand;
|
|
19
19
|
userAgent: zod_1.z.optional(zod_1.z.string()),
|
20
20
|
});
|
21
21
|
CreateUserHwidDeviceCommand.ResponseSchema = zod_1.z.object({
|
22
|
-
response: zod_1.z.
|
22
|
+
response: zod_1.z.object({
|
23
|
+
total: zod_1.z.number(),
|
24
|
+
device: zod_1.z.array(models_1.HwidUserDeviceSchema),
|
25
|
+
}),
|
23
26
|
});
|
24
27
|
})(CreateUserHwidDeviceCommand || (exports.CreateUserHwidDeviceCommand = CreateUserHwidDeviceCommand = {}));
|
@@ -15,56 +15,89 @@ export declare namespace DeleteUserHwidDeviceCommand {
|
|
15
15
|
}>;
|
16
16
|
type Request = z.infer<typeof RequestSchema>;
|
17
17
|
const ResponseSchema: z.ZodObject<{
|
18
|
-
response: z.
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
18
|
+
response: z.ZodObject<{
|
19
|
+
total: z.ZodNumber;
|
20
|
+
device: z.ZodArray<z.ZodObject<{
|
21
|
+
hwid: z.ZodString;
|
22
|
+
userUuid: z.ZodString;
|
23
|
+
platform: z.ZodNullable<z.ZodString>;
|
24
|
+
osVersion: z.ZodNullable<z.ZodString>;
|
25
|
+
deviceModel: z.ZodNullable<z.ZodString>;
|
26
|
+
userAgent: z.ZodNullable<z.ZodString>;
|
27
|
+
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
28
|
+
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
29
|
+
}, "strip", z.ZodTypeAny, {
|
30
|
+
hwid: string;
|
31
|
+
createdAt: Date;
|
32
|
+
updatedAt: Date;
|
33
|
+
userUuid: string;
|
34
|
+
platform: string | null;
|
35
|
+
osVersion: string | null;
|
36
|
+
deviceModel: string | null;
|
37
|
+
userAgent: string | null;
|
38
|
+
}, {
|
39
|
+
hwid: string;
|
40
|
+
createdAt: string;
|
41
|
+
updatedAt: string;
|
42
|
+
userUuid: string;
|
43
|
+
platform: string | null;
|
44
|
+
osVersion: string | null;
|
45
|
+
deviceModel: string | null;
|
46
|
+
userAgent: string | null;
|
47
|
+
}>, "many">;
|
27
48
|
}, "strip", z.ZodTypeAny, {
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
49
|
+
total: number;
|
50
|
+
device: {
|
51
|
+
hwid: string;
|
52
|
+
createdAt: Date;
|
53
|
+
updatedAt: Date;
|
54
|
+
userUuid: string;
|
55
|
+
platform: string | null;
|
56
|
+
osVersion: string | null;
|
57
|
+
deviceModel: string | null;
|
58
|
+
userAgent: string | null;
|
59
|
+
}[];
|
36
60
|
}, {
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
61
|
+
total: number;
|
62
|
+
device: {
|
63
|
+
hwid: string;
|
64
|
+
createdAt: string;
|
65
|
+
updatedAt: string;
|
66
|
+
userUuid: string;
|
67
|
+
platform: string | null;
|
68
|
+
osVersion: string | null;
|
69
|
+
deviceModel: string | null;
|
70
|
+
userAgent: string | null;
|
71
|
+
}[];
|
72
|
+
}>;
|
46
73
|
}, "strip", z.ZodTypeAny, {
|
47
74
|
response: {
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
75
|
+
total: number;
|
76
|
+
device: {
|
77
|
+
hwid: string;
|
78
|
+
createdAt: Date;
|
79
|
+
updatedAt: Date;
|
80
|
+
userUuid: string;
|
81
|
+
platform: string | null;
|
82
|
+
osVersion: string | null;
|
83
|
+
deviceModel: string | null;
|
84
|
+
userAgent: string | null;
|
85
|
+
}[];
|
86
|
+
};
|
57
87
|
}, {
|
58
88
|
response: {
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
89
|
+
total: number;
|
90
|
+
device: {
|
91
|
+
hwid: string;
|
92
|
+
createdAt: string;
|
93
|
+
updatedAt: string;
|
94
|
+
userUuid: string;
|
95
|
+
platform: string | null;
|
96
|
+
osVersion: string | null;
|
97
|
+
deviceModel: string | null;
|
98
|
+
userAgent: string | null;
|
99
|
+
}[];
|
100
|
+
};
|
68
101
|
}>;
|
69
102
|
type Response = z.infer<typeof ResponseSchema>;
|
70
103
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"delete-user-hwid-device.command.d.ts","sourceRoot":"","sources":["../../../../commands/hwid/delete-user-hwid-device.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,2BAA2B,CAAC;IAClC,MAAM,GAAG,4BAAwC,CAAC;IAClD,MAAM,OAAO,4BAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;MAGxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc
|
1
|
+
{"version":3,"file":"delete-user-hwid-device.command.d.ts","sourceRoot":"","sources":["../../../../commands/hwid/delete-user-hwid-device.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,2BAA2B,CAAC;IAClC,MAAM,GAAG,4BAAwC,CAAC;IAClD,MAAM,OAAO,4BAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;MAGxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAKzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
@@ -15,6 +15,9 @@ var DeleteUserHwidDeviceCommand;
|
|
15
15
|
hwid: zod_1.z.string(),
|
16
16
|
});
|
17
17
|
DeleteUserHwidDeviceCommand.ResponseSchema = zod_1.z.object({
|
18
|
-
response: zod_1.z.
|
18
|
+
response: zod_1.z.object({
|
19
|
+
total: zod_1.z.number(),
|
20
|
+
device: zod_1.z.array(models_1.HwidUserDeviceSchema),
|
21
|
+
}),
|
19
22
|
});
|
20
23
|
})(DeleteUserHwidDeviceCommand || (exports.DeleteUserHwidDeviceCommand = DeleteUserHwidDeviceCommand = {}));
|
@@ -19,6 +19,9 @@ var CreateUserHwidDeviceCommand;
|
|
19
19
|
userAgent: zod_1.z.optional(zod_1.z.string()),
|
20
20
|
});
|
21
21
|
CreateUserHwidDeviceCommand.ResponseSchema = zod_1.z.object({
|
22
|
-
response: zod_1.z.
|
22
|
+
response: zod_1.z.object({
|
23
|
+
total: zod_1.z.number(),
|
24
|
+
device: zod_1.z.array(models_1.HwidUserDeviceSchema),
|
25
|
+
}),
|
23
26
|
});
|
24
27
|
})(CreateUserHwidDeviceCommand || (exports.CreateUserHwidDeviceCommand = CreateUserHwidDeviceCommand = {}));
|
@@ -15,6 +15,9 @@ var DeleteUserHwidDeviceCommand;
|
|
15
15
|
hwid: zod_1.z.string(),
|
16
16
|
});
|
17
17
|
DeleteUserHwidDeviceCommand.ResponseSchema = zod_1.z.object({
|
18
|
-
response: zod_1.z.
|
18
|
+
response: zod_1.z.object({
|
19
|
+
total: zod_1.z.number(),
|
20
|
+
device: zod_1.z.array(models_1.HwidUserDeviceSchema),
|
21
|
+
}),
|
19
22
|
});
|
20
23
|
})(DeleteUserHwidDeviceCommand || (exports.DeleteUserHwidDeviceCommand = DeleteUserHwidDeviceCommand = {}));
|