@remnawave/backend-contract 0.3.70 → 0.3.72

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.
@@ -76,13 +76,13 @@ export declare namespace ActivateAllInboundsCommand {
76
76
  connectedAt: string;
77
77
  nodeName: string;
78
78
  }>>;
79
- happ: z.ZodNullable<z.ZodObject<{
79
+ happ: z.ZodObject<{
80
80
  cryptoLink: z.ZodString;
81
81
  }, "strip", z.ZodTypeAny, {
82
82
  cryptoLink: string;
83
83
  }, {
84
84
  cryptoLink: string;
85
- }>>;
85
+ }>;
86
86
  }>, "strip", z.ZodTypeAny, {
87
87
  status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
88
88
  uuid: string;
@@ -121,7 +121,7 @@ export declare namespace ActivateAllInboundsCommand {
121
121
  } | null;
122
122
  happ: {
123
123
  cryptoLink: string;
124
- } | null;
124
+ };
125
125
  }, {
126
126
  uuid: string;
127
127
  username: string;
@@ -157,7 +157,7 @@ export declare namespace ActivateAllInboundsCommand {
157
157
  } | null;
158
158
  happ: {
159
159
  cryptoLink: string;
160
- } | null;
160
+ };
161
161
  status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
162
162
  trafficLimitBytes?: number | undefined;
163
163
  trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | undefined;
@@ -201,7 +201,7 @@ export declare namespace ActivateAllInboundsCommand {
201
201
  } | null;
202
202
  happ: {
203
203
  cryptoLink: string;
204
- } | null;
204
+ };
205
205
  };
206
206
  }, {
207
207
  response: {
@@ -239,7 +239,7 @@ export declare namespace ActivateAllInboundsCommand {
239
239
  } | null;
240
240
  happ: {
241
241
  cryptoLink: string;
242
- } | null;
242
+ };
243
243
  status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
244
244
  trafficLimitBytes?: number | undefined;
245
245
  trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | undefined;
@@ -134,13 +134,13 @@ export declare namespace CreateUserCommand {
134
134
  connectedAt: string;
135
135
  nodeName: string;
136
136
  }>>;
137
- happ: z.ZodNullable<z.ZodObject<{
137
+ happ: z.ZodObject<{
138
138
  cryptoLink: z.ZodString;
139
139
  }, "strip", z.ZodTypeAny, {
140
140
  cryptoLink: string;
141
141
  }, {
142
142
  cryptoLink: string;
143
- }>>;
143
+ }>;
144
144
  }>, "strip", z.ZodTypeAny, {
145
145
  status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
146
146
  uuid: string;
@@ -179,7 +179,7 @@ export declare namespace CreateUserCommand {
179
179
  } | null;
180
180
  happ: {
181
181
  cryptoLink: string;
182
- } | null;
182
+ };
183
183
  }, {
184
184
  uuid: string;
185
185
  username: string;
@@ -215,7 +215,7 @@ export declare namespace CreateUserCommand {
215
215
  } | null;
216
216
  happ: {
217
217
  cryptoLink: string;
218
- } | null;
218
+ };
219
219
  status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
220
220
  trafficLimitBytes?: number | undefined;
221
221
  trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | undefined;
@@ -259,7 +259,7 @@ export declare namespace CreateUserCommand {
259
259
  } | null;
260
260
  happ: {
261
261
  cryptoLink: string;
262
- } | null;
262
+ };
263
263
  };
264
264
  }, {
265
265
  response: {
@@ -297,7 +297,7 @@ export declare namespace CreateUserCommand {
297
297
  } | null;
298
298
  happ: {
299
299
  cryptoLink: string;
300
- } | null;
300
+ };
301
301
  status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
302
302
  trafficLimitBytes?: number | undefined;
303
303
  trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | undefined;
@@ -76,13 +76,13 @@ export declare namespace DisableUserCommand {
76
76
  connectedAt: string;
77
77
  nodeName: string;
78
78
  }>>;
79
- happ: z.ZodNullable<z.ZodObject<{
79
+ happ: z.ZodObject<{
80
80
  cryptoLink: z.ZodString;
81
81
  }, "strip", z.ZodTypeAny, {
82
82
  cryptoLink: string;
83
83
  }, {
84
84
  cryptoLink: string;
85
- }>>;
85
+ }>;
86
86
  }>, "strip", z.ZodTypeAny, {
87
87
  status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
88
88
  uuid: string;
@@ -121,7 +121,7 @@ export declare namespace DisableUserCommand {
121
121
  } | null;
122
122
  happ: {
123
123
  cryptoLink: string;
124
- } | null;
124
+ };
125
125
  }, {
126
126
  uuid: string;
127
127
  username: string;
@@ -157,7 +157,7 @@ export declare namespace DisableUserCommand {
157
157
  } | null;
158
158
  happ: {
159
159
  cryptoLink: string;
160
- } | null;
160
+ };
161
161
  status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
