@remnawave/backend-contract 2.3.51 → 2.3.52

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 (23) hide show
  1. package/build/backend/commands/subscription-page-configs/actions/reorder.command.d.ts +2012 -8
  2. package/build/backend/commands/subscription-page-configs/actions/reorder.command.d.ts.map +1 -1
  3. package/build/backend/commands/subscription-page-configs/create-subpage-config.command.d.ts +1082 -5
  4. package/build/backend/commands/subscription-page-configs/create-subpage-config.command.d.ts.map +1 -1
  5. package/build/backend/commands/subscription-page-configs/get-subpage-config.command.d.ts +1083 -5
  6. package/build/backend/commands/subscription-page-configs/get-subpage-config.command.d.ts.map +1 -1
  7. package/build/backend/commands/subscription-page-configs/get-subpage-config.command.js +4 -2
  8. package/build/backend/commands/subscription-page-configs/get-subpage-configs.command.d.ts +1234 -7
  9. package/build/backend/commands/subscription-page-configs/get-subpage-configs.command.d.ts.map +1 -1
  10. package/build/backend/commands/subscription-page-configs/update-subpage-config.command.d.ts +2013 -8
  11. package/build/backend/commands/subscription-page-configs/update-subpage-config.command.d.ts.map +1 -1
  12. package/build/backend/commands/subscription-page-configs/update-subpage-config.command.js +5 -3
  13. package/build/backend/constants/errors/errors.d.ts +5 -0
  14. package/build/backend/constants/errors/errors.d.ts.map +1 -1
  15. package/build/backend/constants/errors/errors.js +5 -0
  16. package/build/backend/models/subscripion-page-config.schema.d.ts +930 -3
  17. package/build/backend/models/subscripion-page-config.schema.d.ts.map +1 -1
  18. package/build/backend/models/subscripion-page-config.schema.js +2 -1
  19. package/build/frontend/commands/subscription-page-configs/get-subpage-config.command.js +4 -2
  20. package/build/frontend/commands/subscription-page-configs/update-subpage-config.command.js +5 -3
  21. package/build/frontend/constants/errors/errors.js +5 -0
  22. package/build/frontend/models/subscripion-page-config.schema.js +2 -1
  23. package/package.json +1 -1
