@remnawave/backend-contract 2.3.52 → 2.3.53

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 +8 -2012
  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 +5 -1082
  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-configs.command.d.ts +7 -1234
  6. package/build/backend/commands/subscription-page-configs/get-subpage-configs.command.d.ts.map +1 -1
  7. package/build/backend/commands/subscription-page-configs/update-subpage-config.command.d.ts +8 -2012
  8. package/build/backend/commands/subscription-page-configs/update-subpage-config.command.d.ts.map +1 -1
  9. package/build/backend/commands/subscription-page-configs/update-subpage-config.command.js +3 -3
  10. package/build/backend/constants/subscription-page-config/index.d.ts +1 -0
  11. package/build/backend/constants/subscription-page-config/index.d.ts.map +1 -1
  12. package/build/backend/constants/subscription-page-config/index.js +1 -0
  13. package/build/backend/constants/subscription-page-config/subscription-page-template-keys.contant.d.ts +3 -0
  14. package/build/backend/constants/subscription-page-config/subscription-page-template-keys.contant.d.ts.map +1 -0
  15. package/build/backend/constants/subscription-page-config/subscription-page-template-keys.contant.js +4 -0
  16. package/build/backend/models/subscripion-page-config.schema.d.ts +3 -930
  17. package/build/backend/models/subscripion-page-config.schema.d.ts.map +1 -1
  18. package/build/backend/models/subscripion-page-config.schema.js +1 -2
  19. package/build/frontend/commands/subscription-page-configs/update-subpage-config.command.js +3 -3
  20. package/build/frontend/constants/subscription-page-config/index.js +1 -0
  21. package/build/frontend/constants/subscription-page-config/subscription-page-template-keys.contant.js +4 -0
  22. package/build/frontend/models/subscripion-page-config.schema.js +1 -2
  23. package/package.json +1 -1
