@remnawave/backend-contract 2.3.48 → 2.3.50

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.
@@ -18,6 +18,768 @@ export declare const LocalizedTextSchema: z.ZodObject<{
18
18
  fa?: string | undefined;
19
19
  fr?: string | undefined;
20
20
  }>;
21
+ declare const ButtonSchema: z.ZodObject<{
22
+ link: z.ZodString;
23
+ type: z.ZodEnum<["external", "subscriptionLink"]>;
24
+ text: z.ZodObject<{
25
+ en: z.ZodString;
26
+ ru: z.ZodOptional<z.ZodString>;
27
+ zh: z.ZodOptional<z.ZodString>;
28
+ fa: z.ZodOptional<z.ZodString>;
29
+ fr: z.ZodOptional<z.ZodString>;
30
+ }, "strip", z.ZodTypeAny, {
31
+ en: string;
32
+ ru?: string | undefined;
33
+ zh?: string | undefined;
34
+ fa?: string | undefined;
35
+ fr?: string | undefined;
36
+ }, {
37
+ en: string;
38
+ ru?: string | undefined;
39
+ zh?: string | undefined;
40
+ fa?: string | undefined;
41
+ fr?: string | undefined;
42
+ }>;
43
+ svgIcon: z.ZodString;
44
+ }, "strip", z.ZodTypeAny, {
45
+ type: "external" | "subscriptionLink";
46
+ link: string;
47
+ text: {
48
+ en: string;
49
+ ru?: string | undefined;
50
+ zh?: string | undefined;
51
+ fa?: string | undefined;
52
+ fr?: string | undefined;
53
+ };
54
+ svgIcon: string;
55
+ }, {
56
+ type: "external" | "subscriptionLink";
57
+ link: string;
58
+ text: {
59
+ en: string;
60
+ ru?: string | undefined;
61
+ zh?: string | undefined;
62
+ fa?: string | undefined;
63
+ fr?: string | undefined;
64
+ };
65
+ svgIcon: string;
66
+ }>;
67
+ declare const BlockSchema: z.ZodObject<{
68
+ svgIcon: z.ZodString;
69
+ svgIconColor: z.ZodEffects<z.ZodString, string, string>;
70
+ title: z.ZodObject<{
71
+ en: z.ZodString;
72
+ ru: z.ZodOptional<z.ZodString>;
73
+ zh: z.ZodOptional<z.ZodString>;
74
+ fa: z.ZodOptional<z.ZodString>;
75
+ fr: z.ZodOptional<z.ZodString>;
76
+ }, "strip", z.ZodTypeAny, {
77
+ en: string;
78
+ ru?: string | undefined;
79
+ zh?: string | undefined;
80
+ fa?: string | undefined;
81
+ fr?: string | undefined;
82
+ }, {
83
+ en: string;
84
+ ru?: string | undefined;
85
+ zh?: string | undefined;
86
+ fa?: string | undefined;
87
+ fr?: string | undefined;
88
+ }>;
89
+ description: z.ZodObject<{
90
+ en: z.ZodString;
91
+ ru: z.ZodOptional<z.ZodString>;
92
+ zh: z.ZodOptional<z.ZodString>;
93
+ fa: z.ZodOptional<z.ZodString>;
94
+ fr: z.ZodOptional<z.ZodString>;
95
+ }, "strip", z.ZodTypeAny, {
96
+ en: string;
97
+ ru?: string | undefined;
98
+ zh?: string | undefined;
99
+ fa?: string | undefined;
100
+ fr?: string | undefined;
101
+ }, {
102
+ en: string;
103
+ ru?: string | undefined;
104
+ zh?: string | undefined;
105
+ fa?: string | undefined;
106
+ fr?: string | undefined;
107
+ }>;
108
+ buttons: z.ZodArray<z.ZodObject<{
109
+ link: z.ZodString;
110
+ type: z.ZodEnum<["external", "subscriptionLink"]>;
111
+ text: z.ZodObject<{
112
+ en: z.ZodString;
113
+ ru: z.ZodOptional<z.ZodString>;
114
+ zh: z.ZodOptional<z.ZodString>;
115
+ fa: z.ZodOptional<z.ZodString>;
116
+ fr: z.ZodOptional<z.ZodString>;
117
+ }, "strip", z.ZodTypeAny, {
118
+ en: string;
119
+ ru?: string | undefined;
120
+ zh?: string | undefined;
121
+ fa?: string | undefined;
122
+ fr?: string | undefined;
123
+ }, {
124
+ en: string;
125
+ ru?: string | undefined;
126
+ zh?: string | undefined;
127
+ fa?: string | undefined;
128
+ fr?: string | undefined;
129
+ }>;
130
+ svgIcon: z.ZodString;
131
+ }, "strip", z.ZodTypeAny, {
132
+ type: "external" | "subscriptionLink";
133
+ link: string;
134
+ text: {
135
+ en: string;
136
+ ru?: string | undefined;
137
+ zh?: string | undefined;
138
+ fa?: string | undefined;
139
+ fr?: string | undefined;
140
+ };
141
+ svgIcon: string;
142
+ }, {
143
+ type: "external" | "subscriptionLink";
144
+ link: string;
145
+ text: {
146
+ en: string;
147
+ ru?: string | undefined;
148
+ zh?: string | undefined;
149
+ fa?: string | undefined;
150
+ fr?: string | undefined;
151
+ };
152
+ svgIcon: string;
153
+ }>, "many">;
154
+ }, "strip", z.ZodTypeAny, {
155
+ title: {
156
+ en: string;
157
+ ru?: string | undefined;
158
+ zh?: string | undefined;
159
+ fa?: string | undefined;
160
+ fr?: string | undefined;
161
+ };
162
+ description: {
163
+ en: string;
164
+ ru?: string | undefined;
165
+ zh?: string | undefined;
166
+ fa?: string | undefined;
167
+ fr?: string | undefined;
168
+ };
169
+ svgIcon: string;
170
+ svgIconColor: string;
171
+ buttons: {
172
+ type: "external" | "subscriptionLink";
173
+ link: string;
174
+ text: {
175
+ en: string;
176
+ ru?: string | undefined;
177
+ zh?: string | undefined;
178
+ fa?: string | undefined;
179
+ fr?: string | undefined;
180
+ };
181
+ svgIcon: string;
182
+ }[];
183
+ }, {
184
+ title: {
185
+ en: string;
186
+ ru?: string | undefined;
187
+ zh?: string | undefined;
188
+ fa?: string | undefined;
189
+ fr?: string | undefined;
190
+ };
191
+ description: {
192
+ en: string;
193
+ ru?: string | undefined;
194
+ zh?: string | undefined;
195
+ fa?: string | undefined;
196
+ fr?: string | undefined;
197
+ };
198
+ svgIcon: string;
199
+ svgIconColor: string;
200
+ buttons: {
201
+ type: "external" | "subscriptionLink";
202
+ link: string;
203
+ text: {
204
+ en: string;
205
+ ru?: string | undefined;
206
+ zh?: string | undefined;
207
+ fa?: string | undefined;
208
+ fr?: string | undefined;
209
+ };
210
+ svgIcon: string;
211
+ }[];
212
+ }>;
213
+ declare const PlatformAppSchema: z.ZodObject<{
214
+ name: z.ZodString;
215
+ featured: z.ZodBoolean;
216
+ blocks: z.ZodArray<z.ZodObject<{
217
+ svgIcon: z.ZodString;
218
+ svgIconColor: z.ZodEffects<z.ZodString, string, string>;
219
+ title: z.ZodObject<{
220
+ en: z.ZodString;
221
+ ru: z.ZodOptional<z.ZodString>;
222
+ zh: z.ZodOptional<z.ZodString>;
223
+ fa: z.ZodOptional<z.ZodString>;
224
+ fr: z.ZodOptional<z.ZodString>;
225
+ }, "strip", z.ZodTypeAny, {
226
+ en: string;
227
+ ru?: string | undefined;
228
+ zh?: string | undefined;
229
+ fa?: string | undefined;
230
+ fr?: string | undefined;
231
+ }, {
232
+ en: string;
233
+ ru?: string | undefined;
234
+ zh?: string | undefined;
235
+ fa?: string | undefined;
236
+ fr?: string | undefined;
237
+ }>;
238
+ description: z.ZodObject<{
239
+ en: z.ZodString;
240
+ ru: z.ZodOptional<z.ZodString>;
241
+ zh: z.ZodOptional<z.ZodString>;
242
+ fa: z.ZodOptional<z.ZodString>;
243
+ fr: z.ZodOptional<z.ZodString>;
244
+ }, "strip", z.ZodTypeAny, {
245
+ en: string;
246
+ ru?: string | undefined;
247
+ zh?: string | undefined;
248
+ fa?: string | undefined;
249
+ fr?: string | undefined;
250
+ }, {
251
+ en: string;
252
+ ru?: string | undefined;
253
+ zh?: string | undefined;
254
+ fa?: string | undefined;
255
+ fr?: string | undefined;
256
+ }>;
257
+ buttons: z.ZodArray<z.ZodObject<{
258
+ link: z.ZodString;
259
+ type: z.ZodEnum<["external", "subscriptionLink"]>;
260
+ text: z.ZodObject<{
261
+ en: z.ZodString;
262
+ ru: z.ZodOptional<z.ZodString>;
263
+ zh: z.ZodOptional<z.ZodString>;
264
+ fa: z.ZodOptional<z.ZodString>;
265
+ fr: z.ZodOptional<z.ZodString>;
266
+ }, "strip", z.ZodTypeAny, {
267
+ en: string;
268
+ ru?: string | undefined;
269
+ zh?: string | undefined;
270
+ fa?: string | undefined;
271
+ fr?: string | undefined;
272
+ }, {
273
+ en: string;
274
+ ru?: string | undefined;
275
+ zh?: string | undefined;
276
+ fa?: string | undefined;
277
+ fr?: string | undefined;
278
+ }>;
279
+ svgIcon: z.ZodString;
280
+ }, "strip", z.ZodTypeAny, {
281
+ type: "external" | "subscriptionLink";
282
+ link: string;
283
+ text: {
284
+ en: string;
285
+ ru?: string | undefined;
286
+ zh?: string | undefined;
287
+ fa?: string | undefined;
288
+ fr?: string | undefined;
289
+ };
290
+ svgIcon: string;
291
+ }, {
292
+ type: "external" | "subscriptionLink";
293
+ link: string;
294
+ text: {
295
+ en: string;
296
+ ru?: string | undefined;
297
+ zh?: string | undefined;
298
+ fa?: string | undefined;
299
+ fr?: string | undefined;
300
+ };
301
+ svgIcon: string;
302
+ }>, "many">;
303
+ }, "strip", z.ZodTypeAny, {
304
+ title: {
305
+ en: string;
306
+ ru?: string | undefined;
307
+ zh?: string | undefined;
308
+ fa?: string | undefined;
309
+ fr?: string | undefined;
310
+ };
311
+ description: {
312
+ en: string;
313
+ ru?: string | undefined;
314
+ zh?: string | undefined;
315
+ fa?: string | undefined;
316
+ fr?: string | undefined;
317
+ };
318
+ svgIcon: string;
319
+ svgIconColor: string;
320
+ buttons: {
321
+ type: "external" | "subscriptionLink";
322
+ link: string;
323
+ text: {
324
+ en: string;
325
+ ru?: string | undefined;
326
+ zh?: string | undefined;
327
+ fa?: string | undefined;
328
+ fr?: string | undefined;
329
+ };
330
+ svgIcon: string;
331
+ }[];
332
+ }, {
333
+ title: {
334
+ en: string;
335
+ ru?: string | undefined;
336
+ zh?: string | undefined;
337
+ fa?: string | undefined;
338
+ fr?: string | undefined;
339
+ };
340
+ description: {
341
+ en: string;
342
+ ru?: string | undefined;
343
+ zh?: string | undefined;
344
+ fa?: string | undefined;
345
+ fr?: string | undefined;
346
+ };
347
+ svgIcon: string;
348
+ svgIconColor: string;
349
+ buttons: {
350
+ type: "external" | "subscriptionLink";
351
+ link: string;
352
+ text: {
353
+ en: string;
354
+ ru?: string | undefined;
355
+ zh?: string | undefined;
356
+ fa?: string | undefined;
357
+ fr?: string | undefined;
358
+ };
359
+ svgIcon: string;
360
+ }[];
361
+ }>, "many">;
362
+ }, "strip", z.ZodTypeAny, {
363
+ name: string;
364
+ featured: boolean;
365
+ blocks: {
366
+ title: {
367
+ en: string;
368
+ ru?: string | undefined;
369
+ zh?: string | undefined;
370
+ fa?: string | undefined;
371
+ fr?: string | undefined;
372
+ };
373
+ description: {
374
+ en: string;
375
+ ru?: string | undefined;
376
+ zh?: string | undefined;
377
+ fa?: string | undefined;
378
+ fr?: string | undefined;
379
+ };
380
+ svgIcon: string;
381
+ svgIconColor: string;
382
+ buttons: {
383
+ type: "external" | "subscriptionLink";
384
+ link: string;
385
+ text: {
386
+ en: string;
387
+ ru?: string | undefined;
388
+ zh?: string | undefined;
389
+ fa?: string | undefined;
390
+ fr?: string | undefined;
391
+ };
392
+ svgIcon: string;
393
+ }[];
394
+ }[];
395
+ }, {
396
+ name: string;
397
+ featured: boolean;
398
+ blocks: {
399
+ title: {
400
+ en: string;
401
+ ru?: string | undefined;
402
+ zh?: string | undefined;
403
+ fa?: string | undefined;
404
+ fr?: string | undefined;
405
+ };
406
+ description: {
407
+ en: string;
408
+ ru?: string | undefined;
409
+ zh?: string | undefined;
410
+ fa?: string | undefined;
411
+ fr?: string | undefined;
412
+ };
413
+ svgIcon: string;
414
+ svgIconColor: string;
415
+ buttons: {
416
+ type: "external" | "subscriptionLink";
417
+ link: string;
418
+ text: {
419
+ en: string;
420
+ ru?: string | undefined;
421
+ zh?: string | undefined;
422
+ fa?: string | undefined;
423
+ fr?: string | undefined;
424
+ };
425
+ svgIcon: string;
426
+ }[];
427
+ }[];
428
+ }>;
429
+ declare const PlatformSchema: z.ZodObject<{
430
+ displayName: z.ZodObject<{
431
+ en: z.ZodString;
432
+ ru: z.ZodOptional<z.ZodString>;
433
+ zh: z.ZodOptional<z.ZodString>;
434
+ fa: z.ZodOptional<z.ZodString>;
435
+ fr: z.ZodOptional<z.ZodString>;
436
+ }, "strip", z.ZodTypeAny, {
437
+ en: string;
438
+ ru?: string | undefined;
439
+ zh?: string | undefined;
440
+ fa?: string | undefined;
441
+ fr?: string | undefined;
442
+ }, {
443
+ en: string;
444
+ ru?: string | undefined;
445
+ zh?: string | undefined;
446
+ fa?: string | undefined;
447
+ fr?: string | undefined;
448
+ }>;
449
+ svgIcon: z.ZodString;
450
+ apps: z.ZodArray<z.ZodObject<{
451
+ name: z.ZodString;
452
+ featured: z.ZodBoolean;
453
+ blocks: z.ZodArray<z.ZodObject<{
454
+ svgIcon: z.ZodString;
455
+ svgIconColor: z.ZodEffects<z.ZodString, string, string>;
456
+ title: z.ZodObject<{
457
+ en: z.ZodString;
458
+ ru: z.ZodOptional<z.ZodString>;
459
+ zh: z.ZodOptional<z.ZodString>;
460
+ fa: z.ZodOptional<z.ZodString>;
461
+ fr: z.ZodOptional<z.ZodString>;
462
+ }, "strip", z.ZodTypeAny, {
463
+ en: string;
464
+ ru?: string | undefined;
465
+ zh?: string | undefined;
466
+ fa?: string | undefined;
467
+ fr?: string | undefined;
468
+ }, {
469
+ en: string;
470
+ ru?: string | undefined;
471
+ zh?: string | undefined;
472
+ fa?: string | undefined;
473
+ fr?: string | undefined;
474
+ }>;
475
+ description: z.ZodObject<{
476
+ en: z.ZodString;
477
+ ru: z.ZodOptional<z.ZodString>;
478
+ zh: z.ZodOptional<z.ZodString>;
479
+ fa: z.ZodOptional<z.ZodString>;
480
+ fr: z.ZodOptional<z.ZodString>;
481
+ }, "strip", z.ZodTypeAny, {
482
+ en: string;
483
+ ru?: string | undefined;
484
+ zh?: string | undefined;
485
+ fa?: string | undefined;
486
+ fr?: string | undefined;
487
+ }, {
488
+ en: string;
489
+ ru?: string | undefined;
490
+ zh?: string | undefined;
491
+ fa?: string | undefined;
492
+ fr?: string | undefined;
493
+ }>;
494
+ buttons: z.ZodArray<z.ZodObject<{
495
+ link: z.ZodString;
496
+ type: z.ZodEnum<["external", "subscriptionLink"]>;
497
+ text: z.ZodObject<{
498
+ en: z.ZodString;
499
+ ru: z.ZodOptional<z.ZodString>;
500
+ zh: z.ZodOptional<z.ZodString>;
501
+ fa: z.ZodOptional<z.ZodString>;
502
+ fr: z.ZodOptional<z.ZodString>;
503
+ }, "strip", z.ZodTypeAny, {
504
+ en: string;
505
+ ru?: string | undefined;
506
+ zh?: string | undefined;
507
+ fa?: string | undefined;
508
+ fr?: string | undefined;
509
+ }, {
510
+ en: string;
511
+ ru?: string | undefined;
512
+ zh?: string | undefined;
513
+ fa?: string | undefined;
514
+ fr?: string | undefined;
515
+ }>;
516
+ svgIcon: z.ZodString;
517
+ }, "strip", z.ZodTypeAny, {
518
+ type: "external" | "subscriptionLink";
519
+ link: string;
520
+ text: {
521
+ en: string;
522
+ ru?: string | undefined;
523
+ zh?: string | undefined;
524
+ fa?: string | undefined;
525
+ fr?: string | undefined;
526
+ };
527
+ svgIcon: string;
528
+ }, {
529
+ type: "external" | "subscriptionLink";
530
+ link: string;
531
+ text: {
532
+ en: string;
533
+ ru?: string | undefined;
534
+ zh?: string | undefined;
535
+ fa?: string | undefined;
536
+ fr?: string | undefined;
537
+ };
538
+ svgIcon: string;
539
+ }>, "many">;
540
+ }, "strip", z.ZodTypeAny, {
541
+ title: {
542
+ en: string;
543
+ ru?: string | undefined;
544
+ zh?: string | undefined;
545
+ fa?: string | undefined;
546
+ fr?: string | undefined;
547
+ };
548
+ description: {
549
+ en: string;
550
+ ru?: string | undefined;
551
+ zh?: string | undefined;
552
+ fa?: string | undefined;
553
+ fr?: string | undefined;
554
+ };
555
+ svgIcon: string;
556
+ svgIconColor: string;
557
+ buttons: {
558
+ type: "external" | "subscriptionLink";
559
+ link: string;
560
+ text: {
561
+ en: string;
562
+ ru?: string | undefined;
563
+ zh?: string | undefined;
564
+ fa?: string | undefined;
565
+ fr?: string | undefined;
566
+ };
567
+ svgIcon: string;
568
+ }[];
569
+ }, {
570
+ title: {
571
+ en: string;
572
+ ru?: string | undefined;
573
+ zh?: string | undefined;
574
+ fa?: string | undefined;
575
+ fr?: string | undefined;
576
+ };
577
+ description: {
578
+ en: string;
579
+ ru?: string | undefined;
580
+ zh?: string | undefined;
581
+ fa?: string | undefined;
582
+ fr?: string | undefined;
583
+ };
584
+ svgIcon: string;
585
+ svgIconColor: string;
586
+ buttons: {
587
+ type: "external" | "subscriptionLink";
588
+ link: string;
589
+ text: {
590
+ en: string;
591
+ ru?: string | undefined;
592
+ zh?: string | undefined;
593
+ fa?: string | undefined;
594
+ fr?: string | undefined;
595
+ };
596
+ svgIcon: string;
597
+ }[];
598
+ }>, "many">;
599
+ }, "strip", z.ZodTypeAny, {
600
+ name: string;
601
+ featured: boolean;
602
+ blocks: {
603
+ title: {
604
+ en: string;
605
+ ru?: string | undefined;
606
+ zh?: string | undefined;
607
+ fa?: string | undefined;
608
+ fr?: string | undefined;
609
+ };
610
+ description: {
611
+ en: string;
612
+ ru?: string | undefined;
613
+ zh?: string | undefined;
614
+ fa?: string | undefined;
615
+ fr?: string | undefined;
616
+ };
617
+ svgIcon: string;
618
+ svgIconColor: string;
619
+ buttons: {
620
+ type: "external" | "subscriptionLink";
621
+ link: string;
622
+ text: {
623
+ en: string;
624
+ ru?: string | undefined;
625
+ zh?: string | undefined;
626
+ fa?: string | undefined;
627
+ fr?: string | undefined;
628
+ };
629
+ svgIcon: string;
630
+ }[];
631
+ }[];
632
+ }, {
633
+ name: string;
634
+ featured: boolean;
635
+ blocks: {
636
+ title: {
637
+ en: string;
638
+ ru?: string | undefined;
639
+ zh?: string | undefined;
640
+ fa?: string | undefined;
641
+ fr?: string | undefined;
642
+ };
643
+ description: {
644
+ en: string;
645
+ ru?: string | undefined;
646
+ zh?: string | undefined;
647
+ fa?: string | undefined;
648
+ fr?: string | undefined;
649
+ };
650
+ svgIcon: string;
651
+ svgIconColor: string;
652
+ buttons: {
653
+ type: "external" | "subscriptionLink";
654
+ link: string;
655
+ text: {
656
+ en: string;
657
+ ru?: string | undefined;
658
+ zh?: string | undefined;
659
+ fa?: string | undefined;
660
+ fr?: string | undefined;
661
+ };
662
+ svgIcon: string;
663
+ }[];
664
+ }[];
665
+ }>, "many">;
666
+ }, "strip", z.ZodTypeAny, {
667
+ svgIcon: string;
668
+ displayName: {
669
+ en: string;
670
+ ru?: string | undefined;
671
+ zh?: string | undefined;
672
+ fa?: string | undefined;
673
+ fr?: string | undefined;
674
+ };
675
+ apps: {
676
+ name: string;
677
+ featured: boolean;
678
+ blocks: {
679
+ title: {
680
+ en: string;
681
+ ru?: string | undefined;
682
+ zh?: string | undefined;
683
+ fa?: string | undefined;
684
+ fr?: string | undefined;
685
+ };
686
+ description: {
687
+ en: string;
688
+ ru?: string | undefined;
689
+ zh?: string | undefined;
690
+ fa?: string | undefined;
691
+ fr?: string | undefined;
692
+ };
693
+ svgIcon: string;
694
+ svgIconColor: string;
695
+ buttons: {
696
+ type: "external" | "subscriptionLink";
697
+ link: string;
698
+ text: {
699
+ en: string;
700
+ ru?: string | undefined;
701
+ zh?: string | undefined;
702
+ fa?: string | undefined;
703
+ fr?: string | undefined;
704
+ };
705
+ svgIcon: string;
706
+ }[];
707
+ }[];
708
+ }[];
709
+ }, {
710
+ svgIcon: string;
711
+ displayName: {
712
+ en: string;
713
+ ru?: string | undefined;
714
+ zh?: string | undefined;
715
+ fa?: string | undefined;
716
+ fr?: string | undefined;
717
+ };
718
+ apps: {
719
+ name: string;
720
+ featured: boolean;
721
+ blocks: {
722
+ title: {
723
+ en: string;
724
+ ru?: string | undefined;
725
+ zh?: string | undefined;
726
+ fa?: string | undefined;
727
+ fr?: string | undefined;
728
+ };
729
+ description: {
730
+ en: string;
731
+ ru?: string | undefined;
732
+ zh?: string | undefined;
733
+ fa?: string | undefined;
734
+ fr?: string | undefined;
735
+ };
736
+ svgIcon: string;
737
+ svgIconColor: string;
738
+ buttons: {
739
+ type: "external" | "subscriptionLink";
740
+ link: string;
741
+ text: {
742
+ en: string;
743
+ ru?: string | undefined;
744
+ zh?: string | undefined;
745
+ fa?: string | undefined;
746
+ fr?: string | undefined;
747
+ };
748
+ svgIcon: string;
749
+ }[];
750
+ }[];
751
+ }[];
752
+ }>;
753
+ declare const BrandingSettingsSchema: z.ZodObject<{
754
+ title: z.ZodString;
755
+ logoUrl: z.ZodString;
756
+ supportUrl: z.ZodString;
757
+ }, "strip", z.ZodTypeAny, {
758
+ title: string;
759
+ logoUrl: string;
760
+ supportUrl: string;
761
+ }, {
762
+ title: string;
763
+ logoUrl: string;
764
+ supportUrl: string;
765
+ }>;
766
+ declare const UiConfigSchema: z.ZodObject<{
767
+ subscriptionInfo: z.ZodObject<{
768
+ block: z.ZodEnum<["collapsed", "expanded"]>;
769
+ }, "strip", z.ZodTypeAny, {
770
+ block: "collapsed" | "expanded";
771
+ }, {
772
+ block: "collapsed" | "expanded";
773
+ }>;
774
+ }, "strip", z.ZodTypeAny, {
775
+ subscriptionInfo: {
776
+ block: "collapsed" | "expanded";
777
+ };
778
+ }, {
779
+ subscriptionInfo: {
780
+ block: "collapsed" | "expanded";
781
+ };
782
+ }>;
21
783
  export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
