@remnawave/backend-contract 2.6.25 → 2.6.27

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.
Files changed (68) hide show
  1. package/build/backend/commands/auth/get-status.command.d.ts +9 -42
  2. package/build/backend/commands/auth/get-status.command.d.ts.map +1 -1
  3. package/build/backend/commands/auth/get-status.command.js +0 -4
  4. package/build/backend/commands/auth/oauth2/authorize.command.d.ts +3 -2
  5. package/build/backend/commands/auth/oauth2/authorize.command.d.ts.map +1 -1
  6. package/build/backend/commands/auth/oauth2/callback.command.d.ts +3 -2
  7. package/build/backend/commands/auth/oauth2/callback.command.d.ts.map +1 -1
  8. package/build/backend/commands/auth/oauth2/index.d.ts +0 -1
  9. package/build/backend/commands/auth/oauth2/index.d.ts.map +1 -1
  10. package/build/backend/commands/auth/oauth2/index.js +0 -1
  11. package/build/backend/commands/hwid/get-top-users-by-hwid-devices.command.d.ts +6 -6
  12. package/build/backend/commands/passkeys/delete-passkeys.command.d.ts +6 -6
  13. package/build/backend/commands/passkeys/get-active-passkeys.command.d.ts +6 -6
  14. package/build/backend/commands/passkeys/update-passkey.command.d.ts +8 -8
  15. package/build/backend/commands/remnawave-settings/get-remnawave-settings.command.d.ts +61 -33
  16. package/build/backend/commands/remnawave-settings/get-remnawave-settings.command.d.ts.map +1 -1
  17. package/build/backend/commands/remnawave-settings/update-remnawave-settings.command.d.ts +108 -56
  18. package/build/backend/commands/remnawave-settings/update-remnawave-settings.command.d.ts.map +1 -1
  19. package/build/backend/commands/remnawave-settings/update-remnawave-settings.command.js +0 -1
  20. package/build/backend/commands/subscription-request-history/get-subscription-request-history.command.d.ts +6 -6
  21. package/build/backend/commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.d.ts +6 -6
  22. package/build/backend/commands/users/actions/disable-user.command.d.ts +4 -4
  23. package/build/backend/commands/users/actions/enable-user.command.d.ts +4 -4
  24. package/build/backend/commands/users/actions/reset-user-traffic.command.d.ts +4 -4
  25. package/build/backend/commands/users/actions/revoke-user-subscription.command.d.ts +4 -4
  26. package/build/backend/commands/users/create-user.command.d.ts +4 -4
  27. package/build/backend/commands/users/get-all-users.command.d.ts +6 -6
  28. package/build/backend/commands/users/get-by/get-user-by-email.command.d.ts +4 -4
  29. package/build/backend/commands/users/get-by/get-user-by-id.command.d.ts +4 -4
  30. package/build/backend/commands/users/get-by/get-user-by-short-uuid.command.d.ts +4 -4
  31. package/build/backend/commands/users/get-by/get-user-by-tag.command.d.ts +4 -4
  32. package/build/backend/commands/users/get-by/get-user-by-telegram-id.command.d.ts +4 -4
  33. package/build/backend/commands/users/get-by/get-user-by-username.command.d.ts +4 -4
  34. package/build/backend/commands/users/get-user-by-uuid.command.d.ts +4 -4
  35. package/build/backend/commands/users/get-user-subscription-request-history.command.d.ts +6 -6
  36. package/build/backend/commands/users/update-user.command.d.ts +4 -4
  37. package/build/backend/constants/oauth2/providers.contants.d.ts +2 -1
  38. package/build/backend/constants/oauth2/providers.contants.d.ts.map +1 -1
  39. package/build/backend/constants/oauth2/providers.contants.js +1 -0
  40. package/build/backend/models/extended-users.schema.d.ts +2 -2
  41. package/build/backend/models/remnawave-settings/index.d.ts +0 -1
  42. package/build/backend/models/remnawave-settings/index.d.ts.map +1 -1
  43. package/build/backend/models/remnawave-settings/index.js +0 -1
  44. package/build/backend/models/remnawave-settings/oauth2-settings.schema.d.ts +33 -0
  45. package/build/backend/models/remnawave-settings/oauth2-settings.schema.d.ts.map +1 -1
  46. package/build/backend/models/remnawave-settings/oauth2-settings.schema.js +23 -0
  47. package/build/backend/models/remnawave-settings/remnawave-settings.schema.d.ts +47 -23
  48. package/build/backend/models/remnawave-settings/remnawave-settings.schema.d.ts.map +1 -1
  49. package/build/backend/models/remnawave-settings/remnawave-settings.schema.js +0 -2
  50. package/build/backend/models/subscription-request-history.schema.d.ts +2 -2
  51. package/build/backend/models/users.schema.d.ts +2 -2
  52. package/build/backend/models/webhook/webhook.schema.d.ts +32 -32
  53. package/build/frontend/commands/auth/get-status.command.js +0 -4
  54. package/build/frontend/commands/auth/oauth2/index.js +0 -1
  55. package/build/frontend/commands/remnawave-settings/update-remnawave-settings.command.js +0 -1
  56. package/build/frontend/constants/oauth2/providers.contants.js +1 -0
  57. package/build/frontend/models/remnawave-settings/index.js +0 -1
  58. package/build/frontend/models/remnawave-settings/oauth2-settings.schema.js +23 -0
  59. package/build/frontend/models/remnawave-settings/remnawave-settings.schema.js +0 -2
  60. package/package.json +1 -1
  61. package/build/backend/commands/auth/oauth2/telegram-callback.command.d.ts +0 -51
  62. package/build/backend/commands/auth/oauth2/telegram-callback.command.d.ts.map +0 -1
  63. package/build/backend/commands/auth/oauth2/telegram-callback.command.js +0 -26
  64. package/build/backend/models/remnawave-settings/tg-auth-settings.schema.d.ts +0 -16
  65. package/build/backend/models/remnawave-settings/tg-auth-settings.schema.d.ts.map +0 -1
  66. package/build/backend/models/remnawave-settings/tg-auth-settings.schema.js +0 -12
  67. package/build/frontend/commands/auth/oauth2/telegram-callback.command.js +0 -26
  68. package/build/frontend/models/remnawave-settings/tg-auth-settings.schema.js +0 -12