162
162
  trafficLimitBytes?: number | undefined;
163
163
  trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | undefined;
@@ -201,7 +201,7 @@ export declare namespace DisableUserCommand {
201
201
  } | null;
202
202
  happ: {
203
203
  cryptoLink: string;
204
- } | null;
204
+ };
205
205
  };
206
206
  }, {
207
207
  response: {
@@ -239,7 +239,7 @@ export declare namespace DisableUserCommand {
239
239
  } | null;
240
240
  happ: {
241
241
  cryptoLink: string;
242
- } | null;
242
+ };
243
243
  status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
244
244
  trafficLimitBytes?: number | undefined;
245
245
  trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | undefined;
@@ -76,13 +76,13 @@ export declare namespace EnableUserCommand {
76
76
  connectedAt: string;
77
77
  nodeName: string;
78
78
  }>>;
79
- happ: z.ZodNullable<z.ZodObject<{
79
+ happ: z.ZodObject<{
80
80
  cryptoLink: z.ZodString;
81
81
  }, "strip", z.ZodTypeAny, {
82
82
  cryptoLink: string;
83
83
  }, {
84
84
  cryptoLink: string;
85
- }>>;
85
+ }>;
86
86
  }>, "strip", z.ZodTypeAny, {
87
87
  status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
88
88
  uuid: string;
@@ -121,7 +121,7 @@ export declare namespace EnableUserCommand {
121
121
  } | null;
122
122
  happ: {
123
123
  cryptoLink: string;
124
- } | null;
124
+ };
125
125
  }, {
126
126
  uuid: string;
127
127
  username: string;
@@ -157,7 +157,7 @@ export declare namespace EnableUserCommand {
157
157
  } | null;
158
158
  happ: {
159
159
  cryptoLink: string;
160
- } | null;
160
+ };
161
161
  status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
162
162
  trafficLimitBytes?: number | undefined;
163
163
  trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | undefined;
@@ -201,7 +201,7 @@ export declare namespace EnableUserCommand {
201
201
  } | null;
202
202
  happ: {
203
203
  cryptoLink: string;
204
- } | null;
204
+ };
205
205
  };
206
206
  }, {
207
207
  response: {
@@ -239,7 +239,7 @@ export declare namespace EnableUserCommand {
239
239
  } | null;
240
240
  happ: {
241
241
  cryptoLink: string;
242
- } | null;
242
+ };
243
243
  status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
244
244
  trafficLimitBytes?: number | undefined;
245
245
  trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | undefined;
@@ -122,13 +122,13 @@ export declare namespace GetAllUsersV2Command {
122
122
  connectedAt: string;
123
123
  nodeName: string;
124
124
  }>>;
125
- happ: z.ZodNullable<z.ZodObject<{
125
+ happ: z.ZodObject<{
126
126
  cryptoLink: z.ZodString;
127
127
  }, "strip", z.ZodTypeAny, {
128
128
  cryptoLink: string;
129
129
  }, {
130
130
  cryptoLink: string;
131
- }>>;
131
+ }>;
132
132
  }>, "strip", z.ZodTypeAny, {
133
133
  status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
134
134
  uuid: string;
@@ -167,7 +167,7 @@ export declare namespace GetAllUsersV2Command {
167
167
  } | null;
168
168
  happ: {
169
169
  cryptoLink: string;
170
- } | null;
170
+ };
171
171
  }, {
172
172
  uuid: string;
173
173
  username: string;
@@ -203,7 +203,7 @@ export declare namespace GetAllUsersV2Command {
203
203
  } | null;
204
204
  happ: {
205
205
  cryptoLink: string;
206
- } | null;
206
+ };
207
207
  status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