22
784
  version: z.ZodNativeEnum<{
23
785
  readonly 1: "1";
@@ -36,6 +798,23 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
36
798
  logoUrl: string;
37
799
  supportUrl: string;
38
800
  }>;
801
+ uiConfig: z.ZodObject<{
802
+ subscriptionInfo: z.ZodObject<{
803
+ block: z.ZodEnum<["collapsed", "expanded"]>;
804
+ }, "strip", z.ZodTypeAny, {
805
+ block: "collapsed" | "expanded";
806
+ }, {
807
+ block: "collapsed" | "expanded";
808
+ }>;
809
+ }, "strip", z.ZodTypeAny, {
810
+ subscriptionInfo: {
811
+ block: "collapsed" | "expanded";
812
+ };
813
+ }, {
814
+ subscriptionInfo: {
815
+ block: "collapsed" | "expanded";
816
+ };
817
+ }>;
39
818
  platforms: z.ZodRecord<z.ZodNativeEnum<{
40
819
  readonly IOS: "ios";
41
820
  readonly ANDROID: "android";
@@ -70,7 +849,7 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
70
849
  featured: z.ZodBoolean;
71
850
  blocks: z.ZodArray<z.ZodObject<{
72
851
  svgIcon: z.ZodString;
73
- svgIconColor: z.ZodEnum<["dark", "gray", "red", "pink", "grape", "violet", "indigo", "blue", "cyan", "green", "lime", "yellow", "orange", "teal"]>;
852
+ svgIconColor: z.ZodEffects<z.ZodString, string, string>;
74
853
  title: z.ZodObject<{
75
854
  en: z.ZodString;
76
855
  ru: z.ZodOptional<z.ZodString>;
@@ -171,7 +950,7 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
171
950
  fr?: string | undefined;
172
951
  };
173
952
  svgIcon: string;
174
- svgIconColor: "dark" | "gray" | "red" | "pink" | "grape" | "violet" | "indigo" | "blue" | "cyan" | "green" | "lime" | "yellow" | "orange" | "teal";
953
+ svgIconColor: string;
175
954
  buttons: {
176
955
  type: "external" | "subscriptionLink";
177
956
  link: string;
@@ -200,7 +979,7 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
200
979
  fr?: string | undefined;
201
980
  };
202
981
  svgIcon: string;
203
- svgIconColor: "dark" | "gray" | "red" | "pink" | "grape" | "violet" | "indigo" | "blue" | "cyan" | "green" | "lime" | "yellow" | "orange" | "teal";
982
+ svgIconColor: string;
204
983
  buttons: {
205
984
  type: "external" | "subscriptionLink";
206
985
  link: string;
@@ -233,7 +1012,7 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
233
1012
  fr?: string | undefined;
234
1013
  };
235
1014
  svgIcon: string;
236
- svgIconColor: "dark" | "gray" | "red" | "pink" | "grape" | "violet" | "indigo" | "blue" | "cyan" | "green" | "lime" | "yellow" | "orange" | "teal";
1015
+ svgIconColor: string;
237
1016
  buttons: {
238
1017
  type: "external" | "subscriptionLink";
239
1018
  link: string;
@@ -266,7 +1045,7 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
266
1045
  fr?: string | undefined;
267
1046
  };
268
1047
  svgIcon: string;
269
- svgIconColor: "dark" | "gray" | "red" | "pink" | "grape" | "violet" | "indigo" | "blue" | "cyan" | "green" | "lime" | "yellow" | "orange" | "teal";
1048
+ svgIconColor: string;
270
1049
  buttons: {
271
1050
  type: "external" | "subscriptionLink";
272
1051
  link: string;
@@ -309,7 +1088,7 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
309
1088
  fr?: string | undefined;
310
1089
  };
311
1090
  svgIcon: string;
312
- svgIconColor: "dark" | "gray" | "red" | "pink" | "grape" | "violet" | "indigo" | "blue" | "cyan" | "green" | "lime" | "yellow" | "orange" | "teal";
1091
+ svgIconColor: string;
313
1092
  buttons: {
314
1093
  type: "external" | "subscriptionLink";
315
1094
  link: string;
@@ -352,7 +1131,7 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
352
1131
  fr?: string | undefined;
353
1132
  };
354
1133
  svgIcon: string;
355
- svgIconColor: "dark" | "gray" | "red" | "pink" | "grape" | "violet" | "indigo" | "blue" | "cyan" | "green" | "lime" | "yellow" | "orange" | "teal";
1134
+ svgIconColor: string;
356
1135
  buttons: {
357
1136
  type: "external" | "subscriptionLink";
358
1137
  link: string;
@@ -376,6 +1155,11 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
376
1155
  supportUrl: string;
377
1156
  };
378
1157
  additionalLocales: ("ru" | "zh" | "fa" | "fr")[];
1158
+ uiConfig: {
1159
+ subscriptionInfo: {
1160
+ block: "collapsed" | "expanded";
1161
+ };
1162
+ };
379
1163
  platforms: Partial<Record<"ios" | "android" | "linux" | "macos" | "windows" | "androidTV" | "appleTV", {
380
1164
  svgIcon: string;
381
1165
  displayName: {
@@ -404,7 +1188,7 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
404
1188
  fr?: string | undefined;
405
1189
  };
406
1190
  svgIcon: string;
407
- svgIconColor: "dark" | "gray" | "red" | "pink" | "grape" | "violet" | "indigo" | "blue" | "cyan" | "green" | "lime" | "yellow" | "orange" | "teal";
1191
+ svgIconColor: string;
408
1192
  buttons: {
409
1193
  type: "external" | "subscriptionLink";
410
1194
  link: string;
@@ -428,6 +1212,11 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
428
1212
  supportUrl: string;
429
1213
  };
430
1214
  additionalLocales: ("ru" | "zh" | "fa" | "fr")[];
1215
+ uiConfig: {
1216
+ subscriptionInfo: {
1217
+ block: "collapsed" | "expanded";
1218
+ };
1219
+ };
431
1220
  platforms: Partial<Record<"ios" | "android" | "linux" | "macos" | "windows" | "androidTV" | "appleTV", {
432
1221
  svgIcon: string;
433
1222
  displayName: {
@@ -456,7 +1245,7 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
456
1245
  fr?: string | undefined;
457
1246
  };
458
1247
  svgIcon: string;
459
- svgIconColor: "dark" | "gray" | "red" | "pink" | "grape" | "violet" | "indigo" | "blue" | "cyan" | "green" | "lime" | "yellow" | "orange" | "teal";
1248
+ svgIconColor: string;
460
1249
  buttons: {
461
1250
  type: "external" | "subscriptionLink";
462
1251
  link: string;
@@ -480,6 +1269,11 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
480
1269
  supportUrl: string;
481
1270
  };
482
1271
  additionalLocales: ("ru" | "zh" | "fa" | "fr")[];
1272
+ uiConfig: {
1273
+ subscriptionInfo: {
1274
+ block: "collapsed" | "expanded";
1275
+ };
1276
+ };
483
1277
  platforms: Partial<Record<"ios" | "android" | "linux" | "macos" | "windows" | "androidTV" | "appleTV", {
484
1278
  svgIcon: string;
485
1279
  displayName: {
@@ -508,7 +1302,7 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
508
1302
  fr?: string | undefined;
509
1303
  };
510
1304
  svgIcon: string;
511
- svgIconColor: "dark" | "gray" | "red" | "pink" | "grape" | "violet" | "indigo" | "blue" | "cyan" | "green" | "lime" | "yellow" | "orange" | "teal";
1305
+ svgIconColor: string;
512
1306
  buttons: {
513
1307
  type: "external" | "subscriptionLink";
514
1308
  link: string;
@@ -532,6 +1326,11 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
532
1326
  supportUrl: string;
533
1327
  };
534
1328
  additionalLocales: ("ru" | "zh" | "fa" | "fr")[];
1329
+ uiConfig: {
1330
+ subscriptionInfo: {
1331
+ block: "collapsed" | "expanded";
1332
+ };
1333
+ };
535
1334
  platforms: Partial<Record<"ios" | "android" | "linux" | "macos" | "windows" | "androidTV" | "appleTV", {
536
1335
  svgIcon: string;
537
1336
  displayName: {
@@ -560,7 +1359,7 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
560
1359
  fr?: string | undefined;
561
1360
  };
562
1361
  svgIcon: string;
563
- svgIconColor: "dark" | "gray" | "red" | "pink" | "grape" | "violet" | "indigo" | "blue" | "cyan" | "green" | "lime" | "yellow" | "orange" | "teal";
1362
+ svgIconColor: string;
564
1363
  buttons: {
565
1364
  type: "external" | "subscriptionLink";
566
1365
  link: string;
@@ -578,4 +1377,14 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
578
1377
  }>>;
579
1378
  }>;
580
1379
  export type TSubscriptionPageRawConfig = z.infer<typeof SubscriptionPageRawConfigSchema>;
1380
+ export type TSubscriptionPageBrandingSettings = z.infer<typeof BrandingSettingsSchema>;
1381
+ export type TSubscriptionPagePlatformSchema = z.infer<typeof PlatformSchema>;
1382
+ export type TSubscriptionPagePlatformKey = keyof TSubscriptionPageRawConfig['platforms'];
1383
+ export type TSubscriptionPageAppConfig = z.infer<typeof PlatformAppSchema>;
1384
+ export type TSubscriptionPageBlockConfig = z.infer<typeof BlockSchema>;
1385
+ export type TSubscriptionPageButtonConfig = z.infer<typeof ButtonSchema>;
1386
+ export type TSubscriptionPageLocalizedText = z.infer<typeof LocalizedTextSchema>;
1387
+ export type TSubscriptionPageUiConfig = z.infer<typeof UiConfigSchema>;
1388
+ export type TSubscriptionPageLocales = TSubscriptionPageRawConfig['additionalLocales'][number] | 'en';
1389
+ export {};
581
1390
  //# sourceMappingURL=subscription-page-config.schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"subscription-page-config.schema.d.ts","sourceRoot":"","sources":["../../../../models/subscription-page-config/subscription-page-config.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;EAM9B,CAAC;AAkDH,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAStC,CAAC;AAEP,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC"}
1
+ {"version":3,"file":"subscription-page-config.schema.d.ts","sourceRoot":"","sources":["../../../../models/subscription-page-config/subscription-page-config.schema.ts"],"names":[],"mappings":"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"}
@@ -19,22 +19,26 @@ const ButtonSchema = zod_1.z.object({
19
19
  });
20
20
  const BlockSchema = zod_1.z.object({
21
21
  svgIcon: zod_1.z.string(),
22
- svgIconColor: zod_1.z.enum([
23
- 'dark',
24
- 'gray',
25
- 'red',
26
- 'pink',
27
- 'grape',
28
- 'violet',
29
- 'indigo',
22
+ svgIconColor: zod_1.z
23
+ .string()
24
+ .refine((value) => [
30
25
  'blue',
31
26
  'cyan',
27
+ 'dark',
28
+ 'grape',
29
+ 'gray',
32
30
  'green',
31
+ 'indigo',
33
32
  'lime',
34
- 'yellow',
35
33
  'orange',
34
+ 'pink',
35
+ 'red',
36
36
  'teal',
37
- ]),
37
+ 'violet',
38
+ 'yellow',
39
+ ].includes(value) || /^#[0-9a-fA-F]{3,8}$/.test(value), {
40
+ message: 'svgIconColor must be one of the predefined colors or a hex color beginning with #',
41
+ }),
38
42
  title: exports.LocalizedTextSchema,
39
43
  description: exports.LocalizedTextSchema,
40
44
  buttons: zod_1.z.array(ButtonSchema),
@@ -54,11 +58,17 @@ const BrandingSettingsSchema = zod_1.z.object({
54
58
  logoUrl: zod_1.z.string(),
55
59
  supportUrl: zod_1.z.string().url(),
56
60
  });
61
+ const UiConfigSchema = zod_1.z.object({
62
+ subscriptionInfo: zod_1.z.object({
63
+ block: zod_1.z.enum(['collapsed', 'expanded']),
64
+ }),
65
+ });
57
66
  exports.SubscriptionPageRawConfigSchema = zod_1.z
58
67
  .object({
59
68
  version: zod_1.z.nativeEnum(constants_1.SUBSCRIPTION_PAGE_CONFIG_VERSION),
60
69
  additionalLocales: zod_1.z.array(zod_1.z.enum(constants_1.SUBSCRIPTION_PAGE_CONFIG_ADDITIONAL_LOCALES)),
61
70
  brandingSettings: BrandingSettingsSchema,
71
+ uiConfig: UiConfigSchema,
62
72
  platforms: zod_1.z.record(zod_1.z.nativeEnum(constants_1.SUBSCRIPTION_PAGE_CONFIG_PLATFORM_TYPES), PlatformSchema),
63
73
  })
64
74
  .superRefine((data, ctx) => {
@@ -19,22 +19,26 @@ const ButtonSchema = zod_1.z.object({
19
19
  });
20
20
  const BlockSchema = zod_1.z.object({
21
21
  svgIcon: zod_1.z.string(),
22
- svgIconColor: zod_1.z.enum([
23
- 'dark',
24
- 'gray',
25
- 'red',
26
- 'pink',
27
- 'grape',
28
- 'violet',
29
- 'indigo',
22
+ svgIconColor: zod_1.z
23
+ .string()
24
+ .refine((value) => [
30
25
  'blue',
31
26
  'cyan',
27
+ 'dark',
28
+ 'grape',
29
+ 'gray',
32
30
  'green',
31
+ 'indigo',
33
32
  'lime',
34
- 'yellow',
35
33
  'orange',
34
+ 'pink',
35
+ 'red',
36
36
  'teal',
37
- ]),
37
+ 'violet',
38
+ 'yellow',
39
+ ].includes(value) || /^#[0-9a-fA-F]{3,8}$/.test(value), {
40
+ message: 'svgIconColor must be one of the predefined colors or a hex color beginning with #',
41
+ }),
38
42
  title: exports.LocalizedTextSchema,
39
43
  description: exports.LocalizedTextSchema,
40
44
  buttons: zod_1.z.array(ButtonSchema),
@@ -54,11 +58,17 @@ const BrandingSettingsSchema = zod_1.z.object({
54
58
  logoUrl: zod_1.z.string(),
55
59
  supportUrl: zod_1.z.string().url(),
56
60
  });
61
+ const UiConfigSchema = zod_1.z.object({
62
+ subscriptionInfo: zod_1.z.object({
63
+ block: zod_1.z.enum(['collapsed', 'expanded']),
64
+ }),
65
+ });
57
66
  exports.SubscriptionPageRawConfigSchema = zod_1.z
58
67
  .object({
59
68
  version: zod_1.z.nativeEnum(constants_1.SUBSCRIPTION_PAGE_CONFIG_VERSION),
60
69
  additionalLocales: zod_1.z.array(zod_1.z.enum(constants_1.SUBSCRIPTION_PAGE_CONFIG_ADDITIONAL_LOCALES)),
61
70
  brandingSettings: BrandingSettingsSchema,
71
+ uiConfig: UiConfigSchema,
62
72
  platforms: zod_1.z.record(zod_1.z.nativeEnum(constants_1.SUBSCRIPTION_PAGE_CONFIG_PLATFORM_TYPES), PlatformSchema),
63
73
  })
64
74
  .superRefine((data, ctx) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remnawave/backend-contract",
3
- "version": "2.3.48",
3
+ "version": "2.3.50",
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.",