@remnawave/backend-contract 2.2.33 → 2.2.35

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.
@@ -23,6 +23,10 @@ export declare namespace GetAllSubscriptionsCommand {
23
23
  daysLeft: z.ZodNumber;
24
24
  trafficUsed: z.ZodString;
25
25
  trafficLimit: z.ZodString;
26
+ lifetimeTrafficUsed: z.ZodString;
27
+ trafficUsedBytes: z.ZodString;
28
+ trafficLimitBytes: z.ZodString;
29
+ lifetimeTrafficUsedBytes: z.ZodString;
26
30
  username: z.ZodString;
27
31
  expiresAt: z.ZodEffects<z.ZodString, Date, string>;
28
32
  isActive: z.ZodBoolean;
@@ -41,20 +45,28 @@ export declare namespace GetAllSubscriptionsCommand {
41
45
  }, "strip", z.ZodTypeAny, {
42
46
  username: string;
43
47
  shortUuid: string;
48
+ trafficLimitBytes: string;
44
49
  trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK";
50
+ trafficUsedBytes: string;
45
51
  daysLeft: number;
46
52
  trafficUsed: string;
47
53
  trafficLimit: string;
54
+ lifetimeTrafficUsed: string;
55
+ lifetimeTrafficUsedBytes: string;
48
56
  expiresAt: Date;
49
57
  isActive: boolean;
50
58
  userStatus: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
51
59
  }, {
52
60
  username: string;
53
61
  shortUuid: string;
62
+ trafficLimitBytes: string;
54
63
  trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK";
64
+ trafficUsedBytes: string;
55
65
  daysLeft: number;
56
66
  trafficUsed: string;
57
67
  trafficLimit: string;
68
+ lifetimeTrafficUsed: string;
69
+ lifetimeTrafficUsedBytes: string;
58
70
  expiresAt: string;
59
71
  isActive: boolean;
60
72
  userStatus: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
@@ -68,10 +80,14 @@ export declare namespace GetAllSubscriptionsCommand {
68
80
  user: {
69
81
  username: string;
70
82
  shortUuid: string;
83
+ trafficLimitBytes: string;
71
84
  trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK";
85
+ trafficUsedBytes: string;
72
86
  daysLeft: number;
73
87
  trafficUsed: string;
74
88
  trafficLimit: string;
89
+ lifetimeTrafficUsed: string;
90
+ lifetimeTrafficUsedBytes: string;
75
91
  expiresAt: Date;
76
92
  isActive: boolean;
77
93
  userStatus: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
@@ -84,10 +100,14 @@ export declare namespace GetAllSubscriptionsCommand {
84
100
  user: {
85
101
  username: string;
86
102
  shortUuid: string;
103
+ trafficLimitBytes: string;
87
104
  trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK";
105
+ trafficUsedBytes: string;
88
106
  daysLeft: number;
89
107
  trafficUsed: string;
90
108
  trafficLimit: string;
109
+ lifetimeTrafficUsed: string;
110
+ lifetimeTrafficUsedBytes: string;
91
111
  expiresAt: string;
92
112
  isActive: boolean;
93
113
  userStatus: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
@@ -103,10 +123,14 @@ export declare namespace GetAllSubscriptionsCommand {
103
123
  user: {
104
124
  username: string;
105
125
  shortUuid: string;
126
+ trafficLimitBytes: string;
106
127
  trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK";
128
+ trafficUsedBytes: string;
107
129
  daysLeft: number;
108
130
  trafficUsed: string;
109
131
  trafficLimit: string;
132
+ lifetimeTrafficUsed: string;
133
+ lifetimeTrafficUsedBytes: string;
110
134
  expiresAt: Date;
111
135
  isActive: boolean;
112
136
  userStatus: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
@@ -122,10 +146,14 @@ export declare namespace GetAllSubscriptionsCommand {
122
146
  user: {
123
147
  username: string;
124
148
  shortUuid: string;
149
+ trafficLimitBytes: string;
125
150
  trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK";
151
+ trafficUsedBytes: string;
126
152
  daysLeft: number;
127
153
  trafficUsed: string;
128
154
  trafficLimit: string;
155
+ lifetimeTrafficUsed: string;
156
+ lifetimeTrafficUsedBytes: string;
129
157
  expiresAt: string;
130
158
  isActive: boolean;
131
159
  userStatus: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
@@ -143,10 +171,14 @@ export declare namespace GetAllSubscriptionsCommand {
143
171
  user: {
144
172
  username: string;
145
173
  shortUuid: string;
174
+ trafficLimitBytes: string;
146
175
  trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK";
176
+ trafficUsedBytes: string;
147
177
  daysLeft: number;
148
178
  trafficUsed: string;
149
179
  trafficLimit: string;
180
+ lifetimeTrafficUsed: string;
181
+ lifetimeTrafficUsedBytes: string;
150
182
  expiresAt: Date;
151
183
  isActive: boolean;
152
184
  userStatus: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
@@ -164,10 +196,14 @@ export declare namespace GetAllSubscriptionsCommand {
164
196
  user: {
165
197
  username: string;
166
198
  shortUuid: string;
199
+ trafficLimitBytes: string;
167
200
  trafficLimitStrategy: "MONTH" | "NO_RESET" | "DAY" | "WEEK";
201
+ trafficUsedBytes: string;
168
202
  daysLeft: number;
169
203
  trafficUsed: string;
170
204
  trafficLimit: string;
205
+ lifetimeTrafficUsed: string;
206
+ lifetimeTrafficUsedBytes: string;
171
207
  expiresAt: string;
172
208
  isActive: boolean;
173
209
  userStatus: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
@@ -1 +1 @@
1
- {"version":3,"file":"get-all-subscriptions.command.d.ts","sourceRoot":"","sources":["../../../../commands/subscriptions/get-all-subscriptions.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,0BAA0B,CAAC;IACjC,MAAM,GAAG,uBAA6B,CAAC;IACvC,MAAM,OAAO,uBAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,kBAAkB;;;;;;;;;MAW7B,CAAC;IAEH,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAEvD,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA0BzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"get-all-subscriptions.command.d.ts","sourceRoot":"","sources":["../../../../commands/subscriptions/get-all-subscriptions.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,0BAA0B,CAAC;IACjC,MAAM,GAAG,uBAA6B,CAAC;IACvC,MAAM,OAAO,uBAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,kBAAkB;;;;;;;;;MAW7B,CAAC;IAEH,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAEvD,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA8BzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -30,6 +30,10 @@ var GetAllSubscriptionsCommand;
30
30
  daysLeft: zod_1.z.number(),
31
31
  trafficUsed: zod_1.z.string(),
32
32
  trafficLimit: zod_1.z.string(),
33
+ lifetimeTrafficUsed: zod_1.z.string(),
34
+ trafficUsedBytes: zod_1.z.string(),
35
+ trafficLimitBytes: zod_1.z.string(),
36
+ lifetimeTrafficUsedBytes: zod_1.z.string(),
33
37
  username: zod_1.z.string(),
34
38
  expiresAt: zod_1.z
35
39
  .string()
@@ -30,6 +30,10 @@ var GetAllSubscriptionsCommand;
30
30
  daysLeft: zod_1.z.number(),
31
31
  trafficUsed: zod_1.z.string(),
32
32
  trafficLimit: zod_1.z.string(),
33
+ lifetimeTrafficUsed: zod_1.z.string(),
34
+ trafficUsedBytes: zod_1.z.string(),
35
+ trafficLimitBytes: zod_1.z.string(),
36
+ lifetimeTrafficUsedBytes: zod_1.z.string(),
33
37
  username: zod_1.z.string(),
34
38
  expiresAt: zod_1.z
35
39
  .string()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remnawave/backend-contract",
3
- "version": "2.2.33",
3
+ "version": "2.2.35",
4
4
  "public": true,
5
5
  "license": "AGPL-3.0-only",
6
6
  "description": "A contract library for Remnawave Backend. It can be used in backend and frontend.",