208
208
  trafficLimitBytes?: number | undefined;
209
209
  trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | undefined;
@@ -248,7 +248,7 @@ export declare namespace GetAllUsersV2Command {
248
248
  } | null;
249
249
  happ: {
250
250
  cryptoLink: string;
251
- } | null;
251
+ };
252
252
  }[];
253
253
  total: number;
254
254
  }, {
@@ -287,7 +287,7 @@ export declare namespace GetAllUsersV2Command {
287
287
  } | null;
288
288
  happ: {
289
289
  cryptoLink: string;
290
- } | null;
290
+ };
291
291
  status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
292
292
  trafficLimitBytes?: number | undefined;
293
293
  trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | undefined;
@@ -334,7 +334,7 @@ export declare namespace GetAllUsersV2Command {
334
334
  } | null;
335
335
  happ: {
336
336
  cryptoLink: string;
337
- } | null;
337
+ };
338
338
  }[];
339
339
  total: number;
340
340
  };
@@ -375,7 +375,7 @@ export declare namespace GetAllUsersV2Command {
375
375
  } | null;
376
376
  happ: {
377
377
  cryptoLink: string;
378
- } | null;
378
+ };
379
379
  status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
380
380
  trafficLimitBytes?: number | undefined;
381
381
  trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | undefined;
@@ -76,13 +76,13 @@ export declare namespace GetUserByEmailCommand {
76
76
  connectedAt: string;
77
77
  nodeName: string;
78
78
  }>>;
79
- happ: z.ZodNullable<z.ZodObject<{
79
+ happ: z.ZodObject<{
80
80
  cryptoLink: z.ZodString;
81
81
  }, "strip", z.ZodTypeAny, {
82
82
  cryptoLink: string;
83
83
  }, {
84
84
  cryptoLink: string;
85
- }>>;
85
+ }>;
86
86
  }>, "strip", z.ZodTypeAny, {
87
87
  status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
88
88
  uuid: string;
@@ -121,7 +121,7 @@ export declare namespace GetUserByEmailCommand {
121
121
  } | null;
122
122
  happ: {
123
123
  cryptoLink: string;
124
- } | null;
124
+ };
125
125
  }, {
126
126
  uuid: string;
127
127
  username: string;
@@ -157,7 +157,7 @@ export declare namespace GetUserByEmailCommand {
157
157
  } | null;
158
158
  happ: {
159
159
  cryptoLink: string;
160
- } | null;
160
+ };
161
161
  status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
162
162
  trafficLimitBytes?: number | undefined;
163
163
  trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | undefined;
@@ -201,7 +201,7 @@ export declare namespace GetUserByEmailCommand {
201
201
  } | null;
202
202
  happ: {
203
203
  cryptoLink: string;
204
- } | null;
204
+ };
205
205
  }[];
206
206
  }, {
207
207
  response: {
@@ -239,7 +239,7 @@ export declare namespace GetUserByEmailCommand {
239
239
  } | null;
240
240
  happ: {
241
241
  cryptoLink: string;
242
- } | null;
242
+ };
243
243
  status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
244
244
  trafficLimitBytes?: number | undefined;
245
245
  trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | undefined;
@@ -76,13 +76,13 @@ export declare namespace GetUserByShortUuidCommand {
76
76
  connectedAt: string;
77
77
  nodeName: string;
78
78
  }>>;
79
- happ: z.ZodNullable<z.ZodObject<{
79
+ happ: z.ZodObject<{
80
80
  cryptoLink: z.ZodString;
81
81
  }, "strip", z.ZodTypeAny, {
82
82
  cryptoLink: string;
83
83
  }, {
84
84
  cryptoLink: string;
85
- }>>;
85
+ }>;
86
86
  }>, "strip", z.ZodTypeAny, {
87
87
  status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
88
88
  uuid: string;
@@ -121,7 +121,7 @@ export declare namespace GetUserByShortUuidCommand {
121
121
  } | null;
122
122
  happ: {
123
123
  cryptoLink: string;
124
- } | null;
124
+ };
125
125
  }, {
126
126
  uuid: string;
127
127
  username: string;
@@ -157,7 +157,7 @@ export declare namespace GetUserByShortUuidCommand {
157
157
  } | null;
158
158
  happ: {
159
159
  cryptoLink: string;
160
- } | null;
160
+ };
161
161
  status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
