@remnawave/backend-contract 2.7.1 → 2.7.3
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 +17 -7
- 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 +1 -0
- package/build/backend/commands/hwid/delete-all-user-hwid-devices.command.d.ts +14 -7
- package/build/backend/commands/hwid/delete-all-user-hwid-devices.command.d.ts.map +1 -1
- package/build/backend/commands/hwid/delete-user-hwid-device.command.d.ts +14 -7
- package/build/backend/commands/hwid/delete-user-hwid-device.command.d.ts.map +1 -1
- package/build/backend/commands/hwid/get-all-hwid-devices.command.d.ts +14 -7
- package/build/backend/commands/hwid/get-all-hwid-devices.command.d.ts.map +1 -1
- package/build/backend/commands/hwid/get-user-hwid-devices.command.d.ts +14 -7
- package/build/backend/commands/hwid/get-user-hwid-devices.command.d.ts.map +1 -1
- package/build/backend/commands/subscription-request-history/get-subscription-request-history.command.d.ts +7 -7
- package/build/backend/commands/subscription-settings/get-subscription-settings.command.d.ts +11 -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 +20 -0
- package/build/backend/commands/subscription-settings/update-subscription-settings.command.d.ts.map +1 -1
- package/build/backend/commands/system/testers/test-srr-matcher.command.d.ts +18 -0
- package/build/backend/commands/system/testers/test-srr-matcher.command.d.ts.map +1 -1
- package/build/backend/commands/users/get-user-subscription-request-history.command.d.ts +7 -7
- package/build/backend/commands/users/get-user-subscription-request-history.command.js +1 -1
- package/build/backend/constants/metrics/metric-names.constant.d.ts +3 -0
- package/build/backend/constants/metrics/metric-names.constant.d.ts.map +1 -1
- package/build/backend/constants/metrics/metric-names.constant.js +3 -0
- package/build/backend/models/hwid-user-device.schema.d.ts +6 -3
- package/build/backend/models/hwid-user-device.schema.d.ts.map +1 -1
- package/build/backend/models/hwid-user-device.schema.js +2 -1
- package/build/backend/models/response-rules/response-rule-modifications.schema.d.ts +3 -0
- package/build/backend/models/response-rules/response-rule-modifications.schema.d.ts.map +1 -1
- package/build/backend/models/response-rules/response-rule-modifications.schema.js +15 -0
- package/build/backend/models/response-rules/response-rule.schema.d.ts +10 -0
- package/build/backend/models/response-rules/response-rule.schema.d.ts.map +1 -1
- package/build/backend/models/response-rules/response-rules-config.schema.d.ts +7 -0
- package/build/backend/models/response-rules/response-rules-config.schema.d.ts.map +1 -1
- package/build/backend/models/subscription-request-history.schema.d.ts +3 -3
- package/build/backend/models/subscription-request-history.schema.js +1 -1
- package/build/backend/models/subscription-settings.schema.d.ts +9 -0
- package/build/backend/models/subscription-settings.schema.d.ts.map +1 -1
- package/build/backend/models/webhook/webhook.schema.d.ts +28 -14
- package/build/backend/models/webhook/webhook.schema.d.ts.map +1 -1
- package/build/frontend/commands/hwid/create-user-hwid-device.command.js +1 -0
- package/build/frontend/commands/users/get-user-subscription-request-history.command.js +1 -1
- package/build/frontend/constants/metrics/metric-names.constant.js +3 -0
- package/build/frontend/models/hwid-user-device.schema.js +2 -1
- package/build/frontend/models/response-rules/response-rule-modifications.schema.js +15 -0
- package/build/frontend/models/subscription-request-history.schema.js +1 -1
- package/package.json +1 -1
|
@@ -10,6 +10,7 @@ export declare namespace CreateUserHwidDeviceCommand {
|
|
|
10
10
|
osVersion: z.ZodOptional<z.ZodString>;
|
|
11
11
|
deviceModel: z.ZodOptional<z.ZodString>;
|
|
12
12
|
userAgent: z.ZodOptional<z.ZodString>;
|
|
13
|
+
requestIp: z.ZodOptional<z.ZodString>;
|
|
13
14
|
}, "strip", z.ZodTypeAny, {
|
|
14
15
|
hwid: string;
|
|
15
16
|
userUuid: string;
|
|
@@ -17,6 +18,7 @@ export declare namespace CreateUserHwidDeviceCommand {
|
|
|
17
18
|
osVersion?: string | undefined;
|
|
18
19
|
deviceModel?: string | undefined;
|
|
19
20
|
userAgent?: string | undefined;
|
|
21
|
+
requestIp?: string | undefined;
|
|
20
22
|
}, {
|
|
21
23
|
hwid: string;
|
|
22
24
|
userUuid: string;
|
|
@@ -24,6 +26,7 @@ export declare namespace CreateUserHwidDeviceCommand {
|
|
|
24
26
|
osVersion?: string | undefined;
|
|
25
27
|
deviceModel?: string | undefined;
|
|
26
28
|
userAgent?: string | undefined;
|
|
29
|
+
requestIp?: string | undefined;
|
|
27
30
|
}>;
|
|
28
31
|
type Request = z.infer<typeof RequestSchema>;
|
|
29
32
|
const ResponseSchema: z.ZodObject<{
|
|
@@ -31,42 +34,46 @@ export declare namespace CreateUserHwidDeviceCommand {
|
|
|
31
34
|
total: z.ZodNumber;
|
|
32
35
|
devices: z.ZodArray<z.ZodObject<{
|
|
33
36
|
hwid: z.ZodString;
|
|
34
|
-
|
|
37
|
+
userId: z.ZodNumber;
|
|
35
38
|
platform: z.ZodNullable<z.ZodString>;
|
|
36
39
|
osVersion: z.ZodNullable<z.ZodString>;
|
|
37
40
|
deviceModel: z.ZodNullable<z.ZodString>;
|
|
38
41
|
userAgent: z.ZodNullable<z.ZodString>;
|
|
42
|
+
requestIp: z.ZodNullable<z.ZodString>;
|
|
39
43
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
40
44
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
41
45
|
}, "strip", z.ZodTypeAny, {
|
|
42
46
|
hwid: string;
|
|
43
47
|
createdAt: Date;
|
|
44
48
|
updatedAt: Date;
|
|
45
|
-
|
|
49
|
+
userId: number;
|
|
46
50
|
platform: string | null;
|
|
47
51
|
osVersion: string | null;
|
|
48
52
|
deviceModel: string | null;
|
|
49
53
|
userAgent: string | null;
|
|
54
|
+
requestIp: string | null;
|
|
50
55
|
}, {
|
|
51
56
|
hwid: string;
|
|
52
57
|
createdAt: string;
|
|
53
58
|
updatedAt: string;
|
|
54
|
-
|
|
59
|
+
userId: number;
|
|
55
60
|
platform: string | null;
|
|
56
61
|
osVersion: string | null;
|
|
57
62
|
deviceModel: string | null;
|
|
58
63
|
userAgent: string | null;
|
|
64
|
+
requestIp: string | null;
|
|
59
65
|
}>, "many">;
|
|
60
66
|
}, "strip", z.ZodTypeAny, {
|
|
61
67
|
devices: {
|
|
62
68
|
hwid: string;
|
|
63
69
|
createdAt: Date;
|
|
64
70
|
updatedAt: Date;
|
|
65
|
-
|
|
71
|
+
userId: number;
|
|
66
72
|
platform: string | null;
|
|
67
73
|
osVersion: string | null;
|
|
68
74
|
deviceModel: string | null;
|
|
69
75
|
userAgent: string | null;
|
|
76
|
+
requestIp: string | null;
|
|
70
77
|
}[];
|
|
71
78
|
total: number;
|
|
72
79
|
}, {
|
|
@@ -74,11 +81,12 @@ export declare namespace CreateUserHwidDeviceCommand {
|
|
|
74
81
|
hwid: string;
|
|
75
82
|
createdAt: string;
|
|
76
83
|
updatedAt: string;
|
|
77
|
-
|
|
84
|
+
userId: number;
|
|
78
85
|
platform: string | null;
|
|
79
86
|
osVersion: string | null;
|
|
80
87
|
deviceModel: string | null;
|
|
81
88
|
userAgent: string | null;
|
|
89
|
+
requestIp: string | null;
|
|
82
90
|
}[];
|
|
83
91
|
total: number;
|
|
84
92
|
}>;
|
|
@@ -88,11 +96,12 @@ export declare namespace CreateUserHwidDeviceCommand {
|
|
|
88
96
|
hwid: string;
|
|
89
97
|
createdAt: Date;
|
|
90
98
|
updatedAt: Date;
|
|
91
|
-
|
|
99
|
+
userId: number;
|
|
92
100
|
platform: string | null;
|
|
93
101
|
osVersion: string | null;
|
|
94
102
|
deviceModel: string | null;
|
|
95
103
|
userAgent: string | null;
|
|
104
|
+
requestIp: string | null;
|
|
96
105
|
}[];
|
|
97
106
|
total: number;
|
|
98
107
|
};
|
|
@@ -102,11 +111,12 @@ export declare namespace CreateUserHwidDeviceCommand {
|
|
|
102
111
|
hwid: string;
|
|
103
112
|
createdAt: string;
|
|
104
113
|
updatedAt: string;
|
|
105
|
-
|
|
114
|
+
userId: number;
|
|
106
115
|
platform: string | null;
|
|
107
116
|
osVersion: string | null;
|
|
108
117
|
deviceModel: string | null;
|
|
109
118
|
userAgent: string | null;
|
|
119
|
+
requestIp: string | null;
|
|
110
120
|
}[];
|
|
111
121
|
total: number;
|
|
112
122
|
};
|
|
@@ -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
|
|
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;;;;;;;;;;;;;;;;;;;;;;;;MAQxB,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"}
|
|
@@ -17,6 +17,7 @@ var CreateUserHwidDeviceCommand;
|
|
|
17
17
|
osVersion: zod_1.z.optional(zod_1.z.string()),
|
|
18
18
|
deviceModel: zod_1.z.optional(zod_1.z.string()),
|
|
19
19
|
userAgent: zod_1.z.optional(zod_1.z.string()),
|
|
20
|
+
requestIp: zod_1.z.optional(zod_1.z.string()),
|
|
20
21
|
});
|
|
21
22
|
CreateUserHwidDeviceCommand.ResponseSchema = zod_1.z.object({
|
|
22
23
|
response: zod_1.z.object({
|
|
@@ -16,42 +16,46 @@ export declare namespace DeleteAllUserHwidDevicesCommand {
|
|
|
16
16
|
total: z.ZodNumber;
|
|
17
17
|
devices: z.ZodArray<z.ZodObject<{
|
|
18
18
|
hwid: z.ZodString;
|
|
19
|
-
|
|
19
|
+
userId: z.ZodNumber;
|
|
20
20
|
platform: z.ZodNullable<z.ZodString>;
|
|
21
21
|
osVersion: z.ZodNullable<z.ZodString>;
|
|
22
22
|
deviceModel: z.ZodNullable<z.ZodString>;
|
|
23
23
|
userAgent: z.ZodNullable<z.ZodString>;
|
|
24
|
+
requestIp: z.ZodNullable<z.ZodString>;
|
|
24
25
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
25
26
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
26
27
|
}, "strip", z.ZodTypeAny, {
|
|
27
28
|
hwid: string;
|
|
28
29
|
createdAt: Date;
|
|
29
30
|
updatedAt: Date;
|
|
30
|
-
|
|
31
|
+
userId: number;
|
|
31
32
|
platform: string | null;
|
|
32
33
|
osVersion: string | null;
|
|
33
34
|
deviceModel: string | null;
|
|
34
35
|
userAgent: string | null;
|
|
36
|
+
requestIp: string | null;
|
|
35
37
|
}, {
|
|
36
38
|
hwid: string;
|
|
37
39
|
createdAt: string;
|
|
38
40
|
updatedAt: string;
|
|
39
|
-
|
|
41
|
+
userId: number;
|
|
40
42
|
platform: string | null;
|
|
41
43
|
osVersion: string | null;
|
|
42
44
|
deviceModel: string | null;
|
|
43
45
|
userAgent: string | null;
|
|
46
|
+
requestIp: string | null;
|
|
44
47
|
}>, "many">;
|
|
45
48
|
}, "strip", z.ZodTypeAny, {
|
|
46
49
|
devices: {
|
|
47
50
|
hwid: string;
|
|
48
51
|
createdAt: Date;
|
|
49
52
|
updatedAt: Date;
|
|
50
|
-
|
|
53
|
+
userId: number;
|
|
51
54
|
platform: string | null;
|
|
52
55
|
osVersion: string | null;
|
|
53
56
|
deviceModel: string | null;
|
|
54
57
|
userAgent: string | null;
|
|
58
|
+
requestIp: string | null;
|
|
55
59
|
}[];
|
|
56
60
|
total: number;
|
|
57
61
|
}, {
|
|
@@ -59,11 +63,12 @@ export declare namespace DeleteAllUserHwidDevicesCommand {
|
|
|
59
63
|
hwid: string;
|
|
60
64
|
createdAt: string;
|
|
61
65
|
updatedAt: string;
|
|
62
|
-
|
|
66
|
+
userId: number;
|
|
63
67
|
platform: string | null;
|
|
64
68
|
osVersion: string | null;
|
|
65
69
|
deviceModel: string | null;
|
|
66
70
|
userAgent: string | null;
|
|
71
|
+
requestIp: string | null;
|
|
67
72
|
}[];
|
|
68
73
|
total: number;
|
|
69
74
|
}>;
|
|
@@ -73,11 +78,12 @@ export declare namespace DeleteAllUserHwidDevicesCommand {
|
|
|
73
78
|
hwid: string;
|
|
74
79
|
createdAt: Date;
|
|
75
80
|
updatedAt: Date;
|
|
76
|
-
|
|
81
|
+
userId: number;
|
|
77
82
|
platform: string | null;
|
|
78
83
|
osVersion: string | null;
|
|
79
84
|
deviceModel: string | null;
|
|
80
85
|
userAgent: string | null;
|
|
86
|
+
requestIp: string | null;
|
|
81
87
|
}[];
|
|
82
88
|
total: number;
|
|
83
89
|
};
|
|
@@ -87,11 +93,12 @@ export declare namespace DeleteAllUserHwidDevicesCommand {
|
|
|
87
93
|
hwid: string;
|
|
88
94
|
createdAt: string;
|
|
89
95
|
updatedAt: string;
|
|
90
|
-
|
|
96
|
+
userId: number;
|
|
91
97
|
platform: string | null;
|
|
92
98
|
osVersion: string | null;
|
|
93
99
|
deviceModel: string | null;
|
|
94
100
|
userAgent: string | null;
|
|
101
|
+
requestIp: string | null;
|
|
95
102
|
}[];
|
|
96
103
|
total: number;
|
|
97
104
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-all-user-hwid-devices.command.d.ts","sourceRoot":"","sources":["../../../../commands/hwid/delete-all-user-hwid-devices.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,+BAA+B,CAAC;IACtC,MAAM,GAAG,gCAA6C,CAAC;IACvD,MAAM,OAAO,gCAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"delete-all-user-hwid-devices.command.d.ts","sourceRoot":"","sources":["../../../../commands/hwid/delete-all-user-hwid-devices.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,+BAA+B,CAAC;IACtC,MAAM,GAAG,gCAA6C,CAAC;IACvD,MAAM,OAAO,gCAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,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,42 +19,46 @@ export declare namespace DeleteUserHwidDeviceCommand {
|
|
|
19
19
|
total: z.ZodNumber;
|
|
20
20
|
devices: z.ZodArray<z.ZodObject<{
|
|
21
21
|
hwid: z.ZodString;
|
|
22
|
-
|
|
22
|
+
userId: z.ZodNumber;
|
|
23
23
|
platform: z.ZodNullable<z.ZodString>;
|
|
24
24
|
osVersion: z.ZodNullable<z.ZodString>;
|
|
25
25
|
deviceModel: z.ZodNullable<z.ZodString>;
|
|
26
26
|
userAgent: z.ZodNullable<z.ZodString>;
|
|
27
|
+
requestIp: z.ZodNullable<z.ZodString>;
|
|
27
28
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
28
29
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
29
30
|
}, "strip", z.ZodTypeAny, {
|
|
30
31
|
hwid: string;
|
|
31
32
|
createdAt: Date;
|
|
32
33
|
updatedAt: Date;
|
|
33
|
-
|
|
34
|
+
userId: number;
|
|
34
35
|
platform: string | null;
|
|
35
36
|
osVersion: string | null;
|
|
36
37
|
deviceModel: string | null;
|
|
37
38
|
userAgent: string | null;
|
|
39
|
+
requestIp: string | null;
|
|
38
40
|
}, {
|
|
39
41
|
hwid: string;
|
|
40
42
|
createdAt: string;
|
|
41
43
|
updatedAt: string;
|
|
42
|
-
|
|
44
|
+
userId: number;
|
|
43
45
|
platform: string | null;
|
|
44
46
|
osVersion: string | null;
|
|
45
47
|
deviceModel: string | null;
|
|
46
48
|
userAgent: string | null;
|
|
49
|
+
requestIp: string | null;
|
|
47
50
|
}>, "many">;
|
|
48
51
|
}, "strip", z.ZodTypeAny, {
|
|
49
52
|
devices: {
|
|
50
53
|
hwid: string;
|
|
51
54
|
createdAt: Date;
|
|
52
55
|
updatedAt: Date;
|
|
53
|
-
|
|
56
|
+
userId: number;
|
|
54
57
|
platform: string | null;
|
|
55
58
|
osVersion: string | null;
|
|
56
59
|
deviceModel: string | null;
|
|
57
60
|
userAgent: string | null;
|
|
61
|
+
requestIp: string | null;
|
|
58
62
|
}[];
|
|
59
63
|
total: number;
|
|
60
64
|
}, {
|
|
@@ -62,11 +66,12 @@ export declare namespace DeleteUserHwidDeviceCommand {
|
|
|
62
66
|
hwid: string;
|
|
63
67
|
createdAt: string;
|
|
64
68
|
updatedAt: string;
|
|
65
|
-
|
|
69
|
+
userId: number;
|
|
66
70
|
platform: string | null;
|
|
67
71
|
osVersion: string | null;
|
|
68
72
|
deviceModel: string | null;
|
|
69
73
|
userAgent: string | null;
|
|
74
|
+
requestIp: string | null;
|
|
70
75
|
}[];
|
|
71
76
|
total: number;
|
|
72
77
|
}>;
|
|
@@ -76,11 +81,12 @@ export declare namespace DeleteUserHwidDeviceCommand {
|
|
|
76
81
|
hwid: string;
|
|
77
82
|
createdAt: Date;
|
|
78
83
|
updatedAt: Date;
|
|
79
|
-
|
|
84
|
+
userId: number;
|
|
80
85
|
platform: string | null;
|
|
81
86
|
osVersion: string | null;
|
|
82
87
|
deviceModel: string | null;
|
|
83
88
|
userAgent: string | null;
|
|
89
|
+
requestIp: string | null;
|
|
84
90
|
}[];
|
|
85
91
|
total: number;
|
|
86
92
|
};
|
|
@@ -90,11 +96,12 @@ export declare namespace DeleteUserHwidDeviceCommand {
|
|
|
90
96
|
hwid: string;
|
|
91
97
|
createdAt: string;
|
|
92
98
|
updatedAt: string;
|
|
93
|
-
|
|
99
|
+
userId: number;
|
|
94
100
|
platform: string | null;
|
|
95
101
|
osVersion: string | null;
|
|
96
102
|
deviceModel: string | null;
|
|
97
103
|
userAgent: string | null;
|
|
104
|
+
requestIp: string | null;
|
|
98
105
|
}[];
|
|
99
106
|
total: number;
|
|
100
107
|
};
|
|
@@ -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"}
|
|
@@ -60,31 +60,34 @@ export declare namespace GetAllHwidDevicesCommand {
|
|
|
60
60
|
response: z.ZodObject<{
|
|
61
61
|
devices: z.ZodArray<z.ZodObject<{
|
|
62
62
|
hwid: z.ZodString;
|
|
63
|
-
|
|
63
|
+
userId: z.ZodNumber;
|
|
64
64
|
platform: z.ZodNullable<z.ZodString>;
|
|
65
65
|
osVersion: z.ZodNullable<z.ZodString>;
|
|
66
66
|
deviceModel: z.ZodNullable<z.ZodString>;
|
|
67
67
|
userAgent: z.ZodNullable<z.ZodString>;
|
|
68
|
+
requestIp: z.ZodNullable<z.ZodString>;
|
|
68
69
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
69
70
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
70
71
|
}, "strip", z.ZodTypeAny, {
|
|
71
72
|
hwid: string;
|
|
72
73
|
createdAt: Date;
|
|
73
74
|
updatedAt: Date;
|
|
74
|
-
|
|
75
|
+
userId: number;
|
|
75
76
|
platform: string | null;
|
|
76
77
|
osVersion: string | null;
|
|
77
78
|
deviceModel: string | null;
|
|
78
79
|
userAgent: string | null;
|
|
80
|
+
requestIp: string | null;
|
|
79
81
|
}, {
|
|
80
82
|
hwid: string;
|
|
81
83
|
createdAt: string;
|
|
82
84
|
updatedAt: string;
|
|
83
|
-
|
|
85
|
+
userId: number;
|
|
84
86
|
platform: string | null;
|
|
85
87
|
osVersion: string | null;
|
|
86
88
|
deviceModel: string | null;
|
|
87
89
|
userAgent: string | null;
|
|
90
|
+
requestIp: string | null;
|
|
88
91
|
}>, "many">;
|
|
89
92
|
total: z.ZodNumber;
|
|
90
93
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -92,11 +95,12 @@ export declare namespace GetAllHwidDevicesCommand {
|
|
|
92
95
|
hwid: string;
|
|
93
96
|
createdAt: Date;
|
|
94
97
|
updatedAt: Date;
|
|
95
|
-
|
|
98
|
+
userId: number;
|
|
96
99
|
platform: string | null;
|
|
97
100
|
osVersion: string | null;
|
|
98
101
|
deviceModel: string | null;
|
|
99
102
|
userAgent: string | null;
|
|
103
|
+
requestIp: string | null;
|
|
100
104
|
}[];
|
|
101
105
|
total: number;
|
|
102
106
|
}, {
|
|
@@ -104,11 +108,12 @@ export declare namespace GetAllHwidDevicesCommand {
|
|
|
104
108
|
hwid: string;
|
|
105
109
|
createdAt: string;
|
|
106
110
|
updatedAt: string;
|
|
107
|
-
|
|
111
|
+
userId: number;
|
|
108
112
|
platform: string | null;
|
|
109
113
|
osVersion: string | null;
|
|
110
114
|
deviceModel: string | null;
|
|
111
115
|
userAgent: string | null;
|
|
116
|
+
requestIp: string | null;
|
|
112
117
|
}[];
|
|
113
118
|
total: number;
|
|
114
119
|
}>;
|
|
@@ -118,11 +123,12 @@ export declare namespace GetAllHwidDevicesCommand {
|
|
|
118
123
|
hwid: string;
|
|
119
124
|
createdAt: Date;
|
|
120
125
|
updatedAt: Date;
|
|
121
|
-
|
|
126
|
+
userId: number;
|
|
122
127
|
platform: string | null;
|
|
123
128
|
osVersion: string | null;
|
|
124
129
|
deviceModel: string | null;
|
|
125
130
|
userAgent: string | null;
|
|
131
|
+
requestIp: string | null;
|
|
126
132
|
}[];
|
|
127
133
|
total: number;
|
|
128
134
|
};
|
|
@@ -132,11 +138,12 @@ export declare namespace GetAllHwidDevicesCommand {
|
|
|
132
138
|
hwid: string;
|
|
133
139
|
createdAt: string;
|
|
134
140
|
updatedAt: string;
|
|
135
|
-
|
|
141
|
+
userId: number;
|
|
136
142
|
platform: string | null;
|
|
137
143
|
osVersion: string | null;
|
|
138
144
|
deviceModel: string | null;
|
|
139
145
|
userAgent: string | null;
|
|
146
|
+
requestIp: string | null;
|
|
140
147
|
}[];
|
|
141
148
|
total: number;
|
|
142
149
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-all-hwid-devices.command.d.ts","sourceRoot":"","sources":["../../../../commands/hwid/get-all-hwid-devices.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,wBAAwB,CAAC;IAC/B,MAAM,GAAG,qBAAqC,CAAC;IAC/C,MAAM,OAAO,qBAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAAkC,CAAC;IAClE,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAEvD,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"get-all-hwid-devices.command.d.ts","sourceRoot":"","sources":["../../../../commands/hwid/get-all-hwid-devices.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,wBAAwB,CAAC;IAC/B,MAAM,GAAG,qBAAqC,CAAC;IAC/C,MAAM,OAAO,qBAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAAkC,CAAC;IAClE,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAEvD,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAKzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -16,42 +16,46 @@ export declare namespace GetUserHwidDevicesCommand {
|
|
|
16
16
|
total: z.ZodNumber;
|
|
17
17
|
devices: z.ZodArray<z.ZodObject<{
|
|
18
18
|
hwid: z.ZodString;
|
|
19
|
-
|
|
19
|
+
userId: z.ZodNumber;
|
|
20
20
|
platform: z.ZodNullable<z.ZodString>;
|
|
21
21
|
osVersion: z.ZodNullable<z.ZodString>;
|
|
22
22
|
deviceModel: z.ZodNullable<z.ZodString>;
|
|
23
23
|
userAgent: z.ZodNullable<z.ZodString>;
|
|
24
|
+
requestIp: z.ZodNullable<z.ZodString>;
|
|
24
25
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
25
26
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
26
27
|
}, "strip", z.ZodTypeAny, {
|
|
27
28
|
hwid: string;
|
|
28
29
|
createdAt: Date;
|
|
29
30
|
updatedAt: Date;
|
|
30
|
-
|
|
31
|
+
userId: number;
|
|
31
32
|
platform: string | null;
|
|
32
33
|
osVersion: string | null;
|
|
33
34
|
deviceModel: string | null;
|
|
34
35
|
userAgent: string | null;
|
|
36
|
+
requestIp: string | null;
|
|
35
37
|
}, {
|
|
36
38
|
hwid: string;
|
|
37
39
|
createdAt: string;
|
|
38
40
|
updatedAt: string;
|
|
39
|
-
|
|
41
|
+
userId: number;
|
|
40
42
|
platform: string | null;
|
|
41
43
|
osVersion: string | null;
|
|
42
44
|
deviceModel: string | null;
|
|
43
45
|
userAgent: string | null;
|
|
46
|
+
requestIp: string | null;
|
|
44
47
|
}>, "many">;
|
|
45
48
|
}, "strip", z.ZodTypeAny, {
|
|
46
49
|
devices: {
|
|
47
50
|
hwid: string;
|
|
48
51
|
createdAt: Date;
|
|
49
52
|
updatedAt: Date;
|
|
50
|
-
|
|
53
|
+
userId: number;
|
|
51
54
|
platform: string | null;
|
|
52
55
|
osVersion: string | null;
|
|
53
56
|
deviceModel: string | null;
|
|
54
57
|
userAgent: string | null;
|
|
58
|
+
requestIp: string | null;
|
|
55
59
|
}[];
|
|
56
60
|
total: number;
|
|
57
61
|
}, {
|
|
@@ -59,11 +63,12 @@ export declare namespace GetUserHwidDevicesCommand {
|
|
|
59
63
|
hwid: string;
|
|
60
64
|
createdAt: string;
|
|
61
65
|
updatedAt: string;
|
|
62
|
-
|
|
66
|
+
userId: number;
|
|
63
67
|
platform: string | null;
|
|
64
68
|
osVersion: string | null;
|
|
65
69
|
deviceModel: string | null;
|
|
66
70
|
userAgent: string | null;
|
|
71
|
+
requestIp: string | null;
|
|
67
72
|
}[];
|
|
68
73
|
total: number;
|
|
69
74
|
}>;
|
|
@@ -73,11 +78,12 @@ export declare namespace GetUserHwidDevicesCommand {
|
|
|
73
78
|
hwid: string;
|
|
74
79
|
createdAt: Date;
|
|
75
80
|
updatedAt: Date;
|
|
76
|
-
|
|
81
|
+
userId: number;
|
|
77
82
|
platform: string | null;
|
|
78
83
|
osVersion: string | null;
|
|
79
84
|
deviceModel: string | null;
|
|
80
85
|
userAgent: string | null;
|
|
86
|
+
requestIp: string | null;
|
|
81
87
|
}[];
|
|
82
88
|
total: number;
|
|
83
89
|
};
|
|
@@ -87,11 +93,12 @@ export declare namespace GetUserHwidDevicesCommand {
|
|
|
87
93
|
hwid: string;
|
|
88
94
|
createdAt: string;
|
|
89
95
|
updatedAt: string;
|
|
90
|
-
|
|
96
|
+
userId: number;
|
|
91
97
|
platform: string | null;
|
|
92
98
|
osVersion: string | null;
|
|
93
99
|
deviceModel: string | null;
|
|
94
100
|
userAgent: string | null;
|
|
101
|
+
requestIp: string | null;
|
|
95
102
|
}[];
|
|
96
103
|
total: number;
|
|
97
104
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user-hwid-devices.command.d.ts","sourceRoot":"","sources":["../../../../commands/hwid/get-user-hwid-devices.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,yBAAyB,CAAC;IAChC,MAAM,GAAG,8BAAsC,CAAC;IAChD,MAAM,OAAO,QAAmB,CAAC;IAEjC,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"get-user-hwid-devices.command.d.ts","sourceRoot":"","sources":["../../../../commands/hwid/get-user-hwid-devices.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,yBAAyB,CAAC;IAChC,MAAM,GAAG,8BAAsC,CAAC;IAChD,MAAM,OAAO,QAAmB,CAAC;IAEjC,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,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"}
|
|
@@ -60,19 +60,19 @@ export declare namespace GetSubscriptionRequestHistoryCommand {
|
|
|
60
60
|
response: z.ZodObject<{
|
|
61
61
|
records: z.ZodArray<z.ZodObject<{
|
|
62
62
|
id: z.ZodNumber;
|
|
63
|
-
|
|
63
|
+
userId: z.ZodNumber;
|
|
64
64
|
requestIp: z.ZodNullable<z.ZodString>;
|
|
65
65
|
userAgent: z.ZodNullable<z.ZodString>;
|
|
66
66
|
requestAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
67
67
|
}, "strip", z.ZodTypeAny, {
|
|
68
|
-
userUuid: string;
|
|
69
68
|
id: number;
|
|
69
|
+
userId: number;
|
|
70
70
|
userAgent: string | null;
|
|
71
71
|
requestIp: string | null;
|
|
72
72
|
requestAt: Date;
|
|
73
73
|
}, {
|
|
74
|
-
userUuid: string;
|
|
75
74
|
id: number;
|
|
75
|
+
userId: number;
|
|
76
76
|
userAgent: string | null;
|
|
77
77
|
requestIp: string | null;
|
|
78
78
|
requestAt: string;
|
|
@@ -81,8 +81,8 @@ export declare namespace GetSubscriptionRequestHistoryCommand {
|
|
|
81
81
|
}, "strip", z.ZodTypeAny, {
|
|
82
82
|
total: number;
|
|
83
83
|
records: {
|
|
84
|
-
userUuid: string;
|
|
85
84
|
id: number;
|
|
85
|
+
userId: number;
|
|
86
86
|
userAgent: string | null;
|
|
87
87
|
requestIp: string | null;
|
|
88
88
|
requestAt: Date;
|
|
@@ -90,8 +90,8 @@ export declare namespace GetSubscriptionRequestHistoryCommand {
|
|
|
90
90
|
}, {
|
|
91
91
|
total: number;
|
|
92
92
|
records: {
|
|
93
|
-
userUuid: string;
|
|
94
93
|
id: number;
|
|
94
|
+
userId: number;
|
|
95
95
|
userAgent: string | null;
|
|
96
96
|
requestIp: string | null;
|
|
97
97
|
requestAt: string;
|
|
@@ -101,8 +101,8 @@ export declare namespace GetSubscriptionRequestHistoryCommand {
|
|
|
101
101
|
response: {
|
|
102
102
|
total: number;
|
|
103
103
|
records: {
|
|
104
|
-
userUuid: string;
|
|
105
104
|
id: number;
|
|
105
|
+
userId: number;
|
|
106
106
|
userAgent: string | null;
|
|
107
107
|
requestIp: string | null;
|
|
108
108
|
requestAt: Date;
|
|
@@ -112,8 +112,8 @@ export declare namespace GetSubscriptionRequestHistoryCommand {
|
|
|
112
112
|
response: {
|
|
113
113
|
total: number;
|
|
114
114
|
records: {
|
|
115
|
-
userUuid: string;
|
|
116
115
|
id: number;
|
|
116
|
+
userId: number;
|
|
117
117
|
userAgent: string | null;
|
|
118
118
|
requestIp: string | null;
|
|
119
119
|
requestAt: string;
|