@remnawave/backend-contract 2.3.50 → 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 (27) 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/backend/models/subscription-page-config/subscription-page-config.schema.d.ts +292 -0
  20. package/build/backend/models/subscription-page-config/subscription-page-config.schema.d.ts.map +1 -1
  21. package/build/backend/models/subscription-page-config/subscription-page-config.schema.js +6 -0
  22. package/build/frontend/commands/subscription-page-configs/get-subpage-config.command.js +4 -2
  23. package/build/frontend/commands/subscription-page-configs/update-subpage-config.command.js +5 -3
  24. package/build/frontend/constants/errors/errors.js +5 -0
  25. package/build/frontend/models/subscripion-page-config.schema.js +2 -1
  26. package/build/frontend/models/subscription-page-config/subscription-page-config.schema.js +6 -0
  27. package/package.json +1 -1
@@ -6,15 +6,942 @@ export declare namespace UpdateSubscriptionPageConfigCommand {
6
6
  const RequestSchema: z.ZodObject<{
7
7
  uuid: z.ZodString;
8
8
  name: z.ZodOptional<z.ZodString>;
9
- encodedConfig: z.ZodOptional<z.ZodString>;
9
+ config: z.ZodOptional<z.ZodEffects<z.ZodObject<{
10
+ version: z.ZodNativeEnum<{
11
+ readonly 1: "1";
12
+ }>;
13
+ additionalLocales: z.ZodArray<z.ZodEnum<["ru", "zh", "fa", "fr"]>, "many">;
14
+ brandingSettings: z.ZodObject<{
15
+ title: z.ZodString;
16
+ logoUrl: z.ZodString;
17
+ supportUrl: z.ZodString;
18
+ }, "strip", z.ZodTypeAny, {
19
+ title: string;
20
+ logoUrl: string;
21
+ supportUrl: string;
22
+ }, {
23
+ title: string;
24
+ logoUrl: string;
25
+ supportUrl: string;
26
+ }>;
27
+ uiConfig: z.ZodObject<{
28
+ subscriptionInfo: z.ZodObject<{
29
+ block: z.ZodEnum<["collapsed", "expanded"]>;
30
+ }, "strip", z.ZodTypeAny, {
31
+ block: "collapsed" | "expanded";
32
+ }, {
33
+ block: "collapsed" | "expanded";
34
+ }>;
35
+ installationGuides: z.ZodObject<{
36
+ headerText: z.ZodObject<{
37
+ en: z.ZodString;
38
+ ru: z.ZodOptional<z.ZodString>;
39
+ zh: z.ZodOptional<z.ZodString>;
40
+ fa: z.ZodOptional<z.ZodString>;
41
+ fr: z.ZodOptional<z.ZodString>;
42
+ }, "strip", z.ZodTypeAny, {
43
+ en: string;
44
+ ru?: string | undefined;
45
+ zh?: string | undefined;
46
+ fa?: string | undefined;
47
+ fr?: string | undefined;
48
+ }, {
49
+ en: string;
50
+ ru?: string | undefined;
51
+ zh?: string | undefined;
52
+ fa?: string | undefined;
53
+ fr?: string | undefined;
54
+ }>;
55
+ }, "strip", z.ZodTypeAny, {
56
+ headerText: {
57
+ en: string;
58
+ ru?: string | undefined;
59
+ zh?: string | undefined;
60
+ fa?: string | undefined;
61
+ fr?: string | undefined;
62
+ };
63
+ }, {
64
+ headerText: {
65
+ en: string;
66
+ ru?: string | undefined;
67
+ zh?: string | undefined;
68
+ fa?: string | undefined;
69
+ fr?: string | undefined;
70
+ };
71
+ }>;
72
+ connectionKeys: z.ZodObject<{
73
+ headerText: z.ZodObject<{
74
+ en: z.ZodString;
75
+ ru: z.ZodOptional<z.ZodString>;
76
+ zh: z.ZodOptional<z.ZodString>;
77
+ fa: z.ZodOptional<z.ZodString>;
78
+ fr: z.ZodOptional<z.ZodString>;
79
+ }, "strip", z.ZodTypeAny, {
80
+ en: string;
81
+ ru?: string | undefined;
82
+ zh?: string | undefined;
83
+ fa?: string | undefined;
84
+ fr?: string | undefined;
85
+ }, {
86
+ en: string;
87
+ ru?: string | undefined;
88
+ zh?: string | undefined;
89
+ fa?: string | undefined;
90
+ fr?: string | undefined;
91
+ }>;
92
+ }, "strip", z.ZodTypeAny, {
93
+ headerText: {
94
+ en: string;
95
+ ru?: string | undefined;
96
+ zh?: string | undefined;
97
+ fa?: string | undefined;
98
+ fr?: string | undefined;
99
+ };
100
+ }, {
101
+ headerText: {
102
+ en: string;
103
+ ru?: string | undefined;
104
+ zh?: string | undefined;
105
+ fa?: string | undefined;
106
+ fr?: string | undefined;
107
+ };
108
+ }>;
109
+ }, "strip", z.ZodTypeAny, {
110
+ subscriptionInfo: {
111
+ block: "collapsed" | "expanded";
112
+ };
113
+ installationGuides: {
114
+ headerText: {
115
+ en: string;
116
+ ru?: string | undefined;
117
+ zh?: string | undefined;
118
+ fa?: string | undefined;
119
+ fr?: string | undefined;
120
+ };
121
+ };
122
+ connectionKeys: {
123
+ headerText: {
124
+ en: string;
125
+ ru?: string | undefined;
126
+ zh?: string | undefined;
127
+ fa?: string | undefined;
128
+ fr?: string | undefined;
129
+ };
130
+ };
131
+ }, {
132
+ subscriptionInfo: {
133
+ block: "collapsed" | "expanded";
134
+ };
135
+ installationGuides: {
136
+ headerText: {
137
+ en: string;
138
+ ru?: string | undefined;
139
+ zh?: string | undefined;
140
+ fa?: string | undefined;
141
+ fr?: string | undefined;
142
+ };
143
+ };
144
+ connectionKeys: {
145
+ headerText: {
146
+ en: string;
147
+ ru?: string | undefined;
148
+ zh?: string | undefined;
149
+ fa?: string | undefined;
150
+ fr?: string | undefined;
151
+ };
152
+ };
153
+ }>;
154
+ platforms: z.ZodRecord<z.ZodNativeEnum<{
155
+ readonly IOS: "ios";
156
+ readonly ANDROID: "android";
157
+ readonly LINUX: "linux";
158
+ readonly MACOS: "macos";
159
+ readonly WINDOWS: "windows";
160
+ readonly ANDROID_TV: "androidTV";
161
+ readonly APPLE_TV: "appleTV";
162
+ }>, z.ZodObject<{
163
+ displayName: z.ZodObject<{
164
+ en: z.ZodString;
165
+ ru: z.ZodOptional<z.ZodString>;
166
+ zh: z.ZodOptional<z.ZodString>;
167
+ fa: z.ZodOptional<z.ZodString>;
168
+ fr: z.ZodOptional<z.ZodString>;
169
+ }, "strip", z.ZodTypeAny, {
170
+ en: string;
171
+ ru?: string | undefined;
172
+ zh?: string | undefined;
173
+ fa?: string | undefined;
174
+ fr?: string | undefined;
175
+ }, {
176
+ en: string;
177
+ ru?: string | undefined;
178
+ zh?: string | undefined;
179
+ fa?: string | undefined;
180
+ fr?: string | undefined;
181
+ }>;
182
+ svgIcon: z.ZodString;
183
+ apps: z.ZodArray<z.ZodObject<{
184
+ name: z.ZodString;
185
+ featured: z.ZodBoolean;
186
+ blocks: z.ZodArray<z.ZodObject<{
187
+ svgIcon: z.ZodString;
188
+ svgIconColor: z.ZodEffects<z.ZodString, string, string>;
189
+ title: z.ZodObject<{
190
+ en: z.ZodString;
191
+ ru: z.ZodOptional<z.ZodString>;
192
+ zh: z.ZodOptional<z.ZodString>;
193
+ fa: z.ZodOptional<z.ZodString>;
194
+ fr: z.ZodOptional<z.ZodString>;
195
+ }, "strip", z.ZodTypeAny, {
196
+ en: string;
197
+ ru?: string | undefined;
198
+ zh?: string | undefined;
199
+ fa?: string | undefined;
200
+ fr?: string | undefined;
201
+ }, {
202
+ en: string;
203
+ ru?: string | undefined;
204
+ zh?: string | undefined;
205
+ fa?: string | undefined;
206
+ fr?: string | undefined;
207
+ }>;
208
+ description: z.ZodObject<{
209
+ en: z.ZodString;
210
+ ru: z.ZodOptional<z.ZodString>;
211
+ zh: z.ZodOptional<z.ZodString>;
212
+ fa: z.ZodOptional<z.ZodString>;
213
+ fr: z.ZodOptional<z.ZodString>;
214
+ }, "strip", z.ZodTypeAny, {
215
+ en: string;
216
+ ru?: string | undefined;
217
+ zh?: string | undefined;
218
+ fa?: string | undefined;
219
+ fr?: string | undefined;
220
+ }, {
221
+ en: string;
222
+ ru?: string | undefined;
223
+ zh?: string | undefined;
224
+ fa?: string | undefined;
225
+ fr?: string | undefined;
226
+ }>;
227
+ buttons: z.ZodArray<z.ZodObject<{
228
+ link: z.ZodString;
229
+ type: z.ZodEnum<["external", "subscriptionLink"]>;
230
+ text: z.ZodObject<{
231
+ en: z.ZodString;
232
+ ru: z.ZodOptional<z.ZodString>;
233
+ zh: z.ZodOptional<z.ZodString>;
234
+ fa: z.ZodOptional<z.ZodString>;
235
+ fr: z.ZodOptional<z.ZodString>;
236
+ }, "strip", z.ZodTypeAny, {
237
+ en: string;
238
+ ru?: string | undefined;
239
+ zh?: string | undefined;
240
+ fa?: string | undefined;
241
+ fr?: string | undefined;
242
+ }, {
243
+ en: string;
244
+ ru?: string | undefined;
245
+ zh?: string | undefined;
246
+ fa?: string | undefined;
247
+ fr?: string | undefined;
248
+ }>;
249
+ svgIcon: z.ZodString;
250
+ }, "strip", z.ZodTypeAny, {
251
+ type: "external" | "subscriptionLink";
252
+ link: string;
253
+ text: {
254
+ en: string;
255
+ ru?: string | undefined;
256
+ zh?: string | undefined;
257
+ fa?: string | undefined;
258
+ fr?: string | undefined;
259
+ };
260
+ svgIcon: string;
261
+ }, {
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
+ }>, "many">;
273
+ }, "strip", z.ZodTypeAny, {
274
+ title: {
275
+ en: string;
276
+ ru?: string | undefined;
277
+ zh?: string | undefined;
278
+ fa?: string | undefined;
279
+ fr?: string | undefined;
280
+ };
281
+ description: {
282
+ en: string;
283
+ ru?: string | undefined;
284
+ zh?: string | undefined;
285
+ fa?: string | undefined;
286
+ fr?: string | undefined;
287
+ };
288
+ svgIcon: string;
289
+ svgIconColor: string;
290
+ buttons: {
291
+ type: "external" | "subscriptionLink";
292
+ link: string;
293
+ text: {
294
+ en: string;
295
+ ru?: string | undefined;
296
+ zh?: string | undefined;
297
+ fa?: string | undefined;
298
+ fr?: string | undefined;
299
+ };
300
+ svgIcon: string;
301
+ }[];
302
+ }, {
303
+ title: {
304
+ en: string;
305
+ ru?: string | undefined;
306
+ zh?: string | undefined;
307
+ fa?: string | undefined;
308
+ fr?: string | undefined;
309
+ };
310
+ description: {
311
+ en: string;
312
+ ru?: string | undefined;
313
+ zh?: string | undefined;
314
+ fa?: string | undefined;
315
+ fr?: string | undefined;
316
+ };
317
+ svgIcon: string;
318
+ svgIconColor: string;
319
+ buttons: {
320
+ type: "external" | "subscriptionLink";
321
+ link: string;
322
+ text: {
323
+ en: string;
324
+ ru?: string | undefined;
325
+ zh?: string | undefined;
326
+ fa?: string | undefined;
327
+ fr?: string | undefined;
328
+ };
329
+ svgIcon: string;
330
+ }[];
331
+ }>, "many">;
332
+ }, "strip", z.ZodTypeAny, {
333
+ name: string;
334
+ featured: boolean;
335
+ blocks: {
336
+ title: {
337
+ en: string;
338
+ ru?: string | undefined;
339
+ zh?: string | undefined;
340
+ fa?: string | undefined;
341
+ fr?: string | undefined;
342
+ };
343
+ description: {
344
+ en: string;
345
+ ru?: string | undefined;
346
+ zh?: string | undefined;
347
+ fa?: string | undefined;
348
+ fr?: string | undefined;
349
+ };
350
+ svgIcon: string;
351
+ svgIconColor: string;
352
+ buttons: {
353
+ type: "external" | "subscriptionLink";
354
+ link: string;
355
+ text: {
356
+ en: string;
357
+ ru?: string | undefined;
358
+ zh?: string | undefined;
359
+ fa?: string | undefined;
360
+ fr?: string | undefined;
361
+ };
362
+ svgIcon: string;
363
+ }[];
364
+ }[];
365
+ }, {
366
+ name: string;
367
+ featured: boolean;
368
+ blocks: {
369
+ title: {
370
+ en: string;
371
+ ru?: string | undefined;
372
+ zh?: string | undefined;
373
+ fa?: string | undefined;
374
+ fr?: string | undefined;
375
+ };
376
+ description: {
377
+ en: string;
378
+ ru?: string | undefined;
379
+ zh?: string | undefined;
380
+ fa?: string | undefined;
381
+ fr?: string | undefined;
382
+ };
383
+ svgIcon: string;
384
+ svgIconColor: string;
385
+ buttons: {
386
+ type: "external" | "subscriptionLink";
387
+ link: string;
388
+ text: {
389
+ en: string;
390
+ ru?: string | undefined;
391
+ zh?: string | undefined;
392
+ fa?: string | undefined;
393
+ fr?: string | undefined;
394
+ };
395
+ svgIcon: string;
396
+ }[];
397
+ }[];
398
+ }>, "many">;
399
+ }, "strip", z.ZodTypeAny, {
400
+ svgIcon: string;
401
+ displayName: {
402
+ en: string;
403
+ ru?: string | undefined;
404
+ zh?: string | undefined;
405
+ fa?: string | undefined;
406
+ fr?: string | undefined;
407
+ };
408
+ apps: {
409
+ name: string;
410
+ featured: boolean;
411
+ blocks: {
412
+ title: {
413
+ en: string;
414
+ ru?: string | undefined;
415
+ zh?: string | undefined;
416
+ fa?: string | undefined;
417
+ fr?: string | undefined;
418
+ };
419
+ description: {
420
+ en: string;
421
+ ru?: string | undefined;
422
+ zh?: string | undefined;
423
+ fa?: string | undefined;
424
+ fr?: string | undefined;
425
+ };
426
+ svgIcon: string;
427
+ svgIconColor: string;
428
+ buttons: {
429
+ type: "external" | "subscriptionLink";
430
+ link: string;
431
+ text: {
432
+ en: string;
433
+ ru?: string | undefined;
434
+ zh?: string | undefined;
435
+ fa?: string | undefined;
436
+ fr?: string | undefined;
437
+ };
438
+ svgIcon: string;
439
+ }[];
440
+ }[];
441
+ }[];
442
+ }, {
443
+ svgIcon: string;
444
+ displayName: {
445
+ en: string;
446
+ ru?: string | undefined;
447
+ zh?: string | undefined;
448
+ fa?: string | undefined;
449
+ fr?: string | undefined;
450
+ };
451
+ apps: {
452
+ name: string;
453
+ featured: boolean;
454
+ blocks: {
455
+ title: {
456
+ en: string;
457
+ ru?: string | undefined;
458
+ zh?: string | undefined;
459
+ fa?: string | undefined;
460
+ fr?: string | undefined;
461
+ };
462
+ description: {
463
+ en: string;
464
+ ru?: string | undefined;
465
+ zh?: string | undefined;
466
+ fa?: string | undefined;
467
+ fr?: string | undefined;
468
+ };
469
+ svgIcon: string;
470
+ svgIconColor: string;
471
+ buttons: {
472
+ type: "external" | "subscriptionLink";
473
+ link: string;
474
+ text: {
475
+ en: string;
476
+ ru?: string | undefined;
477
+ zh?: string | undefined;
478
+ fa?: string | undefined;
479
+ fr?: string | undefined;
480
+ };
481
+ svgIcon: string;
482
+ }[];
483
+ }[];
484
+ }[];
485
+ }>>;
486
+ }, "strip", z.ZodTypeAny, {
487
+ version: "1";
488
+ brandingSettings: {
489
+ title: string;
490
+ logoUrl: string;
491
+ supportUrl: string;
492
+ };
493
+ additionalLocales: ("ru" | "zh" | "fa" | "fr")[];
494
+ uiConfig: {
495
+ subscriptionInfo: {
496
+ block: "collapsed" | "expanded";
497
+ };
498
+ installationGuides: {
499
+ headerText: {
500
+ en: string;
501
+ ru?: string | undefined;
502
+ zh?: string | undefined;
503
+ fa?: string | undefined;
504
+ fr?: string | undefined;
505
+ };
506
+ };
507
+ connectionKeys: {
508
+ headerText: {
509
+ en: string;
510
+ ru?: string | undefined;
511
+ zh?: string | undefined;
512
+ fa?: string | undefined;
513
+ fr?: string | undefined;
514
+ };
515
+ };
516
+ };
517
+ platforms: Partial<Record<"ios" | "android" | "linux" | "macos" | "windows" | "androidTV" | "appleTV", {
518
+ svgIcon: string;
519
+ displayName: {
520
+ en: string;
521
+ ru?: string | undefined;
522
+ zh?: string | undefined;
523
+ fa?: string | undefined;
524
+ fr?: string | undefined;
525
+ };
526
+ apps: {
527
+ name: string;
528
+ featured: boolean;
529
+ blocks: {
530
+ title: {
531
+ en: string;
532
+ ru?: string | undefined;
533
+ zh?: string | undefined;
534
+ fa?: string | undefined;
535
+ fr?: string | undefined;
536
+ };
537
+ description: {
538
+ en: string;
539
+ ru?: string | undefined;
540
+ zh?: string | undefined;
541
+ fa?: string | undefined;
542
+ fr?: string | undefined;
543
+ };
544
+ svgIcon: string;
545
+ svgIconColor: string;
546
+ buttons: {
547
+ type: "external" | "subscriptionLink";
548
+ link: string;
549
+ text: {
550
+ en: string;
551
+ ru?: string | undefined;
552
+ zh?: string | undefined;
553
+ fa?: string | undefined;
554
+ fr?: string | undefined;
555
+ };
556
+ svgIcon: string;
557
+ }[];
558
+ }[];
559
+ }[];
560
+ }>>;
561
+ }, {
562
+ version: "1";
563
+ brandingSettings: {
564
+ title: string;
565
+ logoUrl: string;
566
+ supportUrl: string;
567
+ };
568
+ additionalLocales: ("ru" | "zh" | "fa" | "fr")[];
569
+ uiConfig: {
570
+ subscriptionInfo: {
571
+ block: "collapsed" | "expanded";
572
+ };
573
+ installationGuides: {
574
+ headerText: {
575
+ en: string;
576
+ ru?: string | undefined;
577
+ zh?: string | undefined;
578
+ fa?: string | undefined;
579
+ fr?: string | undefined;
580
+ };
581
+ };
582
+ connectionKeys: {
583
+ headerText: {
584
+ en: string;
585
+ ru?: string | undefined;
586
+ zh?: string | undefined;
587
+ fa?: string | undefined;
588
+ fr?: string | undefined;
589
+ };
590
+ };
591
+ };
592
+ platforms: Partial<Record<"ios" | "android" | "linux" | "macos" | "windows" | "androidTV" | "appleTV", {
593
+ svgIcon: string;
594
+ displayName: {
595
+ en: string;
596
+ ru?: string | undefined;
597
+ zh?: string | undefined;
598
+ fa?: string | undefined;
599
+ fr?: string | undefined;
600
+ };
601
+ apps: {
602
+ name: string;
603
+ featured: boolean;
604
+ blocks: {
605
+ title: {
606
+ en: string;
607
+ ru?: string | undefined;
608
+ zh?: string | undefined;
609
+ fa?: string | undefined;
610
+ fr?: string | undefined;
611
+ };
612
+ description: {
613
+ en: string;
614
+ ru?: string | undefined;
615
+ zh?: string | undefined;
616
+ fa?: string | undefined;
617
+ fr?: string | undefined;
618
+ };
619
+ svgIcon: string;
620
+ svgIconColor: string;
621
+ buttons: {
622
+ type: "external" | "subscriptionLink";
623
+ link: string;
624
+ text: {
625
+ en: string;
626
+ ru?: string | undefined;
627
+ zh?: string | undefined;
628
+ fa?: string | undefined;
629
+ fr?: string | undefined;
630
+ };
631
+ svgIcon: string;
632
+ }[];
633
+ }[];
634
+ }[];
635
+ }>>;
636
+ }>, {
637
+ version: "1";
638
+ brandingSettings: {
639
+ title: string;
640
+ logoUrl: string;
641
+ supportUrl: string;
642
+ };
643
+ additionalLocales: ("ru" | "zh" | "fa" | "fr")[];
644
+ uiConfig: {
645
+ subscriptionInfo: {
646
+ block: "collapsed" | "expanded";
647
+ };
648
+ installationGuides: {
649
+ headerText: {
650
+ en: string;
651
+ ru?: string | undefined;
652
+ zh?: string | undefined;
653
+ fa?: string | undefined;
654
+ fr?: string | undefined;
655
+ };
656
+ };
657
+ connectionKeys: {
658
+ headerText: {
659
+ en: string;
660
+ ru?: string | undefined;
661
+ zh?: string | undefined;
662
+ fa?: string | undefined;
663
+ fr?: string | undefined;
664
+ };
665
+ };
666
+ };
667
+ platforms: Partial<Record<"ios" | "android" | "linux" | "macos" | "windows" | "androidTV" | "appleTV", {
668
+ svgIcon: string;
669
+ displayName: {
670
+ en: string;
671
+ ru?: string | undefined;
672
+ zh?: string | undefined;
673
+ fa?: string | undefined;
674
+ fr?: string | undefined;
675
+ };
676
+ apps: {
677
+ name: string;
678
+ featured: boolean;
679
+ blocks: {
680
+ title: {
681
+ en: string;
682
+ ru?: string | undefined;
683
+ zh?: string | undefined;
684
+ fa?: string | undefined;
685
+ fr?: string | undefined;
686
+ };
687
+ description: {
688
+ en: string;
689
+ ru?: string | undefined;
690
+ zh?: string | undefined;
691
+ fa?: string | undefined;
692
+ fr?: string | undefined;
693
+ };
694
+ svgIcon: string;
695
+ svgIconColor: string;
696
+ buttons: {
697
+ type: "external" | "subscriptionLink";
698
+ link: string;
699
+ text: {
700
+ en: string;
701
+ ru?: string | undefined;
702
+ zh?: string | undefined;
703
+ fa?: string | undefined;
704
+ fr?: string | undefined;
705
+ };
706
+ svgIcon: string;
707
+ }[];
708
+ }[];
709
+ }[];
710
+ }>>;
711
+ }, {
712
+ version: "1";
713
+ brandingSettings: {
714
+ title: string;
715
+ logoUrl: string;
716
+ supportUrl: string;
717
+ };
718
+ additionalLocales: ("ru" | "zh" | "fa" | "fr")[];
719
+ uiConfig: {
720
+ subscriptionInfo: {
721
+ block: "collapsed" | "expanded";
722
+ };
723
+ installationGuides: {
724
+ headerText: {
725
+ en: string;
726
+ ru?: string | undefined;
727
+ zh?: string | undefined;
728
+ fa?: string | undefined;
729
+ fr?: string | undefined;
730
+ };
731
+ };
732
+ connectionKeys: {
733
+ headerText: {
734
+ en: string;
735
+ ru?: string | undefined;
736
+ zh?: string | undefined;
737
+ fa?: string | undefined;
738
+ fr?: string | undefined;
739
+ };
740
+ };
741
+ };
742
+ platforms: Partial<Record<"ios" | "android" | "linux" | "macos" | "windows" | "androidTV" | "appleTV", {
743
+ svgIcon: string;
744
+ displayName: {
745
+ en: string;
746
+ ru?: string | undefined;
747
+ zh?: string | undefined;
748
+ fa?: string | undefined;
749
+ fr?: string | undefined;
750
+ };
751
+ apps: {
752
+ name: string;
753
+ featured: boolean;
754
+ blocks: {
755
+ title: {
756
+ en: string;
757
+ ru?: string | undefined;
758
+ zh?: string | undefined;
759
+ fa?: string | undefined;
760
+ fr?: string | undefined;
761
+ };
762
+ description: {
763
+ en: string;
764
+ ru?: string | undefined;
765
+ zh?: string | undefined;
766
+ fa?: string | undefined;
767
+ fr?: string | undefined;
768
+ };
769
+ svgIcon: string;
770
+ svgIconColor: string;
771
+ buttons: {
772
+ type: "external" | "subscriptionLink";
773
+ link: string;
774
+ text: {
775
+ en: string;
776
+ ru?: string | undefined;
777
+ zh?: string | undefined;
778
+ fa?: string | undefined;
779
+ fr?: string | undefined;
780
+ };
781
+ svgIcon: string;
782
+ }[];
783
+ }[];
784
+ }[];
785
+ }>>;
786
+ }>>;
10
787
  }, "strip", z.ZodTypeAny, {
11
788
  uuid: string;
12
789
  name?: string | undefined;
13
- encodedConfig?: string | undefined;
790
+ config?: {
791
+ version: "1";
792
+ brandingSettings: {
793
+ title: string;
794
+ logoUrl: string;
795
+ supportUrl: string;
796
+ };
797
+ additionalLocales: ("ru" | "zh" | "fa" | "fr")[];
798
+ uiConfig: {
799
+ subscriptionInfo: {
800
+ block: "collapsed" | "expanded";
801
+ };
802
+ installationGuides: {
803
+ headerText: {
804
+ en: string;
805
+ ru?: string | undefined;
806
+ zh?: string | undefined;
807
+ fa?: string | undefined;
808
+ fr?: string | undefined;
809
+ };
810
+ };
811
+ connectionKeys: {
812
+ headerText: {
813
+ en: string;
814
+ ru?: string | undefined;
815
+ zh?: string | undefined;
816
+ fa?: string | undefined;
817
+ fr?: string | undefined;
818
+ };
819
+ };
820
+ };
821
+ platforms: Partial<Record<"ios" | "android" | "linux" | "macos" | "windows" | "androidTV" | "appleTV", {
822
+ svgIcon: string;
823
+ displayName: {
824
+ en: string;
825
+ ru?: string | undefined;
826
+ zh?: string | undefined;
827
+ fa?: string | undefined;
828
+ fr?: string | undefined;
829
+ };
830
+ apps: {
831
+ name: string;
832
+ featured: boolean;
833
+ blocks: {
834
+ title: {
835
+ en: string;
836
+ ru?: string | undefined;
837
+ zh?: string | undefined;
838
+ fa?: string | undefined;
839
+ fr?: string | undefined;
840
+ };
841
+ description: {
842
+ en: string;
843
+ ru?: string | undefined;
844
+ zh?: string | undefined;
845
+ fa?: string | undefined;
846
+ fr?: string | undefined;
847
+ };
848
+ svgIcon: string;
849
+ svgIconColor: string;
850
+ buttons: {
851
+ type: "external" | "subscriptionLink";
852
+ link: string;
853
+ text: {
854
+ en: string;
855
+ ru?: string | undefined;
856
+ zh?: string | undefined;
857
+ fa?: string | undefined;
858
+ fr?: string | undefined;
859
+ };
860
+ svgIcon: string;
861
+ }[];
862
+ }[];
863
+ }[];
864
+ }>>;
865
+ } | undefined;
14
866
  }, {
15
867
  uuid: string;
16
868
  name?: string | undefined;
17
- encodedConfig?: string | undefined;
869
+ config?: {
870
+ version: "1";
871
+ brandingSettings: {
872
+ title: string;
873
+ logoUrl: string;
874
+ supportUrl: string;
875
+ };
876
+ additionalLocales: ("ru" | "zh" | "fa" | "fr")[];
877
+ uiConfig: {
878
+ subscriptionInfo: {
879
+ block: "collapsed" | "expanded";
880
+ };
881
+ installationGuides: {
882
+ headerText: {
883
+ en: string;
884
+ ru?: string | undefined;
885
+ zh?: string | undefined;
886
+ fa?: string | undefined;
887
+ fr?: string | undefined;
888
+ };
889
+ };
890
+ connectionKeys: {
891
+ headerText: {
892
+ en: string;
893
+ ru?: string | undefined;
894
+ zh?: string | undefined;
895
+ fa?: string | undefined;
896
+ fr?: string | undefined;
897
+ };
898
+ };
899
+ };
900
+ platforms: Partial<Record<"ios" | "android" | "linux" | "macos" | "windows" | "androidTV" | "appleTV", {
901
+ svgIcon: string;
902
+ displayName: {
903
+ en: string;
904
+ ru?: string | undefined;
905
+ zh?: string | undefined;
906
+ fa?: string | undefined;
907
+ fr?: string | undefined;
908
+ };
909
+ apps: {
910
+ name: string;
911
+ featured: boolean;
912
+ blocks: {
913
+ title: {
914
+ en: string;
915
+ ru?: string | undefined;
916
+ zh?: string | undefined;
917
+ fa?: string | undefined;
918
+ fr?: string | undefined;
919
+ };
920
+ description: {
921
+ en: string;
922
+ ru?: string | undefined;
923
+ zh?: string | undefined;
924
+ fa?: string | undefined;
925
+ fr?: string | undefined;
926
+ };
927
+ svgIcon: string;
928
+ svgIconColor: string;
929
+ buttons: {
930
+ type: "external" | "subscriptionLink";
931
+ link: string;
932
+ text: {
933
+ en: string;
934
+ ru?: string | undefined;
935
+ zh?: string | undefined;
936
+ fa?: string | undefined;
937
+ fr?: string | undefined;
938
+ };
939
+ svgIcon: string;
940
+ }[];
941
+ }[];
942
+ }[];
943
+ }>>;
944
+ } | undefined;
18
945
  }>;
19
946
  type Request = z.infer<typeof RequestSchema>;
20
947
  const ResponseSchema: z.ZodObject<{
@@ -22,31 +949,1109 @@ export declare namespace UpdateSubscriptionPageConfigCommand {
22
949
  uuid: z.ZodString;
23
950
  viewPosition: z.ZodNumber;
24
951
  name: z.ZodString;
25
- encodedConfig: z.ZodNullable<z.ZodString>;
952
+ } & {
953
+ config: z.ZodEffects<z.ZodObject<{
954
+ version: z.ZodNativeEnum<{
955
+ readonly 1: "1";
956
+ }>;
957
+ additionalLocales: z.ZodArray<z.ZodEnum<["ru", "zh", "fa", "fr"]>, "many">;
958
+ brandingSettings: z.ZodObject<{
959
+ title: z.ZodString;
960
+ logoUrl: z.ZodString;
961
+ supportUrl: z.ZodString;
962
+ }, "strip", z.ZodTypeAny, {
963
+ title: string;
964
+ logoUrl: string;
965
+ supportUrl: string;
966
+ }, {
967
+ title: string;
968
+ logoUrl: string;
969
+ supportUrl: string;
970
+ }>;
971
+ uiConfig: z.ZodObject<{
972
+ subscriptionInfo: z.ZodObject<{
973
+ block: z.ZodEnum<["collapsed", "expanded"]>;
974
+ }, "strip", z.ZodTypeAny, {
975
+ block: "collapsed" | "expanded";
976
+ }, {
977
+ block: "collapsed" | "expanded";
978
+ }>;
979
+ installationGuides: z.ZodObject<{
980
+ headerText: z.ZodObject<{
981
+ en: z.ZodString;
982
+ ru: z.ZodOptional<z.ZodString>;
983
+ zh: z.ZodOptional<z.ZodString>;
984
+ fa: z.ZodOptional<z.ZodString>;
985
+ fr: z.ZodOptional<z.ZodString>;
986
+ }, "strip", z.ZodTypeAny, {
987
+ en: string;
988
+ ru?: string | undefined;
989
+ zh?: string | undefined;
990
+ fa?: string | undefined;
991
+ fr?: string | undefined;
992
+ }, {
993
+ en: string;
994
+ ru?: string | undefined;
995
+ zh?: string | undefined;
996
+ fa?: string | undefined;
997
+ fr?: string | undefined;
998
+ }>;
999
+ }, "strip", z.ZodTypeAny, {
1000
+ headerText: {
1001
+ en: string;
1002
+ ru?: string | undefined;
1003
+ zh?: string | undefined;
1004
+ fa?: string | undefined;
1005
+ fr?: string | undefined;
1006
+ };
1007
+ }, {
1008
+ headerText: {
1009
+ en: string;
1010
+ ru?: string | undefined;
1011
+ zh?: string | undefined;
1012
+ fa?: string | undefined;
1013
+ fr?: string | undefined;
1014
+ };
1015
+ }>;
1016
+ connectionKeys: z.ZodObject<{
1017
+ headerText: z.ZodObject<{
1018
+ en: z.ZodString;
1019
+ ru: z.ZodOptional<z.ZodString>;
1020
+ zh: z.ZodOptional<z.ZodString>;
1021
+ fa: z.ZodOptional<z.ZodString>;
1022
+ fr: z.ZodOptional<z.ZodString>;
1023
+ }, "strip", z.ZodTypeAny, {
1024
+ en: string;
1025
+ ru?: string | undefined;
1026
+ zh?: string | undefined;
1027
+ fa?: string | undefined;
1028
+ fr?: string | undefined;
1029
+ }, {
1030
+ en: string;
1031
+ ru?: string | undefined;
1032
+ zh?: string | undefined;
1033
+ fa?: string | undefined;
1034
+ fr?: string | undefined;
1035
+ }>;
1036
+ }, "strip", z.ZodTypeAny, {
1037
+ headerText: {
1038
+ en: string;
1039
+ ru?: string | undefined;
1040
+ zh?: string | undefined;
1041
+ fa?: string | undefined;
1042
+ fr?: string | undefined;
1043
+ };
1044
+ }, {
1045
+ headerText: {
1046
+ en: string;
1047
+ ru?: string | undefined;
1048
+ zh?: string | undefined;
1049
+ fa?: string | undefined;
1050
+ fr?: string | undefined;
1051
+ };
1052
+ }>;
1053
+ }, "strip", z.ZodTypeAny, {
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
+ subscriptionInfo: {
1077
+ block: "collapsed" | "expanded";
1078
+ };
1079
+ installationGuides: {
1080
+ headerText: {
1081
+ en: string;
1082
+ ru?: string | undefined;
1083
+ zh?: string | undefined;
1084
+ fa?: string | undefined;
1085
+ fr?: string | undefined;
1086
+ };
1087
+ };
1088
+ connectionKeys: {
1089
+ headerText: {
1090
+ en: string;
1091
+ ru?: string | undefined;
1092
+ zh?: string | undefined;
1093
+ fa?: string | undefined;
1094
+ fr?: string | undefined;
1095
+ };
1096
+ };
1097
+ }>;
1098
+ platforms: z.ZodRecord<z.ZodNativeEnum<{
1099
+ readonly IOS: "ios";
1100
+ readonly ANDROID: "android";
1101
+ readonly LINUX: "linux";
1102
+ readonly MACOS: "macos";
1103
+ readonly WINDOWS: "windows";
1104
+ readonly ANDROID_TV: "androidTV";
1105
+ readonly APPLE_TV: "appleTV";
1106
+ }>, z.ZodObject<{
1107
+ displayName: z.ZodObject<{
1108
+ en: z.ZodString;
1109
+ ru: z.ZodOptional<z.ZodString>;
1110
+ zh: z.ZodOptional<z.ZodString>;
1111
+ fa: z.ZodOptional<z.ZodString>;
1112
+ fr: z.ZodOptional<z.ZodString>;
1113
+ }, "strip", z.ZodTypeAny, {
1114
+ en: string;
1115
+ ru?: string | undefined;
1116
+ zh?: string | undefined;
1117
+ fa?: string | undefined;
1118
+ fr?: string | undefined;
1119
+ }, {
1120
+ en: string;
1121
+ ru?: string | undefined;
1122
+ zh?: string | undefined;
1123
+ fa?: string | undefined;
1124
+ fr?: string | undefined;
1125
+ }>;
1126
+ svgIcon: z.ZodString;
1127
+ apps: z.ZodArray<z.ZodObject<{
1128
+ name: z.ZodString;
1129
+ featured: z.ZodBoolean;
1130
+ blocks: z.ZodArray<z.ZodObject<{
1131
+ svgIcon: z.ZodString;
1132
+ svgIconColor: z.ZodEffects<z.ZodString, string, string>;
1133
+ title: z.ZodObject<{
1134
+ en: z.ZodString;
1135
+ ru: z.ZodOptional<z.ZodString>;
1136
+ zh: z.ZodOptional<z.ZodString>;
1137
+ fa: z.ZodOptional<z.ZodString>;
1138
+ fr: z.ZodOptional<z.ZodString>;
1139
+ }, "strip", z.ZodTypeAny, {
1140
+ en: string;
1141
+ ru?: string | undefined;
1142
+ zh?: string | undefined;
1143
+ fa?: string | undefined;
1144
+ fr?: string | undefined;
1145
+ }, {
1146
+ en: string;
1147
+ ru?: string | undefined;
1148
+ zh?: string | undefined;
1149
+ fa?: string | undefined;
1150
+ fr?: string | undefined;
1151
+ }>;
1152
+ description: z.ZodObject<{
1153
+ en: z.ZodString;
1154
+ ru: z.ZodOptional<z.ZodString>;
1155
+ zh: z.ZodOptional<z.ZodString>;
1156
+ fa: z.ZodOptional<z.ZodString>;
1157
+ fr: z.ZodOptional<z.ZodString>;
1158
+ }, "strip", z.ZodTypeAny, {
1159
+ en: string;
1160
+ ru?: string | undefined;
1161
+ zh?: string | undefined;
1162
+ fa?: string | undefined;
1163
+ fr?: string | undefined;
1164
+ }, {
1165
+ en: string;
1166
+ ru?: string | undefined;
1167
+ zh?: string | undefined;
1168
+ fa?: string | undefined;
1169
+ fr?: string | undefined;
1170
+ }>;
1171
+ buttons: z.ZodArray<z.ZodObject<{
1172
+ link: z.ZodString;
1173
+ type: z.ZodEnum<["external", "subscriptionLink"]>;
1174
+ text: z.ZodObject<{
1175
+ en: z.ZodString;
1176
+ ru: z.ZodOptional<z.ZodString>;
1177
+ zh: z.ZodOptional<z.ZodString>;
1178
+ fa: z.ZodOptional<z.ZodString>;
1179
+ fr: z.ZodOptional<z.ZodString>;
1180
+ }, "strip", z.ZodTypeAny, {
1181
+ en: string;
1182
+ ru?: string | undefined;
1183
+ zh?: string | undefined;
1184
+ fa?: string | undefined;
1185
+ fr?: string | undefined;
1186
+ }, {
1187
+ en: string;
1188
+ ru?: string | undefined;
1189
+ zh?: string | undefined;
1190
+ fa?: string | undefined;
1191
+ fr?: string | undefined;
1192
+ }>;
1193
+ svgIcon: z.ZodString;
1194
+ }, "strip", z.ZodTypeAny, {
1195
+ type: "external" | "subscriptionLink";
1196
+ link: string;
1197
+ text: {
1198
+ en: string;
1199
+ ru?: string | undefined;
1200
+ zh?: string | undefined;
1201
+ fa?: string | undefined;
1202
+ fr?: string | undefined;
1203
+ };
1204
+ svgIcon: string;
1205
+ }, {
1206
+ type: "external" | "subscriptionLink";
1207
+ link: string;
1208
+ text: {
1209
+ en: string;
1210
+ ru?: string | undefined;
1211
+ zh?: string | undefined;
1212
+ fa?: string | undefined;
1213
+ fr?: string | undefined;
1214
+ };
1215
+ svgIcon: string;
1216
+ }>, "many">;
1217
+ }, "strip", z.ZodTypeAny, {
1218
+ title: {
1219
+ en: string;
1220
+ ru?: string | undefined;
1221
+ zh?: string | undefined;
1222
+ fa?: string | undefined;
1223
+ fr?: string | undefined;
1224
+ };
1225
+ description: {
1226
+ en: string;
1227
+ ru?: string | undefined;
1228
+ zh?: string | undefined;
1229
+ fa?: string | undefined;
1230
+ fr?: string | undefined;
1231
+ };
1232
+ svgIcon: string;
1233
+ svgIconColor: string;
1234
+ buttons: {
1235
+ type: "external" | "subscriptionLink";
1236
+ link: string;
1237
+ text: {
1238
+ en: string;
1239
+ ru?: string | undefined;
1240
+ zh?: string | undefined;
1241
+ fa?: string | undefined;
1242
+ fr?: string | undefined;
1243
+ };
1244
+ svgIcon: string;
1245
+ }[];
1246
+ }, {
1247
+ title: {
1248
+ en: string;
1249
+ ru?: string | undefined;
1250
+ zh?: string | undefined;
1251
+ fa?: string | undefined;
1252
+ fr?: string | undefined;
1253
+ };
1254
+ description: {
1255
+ en: string;
1256
+ ru?: string | undefined;
1257
+ zh?: string | undefined;
1258
+ fa?: string | undefined;
1259
+ fr?: string | undefined;
1260
+ };
1261
+ svgIcon: string;
1262
+ svgIconColor: string;
1263
+ buttons: {
1264
+ type: "external" | "subscriptionLink";
1265
+ link: string;
1266
+ text: {
1267
+ en: string;
1268
+ ru?: string | undefined;
1269
+ zh?: string | undefined;
1270
+ fa?: string | undefined;
1271
+ fr?: string | undefined;
1272
+ };
1273
+ svgIcon: string;
1274
+ }[];
1275
+ }>, "many">;
1276
+ }, "strip", z.ZodTypeAny, {
1277
+ name: string;
1278
+ featured: boolean;
1279
+ blocks: {
1280
+ title: {
1281
+ en: string;
1282
+ ru?: string | undefined;
1283
+ zh?: string | undefined;
1284
+ fa?: string | undefined;
1285
+ fr?: string | undefined;
1286
+ };
1287
+ description: {
1288
+ en: string;
1289
+ ru?: string | undefined;
1290
+ zh?: string | undefined;
1291
+ fa?: string | undefined;
1292
+ fr?: string | undefined;
1293
+ };
1294
+ svgIcon: string;
1295
+ svgIconColor: string;
1296
+ buttons: {
1297
+ type: "external" | "subscriptionLink";
1298
+ link: string;
1299
+ text: {
1300
+ en: string;
1301
+ ru?: string | undefined;
1302
+ zh?: string | undefined;
1303
+ fa?: string | undefined;
1304
+ fr?: string | undefined;
1305
+ };
1306
+ svgIcon: string;
1307
+ }[];
1308
+ }[];
1309
+ }, {
1310
+ name: string;
1311
+ featured: boolean;
1312
+ blocks: {
1313
+ title: {
1314
+ en: string;
1315
+ ru?: string | undefined;
1316
+ zh?: string | undefined;
1317
+ fa?: string | undefined;
1318
+ fr?: string | undefined;
1319
+ };
1320
+ description: {
1321
+ en: string;
1322
+ ru?: string | undefined;
1323
+ zh?: string | undefined;
1324
+ fa?: string | undefined;
1325
+ fr?: string | undefined;
1326
+ };
1327
+ svgIcon: string;
1328
+ svgIconColor: string;
1329
+ buttons: {
1330
+ type: "external" | "subscriptionLink";
1331
+ link: string;
1332
+ text: {
1333
+ en: string;
1334
+ ru?: string | undefined;
1335
+ zh?: string | undefined;
1336
+ fa?: string | undefined;
1337
+ fr?: string | undefined;
1338
+ };
1339
+ svgIcon: string;
1340
+ }[];
1341
+ }[];
1342
+ }>, "many">;
1343
+ }, "strip", z.ZodTypeAny, {
1344
+ svgIcon: string;
1345
+ displayName: {
1346
+ en: string;
1347
+ ru?: string | undefined;
1348
+ zh?: string | undefined;
1349
+ fa?: string | undefined;
1350
+ fr?: string | undefined;
1351
+ };
1352
+ apps: {
1353
+ name: string;
1354
+ featured: boolean;
1355
+ blocks: {
1356
+ title: {
1357
+ en: string;
1358
+ ru?: string | undefined;
1359
+ zh?: string | undefined;
1360
+ fa?: string | undefined;
1361
+ fr?: string | undefined;
1362
+ };
1363
+ description: {
1364
+ en: string;
1365
+ ru?: string | undefined;
1366
+ zh?: string | undefined;
1367
+ fa?: string | undefined;
1368
+ fr?: string | undefined;
1369
+ };
1370
+ svgIcon: string;
1371
+ svgIconColor: string;
1372
+ buttons: {
1373
+ type: "external" | "subscriptionLink";
1374
+ link: string;
1375
+ text: {
1376
+ en: string;
1377
+ ru?: string | undefined;
1378
+ zh?: string | undefined;
1379
+ fa?: string | undefined;
1380
+ fr?: string | undefined;
1381
+ };
1382
+ svgIcon: string;
1383
+ }[];
1384
+ }[];
1385
+ }[];
1386
+ }, {
1387
+ svgIcon: string;
1388
+ displayName: {
1389
+ en: string;
1390
+ ru?: string | undefined;
1391
+ zh?: string | undefined;
1392
+ fa?: string | undefined;
1393
+ fr?: string | undefined;
1394
+ };
1395
+ apps: {
1396
+ name: string;
1397
+ featured: boolean;
1398
+ blocks: {
1399
+ title: {
1400
+ en: string;
1401
+ ru?: string | undefined;
1402
+ zh?: string | undefined;
1403
+ fa?: string | undefined;
1404
+ fr?: string | undefined;
1405
+ };
1406
+ description: {
1407
+ en: string;
1408
+ ru?: string | undefined;
1409
+ zh?: string | undefined;
1410
+ fa?: string | undefined;
1411
+ fr?: string | undefined;
1412
+ };
1413
+ svgIcon: string;
1414
+ svgIconColor: string;
1415
+ buttons: {
1416
+ type: "external" | "subscriptionLink";
1417
+ link: string;
1418
+ text: {
1419
+ en: string;
1420
+ ru?: string | undefined;
1421
+ zh?: string | undefined;
1422
+ fa?: string | undefined;
1423
+ fr?: string | undefined;
1424
+ };
1425
+ svgIcon: string;
1426
+ }[];
1427
+ }[];
1428
+ }[];
1429
+ }>>;
1430
+ }, "strip", z.ZodTypeAny, {
1431
+ version: "1";
1432
+ brandingSettings: {
1433
+ title: string;
1434
+ logoUrl: string;
1435
+ supportUrl: string;
1436
+ };
1437
+ additionalLocales: ("ru" | "zh" | "fa" | "fr")[];
1438
+ uiConfig: {
1439
+ subscriptionInfo: {
1440
+ block: "collapsed" | "expanded";
1441
+ };
1442
+ installationGuides: {
1443
+ headerText: {
1444
+ en: string;
1445
+ ru?: string | undefined;
1446
+ zh?: string | undefined;
1447
+ fa?: string | undefined;
1448
+ fr?: string | undefined;
1449
+ };
1450
+ };
1451
+ connectionKeys: {
1452
+ headerText: {
1453
+ en: string;
1454
+ ru?: string | undefined;
1455
+ zh?: string | undefined;
1456
+ fa?: string | undefined;
1457
+ fr?: string | undefined;
1458
+ };
1459
+ };
1460
+ };
1461
+ platforms: Partial<Record<"ios" | "android" | "linux" | "macos" | "windows" | "androidTV" | "appleTV", {
1462
+ svgIcon: string;
1463
+ displayName: {
1464
+ en: string;
1465
+ ru?: string | undefined;
1466
+ zh?: string | undefined;
1467
+ fa?: string | undefined;
1468
+ fr?: string | undefined;
1469
+ };
1470
+ apps: {
1471
+ name: string;
1472
+ featured: boolean;
1473
+ blocks: {
1474
+ title: {
1475
+ en: string;
1476
+ ru?: string | undefined;
1477
+ zh?: string | undefined;
1478
+ fa?: string | undefined;
1479
+ fr?: string | undefined;
1480
+ };
1481
+ description: {
1482
+ en: string;
1483
+ ru?: string | undefined;
1484
+ zh?: string | undefined;
1485
+ fa?: string | undefined;
1486
+ fr?: string | undefined;
1487
+ };
1488
+ svgIcon: string;
1489
+ svgIconColor: string;
1490
+ buttons: {
1491
+ type: "external" | "subscriptionLink";
1492
+ link: string;
1493
+ text: {
1494
+ en: string;
1495
+ ru?: string | undefined;
1496
+ zh?: string | undefined;
1497
+ fa?: string | undefined;
1498
+ fr?: string | undefined;
1499
+ };
1500
+ svgIcon: string;
1501
+ }[];
1502
+ }[];
1503
+ }[];
1504
+ }>>;
1505
+ }, {
1506
+ version: "1";
1507
+ brandingSettings: {
1508
+ title: string;
1509
+ logoUrl: string;
1510
+ supportUrl: string;
1511
+ };
1512
+ additionalLocales: ("ru" | "zh" | "fa" | "fr")[];
1513
+ uiConfig: {
1514
+ subscriptionInfo: {
1515
+ block: "collapsed" | "expanded";
1516
+ };
1517
+ installationGuides: {
1518
+ headerText: {
1519
+ en: string;
1520
+ ru?: string | undefined;
1521
+ zh?: string | undefined;
1522
+ fa?: string | undefined;
1523
+ fr?: string | undefined;
1524
+ };
1525
+ };
1526
+ connectionKeys: {
1527
+ headerText: {
1528
+ en: string;
1529
+ ru?: string | undefined;
1530
+ zh?: string | undefined;
1531
+ fa?: string | undefined;
1532
+ fr?: string | undefined;
1533
+ };
1534
+ };
1535
+ };
1536
+ platforms: Partial<Record<"ios" | "android" | "linux" | "macos" | "windows" | "androidTV" | "appleTV", {
1537
+ svgIcon: string;
1538
+ displayName: {
1539
+ en: string;
1540
+ ru?: string | undefined;
1541
+ zh?: string | undefined;
1542
+ fa?: string | undefined;
1543
+ fr?: string | undefined;
1544
+ };
1545
+ apps: {
1546
+ name: string;
1547
+ featured: boolean;
1548
+ blocks: {
1549
+ title: {
1550
+ en: string;
1551
+ ru?: string | undefined;
1552
+ zh?: string | undefined;
1553
+ fa?: string | undefined;
1554
+ fr?: string | undefined;
1555
+ };
1556
+ description: {
1557
+ en: string;
1558
+ ru?: string | undefined;
1559
+ zh?: string | undefined;
1560
+ fa?: string | undefined;
1561
+ fr?: string | undefined;
1562
+ };
1563
+ svgIcon: string;
1564
+ svgIconColor: string;
1565
+ buttons: {
1566
+ type: "external" | "subscriptionLink";
1567
+ link: string;
1568
+ text: {
1569
+ en: string;
1570
+ ru?: string | undefined;
1571
+ zh?: string | undefined;
1572
+ fa?: string | undefined;
1573
+ fr?: string | undefined;
1574
+ };
1575
+ svgIcon: string;
1576
+ }[];
1577
+ }[];
1578
+ }[];
1579
+ }>>;
1580
+ }>, {
1581
+ version: "1";
1582
+ brandingSettings: {
1583
+ title: string;
1584
+ logoUrl: string;
1585
+ supportUrl: string;
1586
+ };
1587
+ additionalLocales: ("ru" | "zh" | "fa" | "fr")[];
1588
+ uiConfig: {
1589
+ subscriptionInfo: {
1590
+ block: "collapsed" | "expanded";
1591
+ };
1592
+ installationGuides: {
1593
+ headerText: {
1594
+ en: string;
1595
+ ru?: string | undefined;
1596
+ zh?: string | undefined;
1597
+ fa?: string | undefined;
1598
+ fr?: string | undefined;
1599
+ };
1600
+ };
1601
+ connectionKeys: {
1602
+ headerText: {
1603
+ en: string;
1604
+ ru?: string | undefined;
1605
+ zh?: string | undefined;
1606
+ fa?: string | undefined;
1607
+ fr?: string | undefined;
1608
+ };
1609
+ };
1610
+ };
1611
+ platforms: Partial<Record<"ios" | "android" | "linux" | "macos" | "windows" | "androidTV" | "appleTV", {
1612
+ svgIcon: string;
1613
+ displayName: {
1614
+ en: string;
1615
+ ru?: string | undefined;
1616
+ zh?: string | undefined;
1617
+ fa?: string | undefined;
1618
+ fr?: string | undefined;
1619
+ };
1620
+ apps: {
1621
+ name: string;
1622
+ featured: boolean;
1623
+ blocks: {
1624
+ title: {
1625
+ en: string;
1626
+ ru?: string | undefined;
1627
+ zh?: string | undefined;
1628
+ fa?: string | undefined;
1629
+ fr?: string | undefined;
1630
+ };
1631
+ description: {
1632
+ en: string;
1633
+ ru?: string | undefined;
1634
+ zh?: string | undefined;
1635
+ fa?: string | undefined;
1636
+ fr?: string | undefined;
1637
+ };
1638
+ svgIcon: string;
1639
+ svgIconColor: string;
1640
+ buttons: {
1641
+ type: "external" | "subscriptionLink";
1642
+ link: string;
1643
+ text: {
1644
+ en: string;
1645
+ ru?: string | undefined;
1646
+ zh?: string | undefined;
1647
+ fa?: string | undefined;
1648
+ fr?: string | undefined;
1649
+ };
1650
+ svgIcon: string;
1651
+ }[];
1652
+ }[];
1653
+ }[];
1654
+ }>>;
1655
+ }, {
1656
+ version: "1";
1657
+ brandingSettings: {
1658
+ title: string;
1659
+ logoUrl: string;
1660
+ supportUrl: string;
1661
+ };
1662
+ additionalLocales: ("ru" | "zh" | "fa" | "fr")[];
1663
+ uiConfig: {
1664
+ subscriptionInfo: {
1665
+ block: "collapsed" | "expanded";
1666
+ };
1667
+ installationGuides: {
1668
+ headerText: {
1669
+ en: string;
1670
+ ru?: string | undefined;
1671
+ zh?: string | undefined;
1672
+ fa?: string | undefined;
1673
+ fr?: string | undefined;
1674
+ };
1675
+ };
1676
+ connectionKeys: {
1677
+ headerText: {
1678
+ en: string;
1679
+ ru?: string | undefined;
1680
+ zh?: string | undefined;
1681
+ fa?: string | undefined;
1682
+ fr?: string | undefined;
1683
+ };
1684
+ };
1685
+ };
1686
+ platforms: Partial<Record<"ios" | "android" | "linux" | "macos" | "windows" | "androidTV" | "appleTV", {
1687
+ svgIcon: string;
1688
+ displayName: {
1689
+ en: string;
1690
+ ru?: string | undefined;
1691
+ zh?: string | undefined;
1692
+ fa?: string | undefined;
1693
+ fr?: string | undefined;
1694
+ };
1695
+ apps: {
1696
+ name: string;
1697
+ featured: boolean;
1698
+ blocks: {
1699
+ title: {
1700
+ en: string;
1701
+ ru?: string | undefined;
1702
+ zh?: string | undefined;
1703
+ fa?: string | undefined;
1704
+ fr?: string | undefined;
1705
+ };
1706
+ description: {
1707
+ en: string;
1708
+ ru?: string | undefined;
1709
+ zh?: string | undefined;
1710
+ fa?: string | undefined;
1711
+ fr?: string | undefined;
1712
+ };
1713
+ svgIcon: string;
1714
+ svgIconColor: string;
1715
+ buttons: {
1716
+ type: "external" | "subscriptionLink";
1717
+ link: string;
1718
+ text: {
1719
+ en: string;
1720
+ ru?: string | undefined;
1721
+ zh?: string | undefined;
1722
+ fa?: string | undefined;
1723
+ fr?: string | undefined;
1724
+ };
1725
+ svgIcon: string;
1726
+ }[];
1727
+ }[];
1728
+ }[];
1729
+ }>>;
1730
+ }>;
26
1731
  }, "strip", z.ZodTypeAny, {
27
1732
  uuid: string;
28
1733
  name: string;
29
1734
  viewPosition: number;
30
- encodedConfig: string | null;
1735
+ config: {
1736
+ version: "1";
1737
+ brandingSettings: {
1738
+ title: string;
1739
+ logoUrl: string;
1740
+ supportUrl: string;
1741
+ };
1742
+ additionalLocales: ("ru" | "zh" | "fa" | "fr")[];
1743
+ uiConfig: {
1744
+ subscriptionInfo: {
1745
+ block: "collapsed" | "expanded";
1746
+ };
1747
+ installationGuides: {
1748
+ headerText: {
1749
+ en: string;
1750
+ ru?: string | undefined;
1751
+ zh?: string | undefined;
1752
+ fa?: string | undefined;
1753
+ fr?: string | undefined;
1754
+ };
1755
+ };
1756
+ connectionKeys: {
1757
+ headerText: {
1758
+ en: string;
1759
+ ru?: string | undefined;
1760
+ zh?: string | undefined;
1761
+ fa?: string | undefined;
1762
+ fr?: string | undefined;
1763
+ };
1764
+ };
1765
+ };
1766
+ platforms: Partial<Record<"ios" | "android" | "linux" | "macos" | "windows" | "androidTV" | "appleTV", {
1767
+ svgIcon: string;
1768
+ displayName: {
1769
+ en: string;
1770
+ ru?: string | undefined;
1771
+ zh?: string | undefined;
1772
+ fa?: string | undefined;
1773
+ fr?: string | undefined;
1774
+ };
1775
+ apps: {
1776
+ name: string;
1777
+ featured: boolean;
1778
+ blocks: {
1779
+ title: {
1780
+ en: string;
1781
+ ru?: string | undefined;
1782
+ zh?: string | undefined;
1783
+ fa?: string | undefined;
1784
+ fr?: string | undefined;
1785
+ };
1786
+ description: {
1787
+ en: string;
1788
+ ru?: string | undefined;
1789
+ zh?: string | undefined;
1790
+ fa?: string | undefined;
1791
+ fr?: string | undefined;
1792
+ };
1793
+ svgIcon: string;
1794
+ svgIconColor: string;
1795
+ buttons: {
1796
+ type: "external" | "subscriptionLink";
1797
+ link: string;
1798
+ text: {
1799
+ en: string;
1800
+ ru?: string | undefined;
1801
+ zh?: string | undefined;
1802
+ fa?: string | undefined;
1803
+ fr?: string | undefined;
1804
+ };
1805
+ svgIcon: string;
1806
+ }[];
1807
+ }[];
1808
+ }[];
1809
+ }>>;
1810
+ };
31
1811
  }, {
32
1812
  uuid: string;
33
1813
  name: string;
34
1814
  viewPosition: number;
35
- encodedConfig: string | null;
1815
+ config: {
1816
+ version: "1";
1817
+ brandingSettings: {
1818
+ title: string;
1819
+ logoUrl: string;
1820
+ supportUrl: string;
1821
+ };
1822
+ additionalLocales: ("ru" | "zh" | "fa" | "fr")[];
1823
+ uiConfig: {
1824
+ subscriptionInfo: {
1825
+ block: "collapsed" | "expanded";
1826
+ };
1827
+ installationGuides: {
1828
+ headerText: {
1829
+ en: string;
1830
+ ru?: string | undefined;
1831
+ zh?: string | undefined;
1832
+ fa?: string | undefined;
1833
+ fr?: string | undefined;
1834
+ };
1835
+ };
1836
+ connectionKeys: {
1837
+ headerText: {
1838
+ en: string;
1839
+ ru?: string | undefined;
1840
+ zh?: string | undefined;
1841
+ fa?: string | undefined;
1842
+ fr?: string | undefined;
1843
+ };
1844
+ };
1845
+ };
1846
+ platforms: Partial<Record<"ios" | "android" | "linux" | "macos" | "windows" | "androidTV" | "appleTV", {
1847
+ svgIcon: string;
1848
+ displayName: {
1849
+ en: string;
1850
+ ru?: string | undefined;
1851
+ zh?: string | undefined;
1852
+ fa?: string | undefined;
1853
+ fr?: string | undefined;
1854
+ };
1855
+ apps: {
1856
+ name: string;
1857
+ featured: boolean;
1858
+ blocks: {
1859
+ title: {
1860
+ en: string;
1861
+ ru?: string | undefined;
1862
+ zh?: string | undefined;
1863
+ fa?: string | undefined;
1864
+ fr?: string | undefined;
1865
+ };
1866
+ description: {
1867
+ en: string;
1868
+ ru?: string | undefined;
1869
+ zh?: string | undefined;
1870
+ fa?: string | undefined;
1871
+ fr?: string | undefined;
1872
+ };
1873
+ svgIcon: string;
1874
+ svgIconColor: string;
1875
+ buttons: {
1876
+ type: "external" | "subscriptionLink";
1877
+ link: string;
1878
+ text: {
1879
+ en: string;
1880
+ ru?: string | undefined;
1881
+ zh?: string | undefined;
1882
+ fa?: string | undefined;
1883
+ fr?: string | undefined;
1884
+ };
1885
+ svgIcon: string;
1886
+ }[];
1887
+ }[];
1888
+ }[];
1889
+ }>>;
1890
+ };
36
1891
  }>;
37
1892
  }, "strip", z.ZodTypeAny, {
38
1893
  response: {
39
1894
  uuid: string;
40
1895
  name: string;
41
1896
  viewPosition: number;
42
- encodedConfig: string | null;
1897
+ config: {
1898
+ version: "1";
1899
+ brandingSettings: {
1900
+ title: string;
1901
+ logoUrl: string;
1902
+ supportUrl: string;
1903
+ };
1904
+ additionalLocales: ("ru" | "zh" | "fa" | "fr")[];
1905
+ uiConfig: {
1906
+ subscriptionInfo: {
1907
+ block: "collapsed" | "expanded";
1908
+ };
1909
+ installationGuides: {
1910
+ headerText: {
1911
+ en: string;
1912
+ ru?: string | undefined;
1913
+ zh?: string | undefined;
1914
+ fa?: string | undefined;
1915
+ fr?: string | undefined;
1916
+ };
1917
+ };
1918
+ connectionKeys: {
1919
+ headerText: {
1920
+ en: string;
1921
+ ru?: string | undefined;
1922
+ zh?: string | undefined;
1923
+ fa?: string | undefined;
1924
+ fr?: string | undefined;
1925
+ };
1926
+ };
1927
+ };
1928
+ platforms: Partial<Record<"ios" | "android" | "linux" | "macos" | "windows" | "androidTV" | "appleTV", {
1929
+ svgIcon: string;
1930
+ displayName: {
1931
+ en: string;
1932
+ ru?: string | undefined;
1933
+ zh?: string | undefined;
1934
+ fa?: string | undefined;
1935
+ fr?: string | undefined;
1936
+ };
1937
+ apps: {
1938
+ name: string;
1939
+ featured: boolean;
1940
+ blocks: {
1941
+ title: {
1942
+ en: string;
1943
+ ru?: string | undefined;
1944
+ zh?: string | undefined;
1945
+ fa?: string | undefined;
1946
+ fr?: string | undefined;
1947
+ };
1948
+ description: {
1949
+ en: string;
1950
+ ru?: string | undefined;
1951
+ zh?: string | undefined;
1952
+ fa?: string | undefined;
1953
+ fr?: string | undefined;
1954
+ };
1955
+ svgIcon: string;
1956
+ svgIconColor: string;
1957
+ buttons: {
1958
+ type: "external" | "subscriptionLink";
1959
+ link: string;
1960
+ text: {
1961
+ en: string;
1962
+ ru?: string | undefined;
1963
+ zh?: string | undefined;
1964
+ fa?: string | undefined;
1965
+ fr?: string | undefined;
1966
+ };
1967
+ svgIcon: string;
1968
+ }[];
1969
+ }[];
1970
+ }[];
1971
+ }>>;
1972
+ };
43
1973
  };
44
1974
  }, {
45
1975
  response: {
46
1976
  uuid: string;
47
1977
  name: string;
48
1978
  viewPosition: number;
49
- encodedConfig: string | null;
1979
+ config: {
1980
+ version: "1";
1981
+ brandingSettings: {
1982
+ title: string;
1983
+ logoUrl: string;
1984
+ supportUrl: string;
1985
+ };
1986
+ additionalLocales: ("ru" | "zh" | "fa" | "fr")[];
1987
+ uiConfig: {
1988
+ subscriptionInfo: {
1989
+ block: "collapsed" | "expanded";
1990
+ };
1991
+ installationGuides: {
1992
+ headerText: {
1993
+ en: string;
1994
+ ru?: string | undefined;
1995
+ zh?: string | undefined;
1996
+ fa?: string | undefined;
1997
+ fr?: string | undefined;
1998
+ };
1999
+ };
2000
+ connectionKeys: {
2001
+ headerText: {
2002
+ en: string;
2003
+ ru?: string | undefined;
2004
+ zh?: string | undefined;
2005
+ fa?: string | undefined;
2006
+ fr?: string | undefined;
2007
+ };
2008
+ };
2009
+ };
2010
+ platforms: Partial<Record<"ios" | "android" | "linux" | "macos" | "windows" | "androidTV" | "appleTV", {
2011
+ svgIcon: string;
2012
+ displayName: {
2013
+ en: string;
2014
+ ru?: string | undefined;
2015
+ zh?: string | undefined;
2016
+ fa?: string | undefined;
2017
+ fr?: string | undefined;
2018
+ };
2019
+ apps: {
2020
+ name: string;
2021
+ featured: boolean;
2022
+ blocks: {
2023
+ title: {
2024
+ en: string;
2025
+ ru?: string | undefined;
2026
+ zh?: string | undefined;
2027
+ fa?: string | undefined;
2028
+ fr?: string | undefined;
2029
+ };
2030
+ description: {
2031
+ en: string;
2032
+ ru?: string | undefined;
2033
+ zh?: string | undefined;
2034
+ fa?: string | undefined;
2035
+ fr?: string | undefined;
2036
+ };
2037
+ svgIcon: string;
2038
+ svgIconColor: string;
2039
+ buttons: {
2040
+ type: "external" | "subscriptionLink";
2041
+ link: string;
2042
+ text: {
2043
+ en: string;
2044
+ ru?: string | undefined;
2045
+ zh?: string | undefined;
2046
+ fa?: string | undefined;
2047
+ fr?: string | undefined;
2048
+ };
2049
+ svgIcon: string;
2050
+ }[];
2051
+ }[];
2052
+ }[];
2053
+ }>>;
2054
+ };
50
2055
  };
51
2056
  }>;
52
2057
  type Response = z.infer<typeof ResponseSchema>;