162
162
  trafficLimitBytes?: number | undefined;
163
163
  trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | undefined;
@@ -201,7 +201,7 @@ export declare namespace GetUserByShortUuidCommand {
201
201
  } | null;
202
202
  happ: {
203
203
  cryptoLink: string;
204
- } | null;
204
+ };
205
205
  };
206
206
  }, {
207
207
  response: {
@@ -239,7 +239,7 @@ export declare namespace GetUserByShortUuidCommand {
239
239
  } | null;
240
240
  happ: {
241
241
  cryptoLink: string;
242
- } | null;
242
+ };
243
243
  status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
244
244
  trafficLimitBytes?: number | undefined;
245
245
  trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | undefined;
@@ -76,13 +76,13 @@ export declare namespace GetUserBySubscriptionUuidCommand {
76
76
  connectedAt: string;
77
77
  nodeName: string;
78
78
  }>>;
79
- happ: z.ZodNullable<z.ZodObject<{
79
+ happ: z.ZodObject<{
80
80
  cryptoLink: z.ZodString;
81
81
  }, "strip", z.ZodTypeAny, {
82
82
  cryptoLink: string;
83
83
  }, {
84
84
  cryptoLink: string;
85
- }>>;
85
+ }>;
86
86
  }>, "strip", z.ZodTypeAny, {
87
87
  status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
88
88
  uuid: string;
@@ -121,7 +121,7 @@ export declare namespace GetUserBySubscriptionUuidCommand {
121
121
  } | null;
122
122
  happ: {
123
123
  cryptoLink: string;
124
- } | null;
124
+ };
125
125
  }, {
126
126
  uuid: string;
127
127
  username: string;
@@ -157,7 +157,7 @@ export declare namespace GetUserBySubscriptionUuidCommand {
157
157
  } | null;
158
158
  happ: {
159
159
  cryptoLink: string;
160
- } | null;
160
+ };
161
161
  status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
162
162
  trafficLimitBytes?: number | undefined;
163
163
  trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | undefined;
@@ -201,7 +201,7 @@ export declare namespace GetUserBySubscriptionUuidCommand {
201
201
  } | null;
202
202
  happ: {
203
203
  cryptoLink: string;
204
- } | null;
204
+ };
205
205
  };
206
206
  }, {
207
207
  response: {
@@ -239,7 +239,7 @@ export declare namespace GetUserBySubscriptionUuidCommand {
239
239
  } | null;
240
240
  happ: {
241
241
  cryptoLink: string;
242
- } | null;
242
+ };
243
243
  status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
244
244
  trafficLimitBytes?: number | undefined;
245
245
  trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | undefined;
@@ -76,13 +76,13 @@ export declare namespace GetUserByTelegramIdCommand {
76
76
  connectedAt: string;
77
77
  nodeName: string;
78
78
  }>>;
79
- happ: z.ZodNullable<z.ZodObject<{
79
+ happ: z.ZodObject<{
80
80
  cryptoLink: z.ZodString;
81
81
  }, "strip", z.ZodTypeAny, {
82
82
  cryptoLink: string;
83
83
  }, {
84
84
  cryptoLink: string;
85
- }>>;
85
+ }>;
86
86
  }>, "strip", z.ZodTypeAny, {
87
87
  status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
88
88
  uuid: string;
@@ -121,7 +121,7 @@ export declare namespace GetUserByTelegramIdCommand {
121
121
  } | null;
122
122
  happ: {
123
123
  cryptoLink: string;
124
- } | null;
124
+ };
125
125
  }, {
126
126
  uuid: string;
127
127
  username: string;
@@ -157,7 +157,7 @@ export declare namespace GetUserByTelegramIdCommand {
157
157
  } | null;
158
158
  happ: {
159
159
  cryptoLink: string;
160
- } | null;
160
+ };
161
161
  status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
162
162
  trafficLimitBytes?: number | undefined;
163
163
  trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | undefined;
@@ -201,7 +201,7 @@ export declare namespace GetUserByTelegramIdCommand {
201
201
  } | null;
202
202
  happ: {
203
203
  cryptoLink: string;
204
- } | null;
204
+ };
205
205
  }[];