@@ -3,16 +3,943 @@ export declare const SubscriptionPageConfigSchema: z.ZodObject<{
3
3
  uuid: z.ZodString;
4
4
  viewPosition: z.ZodNumber;
5
5
  name: z.ZodString;
6
- encodedConfig: z.ZodNullable<z.ZodString>;
6
+ config: z.ZodNullable<z.ZodEffects<z.ZodObject<{
7
+ version: z.ZodNativeEnum<{
8
+ readonly 1: "1";
9
+ }>;
10
+ additionalLocales: z.ZodArray<z.ZodEnum<["ru", "zh", "fa", "fr"]>, "many">;
11
+ brandingSettings: z.ZodObject<{
12
+ title: z.ZodString;
13
+ logoUrl: z.ZodString;
14
+ supportUrl: z.ZodString;
15
+ }, "strip", z.ZodTypeAny, {
16
+ title: string;
17
+ logoUrl: string;
18
+ supportUrl: string;
19
+ }, {
20
+ title: string;
21
+ logoUrl: string;
22
+ supportUrl: string;
23
+ }>;
24
+ uiConfig: z.ZodObject<{
25
+ subscriptionInfo: z.ZodObject<{
26
+ block: z.ZodEnum<["collapsed", "expanded"]>;
27
+ }, "strip", z.ZodTypeAny, {
28
+ block: "collapsed" | "expanded";
29
+ }, {
30
+ block: "collapsed" | "expanded";
31
+ }>;
32
+ installationGuides: z.ZodObject<{
33
+ headerText: z.ZodObject<{
34
+ en: z.ZodString;
35
+ ru: z.ZodOptional<z.ZodString>;
36
+ zh: z.ZodOptional<z.ZodString>;
37
+ fa: z.ZodOptional<z.ZodString>;
38
+ fr: z.ZodOptional<z.ZodString>;
39
+ }, "strip", z.ZodTypeAny, {
40
+ en: string;
41
+ ru?: string | undefined;
42
+ zh?: string | undefined;
43
+ fa?: string | undefined;
44
+ fr?: string | undefined;
45
+ }, {
46
+ en: string;
47
+ ru?: string | undefined;
48
+ zh?: string | undefined;
49
+ fa?: string | undefined;
50
+ fr?: string | undefined;
51
+ }>;
52
+ }, "strip", z.ZodTypeAny, {
53
+ headerText: {
54
+ en: string;
55
+ ru?: string | undefined;
56
+ zh?: string | undefined;
57
+ fa?: string | undefined;
58
+ fr?: string | undefined;
59
+ };
60
+ }, {
61
+ headerText: {
62
+ en: string;
63
+ ru?: string | undefined;
64
+ zh?: string | undefined;
65
+ fa?: string | undefined;
66
+ fr?: string | undefined;
67
+ };
68
+ }>;
69
+ connectionKeys: z.ZodObject<{
70
+ headerText: 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
+ }, "strip", z.ZodTypeAny, {
90
+ headerText: {
91
+ en: string;
92
+ ru?: string | undefined;
93
+ zh?: string | undefined;
94
+ fa?: string | undefined;
95
+ fr?: string | undefined;
96
+ };
97
+ }, {
98
+ headerText: {
99
+ en: string;
100
+ ru?: string | undefined;
101
+ zh?: string | undefined;
102
+ fa?: string | undefined;
103
+ fr?: string | undefined;
104
+ };
105
+ }>;
106
+ }, "strip", z.ZodTypeAny, {
107
+ subscriptionInfo: {
108
+ block: "collapsed" | "expanded";
109
+ };
110
+ installationGuides: {
111
+ headerText: {
112
+ en: string;
113
+ ru?: string | undefined;
114
+ zh?: string | undefined;
115
+ fa?: string | undefined;
116
+ fr?: string | undefined;
117
+ };
118
+ };
119
+ connectionKeys: {
120
+ headerText: {
121
+ en: string;
122
+ ru?: string | undefined;
123
+ zh?: string | undefined;
124
+ fa?: string | undefined;
125
+ fr?: string | undefined;
126
+ };
127
+ };
128
+ }, {
129
+ subscriptionInfo: {
130
+ block: "collapsed" | "expanded";
131
+ };
132
+ installationGuides: {
133
+ headerText: {
134
+ en: string;
135
+ ru?: string | undefined;
136
+ zh?: string | undefined;
137
+ fa?: string | undefined;
138
+ fr?: string | undefined;
139
+ };
140
+ };
141
+ connectionKeys: {
142
+ headerText: {
143
+ en: string;
144
+ ru?: string | undefined;
145
+ zh?: string | undefined;
146
+ fa?: string | undefined;
147
+ fr?: string | undefined;
148
+ };
149
+ };
150
+ }>;
151
+ platforms: z.ZodRecord<z.ZodNativeEnum<{
152
+ readonly IOS: "ios";
153
+ readonly ANDROID: "android";
154
+ readonly LINUX: "linux";
155
+ readonly MACOS: "macos";
156
+ readonly WINDOWS: "windows";
157
+ readonly ANDROID_TV: "androidTV";
158
+ readonly APPLE_TV: "appleTV";
159
+ }>, z.ZodObject<{
160
+ displayName: z.ZodObject<{
161
+ en: z.ZodString;
162
+ ru: z.ZodOptional<z.ZodString>;
163
+ zh: z.ZodOptional<z.ZodString>;
164
+ fa: z.ZodOptional<z.ZodString>;
165
+ fr: z.ZodOptional<z.ZodString>;
166
+ }, "strip", z.ZodTypeAny, {
167
+ en: string;
168
+ ru?: string | undefined;
169
+ zh?: string | undefined;
170
+ fa?: string | undefined;
171
+ fr?: string | undefined;
172
+ }, {
173
+ en: string;
174
+ ru?: string | undefined;
175
+ zh?: string | undefined;
176
+ fa?: string | undefined;
177
+ fr?: string | undefined;
178
+ }>;
179
+ svgIcon: z.ZodString;
180
+ apps: z.ZodArray<z.ZodObject<{
181
+ name: z.ZodString;
182
+ featured: z.ZodBoolean;
183
+ blocks: z.ZodArray<z.ZodObject<{
184
+ svgIcon: z.ZodString;
185
+ svgIconColor: z.ZodEffects<z.ZodString, string, string>;
186
+ title: z.ZodObject<{
187
+ en: z.ZodString;
188
+ ru: z.ZodOptional<z.ZodString>;
189
+ zh: z.ZodOptional<z.ZodString>;
190
+ fa: z.ZodOptional<z.ZodString>;
191
+ fr: z.ZodOptional<z.ZodString>;
192
+ }, "strip", z.ZodTypeAny, {
193
+ en: string;
194
+ ru?: string | undefined;
195
+ zh?: string | undefined;
196
+ fa?: string | undefined;
197
+ fr?: string | undefined;
198
+ }, {
199
+ en: string;
200
+ ru?: string | undefined;
201
+ zh?: string | undefined;
202
+ fa?: string | undefined;
203
+ fr?: string | undefined;
204
+ }>;
205
+ description: z.ZodObject<{
206
+ en: z.ZodString;
207
+ ru: z.ZodOptional<z.ZodString>;
208
+ zh: z.ZodOptional<z.ZodString>;
209
+ fa: z.ZodOptional<z.ZodString>;
210
+ fr: z.ZodOptional<z.ZodString>;
211
+ }, "strip", z.ZodTypeAny, {
212
+ en: string;
213
+ ru?: string | undefined;
214
+ zh?: string | undefined;
215
+ fa?: string | undefined;
216
+ fr?: string | undefined;
217
+ }, {
218
+ en: string;
219
+ ru?: string | undefined;
220
+ zh?: string | undefined;
221
+ fa?: string | undefined;
222
+ fr?: string | undefined;
223
+ }>;
224
+ buttons: z.ZodArray<z.ZodObject<{
225
+ link: z.ZodString;
226
+ type: z.ZodEnum<["external", "subscriptionLink"]>;
227
+ text: z.ZodObject<{
228
+ en: z.ZodString;
229
+ ru: z.ZodOptional<z.ZodString>;
230
+ zh: z.ZodOptional<z.ZodString>;
231
+ fa: z.ZodOptional<z.ZodString>;
232
+ fr: z.ZodOptional<z.ZodString>;
233
+ }, "strip", z.ZodTypeAny, {
234
+ en: string;
235
+ ru?: string | undefined;
236
+ zh?: string | undefined;
237
+ fa?: string | undefined;
238
+ fr?: string | undefined;
239
+ }, {
240
+ en: string;
241
+ ru?: string | undefined;
242
+ zh?: string | undefined;
243
+ fa?: string | undefined;
244
+ fr?: string | undefined;
245
+ }>;
246
+ svgIcon: z.ZodString;
247
+ }, "strip", z.ZodTypeAny, {
248
+ type: "external" | "subscriptionLink";
249
+ link: string;
250
+ text: {
251
+ en: string;
252
+ ru?: string | undefined;
253
+ zh?: string | undefined;
254
+ fa?: string | undefined;
255
+ fr?: string | undefined;
256
+ };
257
+ svgIcon: string;
258
+ }, {
259
+ type: "external" | "subscriptionLink";
260
+ link: string;
261
+ text: {
262
+ en: string;
263
+ ru?: string | undefined;
264
+ zh?: string | undefined;
265
+ fa?: string | undefined;
266
+ fr?: string | undefined;
267
+ };
268
+ svgIcon: string;
269
+ }>, "many">;
270
+ }, "strip", z.ZodTypeAny, {
271
+ title: {
272
+ en: string;
273
+ ru?: string | undefined;
274
+ zh?: string | undefined;
275
+ fa?: string | undefined;
276
+ fr?: string | undefined;
277
+ };
278
+ description: {
279
+ en: string;
280
+ ru?: string | undefined;
281
+ zh?: string | undefined;
282
+ fa?: string | undefined;
283
+ fr?: string | undefined;
284
+ };
285
+ svgIcon: string;
286
+ svgIconColor: string;
287
+ buttons: {
288
+ type: "external" | "subscriptionLink";
289
+ link: string;
290
+ text: {
291
+ en: string;
292
+ ru?: string | undefined;
293
+ zh?: string | undefined;
294
+ fa?: string | undefined;
295
+ fr?: string | undefined;
296
+ };
297
+ svgIcon: string;
298
+ }[];
299
+ }, {
300
+ title: {
301
+ en: string;
302
+ ru?: string | undefined;
303
+ zh?: string | undefined;
304
+ fa?: string | undefined;
305
+ fr?: string | undefined;
306
+ };
307
+ description: {
308
+ en: string;
309
+ ru?: string | undefined;
310
+ zh?: string | undefined;
311
+ fa?: string | undefined;
312
+ fr?: string | undefined;
313
+ };
314
+ svgIcon: string;
315
+ svgIconColor: string;
316
+ buttons: {
317
+ type: "external" | "subscriptionLink";
318
+ link: string;
319
+ text: {
320
+ en: string;
321
+ ru?: string | undefined;
322
+ zh?: string | undefined;
323
+ fa?: string | undefined;
324
+ fr?: string | undefined;
325
+ };
326
+ svgIcon: string;
327
+ }[];
328
+ }>, "many">;
329
+ }, "strip", z.ZodTypeAny, {
330
+ name: string;
331
+ featured: boolean;
332
+ blocks: {
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
+ }[];
362
+ }, {
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
+ }>, "many">;
396
+ }, "strip", z.ZodTypeAny, {
397
+ svgIcon: string;
398
+ displayName: {
399
+ en: string;
400
+ ru?: string | undefined;
401
+ zh?: string | undefined;
402
+ fa?: string | undefined;
403
+ fr?: string | undefined;
404
+ };
405
+ apps: {
406
+ name: string;
407
+ featured: boolean;
408
+ blocks: {
409
+ title: {
410
+ en: string;
411
+ ru?: string | undefined;
412
+ zh?: string | undefined;
413
+ fa?: string | undefined;
414
+ fr?: string | undefined;
415
+ };
416
+ description: {
417
+ en: string;
418
+ ru?: string | undefined;
419
+ zh?: string | undefined;
420
+ fa?: string | undefined;
421
+ fr?: string | undefined;
422
+ };
423
+ svgIcon: string;
424
+ svgIconColor: string;
425
+ buttons: {
426
+ type: "external" | "subscriptionLink";
427
+ link: string;
428
+ text: {
429
+ en: string;
430
+ ru?: string | undefined;
431
+ zh?: string | undefined;
432
+ fa?: string | undefined;
433
+ fr?: string | undefined;
434
+ };
435
+ svgIcon: string;
436
+ }[];
437
+ }[];
438
+ }[];
439
+ }, {
440
+ svgIcon: string;
441
+ displayName: {
442
+ en: string;
443
+ ru?: string | undefined;
444
+ zh?: string | undefined;
445
+ fa?: string | undefined;
446
+ fr?: string | undefined;
447
+ };
448
+ apps: {
449
+ name: string;
450
+ featured: boolean;
451
+ blocks: {
452
+ title: {
453
+ en: string;
454
+ ru?: string | undefined;
455
+ zh?: string | undefined;
456
+ fa?: string | undefined;
457
+ fr?: string | undefined;
458
+ };
459
+ description: {
460
+ en: string;
461
+ ru?: string | undefined;
462
+ zh?: string | undefined;
463
+ fa?: string | undefined;
464
+ fr?: string | undefined;
465
+ };
466
+ svgIcon: string;
467
+ svgIconColor: string;
468
+ buttons: {
469
+ type: "external" | "subscriptionLink";
470
+ link: string;
471
+ text: {
472
+ en: string;
473
+ ru?: string | undefined;
474
+ zh?: string | undefined;
475
+ fa?: string | undefined;
476
+ fr?: string | undefined;
477
+ };
478
+ svgIcon: string;
479
+ }[];
480
+ }[];
481
+ }[];
482
+ }>>;
483
+ }, "strip", z.ZodTypeAny, {
484
+ version: "1";
485
+ brandingSettings: {
486
+ title: string;
487
+ logoUrl: string;
488
+ supportUrl: string;
489
+ };
490
+ additionalLocales: ("ru" | "zh" | "fa" | "fr")[];
491
+ uiConfig: {
492
+ subscriptionInfo: {
493
+ block: "collapsed" | "expanded";
494
+ };
495
+ installationGuides: {
496
+ headerText: {
497
+ en: string;
498
+ ru?: string | undefined;
499
+ zh?: string | undefined;
500
+ fa?: string | undefined;
501
+ fr?: string | undefined;
502
+ };
503
+ };
504
+ connectionKeys: {
505
+ headerText: {
506
+ en: string;
507
+ ru?: string | undefined;
508
+ zh?: string | undefined;
509
+ fa?: string | undefined;
510
+ fr?: string | undefined;
511
+ };
512
+ };
513
+ };
514
+ platforms: Partial<Record<"ios" | "android" | "linux" | "macos" | "windows" | "androidTV" | "appleTV", {
515
+ svgIcon: string;
516
+ displayName: {
517
+ en: string;
518
+ ru?: string | undefined;
519
+ zh?: string | undefined;
520
+ fa?: string | undefined;
521
+ fr?: string | undefined;
522
+ };
523
+ apps: {
524
+ name: string;
525
+ featured: boolean;
526
+ blocks: {
527
+ title: {
528
+ en: string;
529
+ ru?: string | undefined;
530
+ zh?: string | undefined;
531
+ fa?: string | undefined;
532
+ fr?: string | undefined;
533
+ };
534
+ description: {
535
+ en: string;
536
+ ru?: string | undefined;
537
+ zh?: string | undefined;
538
+ fa?: string | undefined;
539
+ fr?: string | undefined;
540
+ };
541
+ svgIcon: string;
542
+ svgIconColor: string;
543
+ buttons: {
544
+ type: "external" | "subscriptionLink";
545
+ link: string;
546
+ text: {
547
+ en: string;
548
+ ru?: string | undefined;
549
+ zh?: string | undefined;
550
+ fa?: string | undefined;
551
+ fr?: string | undefined;
552
+ };
553
+ svgIcon: string;
554
+ }[];
555
+ }[];
556
+ }[];
557
+ }>>;
558
+ }, {
559
+ version: "1";
560
+ brandingSettings: {
561
+ title: string;
562
+ logoUrl: string;
563
+ supportUrl: string;
564
+ };
565
+ additionalLocales: ("ru" | "zh" | "fa" | "fr")[];
566
+ uiConfig: {
567
+ subscriptionInfo: {
568
+ block: "collapsed" | "expanded";
569
+ };
570
+ installationGuides: {
571
+ headerText: {
572
+ en: string;
573
+ ru?: string | undefined;
574
+ zh?: string | undefined;
575
+ fa?: string | undefined;
576
+ fr?: string | undefined;
577
+ };
578
+ };
579
+ connectionKeys: {
580
+ headerText: {
581
+ en: string;
582
+ ru?: string | undefined;
583
+ zh?: string | undefined;
584
+ fa?: string | undefined;
585
+ fr?: string | undefined;
586
+ };
587
+ };
588
+ };
589
+ platforms: Partial<Record<"ios" | "android" | "linux" | "macos" | "windows" | "androidTV" | "appleTV", {
590
+ svgIcon: string;
591
+ displayName: {
592
+ en: string;
593
+ ru?: string | undefined;
594
+ zh?: string | undefined;
595
+ fa?: string | undefined;
596
+ fr?: string | undefined;
597
+ };
598
+ apps: {
599
+ name: string;
600
+ featured: boolean;
601
+ blocks: {
602
+ title: {
603
+ en: string;
604
+ ru?: string | undefined;
605
+ zh?: string | undefined;
606
+ fa?: string | undefined;
607
+ fr?: string | undefined;
608
+ };
609
+ description: {
610
+ en: string;
611
+ ru?: string | undefined;
612
+ zh?: string | undefined;
613
+ fa?: string | undefined;
614
+ fr?: string | undefined;
615
+ };
616
+ svgIcon: string;
617
+ svgIconColor: string;
618
+ buttons: {
619
+ type: "external" | "subscriptionLink";
620
+ link: string;
621
+ text: {
622
+ en: string;
623
+ ru?: string | undefined;
624
+ zh?: string | undefined;
625
+ fa?: string | undefined;
626
+ fr?: string | undefined;
627
+ };
628
+ svgIcon: string;
629
+ }[];
630
+ }[];
631
+ }[];
632
+ }>>;
633
+ }>, {
634
+ version: "1";
635
+ brandingSettings: {
636
+ title: string;
637
+ logoUrl: string;
638
+ supportUrl: string;
639
+ };
640
+ additionalLocales: ("ru" | "zh" | "fa" | "fr")[];
641
+ uiConfig: {
642
+ subscriptionInfo: {
643
+ block: "collapsed" | "expanded";
644
+ };
645
+ installationGuides: {
646
+ headerText: {
647
+ en: string;
648
+ ru?: string | undefined;
649
+ zh?: string | undefined;
650
+ fa?: string | undefined;
651
+ fr?: string | undefined;
652
+ };
653
+ };
654
+ connectionKeys: {
655
+ headerText: {
656
+ en: string;
657
+ ru?: string | undefined;
658
+ zh?: string | undefined;
659
+ fa?: string | undefined;
660
+ fr?: string | undefined;
661
+ };
662
+ };
663
+ };
664
+ platforms: Partial<Record<"ios" | "android" | "linux" | "macos" | "windows" | "androidTV" | "appleTV", {
665
+ svgIcon: string;
666
+ displayName: {
667
+ en: string;
668
+ ru?: string | undefined;
669
+ zh?: string | undefined;
670
+ fa?: string | undefined;
671
+ fr?: string | undefined;
672
+ };
673
+ apps: {
674
+ name: string;
675
+ featured: boolean;
676
+ blocks: {
677
+ title: {
678
+ en: string;
679
+ ru?: string | undefined;
680
+ zh?: string | undefined;
681
+ fa?: string | undefined;
682
+ fr?: string | undefined;
683
+ };
684
+ description: {
685
+ en: string;
686
+ ru?: string | undefined;
687
+ zh?: string | undefined;
688
+ fa?: string | undefined;
689
+ fr?: string | undefined;
690
+ };
691
+ svgIcon: string;
692
+ svgIconColor: string;
693
+ buttons: {
694
+ type: "external" | "subscriptionLink";
695
+ link: string;
696
+ text: {
697
+ en: string;
698
+ ru?: string | undefined;
699
+ zh?: string | undefined;
700
+ fa?: string | undefined;
701
+ fr?: string | undefined;
702
+ };
703
+ svgIcon: string;
704
+ }[];
705
+ }[];
706
+ }[];
707
+ }>>;
708
+ }, {
709
+ version: "1";
710
+ brandingSettings: {
711
+ title: string;
712
+ logoUrl: string;
713
+ supportUrl: string;
714
+ };
715
+ additionalLocales: ("ru" | "zh" | "fa" | "fr")[];
716
+ uiConfig: {
717
+ subscriptionInfo: {
718
+ block: "collapsed" | "expanded";
719
+ };
720
+ installationGuides: {
721
+ headerText: {
722
+ en: string;
723
+ ru?: string | undefined;
724
+ zh?: string | undefined;
725
+ fa?: string | undefined;
726
+ fr?: string | undefined;
727
+ };
728
+ };
729
+ connectionKeys: {
730
+ headerText: {
731
+ en: string;
732
+ ru?: string | undefined;
733
+ zh?: string | undefined;
734
+ fa?: string | undefined;
735
+ fr?: string | undefined;
736
+ };
737
+ };
738
+ };
739
+ platforms: Partial<Record<"ios" | "android" | "linux" | "macos" | "windows" | "androidTV" | "appleTV", {
740
+ svgIcon: string;
741
+ displayName: {
742
+ en: string;
743
+ ru?: string | undefined;
744
+ zh?: string | undefined;
745
+ fa?: string | undefined;
746
+ fr?: string | undefined;
747
+ };
748
+ apps: {
749
+ name: string;
750
+ featured: boolean;
751
+ blocks: {
752
+ title: {
753
+ en: string;
754
+ ru?: string | undefined;
755
+ zh?: string | undefined;
756
+ fa?: string | undefined;
757
+ fr?: string | undefined;
758
+ };
759
+ description: {
760
+ en: string;
761
+ ru?: string | undefined;
762
+ zh?: string | undefined;
763
+ fa?: string | undefined;
764
+ fr?: string | undefined;
765
+ };
766
+ svgIcon: string;
767
+ svgIconColor: string;
768
+ buttons: {
769
+ type: "external" | "subscriptionLink";
770
+ link: string;
771
+ text: {
772
+ en: string;
773
+ ru?: string | undefined;
774
+ zh?: string | undefined;
775
+ fa?: string | undefined;
776
+ fr?: string | undefined;
777
+ };
778
+ svgIcon: string;
779
+ }[];
780
+ }[];
781
+ }[];
782
+ }>>;
783
+ }>>;
7
784
  }, "strip", z.ZodTypeAny, {
8
785
  uuid: string;
9
786
  name: string;
10
787
  viewPosition: number;
11
- encodedConfig: string | null;
788
+ config: {
789
+ version: "1";
790
+ brandingSettings: {
791
+ title: string;
792
+ logoUrl: string;
793
+ supportUrl: string;
794
+ };
795
+ additionalLocales: ("ru" | "zh" | "fa" | "fr")[];
796
+ uiConfig: {
797
+ subscriptionInfo: {
798
+ block: "collapsed" | "expanded";
799
+ };
800
+ installationGuides: {
801
+ headerText: {
802
+ en: string;
803
+ ru?: string | undefined;
804
+ zh?: string | undefined;
805
+ fa?: string | undefined;
806
+ fr?: string | undefined;
807
+ };
808
+ };
809
+ connectionKeys: {
810
+ headerText: {
811
+ en: string;
812
+ ru?: string | undefined;
813
+ zh?: string | undefined;
814
+ fa?: string | undefined;
815
+ fr?: string | undefined;
816
+ };
817
+ };
818
+ };
819
+ platforms: Partial<Record<"ios" | "android" | "linux" | "macos" | "windows" | "androidTV" | "appleTV", {
820
+ svgIcon: string;
821
+ displayName: {
822
+ en: string;
823
+ ru?: string | undefined;
824
+ zh?: string | undefined;
825
+ fa?: string | undefined;
826
+ fr?: string | undefined;
827
+ };
828
+ apps: {
829
+ name: string;
830
+ featured: boolean;
831
+ blocks: {
832
+ title: {
833
+ en: string;
834
+ ru?: string | undefined;
835
+ zh?: string | undefined;
836
+ fa?: string | undefined;
837
+ fr?: string | undefined;
838
+ };
839
+ description: {
840
+ en: string;
841
+ ru?: string | undefined;
842
+ zh?: string | undefined;
843
+ fa?: string | undefined;
844
+ fr?: string | undefined;
845
+ };
846
+ svgIcon: string;
847
+ svgIconColor: string;
848
+ buttons: {
849
+ type: "external" | "subscriptionLink";
850
+ link: string;
851
+ text: {
852
+ en: string;
853
+ ru?: string | undefined;
854
+ zh?: string | undefined;
855
+ fa?: string | undefined;
856
+ fr?: string | undefined;
857
+ };
858
+ svgIcon: string;
859
+ }[];
860
+ }[];
861
+ }[];
862
+ }>>;
863
+ } | null;
12
864
  }, {
13
865
  uuid: string;
14
866
  name: string;
15
867
  viewPosition: number;
16
- encodedConfig: string | null;
868
+ config: {
869
+ version: "1";
870
+ brandingSettings: {
871
+ title: string;
872
+ logoUrl: string;
873
+ supportUrl: string;
874
+ };
875
+ additionalLocales: ("ru" | "zh" | "fa" | "fr")[];
876
+ uiConfig: {
877
+ subscriptionInfo: {
878
+ block: "collapsed" | "expanded";
879
+ };
880
+ installationGuides: {
881
+ headerText: {
882
+ en: string;
883
+ ru?: string | undefined;
884
+ zh?: string | undefined;
885
+ fa?: string | undefined;
886
+ fr?: string | undefined;
887
+ };
888
+ };
889
+ connectionKeys: {
890
+ headerText: {
891
+ en: string;
892
+ ru?: string | undefined;
893
+ zh?: string | undefined;
894
+ fa?: string | undefined;
895
+ fr?: string | undefined;
896
+ };
897
+ };
898
+ };
899
+ platforms: Partial<Record<"ios" | "android" | "linux" | "macos" | "windows" | "androidTV" | "appleTV", {
900
+ svgIcon: string;
901
+ displayName: {
902
+ en: string;
903
+ ru?: string | undefined;
904
+ zh?: string | undefined;
905
+ fa?: string | undefined;
906
+ fr?: string | undefined;
907
+ };
908
+ apps: {
909
+ name: string;
910
+ featured: boolean;
911
+ blocks: {
912
+ title: {
913
+ en: string;
914
+ ru?: string | undefined;
915
+ zh?: string | undefined;
916
+ fa?: string | undefined;
917
+ fr?: string | undefined;
918
+ };
919
+ description: {
920
+ en: string;
921
+ ru?: string | undefined;
922
+ zh?: string | undefined;
923
+ fa?: string | undefined;
924
+ fr?: string | undefined;
925
+ };
926
+ svgIcon: string;
927
+ svgIconColor: string;
928
+ buttons: {
929
+ type: "external" | "subscriptionLink";
930
+ link: string;
931
+ text: {
932
+ en: string;
933
+ ru?: string | undefined;
934
+ zh?: string | undefined;
935
+ fa?: string | undefined;
936
+ fr?: string | undefined;
937
+ };
938
+ svgIcon: string;
939
+ }[];
940
+ }[];
941
+ }[];
942
+ }>>;
943
+ } | null;
17
944
  }>;
18
945
  //# sourceMappingURL=subscripion-page-config.schema.d.ts.map