@remnawave/backend-contract 2.3.53 → 2.3.55

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