206
206
  }, {
207
207
  response: {
@@ -239,7 +239,7 @@ export declare namespace GetUserByTelegramIdCommand {
239
239
  } | null;
240
240
  happ: {
241
241
  cryptoLink: string;
242
- } | null;
242
+ };
243
243
  status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
244
244
  trafficLimitBytes?: number | undefined;
245
245
  trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | undefined;
@@ -76,13 +76,13 @@ export declare namespace GetUserByUsernameCommand {
76
76
  connectedAt: string;
77
77
  nodeName: string;
78
78
  }>>;
79
- happ: z.ZodNullable<z.ZodObject<{
79
+ happ: z.ZodObject<{
80
80
  cryptoLink: z.ZodString;
81
81
  }, "strip", z.ZodTypeAny, {
82
82
  cryptoLink: string;
83
83
  }, {
84
84
  cryptoLink: string;
85
- }>>;
85
+ }>;
86
86
  }>, "strip", z.ZodTypeAny, {
87
87
  status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
88
88
  uuid: string;
@@ -121,7 +121,7 @@ export declare namespace GetUserByUsernameCommand {
121
121
  } | null;
122
122
  happ: {
123
123
  cryptoLink: string;
124
- } | null;
124
+ };
125
125
  }, {
126
126
  uuid: string;
127
127
  username: string;
@@ -157,7 +157,7 @@ export declare namespace GetUserByUsernameCommand {
157
157
  } | null;
158
158
  happ: {
159
159
  cryptoLink: string;
160
- } | null;
160
+ };
161
161
  status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
162
162
  trafficLimitBytes?: number | undefined;
163
163
  trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | undefined;
@@ -201,7 +201,7 @@ export declare namespace GetUserByUsernameCommand {
201
201
  } | null;
202
202
  happ: {
203
203
  cryptoLink: string;
204
- } | null;
204
+ };
205
205
  };
206
206
  }, {
207
207
  response: {
@@ -239,7 +239,7 @@ export declare namespace GetUserByUsernameCommand {
239
239
  } | null;
240
240
  happ: {
241
241
  cryptoLink: string;
242
- } | null;
242
+ };
243
243
  status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
244
244
  trafficLimitBytes?: number | undefined;
245
245
  trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | undefined;
@@ -76,13 +76,13 @@ export declare namespace GetUserByUuidCommand {
76
76
  connectedAt: string;
77
77
  nodeName: string;
78
78
  }>>;
79
- happ: z.ZodNullable<z.ZodObject<{
79
+ happ: z.ZodObject<{
80
80
  cryptoLink: z.ZodString;
81
81
  }, "strip", z.ZodTypeAny, {
82
82
  cryptoLink: string;
83
83
  }, {
84
84
  cryptoLink: string;
85
- }>>;
85
+ }>;
86
86
  }>, "strip", z.ZodTypeAny, {
87
87
  status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
88
88
  uuid: string;
@@ -121,7 +121,7 @@ export declare namespace GetUserByUuidCommand {
121
121
  } | null;
122
122
  happ: {
123
123
  cryptoLink: string;
124
- } | null;
124
+ };
125
125
  }, {
126
126
  uuid: string;
127
127
  username: string;
@@ -157,7 +157,7 @@ export declare namespace GetUserByUuidCommand {
157
157
  } | null;
158
158
  happ: {
159
159
  cryptoLink: string;
160
- } | null;
160
+ };
161
161
  status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
162
162
  trafficLimitBytes?: number | undefined;
163
163
  trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | undefined;
@@ -201,7 +201,7 @@ export declare namespace GetUserByUuidCommand {
201
201
  } | null;
202
202
  happ: {
203
203
  cryptoLink: string;
204
- } | null;
204
+ };
205
205
  };