@@ -122,7 +122,33 @@ export declare namespace UpdateRemnawaveSettingsCommand {
122
122
  withPkce: boolean;
123
123
  tokenUrl: string | null;
124
124
  }>>;
125
+ telegram: z.ZodDefault<z.ZodObject<{
126
+ enabled: z.ZodBoolean;
127
+ clientId: z.ZodNullable<z.ZodString>;
128
+ clientSecret: z.ZodNullable<z.ZodString>;
129
+ allowedIds: z.ZodArray<z.ZodString, "many">;
130
+ frontendDomain: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
131
+ }, "strip", z.ZodTypeAny, {
132
+ enabled: boolean;
133
+ clientId: string | null;
134
+ clientSecret: string | null;
135
+ frontendDomain: string | null;
136
+ allowedIds: string[];
137
+ }, {
138
+ enabled: boolean;
139
+ clientId: string | null;
140
+ clientSecret: string | null;
141
+ frontendDomain: string | null;
142
+ allowedIds: string[];
143
+ }>>;
125
144
  }, "strip", z.ZodTypeAny, {
145
+ telegram: {
146
+ enabled: boolean;
147
+ clientId: string | null;
148
+ clientSecret: string | null;
149
+ frontendDomain: string | null;
150
+ allowedIds: string[];
151
+ };
126
152
  github: {
127
153
  enabled: boolean;
128
154
  clientId: string | null;
@@ -181,6 +207,13 @@ export declare namespace UpdateRemnawaveSettingsCommand {
181
207
  clientSecret: string | null;
182
208
  allowedEmails: string[];
183
209
  };
210
+ telegram?: {
211
+ enabled: boolean;
212
+ clientId: string | null;
213
+ clientSecret: string | null;
214
+ frontendDomain: string | null;
215
+ allowedIds: string[];
216
+ } | undefined;
184
217
  keycloak?: {
185
218
  enabled: boolean;
186
219
  clientId: string | null;
@@ -201,19 +234,6 @@ export declare namespace UpdateRemnawaveSettingsCommand {
201
234
  tokenUrl: string | null;
202
235
  } | undefined;
203
236
  }>>;
204
- tgAuthSettings: z.ZodOptional<z.ZodObject<{
205
- enabled: z.ZodBoolean;
206
- botToken: z.ZodNullable<z.ZodString>;
207
- adminIds: z.ZodArray<z.ZodString, "many">;
208
- }, "strip", z.ZodTypeAny, {
209
- enabled: boolean;
210
- botToken: string | null;
211
- adminIds: string[];
212
- }, {
213
- enabled: boolean;
214
- botToken: string | null;
215
- adminIds: string[];
216
- }>>;
217
237
  passwordSettings: z.ZodOptional<z.ZodObject<{
218
238
  enabled: z.ZodBoolean;
219
239
  }, "strip", z.ZodTypeAny, {
@@ -238,6 +258,13 @@ export declare namespace UpdateRemnawaveSettingsCommand {
238
258
  origin: string | null;
239
259
  } | undefined;
240
260
  oauth2Settings?: {
261
+ telegram: {
262
+ enabled: boolean;
263
+ clientId: string | null;
264
+ clientSecret: string | null;
265
+ frontendDomain: string | null;
266
+ allowedIds: string[];
267
+ };
241
268
  github: {
242
269
  enabled: boolean;
243
270
  clientId: string | null;
@@ -277,11 +304,6 @@ export declare namespace UpdateRemnawaveSettingsCommand {
277
304
  tokenUrl: string | null;
278
305
  };
279
306
  } | undefined;
280
- tgAuthSettings?: {
281
- enabled: boolean;
282
- botToken: string | null;
283
- adminIds: string[];
284
- } | undefined;
285
307
  passwordSettings?: {
286
308
  enabled: boolean;
287
309
  } | undefined;
@@ -315,6 +337,13 @@ export declare namespace UpdateRemnawaveSettingsCommand {
315
337
  clientSecret: string | null;
316
338
  allowedEmails: string[];
317
339
  };
340
+ telegram?: {
341
+ enabled: boolean;
342
+ clientId: string | null;
343
+ clientSecret: string | null;
344
+ frontendDomain: string | null;
345
+ allowedIds: string[];
346
+ } | undefined;
318
347
  keycloak?: {
319
348
  enabled: boolean;
320
349
  clientId: string | null;
@@ -335,11 +364,6 @@ export declare namespace UpdateRemnawaveSettingsCommand {
335
364
  tokenUrl: string | null;
336
365
  } | undefined;
337
366
  } | undefined;
338
- tgAuthSettings?: {
339
- enabled: boolean;
340
- botToken: string | null;
341
- adminIds: string[];
342
- } | undefined;
343
367
  passwordSettings?: {
344
368
  enabled: boolean;
345
369
  } | undefined;
@@ -469,7 +493,33 @@ export declare namespace UpdateRemnawaveSettingsCommand {
469
493
  withPkce: boolean;
470
494
  tokenUrl: string | null;
471
495
  }>>;
496
+ telegram: z.ZodDefault<z.ZodObject<{
497
+ enabled: z.ZodBoolean;
498
+ clientId: z.ZodNullable<z.ZodString>;
499
+ clientSecret: z.ZodNullable<z.ZodString>;
500
+ allowedIds: z.ZodArray<z.ZodString, "many">;
501
+ frontendDomain: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
502
+ }, "strip", z.ZodTypeAny, {
503
+ enabled: boolean;
504
+ clientId: string | null;
505
+ clientSecret: string | null;
506
+ frontendDomain: string | null;
507
+ allowedIds: string[];
508
+ }, {
509
+ enabled: boolean;
510
+ clientId: string | null;
511
+ clientSecret: string | null;
512
+ frontendDomain: string | null;
513
+ allowedIds: string[];
514
+ }>>;
472
515
  }, "strip", z.ZodTypeAny, {
516
+ telegram: {
517
+ enabled: boolean;
518
+ clientId: string | null;
519
+ clientSecret: string | null;
520
+ frontendDomain: string | null;
521
+ allowedIds: string[];
522
+ };
473
523
  github: {
474
524
  enabled: boolean;
475
525
  clientId: string | null;
@@ -528,6 +578,13 @@ export declare namespace UpdateRemnawaveSettingsCommand {
528
578
  clientSecret: string | null;
529
579
  allowedEmails: string[];
530
580
  };
581
+ telegram?: {
582
+ enabled: boolean;
583
+ clientId: string | null;
584
+ clientSecret: string | null;
585
+ frontendDomain: string | null;
586
+ allowedIds: string[];
587
+ } | undefined;
531
588
  keycloak?: {
532
589
  enabled: boolean;
533
590
  clientId: string | null;
@@ -548,19 +605,6 @@ export declare namespace UpdateRemnawaveSettingsCommand {
548
605
  tokenUrl: string | null;
549
606
  } | undefined;
550
607
  }>>;
551
- tgAuthSettings: z.ZodNullable<z.ZodObject<{
552
- enabled: z.ZodBoolean;
553
- botToken: z.ZodNullable<z.ZodString>;
554
- adminIds: z.ZodArray<z.ZodString, "many">;
555
- }, "strip", z.ZodTypeAny, {
556
- enabled: boolean;
557
- botToken: string | null;
558
- adminIds: string[];
559
- }, {
560
- enabled: boolean;
561
- botToken: string | null;
562
- adminIds: string[];
563
- }>>;
564
608
  passwordSettings: z.ZodNullable<z.ZodObject<{
565
609
  enabled: z.ZodBoolean;
566
610
  }, "strip", z.ZodTypeAny, {
@@ -585,6 +629,13 @@ export declare namespace UpdateRemnawaveSettingsCommand {
585
629
  origin: string | null;
586
630
  } | null;
587
631
  oauth2Settings: {
632
+ telegram: {
633
+ enabled: boolean;
634
+ clientId: string | null;
635
+ clientSecret: string | null;
636
+ frontendDomain: string | null;
637
+ allowedIds: string[];
638
+ };
588
639
  github: {
589
640
  enabled: boolean;
590
641
  clientId: string | null;
@@ -624,11 +675,6 @@ export declare namespace UpdateRemnawaveSettingsCommand {
624
675
  tokenUrl: string | null;
625
676
  };
626
677
  } | null;
627
- tgAuthSettings: {
628
- enabled: boolean;
629
- botToken: string | null;
630
- adminIds: string[];
631
- } | null;
632
678
  passwordSettings: {
633
679
  enabled: boolean;
634
680
  } | null;
@@ -662,6 +708,13 @@ export declare namespace UpdateRemnawaveSettingsCommand {
662
708
  clientSecret: string | null;
663
709
  allowedEmails: string[];
664
710
  };
711
+ telegram?: {
712
+ enabled: boolean;
713
+ clientId: string | null;
714
+ clientSecret: string | null;
715
+ frontendDomain: string | null;
716
+ allowedIds: string[];
717
+ } | undefined;
665
718
  keycloak?: {
666
719
  enabled: boolean;
667
720
  clientId: string | null;
@@ -682,11 +735,6 @@ export declare namespace UpdateRemnawaveSettingsCommand {
682
735
  tokenUrl: string | null;
683
736
  } | undefined;
684
737
  } | null;
685
- tgAuthSettings: {
686
- enabled: boolean;
687
- botToken: string | null;
688
- adminIds: string[];
689
- } | null;
690
738
  passwordSettings: {
691
739
  enabled: boolean;
692
740
  } | null;
@@ -703,6 +751,13 @@ export declare namespace UpdateRemnawaveSettingsCommand {
703
751
  origin: string | null;
704
752
  } | null;
705
753
  oauth2Settings: {
754
+ telegram: {
755
+ enabled: boolean;
756
+ clientId: string | null;
757
+ clientSecret: string | null;
758
+ frontendDomain: string | null;
759
+ allowedIds: string[];
760
+ };
706
761
  github: {
707
762
  enabled: boolean;
708
763
  clientId: string | null;
@@ -742,11 +797,6 @@ export declare namespace UpdateRemnawaveSettingsCommand {
742
797
  tokenUrl: string | null;
743
798
  };
744
799
  } | null;
745
- tgAuthSettings: {
746
- enabled: boolean;
747
- botToken: string | null;
748
- adminIds: string[];
749
- } | null;
750
800
  passwordSettings: {
751
801
  enabled: boolean;
752
802
  } | null;
@@ -782,6 +832,13 @@ export declare namespace UpdateRemnawaveSettingsCommand {
782
832
  clientSecret: string | null;
783
833
  allowedEmails: string[];
784
834
  };
835
+ telegram?: {
836
+ enabled: boolean;
837
+ clientId: string | null;
838
+ clientSecret: string | null;
839
+ frontendDomain: string | null;
840
+ allowedIds: string[];
841
+ } | undefined;
785
842
  keycloak?: {
786
843
  enabled: boolean;
787
844
  clientId: string | null;
@@ -802,11 +859,6 @@ export declare namespace UpdateRemnawaveSettingsCommand {
802
859
  tokenUrl: string | null;
803
860
  } | undefined;
804
861
  } | null;
805
- tgAuthSettings: {
806
- enabled: boolean;
807
- botToken: string | null;
808
- adminIds: string[];
809
- } | null;
810
862
  passwordSettings: {
811
863
  enabled: boolean;
812
864
  } | null;
@@ -1 +1 @@
1
- {"version":3,"file":"update-remnawave-settings.command.d.ts","sourceRoot":"","sources":["../../../../commands/remnawave-settings/update-remnawave-settings.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAaxB,yBAAiB,8BAA8B,CAAC;IACrC,MAAM,GAAG,4BAAsC,CAAC;IAChD,MAAM,OAAO,4BAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAMxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"update-remnawave-settings.command.d.ts","sourceRoot":"","sources":["../../../../commands/remnawave-settings/update-remnawave-settings.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAYxB,yBAAiB,8BAA8B,CAAC;IACrC,MAAM,GAAG,4BAAsC,CAAC;IAChD,MAAM,OAAO,4BAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAKxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -13,7 +13,6 @@ var UpdateRemnawaveSettingsCommand;
13
13
  UpdateRemnawaveSettingsCommand.RequestSchema = zod_1.z.object({
14
14
  passkeySettings: models_1.PasskeySettingsSchema.optional(),
15
15
  oauth2Settings: models_1.Oauth2SettingsSchema.optional(),
16
- tgAuthSettings: models_1.TgAuthSettingsSchema.optional(),
17
16
  passwordSettings: models_1.PasswordAuthSettingsSchema.optional(),
18
17
  brandingSettings: models_1.BrandingSettingsSchema.optional(),
19
18
  });
@@ -65,14 +65,14 @@ export declare namespace GetSubscriptionRequestHistoryCommand {
65
65
  userAgent: z.ZodNullable<z.ZodString>;
66
66
  requestAt: z.ZodEffects<z.ZodString, Date, string>;
67
67
  }, "strip", z.ZodTypeAny, {
68
- id: number;
69
68
  userUuid: string;
69
+ id: number;
70
70
  userAgent: string | null;
71
71
  requestIp: string | null;
72
72
  requestAt: Date;
73
73
  }, {
74
- id: number;
75
74
  userUuid: string;
75
+ id: 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
- id: number;
85
84
  userUuid: string;
85
+ id: 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
- id: number;
94
93
  userUuid: string;
94
+ id: 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
- id: number;
105
104
  userUuid: string;
105
+ id: 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
- id: number;
116
115
  userUuid: string;
116
+ id: number;
117
117
  userAgent: string | null;
118
118
  requestIp: string | null;
119
119
  requestAt: string;
@@ -93,8 +93,8 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
93
93
  createdAt: Date;
94
94
  updatedAt: Date;
95
95
  username: string;
96
- id: number;
97
96
  tag: string | null;
97
+ id: number;
98
98
  shortUuid: string;
99
99
  trafficLimitBytes: number;
100
100
  description: string | null;
@@ -129,8 +129,8 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
129
129
  createdAt: string;
130
130
  updatedAt: string;
131
131
  username: string;
132
- id: number;
133
132
  tag: string | null;
133
+ id: number;
134
134
  shortUuid: string;
135
135
  description: string | null;
136
136
  expireAt: string;
@@ -417,8 +417,8 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
417
417
  createdAt: Date;
418
418
  updatedAt: Date;
419
419
  username: string;
420
- id: number;
421
420
  tag: string | null;
421
+ id: number;
422
422
  shortUuid: string;
423
423
  trafficLimitBytes: number;
424
424
  description: string | null;
@@ -521,8 +521,8 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
521
521
  createdAt: string;
522
522
  updatedAt: string;
523
523
  username: string;
524
- id: number;
525
524
  tag: string | null;
525
+ id: number;
526
526
  shortUuid: string;
527
527
  description: string | null;
528
528
  expireAt: string;
@@ -629,8 +629,8 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
629
629
  createdAt: Date;
630
630
  updatedAt: Date;
631
631
  username: string;
632
- id: number;
633
632
  tag: string | null;
633
+ id: number;
634
634
  shortUuid: string;
635
635
  trafficLimitBytes: number;
636
636
  description: string | null;
@@ -735,8 +735,8 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
735
735
  createdAt: string;
736
736
  updatedAt: string;
737
737
  username: string;
738
- id: number;
739
738
  tag: string | null;
739
+ id: number;
740
740
  shortUuid: string;
741
741
  description: string | null;
742
742
  expireAt: string;
@@ -84,8 +84,8 @@ export declare namespace DisableUserCommand {
84
84
  createdAt: Date;
85
85
  updatedAt: Date;
86
86
  username: string;
87
- id: number;
88
87
  tag: string | null;
88
+ id: number;
89
89
  shortUuid: string;
90
90
  trafficLimitBytes: number;
91
91
  description: string | null;
@@ -120,8 +120,8 @@ export declare namespace DisableUserCommand {
120
120
  createdAt: string;
121
121
  updatedAt: string;
122
122
  username: string;
123
- id: number;
124
123
  tag: string | null;
124
+ id: number;
125
125
  shortUuid: string;
126
126
  description: string | null;
127
127
  expireAt: string;
@@ -160,8 +160,8 @@ export declare namespace DisableUserCommand {
160
160
  createdAt: Date;
161
161
  updatedAt: Date;
162
162
  username: string;
163
- id: number;
164
163
  tag: string | null;
164
+ id: number;
165
165
  shortUuid: string;
166
166
  trafficLimitBytes: number;
167
167
  description: string | null;
@@ -198,8 +198,8 @@ export declare namespace DisableUserCommand {
198
198
  createdAt: string;
199
199
  updatedAt: string;
200
200
  username: string;
201
- id: number;
202
201
  tag: string | null;
202
+ id: number;
203
203
  shortUuid: string;
204
204
  description: string | null;
205
205
  expireAt: string;
@@ -84,8 +84,8 @@ export declare namespace EnableUserCommand {
84
84
  createdAt: Date;
85
85
  updatedAt: Date;
86
86
  username: string;
87
- id: number;
88
87
  tag: string | null;
88
+ id: number;
89
89
  shortUuid: string;
90
90
  trafficLimitBytes: number;
91
91
  description: string | null;
@@ -120,8 +120,8 @@ export declare namespace EnableUserCommand {
120
120
  createdAt: string;
121
121
  updatedAt: string;
122
122
  username: string;
123
- id: number;
124
123
  tag: string | null;
124
+ id: number;
125
125
  shortUuid: string;
126
126
  description: string | null;
127
127
  expireAt: string;
@@ -160,8 +160,8 @@ export declare namespace EnableUserCommand {
160
160
  createdAt: Date;
161
161
  updatedAt: Date;
162
162
  username: string;
163
- id: number;
164
163
  tag: string | null;
164
+ id: number;
165
165
  shortUuid: string;
166
166
  trafficLimitBytes: number;
167
167
  description: string | null;
@@ -198,8 +198,8 @@ export declare namespace EnableUserCommand {
198
198
  createdAt: string;
199
199
  updatedAt: string;
200
200
  username: string;
201
- id: number;
202
201
  tag: string | null;
202
+ id: number;
203
203
  shortUuid: string;
204
204
  description: string | null;
205
205
  expireAt: string;
@@ -84,8 +84,8 @@ export declare namespace ResetUserTrafficCommand {
84
84
  createdAt: Date;
85
85
  updatedAt: Date;
86
86
  username: string;
87
- id: number;
88
87
  tag: string | null;
88
+ id: number;
89
89
  shortUuid: string;
90
90
  trafficLimitBytes: number;
91
91
  description: string | null;
@@ -120,8 +120,8 @@ export declare namespace ResetUserTrafficCommand {
120
120
  createdAt: string;
121
121
  updatedAt: string;
122
122
  username: string;
123
- id: number;
124
123
  tag: string | null;
124
+ id: number;
125
125
  shortUuid: string;
126
126
  description: string | null;
127
127
  expireAt: string;
@@ -160,8 +160,8 @@ export declare namespace ResetUserTrafficCommand {
160
160
  createdAt: Date;
161
161
  updatedAt: Date;
162
162
  username: string;
163
- id: number;
164
163
  tag: string | null;
164
+ id: number;
165
165
  shortUuid: string;
166
166
  trafficLimitBytes: number;
167
167
  description: string | null;
@@ -198,8 +198,8 @@ export declare namespace ResetUserTrafficCommand {
198
198
  createdAt: string;
199
199
  updatedAt: string;
200
200
  username: string;
201
- id: number;
202
201
  tag: string | null;
202
+ id: number;
203
203
  shortUuid: string;
204
204
  description: string | null;
205
205
  expireAt: string;
@@ -98,8 +98,8 @@ export declare namespace RevokeUserSubscriptionCommand {
98
98
  createdAt: Date;
99
99
  updatedAt: Date;
100
100
  username: string;
101
- id: number;
102
101
  tag: string | null;
102
+ id: number;
103
103
  shortUuid: string;
104
104
  trafficLimitBytes: number;
105
105
  description: string | null;
@@ -134,8 +134,8 @@ export declare namespace RevokeUserSubscriptionCommand {
134
134
  createdAt: string;
135
135
  updatedAt: string;
136
136
  username: string;
137
- id: number;
138
137
  tag: string | null;
138
+ id: number;
139
139
  shortUuid: string;
140
140
  description: string | null;
141
141
  expireAt: string;
@@ -174,8 +174,8 @@ export declare namespace RevokeUserSubscriptionCommand {
174
174
  createdAt: Date;
175
175
  updatedAt: Date;
176
176
  username: string;
177
- id: number;
178
177
  tag: string | null;
178
+ id: number;
179
179
  shortUuid: string;
180
180
  trafficLimitBytes: number;
181
181
  description: string | null;
@@ -212,8 +212,8 @@ export declare namespace RevokeUserSubscriptionCommand {
212
212
  createdAt: string;
213
213
  updatedAt: string;
214
214
  username: string;
215
- id: number;
216
215
  tag: string | null;
216
+ id: number;
217
217
  shortUuid: string;
218
218
  description: string | null;
219
219
  expireAt: string;
@@ -148,8 +148,8 @@ export declare namespace CreateUserCommand {
148
148
  createdAt: Date;
149
149
  updatedAt: Date;
150
150
  username: string;
151
- id: number;
152
151
  tag: string | null;
152
+ id: number;
153
153
  shortUuid: string;
154
154
  trafficLimitBytes: number;
155
155
  description: string | null;
@@ -184,8 +184,8 @@ export declare namespace CreateUserCommand {
184
184
  createdAt: string;
185
185
  updatedAt: string;
186
186
  username: string;
187
- id: number;
188
187
  tag: string | null;
188
+ id: number;
189
189
  shortUuid: string;
190
190
  description: string | null;
191
191
  expireAt: string;
@@ -224,8 +224,8 @@ export declare namespace CreateUserCommand {
224
224
  createdAt: Date;
225
225
  updatedAt: Date;
226
226
  username: string;
227
- id: number;
228
227
  tag: string | null;
228
+ id: number;
229
229
  shortUuid: string;
230
230
  trafficLimitBytes: number;
231
231
  description: string | null;
@@ -262,8 +262,8 @@ export declare namespace CreateUserCommand {
262
262
  createdAt: string;
263
263
  updatedAt: string;
264
264
  username: string;
265
- id: number;
266
265
  tag: string | null;
266
+ id: number;
267
267
  shortUuid: string;
268
268
  description: string | null;
269
269
  expireAt: string;
@@ -130,8 +130,8 @@ export declare namespace GetAllUsersCommand {
130
130
  createdAt: Date;
131
131
  updatedAt: Date;
132
132
  username: string;
133
- id: number;
134
133
  tag: string | null;
134
+ id: number;
135
135
  shortUuid: string;
136
136
  trafficLimitBytes: number;
137
137
  description: string | null;
@@ -166,8 +166,8 @@ export declare namespace GetAllUsersCommand {
166
166
  createdAt: string;
167
167
  updatedAt: string;
168
168
  username: string;
169
- id: number;
170
169
  tag: string | null;
170
+ id: number;
171
171
  shortUuid: string;
172
172
  description: string | null;
173
173
  expireAt: string;
@@ -207,8 +207,8 @@ export declare namespace GetAllUsersCommand {
207
207
  createdAt: Date;
208
208
  updatedAt: Date;
209
209
  username: string;
210
- id: number;
211
210
  tag: string | null;
211
+ id: number;
212
212
  shortUuid: string;
213
213
  trafficLimitBytes: number;
214
214
  description: string | null;
@@ -246,8 +246,8 @@ export declare namespace GetAllUsersCommand {
246
246
  createdAt: string;
247
247
  updatedAt: string;
248
248
  username: string;
249
- id: number;
250
249
  tag: string | null;
250
+ id: number;
251
251
  shortUuid: string;
252
252
  description: string | null;
253
253
  expireAt: string;
@@ -289,8 +289,8 @@ export declare namespace GetAllUsersCommand {
289
289
  createdAt: Date;
290
290
  updatedAt: Date;
291
291
  username: string;
292
- id: number;
293
292
  tag: string | null;
293
+ id: number;
294
294
  shortUuid: string;
295
295
  trafficLimitBytes: number;
296
296
  description: string | null;
@@ -330,8 +330,8 @@ export declare namespace GetAllUsersCommand {
330
330
  createdAt: string;
331
331
  updatedAt: string;
332
332
  username: string;
333
- id: number;
334
333
  tag: string | null;
334
+ id: number;
335
335
  shortUuid: string;
336
336
  description: string | null;
337
337
  expireAt: string;