@@ -16,1108 +16,31 @@ export declare namespace CreateSubscriptionPageConfigCommand {
16
16
  uuid: z.ZodString;
17
17
  viewPosition: z.ZodNumber;
18
18
  name: z.ZodString;
19
- config: z.ZodNullable<z.ZodEffects<z.ZodObject<{
20
- version: z.ZodNativeEnum<{
21
- readonly 1: "1";
22
- }>;
23
- additionalLocales: z.ZodArray<z.ZodEnum<["ru", "zh", "fa", "fr"]>, "many">;
24
- brandingSettings: z.ZodObject<{
25
- title: z.ZodString;
26
- logoUrl: z.ZodString;
27
- supportUrl: z.ZodString;
28
- }, "strip", z.ZodTypeAny, {
29
- title: string;
30
- logoUrl: string;
31
- supportUrl: string;
32
- }, {
33
- title: string;
34
- logoUrl: string;
35
- supportUrl: string;
36
- }>;
37
- uiConfig: z.ZodObject<{
38
- subscriptionInfo: z.ZodObject<{
39
- block: z.ZodEnum<["collapsed", "expanded"]>;
40
- }, "strip", z.ZodTypeAny, {
41
- block: "collapsed" | "expanded";
42
- }, {
43
- block: "collapsed" | "expanded";
44
- }>;
45
- installationGuides: z.ZodObject<{
46
- headerText: z.ZodObject<{
47
- en: z.ZodString;
48
- ru: z.ZodOptional<z.ZodString>;
49
- zh: z.ZodOptional<z.ZodString>;
50
- fa: z.ZodOptional<z.ZodString>;
51
- fr: z.ZodOptional<z.ZodString>;
52
- }, "strip", z.ZodTypeAny, {
53
- en: string;
54
- ru?: string | undefined;
55
- zh?: string | undefined;
56
- fa?: string | undefined;
57
- fr?: string | undefined;
58
- }, {
59
- en: string;
60
- ru?: string | undefined;
61
- zh?: string | undefined;
62
- fa?: string | undefined;
63
- fr?: string | undefined;
64
- }>;
65
- }, "strip", z.ZodTypeAny, {
66
- headerText: {
67
- en: string;
68
- ru?: string | undefined;
69
- zh?: string | undefined;
70
- fa?: string | undefined;
71
- fr?: string | undefined;
72
- };
73
- }, {
74
- headerText: {
75
- en: string;
76
- ru?: string | undefined;
77
- zh?: string | undefined;
78
- fa?: string | undefined;
79
- fr?: string | undefined;
80
- };
81
- }>;
82
- connectionKeys: z.ZodObject<{
83
- headerText: z.ZodObject<{
84
- en: z.ZodString;
85
- ru: z.ZodOptional<z.ZodString>;
86
- zh: z.ZodOptional<z.ZodString>;
87
- fa: z.ZodOptional<z.ZodString>;
88
- fr: z.ZodOptional<z.ZodString>;
89
- }, "strip", z.ZodTypeAny, {
90
- en: string;
91
- ru?: string | undefined;
92
- zh?: string | undefined;
93
- fa?: string | undefined;
94
- fr?: string | undefined;
95
- }, {
96
- en: string;
97
- ru?: string | undefined;
98
- zh?: string | undefined;
99
- fa?: string | undefined;
100
- fr?: string | undefined;
101
- }>;
102
- }, "strip", z.ZodTypeAny, {
103
- headerText: {
104
- en: string;
105
- ru?: string | undefined;
106
- zh?: string | undefined;
107
- fa?: string | undefined;
108
- fr?: string | undefined;
109
- };
110
- }, {
111
- headerText: {
112
- en: string;
113
- ru?: string | undefined;
114
- zh?: string | undefined;
115
- fa?: string | undefined;
116
- fr?: string | undefined;
117
- };
118
- }>;
119
- }, "strip", z.ZodTypeAny, {
120
- subscriptionInfo: {
121
- block: "collapsed" | "expanded";
122
- };
123
- installationGuides: {
124
- headerText: {
125
- en: string;
126
- ru?: string | undefined;
127
- zh?: string | undefined;
128
- fa?: string | undefined;
129
- fr?: string | undefined;
130
- };
131
- };
132
- connectionKeys: {
133
- headerText: {
134
- en: string;
135
- ru?: string | undefined;
136
- zh?: string | undefined;
137
- fa?: string | undefined;
138
- fr?: string | undefined;
139
- };
140
- };
141
- }, {
142
- subscriptionInfo: {
143
- block: "collapsed" | "expanded";
144
- };
145
- installationGuides: {
146
- headerText: {
147
- en: string;
148
- ru?: string | undefined;
149
- zh?: string | undefined;
150
- fa?: string | undefined;
151
- fr?: string | undefined;
152
- };
153
- };
154
- connectionKeys: {
155
- headerText: {
156
- en: string;
157
- ru?: string | undefined;
158
- zh?: string | undefined;
159
- fa?: string | undefined;
160
- fr?: string | undefined;
161
- };
162
- };
163
- }>;
164
- platforms: z.ZodRecord<z.ZodNativeEnum<{
165
- readonly IOS: "ios";
166
- readonly ANDROID: "android";
167
- readonly LINUX: "linux";
168
- readonly MACOS: "macos";
169
- readonly WINDOWS: "windows";
170
- readonly ANDROID_TV: "androidTV";
171
- readonly APPLE_TV: "appleTV";
172
- }>, z.ZodObject<{
173
- displayName: z.ZodObject<{
174
- en: z.ZodString;
175
- ru: z.ZodOptional<z.ZodString>;
176
- zh: z.ZodOptional<z.ZodString>;
177
- fa: z.ZodOptional<z.ZodString>;
178
- fr: z.ZodOptional<z.ZodString>;
179
- }, "strip", z.ZodTypeAny, {
180
- en: string;
181
- ru?: string | undefined;
182
- zh?: string | undefined;
183
- fa?: string | undefined;
184
- fr?: string | undefined;
185
- }, {
186
- en: string;
187
- ru?: string | undefined;
188
- zh?: string | undefined;
189
- fa?: string | undefined;
190
- fr?: string | undefined;
191
- }>;
192
- svgIcon: z.ZodString;
193
- apps: z.ZodArray<z.ZodObject<{
194
- name: z.ZodString;
195
- featured: z.ZodBoolean;
196
- blocks: z.ZodArray<z.ZodObject<{
197
- svgIcon: z.ZodString;
198
- svgIconColor: z.ZodEffects<z.ZodString, string, string>;
199
- title: z.ZodObject<{
200
- en: z.ZodString;
201
- ru: z.ZodOptional<z.ZodString>;
202
- zh: z.ZodOptional<z.ZodString>;
203
- fa: z.ZodOptional<z.ZodString>;
204
- fr: z.ZodOptional<z.ZodString>;
205
- }, "strip", z.ZodTypeAny, {
206
- en: string;
207
- ru?: string | undefined;
208
- zh?: string | undefined;
209
- fa?: string | undefined;
210
- fr?: string | undefined;
211
- }, {
212
- en: string;
213
- ru?: string | undefined;
214
- zh?: string | undefined;
215
- fa?: string | undefined;
216
- fr?: string | undefined;
217
- }>;
218
- description: z.ZodObject<{
219
- en: z.ZodString;
220
- ru: z.ZodOptional<z.ZodString>;
221
- zh: z.ZodOptional<z.ZodString>;
222
- fa: z.ZodOptional<z.ZodString>;
223
- fr: z.ZodOptional<z.ZodString>;
224
- }, "strip", z.ZodTypeAny, {
225
- en: string;
226
- ru?: string | undefined;
227
- zh?: string | undefined;
228
- fa?: string | undefined;
229
- fr?: string | undefined;
230
- }, {
231
- en: string;
232
- ru?: string | undefined;
233
- zh?: string | undefined;
234
- fa?: string | undefined;
235
- fr?: string | undefined;
236
- }>;
237
- buttons: z.ZodArray<z.ZodObject<{
238
- link: z.ZodString;
239
- type: z.ZodEnum<["external", "subscriptionLink"]>;
240
- text: z.ZodObject<{
241
- en: z.ZodString;
242
- ru: z.ZodOptional<z.ZodString>;
243
- zh: z.ZodOptional<z.ZodString>;
244
- fa: z.ZodOptional<z.ZodString>;
245
- fr: z.ZodOptional<z.ZodString>;
246
- }, "strip", z.ZodTypeAny, {
247
- en: string;
248
- ru?: string | undefined;
249
- zh?: string | undefined;
250
- fa?: string | undefined;
251
- fr?: string | undefined;
252
- }, {
253
- en: string;
254
- ru?: string | undefined;
255
- zh?: string | undefined;
256
- fa?: string | undefined;
257
- fr?: string | undefined;
258
- }>;
259
- svgIcon: z.ZodString;
260
- }, "strip", z.ZodTypeAny, {
261
- type: "external" | "subscriptionLink";
262
- link: string;
263
- text: {
264
- en: string;
265
- ru?: string | undefined;
266
- zh?: string | undefined;
267
- fa?: string | undefined;
268
- fr?: string | undefined;
269
- };
270
- svgIcon: string;
271
- }, {
272
- type: "external" | "subscriptionLink";
273
- link: string;
274
- text: {
275
- en: string;
276
- ru?: string | undefined;
277
- zh?: string | undefined;
278
- fa?: string | undefined;
279
- fr?: string | undefined;
280
- };
281
- svgIcon: string;
282
- }>, "many">;
283
- }, "strip", z.ZodTypeAny, {
284
- title: {
285
- en: string;
286
- ru?: string | undefined;
287
- zh?: string | undefined;
288
- fa?: string | undefined;
289
- fr?: string | undefined;
290
- };
291
- description: {
292
- en: string;
293
- ru?: string | undefined;
294
- zh?: string | undefined;
295
- fa?: string | undefined;
296
- fr?: string | undefined;
297
- };
298
- svgIcon: string;
299
- svgIconColor: string;
300
- buttons: {
301
- type: "external" | "subscriptionLink";
302
- link: string;
303
- text: {
304
- en: string;
305
- ru?: string | undefined;
306
- zh?: string | undefined;
307
- fa?: string | undefined;
308
- fr?: string | undefined;
309
- };
310
- svgIcon: string;
311
- }[];
312
- }, {
313
- title: {
314
- en: string;
315
- ru?: string | undefined;
316
- zh?: string | undefined;
317
- fa?: string | undefined;
318
- fr?: string | undefined;
319
- };
320
- description: {
321
- en: string;
322
- ru?: string | undefined;
323
- zh?: string | undefined;
324
- fa?: string | undefined;
325
- fr?: string | undefined;
326
- };
327
- svgIcon: string;
328
- svgIconColor: string;
329
- buttons: {
330
- type: "external" | "subscriptionLink";
331
- link: string;
332
- text: {
333
- en: string;
334
- ru?: string | undefined;
335
- zh?: string | undefined;
336
- fa?: string | undefined;
337
- fr?: string | undefined;
338
- };
339
- svgIcon: string;
340
- }[];
341
- }>, "many">;
342
- }, "strip", z.ZodTypeAny, {
343
- name: string;
344
- featured: boolean;
345
- blocks: {
346
- title: {
347
- en: string;
348
- ru?: string | undefined;
349
- zh?: string | undefined;
350
- fa?: string | undefined;
351
- fr?: string | undefined;
352
- };
353
- description: {
354
- en: string;
355
- ru?: string | undefined;
356
- zh?: string | undefined;
357
- fa?: string | undefined;
358
- fr?: string | undefined;
359
- };
360
- svgIcon: string;
361
- svgIconColor: string;
362
- buttons: {
363
- type: "external" | "subscriptionLink";
364
- link: string;
365
- text: {
366
- en: string;
367
- ru?: string | undefined;
368
- zh?: string | undefined;
369
- fa?: string | undefined;
370
- fr?: string | undefined;
371
- };
372
- svgIcon: string;
373
- }[];
374
- }[];
375
- }, {
376
- name: string;
377
- featured: boolean;
378
- blocks: {
379
- title: {
380
- en: string;
381
- ru?: string | undefined;
382
- zh?: string | undefined;
383
- fa?: string | undefined;
384
- fr?: string | undefined;
385
- };
386
- description: {
387
- en: string;
388
- ru?: string | undefined;
389
- zh?: string | undefined;
390
- fa?: string | undefined;
391
- fr?: string | undefined;
392
- };
393
- svgIcon: string;
394
- svgIconColor: string;
395
- buttons: {
396
- type: "external" | "subscriptionLink";
397
- link: string;
398
- text: {
399
- en: string;
400
- ru?: string | undefined;
401
- zh?: string | undefined;
402
- fa?: string | undefined;
403
- fr?: string | undefined;
404
- };
405
- svgIcon: string;
406
- }[];
407
- }[];
408
- }>, "many">;
409
- }, "strip", z.ZodTypeAny, {
410
- svgIcon: string;
411
- displayName: {
412
- en: string;
413
- ru?: string | undefined;
414
- zh?: string | undefined;
415
- fa?: string | undefined;
416
- fr?: string | undefined;
417
- };
418
- apps: {
419
- name: string;
420
- featured: boolean;
421
- blocks: {
422
- title: {
423
- en: string;
424
- ru?: string | undefined;
425
- zh?: string | undefined;
426
- fa?: string | undefined;
427
- fr?: string | undefined;
428
- };
429
- description: {
430
- en: string;
431
- ru?: string | undefined;
432
- zh?: string | undefined;
433
- fa?: string | undefined;
434
- fr?: string | undefined;
435
- };
436
- svgIcon: string;
437
- svgIconColor: string;
438
- buttons: {
439
- type: "external" | "subscriptionLink";
440
- link: string;
441
- text: {
442
- en: string;
443
- ru?: string | undefined;
444
- zh?: string | undefined;
445
- fa?: string | undefined;
446
- fr?: string | undefined;
447
- };
448
- svgIcon: string;
449
- }[];
450
- }[];
451
- }[];
452
- }, {
453
- svgIcon: string;
454
- displayName: {
455
- en: string;
456
- ru?: string | undefined;
457
- zh?: string | undefined;
458
- fa?: string | undefined;
459
- fr?: string | undefined;
460
- };
461
- apps: {
462
- name: string;
463
- featured: boolean;
464
- blocks: {
465
- title: {
466
- en: string;
467
- ru?: string | undefined;
468
- zh?: string | undefined;
469
- fa?: string | undefined;
470
- fr?: string | undefined;
471
- };
472
- description: {
473
- en: string;
474
- ru?: string | undefined;
475
- zh?: string | undefined;
476
- fa?: string | undefined;
477
- fr?: string | undefined;
478
- };
479
- svgIcon: string;
480
- svgIconColor: string;
481
- buttons: {
482
- type: "external" | "subscriptionLink";
483
- link: string;
484
- text: {
485
- en: string;
486
- ru?: string | undefined;
487
- zh?: string | undefined;
488
- fa?: string | undefined;
489
- fr?: string | undefined;
490
- };
491
- svgIcon: string;
492
- }[];
493
- }[];
494
- }[];
495
- }>>;
496
- }, "strip", z.ZodTypeAny, {
497
- version: "1";
498
- brandingSettings: {
499
- title: string;
500
- logoUrl: string;
501
- supportUrl: string;
502
- };
503
- additionalLocales: ("ru" | "zh" | "fa" | "fr")[];
504
- uiConfig: {
505
- subscriptionInfo: {
506
- block: "collapsed" | "expanded";
507
- };
508
- installationGuides: {
509
- headerText: {
510
- en: string;
511
- ru?: string | undefined;
512
- zh?: string | undefined;
513
- fa?: string | undefined;
514
- fr?: string | undefined;
515
- };
516
- };
517
- connectionKeys: {
518
- headerText: {
519
- en: string;
520
- ru?: string | undefined;
521
- zh?: string | undefined;
522
- fa?: string | undefined;
523
- fr?: string | undefined;
524
- };
525
- };
526
- };
527
- platforms: Partial<Record<"ios" | "android" | "linux" | "macos" | "windows" | "androidTV" | "appleTV", {
528
- svgIcon: string;
529
- displayName: {
530
- en: string;
531
- ru?: string | undefined;
532
- zh?: string | undefined;
533
- fa?: string | undefined;
534
- fr?: string | undefined;
535
- };
536
- apps: {
537
- name: string;
538
- featured: boolean;
539
- blocks: {
540
- title: {
541
- en: string;
542
- ru?: string | undefined;
543
- zh?: string | undefined;
544
- fa?: string | undefined;
545
- fr?: string | undefined;
546
- };
547
- description: {
548
- en: string;
549
- ru?: string | undefined;
550
- zh?: string | undefined;
551
- fa?: string | undefined;
552
- fr?: string | undefined;
553
- };
554
- svgIcon: string;
555
- svgIconColor: string;
556
- buttons: {
557
- type: "external" | "subscriptionLink";
558
- link: string;
559
- text: {
560
- en: string;
561
- ru?: string | undefined;
562
- zh?: string | undefined;
563
- fa?: string | undefined;
564
- fr?: string | undefined;
565
- };
566
- svgIcon: string;
567
- }[];
568
- }[];
569
- }[];
570
- }>>;
571
- }, {
572
- version: "1";
573
- brandingSettings: {
574
- title: string;
575
- logoUrl: string;
576
- supportUrl: string;
577
- };
578
- additionalLocales: ("ru" | "zh" | "fa" | "fr")[];
579
- uiConfig: {
580
- subscriptionInfo: {
581
- block: "collapsed" | "expanded";
582
- };
583
- installationGuides: {
584
- headerText: {
585
- en: string;
586
- ru?: string | undefined;
587
- zh?: string | undefined;
588
- fa?: string | undefined;
589
- fr?: string | undefined;
590
- };
591
- };
592
- connectionKeys: {
593
- headerText: {
594
- en: string;
595
- ru?: string | undefined;
596
- zh?: string | undefined;
597
- fa?: string | undefined;
598
- fr?: string | undefined;
599
- };
600
- };
601
- };
602
- platforms: Partial<Record<"ios" | "android" | "linux" | "macos" | "windows" | "androidTV" | "appleTV", {
603
- svgIcon: string;
604
- displayName: {
605
- en: string;
606
- ru?: string | undefined;
607
- zh?: string | undefined;
608
- fa?: string | undefined;
609
- fr?: string | undefined;
610
- };
611
- apps: {
612
- name: string;
613
- featured: boolean;
614
- blocks: {
615
- title: {
616
- en: string;
617
- ru?: string | undefined;
618
- zh?: string | undefined;
619
- fa?: string | undefined;
620
- fr?: string | undefined;
621
- };
622
- description: {
623
- en: string;
624
- ru?: string | undefined;
625
- zh?: string | undefined;
626
- fa?: string | undefined;
627
- fr?: string | undefined;
628
- };
629
- svgIcon: string;
630
- svgIconColor: string;
631
- buttons: {
632
- type: "external" | "subscriptionLink";
633
- link: string;
634
- text: {
635
- en: string;
636
- ru?: string | undefined;
637
- zh?: string | undefined;
638
- fa?: string | undefined;
639
- fr?: string | undefined;
640
- };
641
- svgIcon: string;
642
- }[];
643
- }[];
644
- }[];
645
- }>>;
646
- }>, {
647
- version: "1";
648
- brandingSettings: {
649
- title: string;
650
- logoUrl: string;
651
- supportUrl: string;
652
- };
653
- additionalLocales: ("ru" | "zh" | "fa" | "fr")[];
654
- uiConfig: {
655
- subscriptionInfo: {
656
- block: "collapsed" | "expanded";
657
- };
658
- installationGuides: {
659
- headerText: {
660
- en: string;
661
- ru?: string | undefined;
662
- zh?: string | undefined;
663
- fa?: string | undefined;
664
- fr?: string | undefined;
665
- };
666
- };
667
- connectionKeys: {
668
- headerText: {
669
- en: string;
670
- ru?: string | undefined;
671
- zh?: string | undefined;
672
- fa?: string | undefined;
673
- fr?: string | undefined;
674
- };
675
- };
676
- };
677
- platforms: Partial<Record<"ios" | "android" | "linux" | "macos" | "windows" | "androidTV" | "appleTV", {
678
- svgIcon: string;
679
- displayName: {
680
- en: string;
681
- ru?: string | undefined;
682
- zh?: string | undefined;
683
- fa?: string | undefined;
684
- fr?: string | undefined;
685
- };
686
- apps: {
687
- name: string;
688
- featured: boolean;
689
- blocks: {
690
- title: {
691
- en: string;
692
- ru?: string | undefined;
693
- zh?: string | undefined;
694
- fa?: string | undefined;
695
- fr?: string | undefined;
696
- };
697
- description: {
698
- en: string;
699
- ru?: string | undefined;
700
- zh?: string | undefined;
701
- fa?: string | undefined;
702
- fr?: string | undefined;
703
- };
704
- svgIcon: string;
705
- svgIconColor: string;
706
- buttons: {
707
- type: "external" | "subscriptionLink";
708
- link: string;
709
- text: {
710
- en: string;
711
- ru?: string | undefined;
712
- zh?: string | undefined;
713
- fa?: string | undefined;
714
- fr?: string | undefined;
715
- };
716
- svgIcon: string;
717
- }[];
718
- }[];
719
- }[];
720
- }>>;
721
- }, {
722
- version: "1";
723
- brandingSettings: {
724
- title: string;
725
- logoUrl: string;
726
- supportUrl: string;
727
- };
728
- additionalLocales: ("ru" | "zh" | "fa" | "fr")[];
729
- uiConfig: {
730
- subscriptionInfo: {
731
- block: "collapsed" | "expanded";
732
- };
733
- installationGuides: {
734
- headerText: {
735
- en: string;
736
- ru?: string | undefined;
737
- zh?: string | undefined;
738
- fa?: string | undefined;
739
- fr?: string | undefined;
740
- };
741
- };
742
- connectionKeys: {
743
- headerText: {
744
- en: string;
745
- ru?: string | undefined;
746
- zh?: string | undefined;
747
- fa?: string | undefined;
748
- fr?: string | undefined;
749
- };
750
- };
751
- };
752
- platforms: Partial<Record<"ios" | "android" | "linux" | "macos" | "windows" | "androidTV" | "appleTV", {
753
- svgIcon: string;
754
- displayName: {
755
- en: string;
756
- ru?: string | undefined;
757
- zh?: string | undefined;
758
- fa?: string | undefined;
759
- fr?: string | undefined;
760
- };
761
- apps: {
762
- name: string;
763
- featured: boolean;
764
- blocks: {
765
- title: {
766
- en: string;
767
- ru?: string | undefined;
768
- zh?: string | undefined;
769
- fa?: string | undefined;
770
- fr?: string | undefined;
771
- };
772
- description: {
773
- en: string;
774
- ru?: string | undefined;
775
- zh?: string | undefined;
776
- fa?: string | undefined;
777
- fr?: string | undefined;
778
- };
779
- svgIcon: string;
780
- svgIconColor: string;
781
- buttons: {
782
- type: "external" | "subscriptionLink";
783
- link: string;
784
- text: {
785
- en: string;
786
- ru?: string | undefined;
787
- zh?: string | undefined;
788
- fa?: string | undefined;
789
- fr?: string | undefined;
790
- };
791
- svgIcon: string;
792
- }[];
793
- }[];
794
- }[];
795
- }>>;
796
- }>>;
19
+ config: z.ZodNullable<z.ZodUnknown>;
797
20
  }, "strip", z.ZodTypeAny, {
798
21
  uuid: string;
799
22
  name: string;
800
23
  viewPosition: number;
801
- config: {
802
- version: "1";
803
- brandingSettings: {
804
- title: string;
805
- logoUrl: string;
806
- supportUrl: string;
807
- };
808
- additionalLocales: ("ru" | "zh" | "fa" | "fr")[];
809
- uiConfig: {
810
- subscriptionInfo: {
811
- block: "collapsed" | "expanded";
812
- };
813
- installationGuides: {
814
- headerText: {
815
- en: string;
816
- ru?: string | undefined;
817
- zh?: string | undefined;
818
- fa?: string | undefined;
819
- fr?: string | undefined;
820
- };
821
- };
822
- connectionKeys: {
823
- headerText: {
824
- en: string;
825
- ru?: string | undefined;
826
- zh?: string | undefined;
827
- fa?: string | undefined;
828
- fr?: string | undefined;
829
- };
830
- };
831
- };
832
- platforms: Partial<Record<"ios" | "android" | "linux" | "macos" | "windows" | "androidTV" | "appleTV", {
833
- svgIcon: string;
834
- displayName: {
835
- en: string;
836
- ru?: string | undefined;
837
- zh?: string | undefined;
838
- fa?: string | undefined;
839
- fr?: string | undefined;
840
- };
841
- apps: {
842
- name: string;
843
- featured: boolean;
844
- blocks: {
845
- title: {
846
- en: string;
847
- ru?: string | undefined;
848
- zh?: string | undefined;
849
- fa?: string | undefined;
850
- fr?: string | undefined;
851
- };
852
- description: {
853
- en: string;
854
- ru?: string | undefined;
855
- zh?: string | undefined;
856
- fa?: string | undefined;
857
- fr?: string | undefined;
858
- };
859
- svgIcon: string;
860
- svgIconColor: string;
861
- buttons: {
862
- type: "external" | "subscriptionLink";
863
- link: string;
864
- text: {
865
- en: string;
866
- ru?: string | undefined;
867
- zh?: string | undefined;
868
- fa?: string | undefined;
869
- fr?: string | undefined;
870
- };
871
- svgIcon: string;
872
- }[];
873
- }[];
874
- }[];
875
- }>>;
876
- } | null;
24
+ config?: unknown;
877
25
  }, {
878
26
  uuid: string;
879
27
  name: string;
880
28
  viewPosition: number;
881
- config: {
882
- version: "1";
883
- brandingSettings: {
884
- title: string;
885
- logoUrl: string;
886
- supportUrl: string;
887
- };
888
- additionalLocales: ("ru" | "zh" | "fa" | "fr")[];
889
- uiConfig: {
890
- subscriptionInfo: {
891
- block: "collapsed" | "expanded";
892
- };
893
- installationGuides: {
894
- headerText: {
895
- en: string;
896
- ru?: string | undefined;
897
- zh?: string | undefined;
898
- fa?: string | undefined;
899
- fr?: string | undefined;
900
- };
901
- };
902
- connectionKeys: {
903
- headerText: {
904
- en: string;
905
- ru?: string | undefined;
906
- zh?: string | undefined;
907
- fa?: string | undefined;
908
- fr?: string | undefined;
909
- };
910
- };
911
- };
912
- platforms: Partial<Record<"ios" | "android" | "linux" | "macos" | "windows" | "androidTV" | "appleTV", {
913
- svgIcon: string;
914
- displayName: {
915
- en: string;
916
- ru?: string | undefined;
917
- zh?: string | undefined;
918
- fa?: string | undefined;
919
- fr?: string | undefined;
920
- };
921
- apps: {
922
- name: string;
923
- featured: boolean;
924
- blocks: {
925
- title: {
926
- en: string;
927
- ru?: string | undefined;
928
- zh?: string | undefined;
929
- fa?: string | undefined;
930
- fr?: string | undefined;
931
- };
932
- description: {
933
- en: string;
934
- ru?: string | undefined;
935
- zh?: string | undefined;
936
- fa?: string | undefined;
937
- fr?: string | undefined;
938
- };
939
- svgIcon: string;
940
- svgIconColor: string;
941
- buttons: {
942
- type: "external" | "subscriptionLink";
943
- link: string;
944
- text: {
945
- en: string;
946
- ru?: string | undefined;
947
- zh?: string | undefined;
948
- fa?: string | undefined;
949
- fr?: string | undefined;
950
- };
951
- svgIcon: string;
952
- }[];
953
- }[];
954
- }[];
955
- }>>;
956
- } | null;
29
+ config?: unknown;
957
30
  }>;