206
206
  }, {
207
207
  response: {
@@ -239,7 +239,7 @@ export declare namespace GetUserByUuidCommand {
239
239
  } | null;
240
240
  happ: {
241
241
  cryptoLink: string;
242
- } | null;
242
+ };
243
243
  status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
244
244
  trafficLimitBytes?: number | undefined;
245
245
  trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | undefined;
@@ -76,13 +76,13 @@ export declare namespace ResetUserTrafficCommand {
76
76
  connectedAt: string;
77
77
  nodeName: string;
78
78
  }>>;
79
- happ: z.ZodNullable<z.ZodObject<{
79
+ happ: z.ZodObject<{
80
80
  cryptoLink: z.ZodString;
81
81
  }, "strip", z.ZodTypeAny, {
82
82
  cryptoLink: string;
83
83
  }, {
84
84
  cryptoLink: string;
85
- }>>;
85
+ }>;
86
86
  }>, "strip", z.ZodTypeAny, {
87
87
  status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
88
88
  uuid: string;
@@ -121,7 +121,7 @@ export declare namespace ResetUserTrafficCommand {
121
121
  } | null;
122
122
  happ: {
123
123
  cryptoLink: string;
124
- } | null;
124
+ };
125
125
  }, {
126
126
  uuid: string;
127
127
  username: string;
@@ -157,7 +157,7 @@ export declare namespace ResetUserTrafficCommand {
157
157
  } | null;
158
158
  happ: {
159
159
  cryptoLink: string;
160
- } | null;
160
+ };
161
161
  status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
162
162
  trafficLimitBytes?: number | undefined;
163
163
  trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | undefined;
@@ -201,7 +201,7 @@ export declare namespace ResetUserTrafficCommand {
201
201
  } | null;
202
202
  happ: {
203
203
  cryptoLink: string;
204
- } | null;
204
+ };
205
205
  };
206
206
  }, {
207
207
  response: {
@@ -239,7 +239,7 @@ export declare namespace ResetUserTrafficCommand {
239
239
  } | null;
240
240
  happ: {
241
241
  cryptoLink: string;
242
- } | null;
242
+ };
243
243
  status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
244
244
  trafficLimitBytes?: number | undefined;
245
245
  trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | undefined;
@@ -76,13 +76,13 @@ export declare namespace RevokeUserSubscriptionCommand {
76
76
  connectedAt: string;
77
77
  nodeName: string;
78
78
  }>>;
79
- happ: z.ZodNullable<z.ZodObject<{
79
+ happ: z.ZodObject<{
80
80
  cryptoLink: z.ZodString;
81
81
  }, "strip", z.ZodTypeAny, {
82
82
  cryptoLink: string;
83
83
  }, {
84
84
  cryptoLink: string;
85
- }>>;
85
+ }>;
86
86
  }>, "strip", z.ZodTypeAny, {
87
87
  status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
88
88
  uuid: string;
@@ -121,7 +121,7 @@ export declare namespace RevokeUserSubscriptionCommand {
121
121
  } | null;
122
122
  happ: {
123
123
  cryptoLink: string;
124
- } | null;
124
+ };
125
125
  }, {
126
126
  uuid: string;
127
127
  username: string;
@@ -157,7 +157,7 @@ export declare namespace RevokeUserSubscriptionCommand {
157
157
  } | null;
158
158
  happ: {
159
159
  cryptoLink: string;
160
- } | null;
160
+ };
161
161
  status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
162
162
  trafficLimitBytes?: number | undefined;
163
163
  trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | undefined;
@@ -201,7 +201,7 @@ export declare namespace RevokeUserSubscriptionCommand {
201
201
  } | null;
202
202
  happ: {
203
203
  cryptoLink: string;
204
- } | null;
204
+ };
205
205
  };
206
206
  }, {
207
207
  response: {
@@ -239,7 +239,7 @@ export declare namespace RevokeUserSubscriptionCommand {
239
239
  } | null;
240
240
  happ: {
241
241
  cryptoLink: string;
242
- } | null;
242
+ };
243
243
  status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
244
244
  trafficLimitBytes?: number | undefined;
245
245
  trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | undefined;
@@ -162,13 +162,13 @@ export declare namespace UpdateUserCommand {
162
162
  connectedAt: string;
163
163
  nodeName: string;
164
164
  }>>;
165
- happ: z.ZodNullable<z.ZodObject<{
165
+ happ: z.ZodObject<{
166
166
  cryptoLink: z.ZodString;
167
167
  }, "strip", z.ZodTypeAny, {
168
168
  cryptoLink: string;
169
169
  }, {
170
170
  cryptoLink: string;
171
- }>>;
171
+ }>;
172
172
  }>, "strip", z.ZodTypeAny, {
173
173
  status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
174
174
  uuid: string;
@@ -207,7 +207,7 @@ export declare namespace UpdateUserCommand {
207
207
  } | null;
208
208
  happ: {
209
209
  cryptoLink: string;
210
- } | null;
210
+ };
211
211
  }, {
212
212
  uuid: string;
213
213
  username: string;
@@ -243,7 +243,7 @@ export declare namespace UpdateUserCommand {
243
243
  } | null;
244
244
  happ: {
245
245
  cryptoLink: string;
246
- } | null;
246
+ };
247
247
  status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
