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