958
31
  }, "strip", z.ZodTypeAny, {
959
32
  response: {
960
33
  uuid: string;
961
34
  name: string;
962
35
  viewPosition: number;
963
- config: {
964
- version: "1";
965
- brandingSettings: {
966
- title: string;
967
- logoUrl: string;
968
- supportUrl: string;
969
- };
970
- additionalLocales: ("ru" | "zh" | "fa" | "fr")[];
971
- uiConfig: {
972
- subscriptionInfo: {
973
- block: "collapsed" | "expanded";
974
- };
975
- installationGuides: {
976
- headerText: {
977
- en: string;
978
- ru?: string | undefined;
979
- zh?: string | undefined;
980
- fa?: string | undefined;
981
- fr?: string | undefined;
982
- };
983
- };
984
- connectionKeys: {
985
- headerText: {
986
- en: string;
987
- ru?: string | undefined;
988
- zh?: string | undefined;
989
- fa?: string | undefined;
990
- fr?: string | undefined;
991
- };
992
- };
993
- };
994
- platforms: Partial<Record<"ios" | "android" | "linux" | "macos" | "windows" | "androidTV" | "appleTV", {
995
- svgIcon: string;
996
- displayName: {
997
- en: string;
998
- ru?: string | undefined;
999
- zh?: string | undefined;
1000
- fa?: string | undefined;
1001
- fr?: string | undefined;
1002
- };
1003
- apps: {
1004
- name: string;
1005
- featured: boolean;
1006
- blocks: {
1007
- title: {
1008
- en: string;
1009
- ru?: string | undefined;
1010
- zh?: string | undefined;
1011
- fa?: string | undefined;
1012
- fr?: string | undefined;
1013
- };
1014
- description: {
1015
- en: string;
1016
- ru?: string | undefined;
1017
- zh?: string | undefined;
1018
- fa?: string | undefined;
1019
- fr?: string | undefined;
1020
- };
1021
- svgIcon: string;
1022
- svgIconColor: string;
1023
- buttons: {
1024
- type: "external" | "subscriptionLink";
1025
- link: string;
1026
- text: {
1027
- en: string;
1028
- ru?: string | undefined;
1029
- zh?: string | undefined;
1030
- fa?: string | undefined;
1031
- fr?: string | undefined;
1032
- };
1033
- svgIcon: string;
1034
- }[];
1035
- }[];
1036
- }[];
1037
- }>>;
1038
- } | null;
36
+ config?: unknown;
1039
37
  };
1040
38
  }, {
1041
39
  response: {
1042
40
  uuid: string;
1043
41
  name: string;
1044
42
  viewPosition: number;
1045
- config: {
1046
- version: "1";
1047
- brandingSettings: {
1048
- title: string;
1049
- logoUrl: string;
1050
- supportUrl: string;
1051
- };
1052
- additionalLocales: ("ru" | "zh" | "fa" | "fr")[];
1053
- uiConfig: {
1054
- subscriptionInfo: {
1055
- block: "collapsed" | "expanded";
1056
- };
1057
- installationGuides: {
1058
- headerText: {
1059
- en: string;
1060
- ru?: string | undefined;
1061
- zh?: string | undefined;
1062
- fa?: string | undefined;
1063
- fr?: string | undefined;
1064
- };
1065
- };
1066
- connectionKeys: {
1067
- headerText: {
1068
- en: string;
1069
- ru?: string | undefined;
1070
- zh?: string | undefined;
1071
- fa?: string | undefined;
1072
- fr?: string | undefined;
1073
- };
1074
- };
1075
- };
1076
- platforms: Partial<Record<"ios" | "android" | "linux" | "macos" | "windows" | "androidTV" | "appleTV", {
1077
- svgIcon: string;
1078
- displayName: {
1079
- en: string;
1080
- ru?: string | undefined;
1081
- zh?: string | undefined;
1082
- fa?: string | undefined;
1083
- fr?: string | undefined;
1084
- };
1085
- apps: {
1086
- name: string;
1087
- featured: boolean;
1088
- blocks: {
1089
- title: {
1090
- en: string;
1091
- ru?: string | undefined;
1092
- zh?: string | undefined;
1093
- fa?: string | undefined;
1094
- fr?: string | undefined;
1095
- };
1096
- description: {
1097
- en: string;
1098
- ru?: string | undefined;
1099
- zh?: string | undefined;
1100
- fa?: string | undefined;
1101
- fr?: string | undefined;
1102
- };
1103
- svgIcon: string;
1104
- svgIconColor: string;
1105
- buttons: {
1106
- type: "external" | "subscriptionLink";
1107
- link: string;
1108
- text: {
1109
- en: string;
1110
- ru?: string | undefined;
1111
- zh?: string | undefined;
1112
- fa?: string | undefined;
1113
- fr?: string | undefined;
1114
- };
1115
- svgIcon: string;
1116
- }[];
1117
- }[];
1118
- }[];
1119
- }>>;
1120
- } | null;
43
+ config?: unknown;
1121
44
  };
1122
45
  }>;
1123
46
  type Response = z.infer<typeof ResponseSchema>;