248
248
  trafficLimitBytes?: number | undefined;
249
249
  trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | undefined;
@@ -287,7 +287,7 @@ export declare namespace UpdateUserCommand {
287
287
  } | null;
288
288
  happ: {
289
289
  cryptoLink: string;
290
- } | null;
290
+ };
291
291
  };
292
292
  }, {
293
293
  response: {
@@ -325,7 +325,7 @@ export declare namespace UpdateUserCommand {
325
325
  } | null;
326
326
  happ: {
327
327
  cryptoLink: string;
328
- } | null;
328
+ };
329
329
  status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
330
330
  trafficLimitBytes?: number | undefined;
331
331
  trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | undefined;
@@ -64,13 +64,13 @@ export declare const ExtendedUsersSchema: z.ZodObject<z.objectUtil.extendShape<{
64
64
  connectedAt: string;
65
65
  nodeName: string;
66
66
  }>>;
67
- happ: z.ZodNullable<z.ZodObject<{
67
+ happ: z.ZodObject<{
68
68
  cryptoLink: z.ZodString;
69
69
  }, "strip", z.ZodTypeAny, {
70
70
  cryptoLink: string;
71
71
  }, {
72
72
  cryptoLink: string;
73
- }>>;
73
+ }>;
74
74
  }>, "strip", z.ZodTypeAny, {
75
75
  status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
76
76
  uuid: string;
@@ -109,7 +109,7 @@ export declare const ExtendedUsersSchema: z.ZodObject<z.objectUtil.extendShape<{
109
109
  } | null;
110
110
  happ: {
111
111
  cryptoLink: string;
112
- } | null;
112
+ };
113
113
  }, {
114
114
  uuid: string;
115
115
  username: string;
@@ -145,7 +145,7 @@ export declare const ExtendedUsersSchema: z.ZodObject<z.objectUtil.extendShape<{
145
145
  } | null;
146
146
  happ: {
147
147
  cryptoLink: string;
148
- } | null;
148
+ };
149
149
  status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
150
150
  trafficLimitBytes?: number | undefined;
151
151
  trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | undefined;
@@ -1,9 +1,9 @@
1
1
  import { z } from 'zod';
2
- export declare const HappSchema: z.ZodNullable<z.ZodObject<{
2
+ export declare const HappSchema: z.ZodObject<{
3
3
  cryptoLink: z.ZodString;
4
4
  }, "strip", z.ZodTypeAny, {
5
5
  cryptoLink: string;
6
6
  }, {
7
7
  cryptoLink: string;
8
- }>>;
8
+ }>;
9
9
  //# sourceMappingURL=happ.schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"happ.schema.d.ts","sourceRoot":"","sources":["../../../models/happ.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,UAAU;;;;;;GAIR,CAAC"}
1
+ {"version":3,"file":"happ.schema.d.ts","sourceRoot":"","sources":["../../../models/happ.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,UAAU;;;;;;EAErB,CAAC"}
@@ -2,8 +2,6 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.HappSchema = void 0;
4
4
  const zod_1 = require("zod");
5
- exports.HappSchema = zod_1.z
6
- .object({
5
+ exports.HappSchema = zod_1.z.object({
7
6
  cryptoLink: zod_1.z.string(),
8
- })
9
- .nullable();
7
+ });
@@ -2,8 +2,6 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.HappSchema = void 0;
4
4
  const zod_1 = require("zod");
5
- exports.HappSchema = zod_1.z
6
- .object({
5
+ exports.HappSchema = zod_1.z.object({
7
6
  cryptoLink: zod_1.z.string(),
8
- })
9
- .nullable();
7
+ });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remnawave/backend-contract",
3
- "version": "0.3.70",
3
+ "version": "0.3.72",
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.",