@long2ice/relayx-backend 0.0.2 → 0.0.4

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/dist/app.d.ts CHANGED
@@ -21,6 +21,7 @@ declare const routes: import("hono/hono-base").HonoBase<import("hono/types").Bla
21
21
  last_active: any;
22
22
  node_group: {
23
23
  name: string;
24
+ id: number;
24
25
  node_type: import("./generated/prisma/client").$Enums.NodeType;
25
26
  traffic_rate: number;
26
27
  };
@@ -3038,6 +3039,7 @@ declare const routes: import("hono/hono-base").HonoBase<import("hono/types").Bla
3038
3039
  max_tunnels: number | null;
3039
3040
  description: string | null;
3040
3041
  original_price: number | null;
3042
+ whitelist_limit: number | null;
3041
3043
  allow_custom_in_node_group: boolean;
3042
3044
  allow_custom_out_node_group: boolean;
3043
3045
  all_in_node_groups: boolean;
@@ -3085,6 +3087,7 @@ declare const routes: import("hono/hono-base").HonoBase<import("hono/types").Bla
3085
3087
  max_tunnels: number | null;
3086
3088
  description: string | null;
3087
3089
  original_price: number | null;
3090
+ whitelist_limit: number | null;
3088
3091
  allow_custom_in_node_group: boolean;
3089
3092
  allow_custom_out_node_group: boolean;
3090
3093
  all_in_node_groups: boolean;
@@ -3133,6 +3136,7 @@ declare const routes: import("hono/hono-base").HonoBase<import("hono/types").Bla
3133
3136
  max_tunnels: number | null;
3134
3137
  description: string | null;
3135
3138
  original_price: number | null;
3139
+ whitelist_limit: number | null;
3136
3140
  allow_custom_in_node_group: boolean;
3137
3141
  allow_custom_out_node_group: boolean;
3138
3142
  all_in_node_groups: boolean;
@@ -3634,6 +3638,155 @@ declare const routes: import("hono/hono-base").HonoBase<import("hono/types").Bla
3634
3638
  plan_id: number;
3635
3639
  traffic_used: number;
3636
3640
  max_tunnels: number | null;
3641
+ whitelist_ips: string | number | boolean | {
3642
+ [x: string]: string | number | boolean | /*elided*/ any | {
3643
+ [x: number]: string | number | boolean | /*elided*/ any | /*elided*/ any | null;
3644
+ length: number;
3645
+ toString: null;
3646
+ toLocaleString: null;
3647
+ pop: null;
3648
+ push: {};
3649
+ concat: {};
3650
+ join: {};
3651
+ reverse: null;
3652
+ shift: null;
3653
+ slice: {};
3654
+ sort: {};
3655
+ splice: {};
3656
+ unshift: {};
3657
+ indexOf: {};
3658
+ lastIndexOf: {};
3659
+ every: {};
3660
+ some: {};
3661
+ forEach: {};
3662
+ map: {};
3663
+ filter: {};
3664
+ reduce: {};
3665
+ reduceRight: {};
3666
+ find: {};
3667
+ findIndex: {};
3668
+ fill: {};
3669
+ copyWithin: {};
3670
+ entries: null;
3671
+ keys: null;
3672
+ values: null;
3673
+ includes: {};
3674
+ flatMap: {};
3675
+ flat: {};
3676
+ at: {};
3677
+ [Symbol.iterator]: null;
3678
+ readonly [Symbol.unscopables]: {
3679
+ [x: number]: boolean | undefined;
3680
+ length?: boolean | undefined;
3681
+ toString?: boolean | undefined;
3682
+ toLocaleString?: boolean | undefined;
3683
+ pop?: boolean | undefined;
3684
+ push?: boolean | undefined;
3685
+ concat?: boolean | undefined;
3686
+ join?: boolean | undefined;
3687
+ reverse?: boolean | undefined;
3688
+ shift?: boolean | undefined;
3689
+ slice?: boolean | undefined;
3690
+ sort?: boolean | undefined;
3691
+ splice?: boolean | undefined;
3692
+ unshift?: boolean | undefined;
3693
+ indexOf?: boolean | undefined;
3694
+ lastIndexOf?: boolean | undefined;
3695
+ every?: boolean | undefined;
3696
+ some?: boolean | undefined;
3697
+ forEach?: boolean | undefined;
3698
+ map?: boolean | undefined;
3699
+ filter?: boolean | undefined;
3700
+ reduce?: boolean | undefined;
3701
+ reduceRight?: boolean | undefined;
3702
+ find?: boolean | undefined;
3703
+ findIndex?: boolean | undefined;
3704
+ fill?: boolean | undefined;
3705
+ copyWithin?: boolean | undefined;
3706
+ entries?: boolean | undefined;
3707
+ keys?: boolean | undefined;
3708
+ values?: boolean | undefined;
3709
+ includes?: boolean | undefined;
3710
+ flatMap?: boolean | undefined;
3711
+ flat?: boolean | undefined;
3712
+ at?: boolean | undefined;
3713
+ };
3714
+ } | null | undefined;
3715
+ } | {
3716
+ [x: number]: string | number | boolean | {
3717
+ [x: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null | undefined;
3718
+ } | /*elided*/ any | null;
3719
+ length: number;
3720
+ toString: null;
3721
+ toLocaleString: null;
3722
+ pop: null;
3723
+ push: {};
3724
+ concat: {};
3725
+ join: {};
3726
+ reverse: null;
3727
+ shift: null;
3728
+ slice: {};
3729
+ sort: {};
3730
+ splice: {};
3731
+ unshift: {};
3732
+ indexOf: {};
3733
+ lastIndexOf: {};
3734
+ every: {};
3735
+ some: {};
3736
+ forEach: {};
3737
+ map: {};
3738
+ filter: {};
3739
+ reduce: {};
3740
+ reduceRight: {};
3741
+ find: {};
3742
+ findIndex: {};
3743
+ fill: {};
3744
+ copyWithin: {};
3745
+ entries: null;
3746
+ keys: null;
3747
+ values: null;
3748
+ includes: {};
3749
+ flatMap: {};
3750
+ flat: {};
3751
+ at: {};
3752
+ [Symbol.iterator]: null;
3753
+ readonly [Symbol.unscopables]: {
3754
+ [x: number]: boolean | undefined;
3755
+ length?: boolean | undefined;
3756
+ toString?: boolean | undefined;
3757
+ toLocaleString?: boolean | undefined;
3758
+ pop?: boolean | undefined;
3759
+ push?: boolean | undefined;
3760
+ concat?: boolean | undefined;
3761
+ join?: boolean | undefined;
3762
+ reverse?: boolean | undefined;
3763
+ shift?: boolean | undefined;
3764
+ slice?: boolean | undefined;
3765
+ sort?: boolean | undefined;
3766
+ splice?: boolean | undefined;
3767
+ unshift?: boolean | undefined;
3768
+ indexOf?: boolean | undefined;
3769
+ lastIndexOf?: boolean | undefined;
3770
+ every?: boolean | undefined;
3771
+ some?: boolean | undefined;
3772
+ forEach?: boolean | undefined;
3773
+ map?: boolean | undefined;
3774
+ filter?: boolean | undefined;
3775
+ reduce?: boolean | undefined;
3776
+ reduceRight?: boolean | undefined;
3777
+ find?: boolean | undefined;
3778
+ findIndex?: boolean | undefined;
3779
+ fill?: boolean | undefined;
3780
+ copyWithin?: boolean | undefined;
3781
+ entries?: boolean | undefined;
3782
+ keys?: boolean | undefined;
3783
+ values?: boolean | undefined;
3784
+ includes?: boolean | undefined;
3785
+ flatMap?: boolean | undefined;
3786
+ flat?: boolean | undefined;
3787
+ at?: boolean | undefined;
3788
+ };
3789
+ } | null;
3637
3790
  expired_at: string | null;
3638
3791
  }[];
3639
3792
  total: number;
@@ -4400,6 +4553,7 @@ declare const routes: import("hono/hono-base").HonoBase<import("hono/types").Bla
4400
4553
  };
4401
4554
  in_node_group: {
4402
4555
  name: string;
4556
+ id: number;
4403
4557
  connect_ip: string | null;
4404
4558
  admission: boolean;
4405
4559
  traffic_rate: number;
@@ -4409,6 +4563,7 @@ declare const routes: import("hono/hono-base").HonoBase<import("hono/types").Bla
4409
4563
  };
4410
4564
  out_node_group: {
4411
4565
  name: string;
4566
+ id: number;
4412
4567
  traffic_rate: number;
4413
4568
  } | null;
4414
4569
  name: string;
@@ -4424,7 +4579,12 @@ declare const routes: import("hono/hono-base").HonoBase<import("hono/types").Bla
4424
4579
  listen_ip: string | null;
4425
4580
  listen_port: number | null;
4426
4581
  is_port_used: boolean;
4427
- white_list: string | number | boolean | {
4582
+ ip_type: import("./generated/prisma/client").$Enums.IpType;
4583
+ ip_limit: number | null;
4584
+ bandwidth_limit: number | null;
4585
+ traffic: number;
4586
+ traffic_cost: number;
4587
+ stats: string | number | boolean | {
4428
4588
  [x: string]: string | number | boolean | /*elided*/ any | {
4429
4589
  [x: number]: string | number | boolean | /*elided*/ any | /*elided*/ any | null;
4430
4590
  length: number;
@@ -4573,200 +4733,45 @@ declare const routes: import("hono/hono-base").HonoBase<import("hono/types").Bla
4573
4733
  at?: boolean | undefined;
4574
4734
  };
4575
4735
  } | null;
4576
- ip_type: import("./generated/prisma/client").$Enums.IpType;
4577
- ip_limit: number | null;
4578
- bandwidth_limit: number | null;
4579
- traffic: number;
4580
- traffic_cost: number;
4581
- stats: string | number | boolean | {
4582
- [x: string]: string | number | boolean | /*elided*/ any | {
4583
- [x: number]: string | number | boolean | /*elided*/ any | /*elided*/ any | null;
4584
- length: number;
4585
- toString: null;
4586
- toLocaleString: null;
4587
- pop: null;
4588
- push: {};
4589
- concat: {};
4590
- join: {};
4591
- reverse: null;
4592
- shift: null;
4593
- slice: {};
4594
- sort: {};
4595
- splice: {};
4596
- unshift: {};
4597
- indexOf: {};
4598
- lastIndexOf: {};
4599
- every: {};
4600
- some: {};
4601
- forEach: {};
4602
- map: {};
4603
- filter: {};
4604
- reduce: {};
4605
- reduceRight: {};
4606
- find: {};
4607
- findIndex: {};
4608
- fill: {};
4609
- copyWithin: {};
4610
- entries: null;
4611
- keys: null;
4612
- values: null;
4613
- includes: {};
4614
- flatMap: {};
4615
- flat: {};
4616
- at: {};
4617
- [Symbol.iterator]: null;
4618
- readonly [Symbol.unscopables]: {
4619
- [x: number]: boolean | undefined;
4620
- length?: boolean | undefined;
4621
- toString?: boolean | undefined;
4622
- toLocaleString?: boolean | undefined;
4623
- pop?: boolean | undefined;
4624
- push?: boolean | undefined;
4625
- concat?: boolean | undefined;
4626
- join?: boolean | undefined;
4627
- reverse?: boolean | undefined;
4628
- shift?: boolean | undefined;
4629
- slice?: boolean | undefined;
4630
- sort?: boolean | undefined;
4631
- splice?: boolean | undefined;
4632
- unshift?: boolean | undefined;
4633
- indexOf?: boolean | undefined;
4634
- lastIndexOf?: boolean | undefined;
4635
- every?: boolean | undefined;
4636
- some?: boolean | undefined;
4637
- forEach?: boolean | undefined;
4638
- map?: boolean | undefined;
4639
- filter?: boolean | undefined;
4640
- reduce?: boolean | undefined;
4641
- reduceRight?: boolean | undefined;
4642
- find?: boolean | undefined;
4643
- findIndex?: boolean | undefined;
4644
- fill?: boolean | undefined;
4645
- copyWithin?: boolean | undefined;
4646
- entries?: boolean | undefined;
4647
- keys?: boolean | undefined;
4648
- values?: boolean | undefined;
4649
- includes?: boolean | undefined;
4650
- flatMap?: boolean | undefined;
4651
- flat?: boolean | undefined;
4652
- at?: boolean | undefined;
4653
- };
4654
- } | null | undefined;
4655
- } | {
4656
- [x: number]: string | number | boolean | {
4657
- [x: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null | undefined;
4658
- } | /*elided*/ any | null;
4659
- length: number;
4660
- toString: null;
4661
- toLocaleString: null;
4662
- pop: null;
4663
- push: {};
4664
- concat: {};
4665
- join: {};
4666
- reverse: null;
4667
- shift: null;
4668
- slice: {};
4669
- sort: {};
4670
- splice: {};
4671
- unshift: {};
4672
- indexOf: {};
4673
- lastIndexOf: {};
4674
- every: {};
4675
- some: {};
4676
- forEach: {};
4677
- map: {};
4678
- filter: {};
4679
- reduce: {};
4680
- reduceRight: {};
4681
- find: {};
4682
- findIndex: {};
4683
- fill: {};
4684
- copyWithin: {};
4685
- entries: null;
4686
- keys: null;
4687
- values: null;
4688
- includes: {};
4689
- flatMap: {};
4690
- flat: {};
4691
- at: {};
4692
- [Symbol.iterator]: null;
4693
- readonly [Symbol.unscopables]: {
4694
- [x: number]: boolean | undefined;
4695
- length?: boolean | undefined;
4696
- toString?: boolean | undefined;
4697
- toLocaleString?: boolean | undefined;
4698
- pop?: boolean | undefined;
4699
- push?: boolean | undefined;
4700
- concat?: boolean | undefined;
4701
- join?: boolean | undefined;
4702
- reverse?: boolean | undefined;
4703
- shift?: boolean | undefined;
4704
- slice?: boolean | undefined;
4705
- sort?: boolean | undefined;
4706
- splice?: boolean | undefined;
4707
- unshift?: boolean | undefined;
4708
- indexOf?: boolean | undefined;
4709
- lastIndexOf?: boolean | undefined;
4710
- every?: boolean | undefined;
4711
- some?: boolean | undefined;
4712
- forEach?: boolean | undefined;
4713
- map?: boolean | undefined;
4714
- filter?: boolean | undefined;
4715
- reduce?: boolean | undefined;
4716
- reduceRight?: boolean | undefined;
4717
- find?: boolean | undefined;
4718
- findIndex?: boolean | undefined;
4719
- fill?: boolean | undefined;
4720
- copyWithin?: boolean | undefined;
4721
- entries?: boolean | undefined;
4722
- keys?: boolean | undefined;
4723
- values?: boolean | undefined;
4724
- includes?: boolean | undefined;
4725
- flatMap?: boolean | undefined;
4726
- flat?: boolean | undefined;
4727
- at?: boolean | undefined;
4728
- };
4729
- } | null;
4730
- proxy_protocol: boolean;
4731
- in_node_group_id: number;
4732
- out_node_group_id: number | null;
4733
- }[];
4734
- total: number;
4735
- };
4736
- outputFormat: "json";
4737
- status: import("hono/utils/http-status").ContentfulStatusCode;
4738
- };
4739
- };
4740
- } & {
4741
- "/": {
4742
- $post: {
4743
- input: {
4744
- json: {
4745
- name: string;
4746
- load_balance_type: "round" | "rand" | "fifo" | "hash" | "ll" | "lc";
4747
- user_id: number;
4748
- status: "active" | "inactive";
4749
- tunnel_type: "tcp" | "mtcp" | "udp" | "relayx" | "mtls" | "mwss" | "wss" | "tls" | "quic";
4750
- category: "port_forward" | "remote_port_forward";
4751
- listen_ip: string | null;
4752
- listen_port: number | null;
4753
- listen_protocol: {
4754
- type?: string | null | undefined;
4755
- username?: string | null | undefined;
4756
- password?: string | null | undefined;
4757
- } | null;
4758
- white_list: string[] | null;
4759
- forward_addresses: {
4760
- weight: number;
4761
- address: string;
4762
- host?: string | null | undefined;
4763
- }[];
4764
- forward_addresses_protocol: {
4765
- type?: string | null | undefined;
4766
- username?: string | null | undefined;
4767
- password?: string | null | undefined;
4768
- } | null;
4769
- ip_type: "auto" | "ipv4" | "ipv6";
4736
+ proxy_protocol: boolean;
4737
+ in_node_group_id: number;
4738
+ out_node_group_id: number | null;
4739
+ }[];
4740
+ total: number;
4741
+ };
4742
+ outputFormat: "json";
4743
+ status: import("hono/utils/http-status").ContentfulStatusCode;
4744
+ };
4745
+ };
4746
+ } & {
4747
+ "/": {
4748
+ $post: {
4749
+ input: {
4750
+ json: {
4751
+ name: string;
4752
+ load_balance_type: "round" | "rand" | "fifo" | "hash" | "ll" | "lc";
4753
+ user_id: number;
4754
+ status: "active" | "inactive";
4755
+ tunnel_type: "tcp" | "mtcp" | "udp" | "relayx" | "mtls" | "mwss" | "wss" | "tls" | "quic";
4756
+ category: "port_forward" | "remote_port_forward";
4757
+ listen_ip: string | null;
4758
+ listen_port: number | null;
4759
+ listen_protocol: {
4760
+ type?: string | null | undefined;
4761
+ username?: string | null | undefined;
4762
+ password?: string | null | undefined;
4763
+ } | null;
4764
+ forward_addresses: {
4765
+ weight: number;
4766
+ address: string;
4767
+ host?: string | null | undefined;
4768
+ }[];
4769
+ forward_addresses_protocol: {
4770
+ type?: string | null | undefined;
4771
+ username?: string | null | undefined;
4772
+ password?: string | null | undefined;
4773
+ } | null;
4774
+ ip_type: "auto" | "ipv4" | "ipv6";
4770
4775
  ip_limit: number | null;
4771
4776
  bandwidth_limit: number | null;
4772
4777
  proxy_protocol: boolean;
@@ -4821,7 +4826,6 @@ declare const routes: import("hono/hono-base").HonoBase<import("hono/types").Bla
4821
4826
  username?: string | null | undefined;
4822
4827
  password?: string | null | undefined;
4823
4828
  } | null;
4824
- white_list: string[] | null;
4825
4829
  forward_addresses: {
4826
4830
  weight: number;
4827
4831
  address: string;
@@ -5068,6 +5072,7 @@ declare const routes: import("hono/hono-base").HonoBase<import("hono/types").Bla
5068
5072
  };
5069
5073
  in_node_group: {
5070
5074
  name: string;
5075
+ id: number;
5071
5076
  connect_ip: string | null;
5072
5077
  admission: boolean;
5073
5078
  traffic_rate: number;
@@ -5077,6 +5082,7 @@ declare const routes: import("hono/hono-base").HonoBase<import("hono/types").Bla
5077
5082
  };
5078
5083
  out_node_group: {
5079
5084
  name: string;
5085
+ id: number;
5080
5086
  traffic_rate: number;
5081
5087
  } | null;
5082
5088
  name: string;
@@ -5092,155 +5098,6 @@ declare const routes: import("hono/hono-base").HonoBase<import("hono/types").Bla
5092
5098
  listen_ip: string | null;
5093
5099
  listen_port: number | null;
5094
5100
  is_port_used: boolean;
5095
- white_list: string | number | boolean | {
5096
- [x: string]: string | number | boolean | /*elided*/ any | {
5097
- [x: number]: string | number | boolean | /*elided*/ any | /*elided*/ any | null;
5098
- length: number;
5099
- toString: null;
5100
- toLocaleString: null;
5101
- pop: null;
5102
- push: {};
5103
- concat: {};
5104
- join: {};
5105
- reverse: null;
5106
- shift: null;
5107
- slice: {};
5108
- sort: {};
5109
- splice: {};
5110
- unshift: {};
5111
- indexOf: {};
5112
- lastIndexOf: {};
5113
- every: {};
5114
- some: {};
5115
- forEach: {};
5116
- map: {};
5117
- filter: {};
5118
- reduce: {};
5119
- reduceRight: {};
5120
- find: {};
5121
- findIndex: {};
5122
- fill: {};
5123
- copyWithin: {};
5124
- entries: null;
5125
- keys: null;
5126
- values: null;
5127
- includes: {};
5128
- flatMap: {};
5129
- flat: {};
5130
- at: {};
5131
- [Symbol.iterator]: null;
5132
- readonly [Symbol.unscopables]: {
5133
- [x: number]: boolean | undefined;
5134
- length?: boolean | undefined;
5135
- toString?: boolean | undefined;
5136
- toLocaleString?: boolean | undefined;
5137
- pop?: boolean | undefined;
5138
- push?: boolean | undefined;
5139
- concat?: boolean | undefined;
5140
- join?: boolean | undefined;
5141
- reverse?: boolean | undefined;
5142
- shift?: boolean | undefined;
5143
- slice?: boolean | undefined;
5144
- sort?: boolean | undefined;
5145
- splice?: boolean | undefined;
5146
- unshift?: boolean | undefined;
5147
- indexOf?: boolean | undefined;
5148
- lastIndexOf?: boolean | undefined;
5149
- every?: boolean | undefined;
5150
- some?: boolean | undefined;
5151
- forEach?: boolean | undefined;
5152
- map?: boolean | undefined;
5153
- filter?: boolean | undefined;
5154
- reduce?: boolean | undefined;
5155
- reduceRight?: boolean | undefined;
5156
- find?: boolean | undefined;
5157
- findIndex?: boolean | undefined;
5158
- fill?: boolean | undefined;
5159
- copyWithin?: boolean | undefined;
5160
- entries?: boolean | undefined;
5161
- keys?: boolean | undefined;
5162
- values?: boolean | undefined;
5163
- includes?: boolean | undefined;
5164
- flatMap?: boolean | undefined;
5165
- flat?: boolean | undefined;
5166
- at?: boolean | undefined;
5167
- };
5168
- } | null | undefined;
5169
- } | {
5170
- [x: number]: string | number | boolean | {
5171
- [x: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null | undefined;
5172
- } | /*elided*/ any | null;
5173
- length: number;
5174
- toString: null;
5175
- toLocaleString: null;
5176
- pop: null;
5177
- push: {};
5178
- concat: {};
5179
- join: {};
5180
- reverse: null;
5181
- shift: null;
5182
- slice: {};
5183
- sort: {};
5184
- splice: {};
5185
- unshift: {};
5186
- indexOf: {};
5187
- lastIndexOf: {};
5188
- every: {};
5189
- some: {};
5190
- forEach: {};
5191
- map: {};
5192
- filter: {};
5193
- reduce: {};
5194
- reduceRight: {};
5195
- find: {};
5196
- findIndex: {};
5197
- fill: {};
5198
- copyWithin: {};
5199
- entries: null;
5200
- keys: null;
5201
- values: null;
5202
- includes: {};
5203
- flatMap: {};
5204
- flat: {};
5205
- at: {};
5206
- [Symbol.iterator]: null;
5207
- readonly [Symbol.unscopables]: {
5208
- [x: number]: boolean | undefined;
5209
- length?: boolean | undefined;
5210
- toString?: boolean | undefined;
5211
- toLocaleString?: boolean | undefined;
5212
- pop?: boolean | undefined;
5213
- push?: boolean | undefined;
5214
- concat?: boolean | undefined;
5215
- join?: boolean | undefined;
5216
- reverse?: boolean | undefined;
5217
- shift?: boolean | undefined;
5218
- slice?: boolean | undefined;
5219
- sort?: boolean | undefined;
5220
- splice?: boolean | undefined;
5221
- unshift?: boolean | undefined;
5222
- indexOf?: boolean | undefined;
5223
- lastIndexOf?: boolean | undefined;
5224
- every?: boolean | undefined;
5225
- some?: boolean | undefined;
5226
- forEach?: boolean | undefined;
5227
- map?: boolean | undefined;
5228
- filter?: boolean | undefined;
5229
- reduce?: boolean | undefined;
5230
- reduceRight?: boolean | undefined;
5231
- find?: boolean | undefined;
5232
- findIndex?: boolean | undefined;
5233
- fill?: boolean | undefined;
5234
- copyWithin?: boolean | undefined;
5235
- entries?: boolean | undefined;
5236
- keys?: boolean | undefined;
5237
- values?: boolean | undefined;
5238
- includes?: boolean | undefined;
5239
- flatMap?: boolean | undefined;
5240
- flat?: boolean | undefined;
5241
- at?: boolean | undefined;
5242
- };
5243
- } | null;
5244
5101
  ip_type: import("./generated/prisma/client").$Enums.IpType;
5245
5102
  ip_limit: number | null;
5246
5103
  bandwidth_limit: number | null;
@@ -5434,7 +5291,6 @@ declare const routes: import("hono/hono-base").HonoBase<import("hono/types").Bla
5434
5291
  username?: string | null | undefined;
5435
5292
  password?: string | null | undefined;
5436
5293
  } | null;
5437
- white_list: string[] | null;
5438
5294
  forward_addresses: {
5439
5295
  weight: number;
5440
5296
  address: string;
@@ -5539,7 +5395,6 @@ declare const routes: import("hono/hono-base").HonoBase<import("hono/types").Bla
5539
5395
  username?: string | null | undefined;
5540
5396
  password?: string | null | undefined;
5541
5397
  } | null;
5542
- white_list: string[] | null;
5543
5398
  forward_addresses: {
5544
5399
  weight: number;
5545
5400
  address: string;
@@ -5654,6 +5509,32 @@ declare const routes: import("hono/hono-base").HonoBase<import("hono/types").Bla
5654
5509
  status: import("hono/utils/http-status").ContentfulStatusCode;
5655
5510
  };
5656
5511
  };
5512
+ } & {
5513
+ "/whitelist": {
5514
+ $get: {
5515
+ input: {};
5516
+ output: {
5517
+ whitelist_ips: string[];
5518
+ whitelist_limit: number | null;
5519
+ my_ip: string;
5520
+ };
5521
+ outputFormat: "json";
5522
+ status: import("hono/utils/http-status").ContentfulStatusCode;
5523
+ };
5524
+ };
5525
+ } & {
5526
+ "/whitelist": {
5527
+ $put: {
5528
+ input: {
5529
+ json: {
5530
+ whitelist_ips: string[];
5531
+ };
5532
+ };
5533
+ output: null;
5534
+ outputFormat: "body";
5535
+ status: 204;
5536
+ };
5537
+ };
5657
5538
  } & {
5658
5539
  "/:id/test": {
5659
5540
  $get: {
@@ -5783,6 +5664,7 @@ declare const routes: import("hono/hono-base").HonoBase<import("hono/types").Bla
5783
5664
  last_active: any;
5784
5665
  node_group: {
5785
5666
  name: string;
5667
+ id: number;
5786
5668
  node_type: import("./generated/prisma/client").$Enums.NodeType;
5787
5669
  traffic_rate: number;
5788
5670
  };
@@ -7416,6 +7298,7 @@ declare const routes: import("hono/hono-base").HonoBase<import("hono/types").Bla
7416
7298
  max_tunnels: number | null;
7417
7299
  description: string | null;
7418
7300
  original_price: number | null;
7301
+ whitelist_limit: number | null;
7419
7302
  allow_custom_in_node_group: boolean;
7420
7303
  allow_custom_out_node_group: boolean;
7421
7304
  all_in_node_groups: boolean;
@@ -7433,6 +7316,155 @@ declare const routes: import("hono/hono-base").HonoBase<import("hono/types").Bla
7433
7316
  plan_id: number;
7434
7317
  traffic_used: number;
7435
7318
  max_tunnels: number | null;
7319
+ whitelist_ips: string | number | boolean | {
7320
+ [x: string]: string | number | boolean | /*elided*/ any | {
7321
+ [x: number]: string | number | boolean | /*elided*/ any | /*elided*/ any | null;
7322
+ length: number;
7323
+ toString: null;
7324
+ toLocaleString: null;
7325
+ pop: null;
7326
+ push: {};
7327
+ concat: {};
7328
+ join: {};
7329
+ reverse: null;
7330
+ shift: null;
7331
+ slice: {};
7332
+ sort: {};
7333
+ splice: {};
7334
+ unshift: {};
7335
+ indexOf: {};
7336
+ lastIndexOf: {};
7337
+ every: {};
7338
+ some: {};
7339
+ forEach: {};
7340
+ map: {};
7341
+ filter: {};
7342
+ reduce: {};
7343
+ reduceRight: {};
7344
+ find: {};
7345
+ findIndex: {};
7346
+ fill: {};
7347
+ copyWithin: {};
7348
+ entries: null;
7349
+ keys: null;
7350
+ values: null;
7351
+ includes: {};
7352
+ flatMap: {};
7353
+ flat: {};
7354
+ at: {};
7355
+ [Symbol.iterator]: null;
7356
+ readonly [Symbol.unscopables]: {
7357
+ [x: number]: boolean | undefined;
7358
+ length?: boolean | undefined;
7359
+ toString?: boolean | undefined;
7360
+ toLocaleString?: boolean | undefined;
7361
+ pop?: boolean | undefined;
7362
+ push?: boolean | undefined;
7363
+ concat?: boolean | undefined;
7364
+ join?: boolean | undefined;
7365
+ reverse?: boolean | undefined;
7366
+ shift?: boolean | undefined;
7367
+ slice?: boolean | undefined;
7368
+ sort?: boolean | undefined;
7369
+ splice?: boolean | undefined;
7370
+ unshift?: boolean | undefined;
7371
+ indexOf?: boolean | undefined;
7372
+ lastIndexOf?: boolean | undefined;
7373
+ every?: boolean | undefined;
7374
+ some?: boolean | undefined;
7375
+ forEach?: boolean | undefined;
7376
+ map?: boolean | undefined;
7377
+ filter?: boolean | undefined;
7378
+ reduce?: boolean | undefined;
7379
+ reduceRight?: boolean | undefined;
7380
+ find?: boolean | undefined;
7381
+ findIndex?: boolean | undefined;
7382
+ fill?: boolean | undefined;
7383
+ copyWithin?: boolean | undefined;
7384
+ entries?: boolean | undefined;
7385
+ keys?: boolean | undefined;
7386
+ values?: boolean | undefined;
7387
+ includes?: boolean | undefined;
7388
+ flatMap?: boolean | undefined;
7389
+ flat?: boolean | undefined;
7390
+ at?: boolean | undefined;
7391
+ };
7392
+ } | null | undefined;
7393
+ } | {
7394
+ [x: number]: string | number | boolean | {
7395
+ [x: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null | undefined;
7396
+ } | /*elided*/ any | null;
7397
+ length: number;
7398
+ toString: null;
7399
+ toLocaleString: null;
7400
+ pop: null;
7401
+ push: {};
7402
+ concat: {};
7403
+ join: {};
7404
+ reverse: null;
7405
+ shift: null;
7406
+ slice: {};
7407
+ sort: {};
7408
+ splice: {};
7409
+ unshift: {};
7410
+ indexOf: {};
7411
+ lastIndexOf: {};
7412
+ every: {};
7413
+ some: {};
7414
+ forEach: {};
7415
+ map: {};
7416
+ filter: {};
7417
+ reduce: {};
7418
+ reduceRight: {};
7419
+ find: {};
7420
+ findIndex: {};
7421
+ fill: {};
7422
+ copyWithin: {};
7423
+ entries: null;
7424
+ keys: null;
7425
+ values: null;
7426
+ includes: {};
7427
+ flatMap: {};
7428
+ flat: {};
7429
+ at: {};
7430
+ [Symbol.iterator]: null;
7431
+ readonly [Symbol.unscopables]: {
7432
+ [x: number]: boolean | undefined;
7433
+ length?: boolean | undefined;
7434
+ toString?: boolean | undefined;
7435
+ toLocaleString?: boolean | undefined;
7436
+ pop?: boolean | undefined;
7437
+ push?: boolean | undefined;
7438
+ concat?: boolean | undefined;
7439
+ join?: boolean | undefined;
7440
+ reverse?: boolean | undefined;
7441
+ shift?: boolean | undefined;
7442
+ slice?: boolean | undefined;
7443
+ sort?: boolean | undefined;
7444
+ splice?: boolean | undefined;
7445
+ unshift?: boolean | undefined;
7446
+ indexOf?: boolean | undefined;
7447
+ lastIndexOf?: boolean | undefined;
7448
+ every?: boolean | undefined;
7449
+ some?: boolean | undefined;
7450
+ forEach?: boolean | undefined;
7451
+ map?: boolean | undefined;
7452
+ filter?: boolean | undefined;
7453
+ reduce?: boolean | undefined;
7454
+ reduceRight?: boolean | undefined;
7455
+ find?: boolean | undefined;
7456
+ findIndex?: boolean | undefined;
7457
+ fill?: boolean | undefined;
7458
+ copyWithin?: boolean | undefined;
7459
+ entries?: boolean | undefined;
7460
+ keys?: boolean | undefined;
7461
+ values?: boolean | undefined;
7462
+ includes?: boolean | undefined;
7463
+ flatMap?: boolean | undefined;
7464
+ flat?: boolean | undefined;
7465
+ at?: boolean | undefined;
7466
+ };
7467
+ } | null;
7436
7468
  expired_at: string | null;
7437
7469
  } | null;
7438
7470
  id: number;
@@ -7748,6 +7780,7 @@ declare const routes: import("hono/hono-base").HonoBase<import("hono/types").Bla
7748
7780
  max_tunnels: number | null;
7749
7781
  description: string | null;
7750
7782
  original_price: number | null;
7783
+ whitelist_limit: number | null;
7751
7784
  allow_custom_in_node_group: boolean;
7752
7785
  allow_custom_out_node_group: boolean;
7753
7786
  all_in_node_groups: boolean;
@@ -7783,6 +7816,7 @@ declare const routes: import("hono/hono-base").HonoBase<import("hono/types").Bla
7783
7816
  max_tunnels: number | null;
7784
7817
  description: string | null;
7785
7818
  original_price: number | null;
7819
+ whitelist_limit: number | null;
7786
7820
  allow_custom_in_node_group: boolean;
7787
7821
  allow_custom_out_node_group: boolean;
7788
7822
  all_in_node_groups: boolean;