@remnawave/subscription-page-types 0.1.3 → 0.1.5

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 (21) hide show
  1. package/build/backend/constants/index.d.ts +1 -0
  2. package/build/backend/constants/index.d.ts.map +1 -1
  3. package/build/backend/constants/index.js +1 -0
  4. package/build/backend/constants/language-codes.constant.d.ts +770 -0
  5. package/build/backend/constants/language-codes.constant.d.ts.map +1 -0
  6. package/build/backend/constants/language-codes.constant.js +242 -0
  7. package/build/backend/constants/subscription-page-config/subscription-page-config.contants.d.ts +2 -2
  8. package/build/backend/constants/subscription-page-config/subscription-page-config.contants.d.ts.map +1 -1
  9. package/build/backend/constants/subscription-page-config/subscription-page-config.contants.js +3 -2
  10. package/build/backend/models/subscription-page-config/subscription-page-config.schema.d.ts +346 -1166
  11. package/build/backend/models/subscription-page-config/subscription-page-config.schema.d.ts.map +1 -1
  12. package/build/backend/models/subscription-page-config/subscription-page-config.schema.js +29 -8
  13. package/build/backend/models/subscription-page-config/subscription-page-config.validator.d.ts +22 -3
  14. package/build/backend/models/subscription-page-config/subscription-page-config.validator.d.ts.map +1 -1
  15. package/build/backend/models/subscription-page-config/subscription-page-config.validator.js +80 -26
  16. package/build/frontend/constants/index.js +1 -0
  17. package/build/frontend/constants/language-codes.constant.js +239 -0
  18. package/build/frontend/constants/subscription-page-config/subscription-page-config.contants.js +3 -2
  19. package/build/frontend/models/subscription-page-config/subscription-page-config.schema.js +29 -8
  20. package/build/frontend/models/subscription-page-config/subscription-page-config.validator.js +80 -26
  21. package/package.json +1 -1
@@ -1,23 +1,6 @@
1
1
  import { z } from 'zod';
2
- export declare const LocalizedTextSchema: z.ZodObject<{
3
- en: z.ZodString;
4
- ru: z.ZodOptional<z.ZodString>;
5
- zh: z.ZodOptional<z.ZodString>;
6
- fa: z.ZodOptional<z.ZodString>;
7
- fr: z.ZodOptional<z.ZodString>;
8
- }, "strip", z.ZodTypeAny, {
9
- en: string;
10
- ru?: string | undefined;
11
- zh?: string | undefined;
12
- fa?: string | undefined;
13
- fr?: string | undefined;
14
- }, {
15
- en: string;
16
- ru?: string | undefined;
17
- zh?: string | undefined;
18
- fa?: string | undefined;
19
- fr?: string | undefined;
20
- }>;
2
+ import { TLanguageCode } from '../../constants';
3
+ export declare const LocalizedTextSchema: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
21
4
  declare const SvgLibrarySchema: z.ZodRecord<z.ZodString, z.ZodString>;
22
5
  declare const ButtonSchema: z.ZodObject<{
23
6
  link: z.ZodString;
@@ -25,196 +8,64 @@ declare const ButtonSchema: z.ZodObject<{
25
8
  readonly EXTERNAL: "external";
26
9
  readonly SUBSCRIPTION_LINK: "subscriptionLink";
27
10
  }>;
28
- text: z.ZodObject<{
29
- en: z.ZodString;
30
- ru: z.ZodOptional<z.ZodString>;
31
- zh: z.ZodOptional<z.ZodString>;
32
- fa: z.ZodOptional<z.ZodString>;
33
- fr: z.ZodOptional<z.ZodString>;
34
- }, "strip", z.ZodTypeAny, {
35
- en: string;
36
- ru?: string | undefined;
37
- zh?: string | undefined;
38
- fa?: string | undefined;
39
- fr?: string | undefined;
40
- }, {
41
- en: string;
42
- ru?: string | undefined;
43
- zh?: string | undefined;
44
- fa?: string | undefined;
45
- fr?: string | undefined;
46
- }>;
11
+ text: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
47
12
  svgIconKey: z.ZodString;
48
13
  }, "strip", z.ZodTypeAny, {
49
14
  type: "external" | "subscriptionLink";
50
15
  svgIconKey: string;
51
16
  link: string;
52
- text: {
53
- en: string;
54
- ru?: string | undefined;
55
- zh?: string | undefined;
56
- fa?: string | undefined;
57
- fr?: string | undefined;
58
- };
17
+ text: Record<string, string>;
59
18
  }, {
60
19
  type: "external" | "subscriptionLink";
61
20
  svgIconKey: string;
62
21
  link: string;
63
- text: {
64
- en: string;
65
- ru?: string | undefined;
66
- zh?: string | undefined;
67
- fa?: string | undefined;
68
- fr?: string | undefined;
69
- };
22
+ text: Record<string, string>;
70
23
  }>;
71
24
  declare const BlockSchema: z.ZodObject<{
72
25
  svgIconKey: z.ZodString;
73
26
  svgIconColor: z.ZodEffects<z.ZodString, string, string>;
74
- title: z.ZodObject<{
75
- en: z.ZodString;
76
- ru: z.ZodOptional<z.ZodString>;
77
- zh: z.ZodOptional<z.ZodString>;
78
- fa: z.ZodOptional<z.ZodString>;
79
- fr: z.ZodOptional<z.ZodString>;
80
- }, "strip", z.ZodTypeAny, {
81
- en: string;
82
- ru?: string | undefined;
83
- zh?: string | undefined;
84
- fa?: string | undefined;
85
- fr?: string | undefined;
86
- }, {
87
- en: string;
88
- ru?: string | undefined;
89
- zh?: string | undefined;
90
- fa?: string | undefined;
91
- fr?: string | undefined;
92
- }>;
93
- description: z.ZodObject<{
94
- en: z.ZodString;
95
- ru: z.ZodOptional<z.ZodString>;
96
- zh: z.ZodOptional<z.ZodString>;
97
- fa: z.ZodOptional<z.ZodString>;
98
- fr: z.ZodOptional<z.ZodString>;
99
- }, "strip", z.ZodTypeAny, {
100
- en: string;
101
- ru?: string | undefined;
102
- zh?: string | undefined;
103
- fa?: string | undefined;
104
- fr?: string | undefined;
105
- }, {
106
- en: string;
107
- ru?: string | undefined;
108
- zh?: string | undefined;
109
- fa?: string | undefined;
110
- fr?: string | undefined;
111
- }>;
27
+ title: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
28
+ description: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
112
29
  buttons: z.ZodArray<z.ZodObject<{
113
30
  link: z.ZodString;
114
31
  type: z.ZodNativeEnum<{
115
32
  readonly EXTERNAL: "external";
116
33
  readonly SUBSCRIPTION_LINK: "subscriptionLink";
117
34
  }>;
118
- text: z.ZodObject<{
119
- en: z.ZodString;
120
- ru: z.ZodOptional<z.ZodString>;
121
- zh: z.ZodOptional<z.ZodString>;
122
- fa: z.ZodOptional<z.ZodString>;
123
- fr: z.ZodOptional<z.ZodString>;
124
- }, "strip", z.ZodTypeAny, {
125
- en: string;
126
- ru?: string | undefined;
127
- zh?: string | undefined;
128
- fa?: string | undefined;
129
- fr?: string | undefined;
130
- }, {
131
- en: string;
132
- ru?: string | undefined;
133
- zh?: string | undefined;
134
- fa?: string | undefined;
135
- fr?: string | undefined;
136
- }>;
35
+ text: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
137
36
  svgIconKey: z.ZodString;
138
37
  }, "strip", z.ZodTypeAny, {
139
38
  type: "external" | "subscriptionLink";
140
39
  svgIconKey: string;
141
40
  link: string;
142
- text: {
143
- en: string;
144
- ru?: string | undefined;
145
- zh?: string | undefined;
146
- fa?: string | undefined;
147
- fr?: string | undefined;
148
- };
41
+ text: Record<string, string>;
149
42
  }, {
150
43
  type: "external" | "subscriptionLink";
151
44
  svgIconKey: string;
152
45
  link: string;
153
- text: {
154
- en: string;
155
- ru?: string | undefined;
156
- zh?: string | undefined;
157
- fa?: string | undefined;
158
- fr?: string | undefined;
159
- };
46
+ text: Record<string, string>;
160
47
  }>, "many">;
161
48
  }, "strip", z.ZodTypeAny, {
162
49
  svgIconKey: string;
163
50
  svgIconColor: string;
164
- title: {
165
- en: string;
166
- ru?: string | undefined;
167
- zh?: string | undefined;
168
- fa?: string | undefined;
169
- fr?: string | undefined;
170
- };
171
- description: {
172
- en: string;
173
- ru?: string | undefined;
174
- zh?: string | undefined;
175
- fa?: string | undefined;
176
- fr?: string | undefined;
177
- };
51
+ title: Record<string, string>;
52
+ description: Record<string, string>;
178
53
  buttons: {
179
54
  type: "external" | "subscriptionLink";
180
55
  svgIconKey: string;
181
56
  link: string;
182
- text: {
183
- en: string;
184
- ru?: string | undefined;
185
- zh?: string | undefined;
186
- fa?: string | undefined;
187
- fr?: string | undefined;
188
- };
57
+ text: Record<string, string>;
189
58
  }[];
190
59
  }, {
191
60
  svgIconKey: string;
192
61
  svgIconColor: string;
193
- title: {
194
- en: string;
195
- ru?: string | undefined;
196
- zh?: string | undefined;
197
- fa?: string | undefined;
198
- fr?: string | undefined;
199
- };
200
- description: {
201
- en: string;
202
- ru?: string | undefined;
203
- zh?: string | undefined;
204
- fa?: string | undefined;
205
- fr?: string | undefined;
206
- };
62
+ title: Record<string, string>;
63
+ description: Record<string, string>;
207
64
  buttons: {
208
65
  type: "external" | "subscriptionLink";
209
66
  svgIconKey: string;
210
67
  link: string;
211
- text: {
212
- en: string;
213
- ru?: string | undefined;
214
- zh?: string | undefined;
215
- fa?: string | undefined;
216
- fr?: string | undefined;
217
- };
68
+ text: Record<string, string>;
218
69
  }[];
219
70
  }>;
220
71
  declare const PlatformAppSchema: z.ZodObject<{
@@ -224,150 +75,48 @@ declare const PlatformAppSchema: z.ZodObject<{
224
75
  blocks: z.ZodArray<z.ZodObject<{
225
76
  svgIconKey: z.ZodString;
226
77
  svgIconColor: z.ZodEffects<z.ZodString, string, string>;
227
- title: z.ZodObject<{
228
- en: z.ZodString;
229
- ru: z.ZodOptional<z.ZodString>;
230
- zh: z.ZodOptional<z.ZodString>;
231
- fa: z.ZodOptional<z.ZodString>;
232
- fr: z.ZodOptional<z.ZodString>;
233
- }, "strip", z.ZodTypeAny, {
234
- en: string;
235
- ru?: string | undefined;
236
- zh?: string | undefined;
237
- fa?: string | undefined;
238
- fr?: string | undefined;
239
- }, {
240
- en: string;
241
- ru?: string | undefined;
242
- zh?: string | undefined;
243
- fa?: string | undefined;
244
- fr?: string | undefined;
245
- }>;
246
- description: z.ZodObject<{
247
- en: z.ZodString;
248
- ru: z.ZodOptional<z.ZodString>;
249
- zh: z.ZodOptional<z.ZodString>;
250
- fa: z.ZodOptional<z.ZodString>;
251
- fr: z.ZodOptional<z.ZodString>;
252
- }, "strip", z.ZodTypeAny, {
253
- en: string;
254
- ru?: string | undefined;
255
- zh?: string | undefined;
256
- fa?: string | undefined;
257
- fr?: string | undefined;
258
- }, {
259
- en: string;
260
- ru?: string | undefined;
261
- zh?: string | undefined;
262
- fa?: string | undefined;
263
- fr?: string | undefined;
264
- }>;
78
+ title: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
79
+ description: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
265
80
  buttons: z.ZodArray<z.ZodObject<{
266
81
  link: z.ZodString;
267
82
  type: z.ZodNativeEnum<{
268
83
  readonly EXTERNAL: "external";
269
84
  readonly SUBSCRIPTION_LINK: "subscriptionLink";
270
85
  }>;
271
- text: z.ZodObject<{
272
- en: z.ZodString;
273
- ru: z.ZodOptional<z.ZodString>;
274
- zh: z.ZodOptional<z.ZodString>;
275
- fa: z.ZodOptional<z.ZodString>;
276
- fr: z.ZodOptional<z.ZodString>;
277
- }, "strip", z.ZodTypeAny, {
278
- en: string;
279
- ru?: string | undefined;
280
- zh?: string | undefined;
281
- fa?: string | undefined;
282
- fr?: string | undefined;
283
- }, {
284
- en: string;
285
- ru?: string | undefined;
286
- zh?: string | undefined;
287
- fa?: string | undefined;
288
- fr?: string | undefined;
289
- }>;
86
+ text: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
290
87
  svgIconKey: z.ZodString;
291
88
  }, "strip", z.ZodTypeAny, {
292
89
  type: "external" | "subscriptionLink";
293
90
  svgIconKey: string;
294
91
  link: string;
295
- text: {
296
- en: string;
297
- ru?: string | undefined;
298
- zh?: string | undefined;
299
- fa?: string | undefined;
300
- fr?: string | undefined;
301
- };
92
+ text: Record<string, string>;
302
93
  }, {
303
94
  type: "external" | "subscriptionLink";
304
95
  svgIconKey: string;
305
96
  link: string;
306
- text: {
307
- en: string;
308
- ru?: string | undefined;
309
- zh?: string | undefined;
310
- fa?: string | undefined;
311
- fr?: string | undefined;
312
- };
97
+ text: Record<string, string>;
313
98
  }>, "many">;
314
99
  }, "strip", z.ZodTypeAny, {
315
100
  svgIconKey: string;
316
101
  svgIconColor: string;
317
- title: {
318
- en: string;
319
- ru?: string | undefined;
320
- zh?: string | undefined;
321
- fa?: string | undefined;
322
- fr?: string | undefined;
323
- };
324
- description: {
325
- en: string;
326
- ru?: string | undefined;
327
- zh?: string | undefined;
328
- fa?: string | undefined;
329
- fr?: string | undefined;
330
- };
102
+ title: Record<string, string>;
103
+ description: Record<string, string>;
331
104
  buttons: {
332
105
  type: "external" | "subscriptionLink";
333
106
  svgIconKey: string;
334
107
  link: string;
335
- text: {
336
- en: string;
337
- ru?: string | undefined;
338
- zh?: string | undefined;
339
- fa?: string | undefined;
340
- fr?: string | undefined;
341
- };
108
+ text: Record<string, string>;
342
109
  }[];
343
110
  }, {
344
111
  svgIconKey: string;
345
112
  svgIconColor: string;
346
- title: {
347
- en: string;
348
- ru?: string | undefined;
349
- zh?: string | undefined;
350
- fa?: string | undefined;
351
- fr?: string | undefined;
352
- };
353
- description: {
354
- en: string;
355
- ru?: string | undefined;
356
- zh?: string | undefined;
357
- fa?: string | undefined;
358
- fr?: string | undefined;
359
- };
113
+ title: Record<string, string>;
114
+ description: Record<string, string>;
360
115
  buttons: {
361
116
  type: "external" | "subscriptionLink";
362
117
  svgIconKey: string;
363
118
  link: string;
364
- text: {
365
- en: string;
366
- ru?: string | undefined;
367
- zh?: string | undefined;
368
- fa?: string | undefined;
369
- fr?: string | undefined;
370
- };
119
+ text: Record<string, string>;
371
120
  }[];
372
121
  }>, "many">;
373
122
  }, "strip", z.ZodTypeAny, {
@@ -376,31 +125,13 @@ declare const PlatformAppSchema: z.ZodObject<{
376
125
  blocks: {
377
126
  svgIconKey: string;
378
127
  svgIconColor: string;
379
- title: {
380
- en: string;
381
- ru?: string | undefined;
382
- zh?: string | undefined;
383
- fa?: string | undefined;
384
- fr?: string | undefined;
385
- };
386
- description: {
387
- en: string;
388
- ru?: string | undefined;
389
- zh?: string | undefined;
390
- fa?: string | undefined;
391
- fr?: string | undefined;
392
- };
128
+ title: Record<string, string>;
129
+ description: Record<string, string>;
393
130
  buttons: {
394
131
  type: "external" | "subscriptionLink";
395
132
  svgIconKey: string;
396
133
  link: string;
397
- text: {
398
- en: string;
399
- ru?: string | undefined;
400
- zh?: string | undefined;
401
- fa?: string | undefined;
402
- fr?: string | undefined;
403
- };
134
+ text: Record<string, string>;
404
135
  }[];
405
136
  }[];
406
137
  svgIconKey?: string | undefined;
@@ -410,55 +141,19 @@ declare const PlatformAppSchema: z.ZodObject<{
410
141
  blocks: {
411
142
  svgIconKey: string;
412
143
  svgIconColor: string;
413
- title: {
414
- en: string;
415
- ru?: string | undefined;
416
- zh?: string | undefined;
417
- fa?: string | undefined;
418
- fr?: string | undefined;
419
- };
420
- description: {
421
- en: string;
422
- ru?: string | undefined;
423
- zh?: string | undefined;
424
- fa?: string | undefined;
425
- fr?: string | undefined;
426
- };
144
+ title: Record<string, string>;
145
+ description: Record<string, string>;
427
146
  buttons: {
428
147
  type: "external" | "subscriptionLink";
429
148
  svgIconKey: string;
430
149
  link: string;
431
- text: {
432
- en: string;
433
- ru?: string | undefined;
434
- zh?: string | undefined;
435
- fa?: string | undefined;
436
- fr?: string | undefined;
437
- };
150
+ text: Record<string, string>;
438
151
  }[];
439
152
  }[];
440
153
  svgIconKey?: string | undefined;
441
154
  }>;
442
155
  declare const PlatformSchema: z.ZodObject<{
443
- displayName: z.ZodObject<{
444
- en: z.ZodString;
445
- ru: z.ZodOptional<z.ZodString>;
446
- zh: z.ZodOptional<z.ZodString>;
447
- fa: z.ZodOptional<z.ZodString>;
448
- fr: z.ZodOptional<z.ZodString>;
449
- }, "strip", z.ZodTypeAny, {
450
- en: string;
451
- ru?: string | undefined;
452
- zh?: string | undefined;
453
- fa?: string | undefined;
454
- fr?: string | undefined;
455
- }, {
456
- en: string;
457
- ru?: string | undefined;
458
- zh?: string | undefined;
459
- fa?: string | undefined;
460
- fr?: string | undefined;
461
- }>;
156
+ displayName: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
462
157
  svgIconKey: z.ZodString;
463
158
  apps: z.ZodArray<z.ZodObject<{
464
159
  name: z.ZodString;
@@ -467,150 +162,48 @@ declare const PlatformSchema: z.ZodObject<{
467
162
  blocks: z.ZodArray<z.ZodObject<{
468
163
  svgIconKey: z.ZodString;
469
164
  svgIconColor: z.ZodEffects<z.ZodString, string, string>;
470
- title: z.ZodObject<{
471
- en: z.ZodString;
472
- ru: z.ZodOptional<z.ZodString>;
473
- zh: z.ZodOptional<z.ZodString>;
474
- fa: z.ZodOptional<z.ZodString>;
475
- fr: z.ZodOptional<z.ZodString>;
476
- }, "strip", z.ZodTypeAny, {
477
- en: string;
478
- ru?: string | undefined;
479
- zh?: string | undefined;
480
- fa?: string | undefined;
481
- fr?: string | undefined;
482
- }, {
483
- en: string;
484
- ru?: string | undefined;
485
- zh?: string | undefined;
486
- fa?: string | undefined;
487
- fr?: string | undefined;
488
- }>;
489
- description: z.ZodObject<{
490
- en: z.ZodString;
491
- ru: z.ZodOptional<z.ZodString>;
492
- zh: z.ZodOptional<z.ZodString>;
493
- fa: z.ZodOptional<z.ZodString>;
494
- fr: z.ZodOptional<z.ZodString>;
495
- }, "strip", z.ZodTypeAny, {
496
- en: string;
497
- ru?: string | undefined;
498
- zh?: string | undefined;
499
- fa?: string | undefined;
500
- fr?: string | undefined;
501
- }, {
502
- en: string;
503
- ru?: string | undefined;
504
- zh?: string | undefined;
505
- fa?: string | undefined;
506
- fr?: string | undefined;
507
- }>;
165
+ title: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
166
+ description: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
508
167
  buttons: z.ZodArray<z.ZodObject<{
509
168
  link: z.ZodString;
510
169
  type: z.ZodNativeEnum<{
511
170
  readonly EXTERNAL: "external";
512
171
  readonly SUBSCRIPTION_LINK: "subscriptionLink";
513
172
  }>;
514
- text: z.ZodObject<{
515
- en: z.ZodString;
516
- ru: z.ZodOptional<z.ZodString>;
517
- zh: z.ZodOptional<z.ZodString>;
518
- fa: z.ZodOptional<z.ZodString>;
519
- fr: z.ZodOptional<z.ZodString>;
520
- }, "strip", z.ZodTypeAny, {
521
- en: string;
522
- ru?: string | undefined;
523
- zh?: string | undefined;
524
- fa?: string | undefined;
525
- fr?: string | undefined;
526
- }, {
527
- en: string;
528
- ru?: string | undefined;
529
- zh?: string | undefined;
530
- fa?: string | undefined;
531
- fr?: string | undefined;
532
- }>;
173
+ text: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
533
174
  svgIconKey: z.ZodString;
534
175
  }, "strip", z.ZodTypeAny, {
535
176
  type: "external" | "subscriptionLink";
536
177
  svgIconKey: string;
537
178
  link: string;
538
- text: {
539
- en: string;
540
- ru?: string | undefined;
541
- zh?: string | undefined;
542
- fa?: string | undefined;
543
- fr?: string | undefined;
544
- };
179
+ text: Record<string, string>;
545
180
  }, {
546
181
  type: "external" | "subscriptionLink";
547
182
  svgIconKey: string;
548
183
  link: string;
549
- text: {
550
- en: string;
551
- ru?: string | undefined;
552
- zh?: string | undefined;
553
- fa?: string | undefined;
554
- fr?: string | undefined;
555
- };
184
+ text: Record<string, string>;
556
185
  }>, "many">;
557
186
  }, "strip", z.ZodTypeAny, {
558
187
  svgIconKey: string;
559
188
  svgIconColor: string;
560
- title: {
561
- en: string;
562
- ru?: string | undefined;
563
- zh?: string | undefined;
564
- fa?: string | undefined;
565
- fr?: string | undefined;
566
- };
567
- description: {
568
- en: string;
569
- ru?: string | undefined;
570
- zh?: string | undefined;
571
- fa?: string | undefined;
572
- fr?: string | undefined;
573
- };
189
+ title: Record<string, string>;
190
+ description: Record<string, string>;
574
191
  buttons: {
575
192
  type: "external" | "subscriptionLink";
576
193
  svgIconKey: string;
577
194
  link: string;
578
- text: {
579
- en: string;
580
- ru?: string | undefined;
581
- zh?: string | undefined;
582
- fa?: string | undefined;
583
- fr?: string | undefined;
584
- };
195
+ text: Record<string, string>;
585
196
  }[];
586
197
  }, {
587
198
  svgIconKey: string;
588
199
  svgIconColor: string;
589
- title: {
590
- en: string;
591
- ru?: string | undefined;
592
- zh?: string | undefined;
593
- fa?: string | undefined;
594
- fr?: string | undefined;
595
- };
596
- description: {
597
- en: string;
598
- ru?: string | undefined;
599
- zh?: string | undefined;
600
- fa?: string | undefined;
601
- fr?: string | undefined;
602
- };
200
+ title: Record<string, string>;
201
+ description: Record<string, string>;
603
202
  buttons: {
604
203
  type: "external" | "subscriptionLink";
605
204
  svgIconKey: string;
606
205
  link: string;
607
- text: {
608
- en: string;
609
- ru?: string | undefined;
610
- zh?: string | undefined;
611
- fa?: string | undefined;
612
- fr?: string | undefined;
613
- };
206
+ text: Record<string, string>;
614
207
  }[];
615
208
  }>, "many">;
616
209
  }, "strip", z.ZodTypeAny, {
@@ -619,31 +212,13 @@ declare const PlatformSchema: z.ZodObject<{
619
212
  blocks: {
620
213
  svgIconKey: string;
621
214
  svgIconColor: string;
622
- title: {
623
- en: string;
624
- ru?: string | undefined;
625
- zh?: string | undefined;
626
- fa?: string | undefined;
627
- fr?: string | undefined;
628
- };
629
- description: {
630
- en: string;
631
- ru?: string | undefined;
632
- zh?: string | undefined;
633
- fa?: string | undefined;
634
- fr?: string | undefined;
635
- };
215
+ title: Record<string, string>;
216
+ description: Record<string, string>;
636
217
  buttons: {
637
218
  type: "external" | "subscriptionLink";
638
219
  svgIconKey: string;
639
220
  link: string;
640
- text: {
641
- en: string;
642
- ru?: string | undefined;
643
- zh?: string | undefined;
644
- fa?: string | undefined;
645
- fr?: string | undefined;
646
- };
221
+ text: Record<string, string>;
647
222
  }[];
648
223
  }[];
649
224
  svgIconKey?: string | undefined;
@@ -653,119 +228,53 @@ declare const PlatformSchema: z.ZodObject<{
653
228
  blocks: {
654
229
  svgIconKey: string;
655
230
  svgIconColor: string;
656
- title: {
657
- en: string;
658
- ru?: string | undefined;
659
- zh?: string | undefined;
660
- fa?: string | undefined;
661
- fr?: string | undefined;
662
- };
663
- description: {
664
- en: string;
665
- ru?: string | undefined;
666
- zh?: string | undefined;
667
- fa?: string | undefined;
668
- fr?: string | undefined;
669
- };
231
+ title: Record<string, string>;
232
+ description: Record<string, string>;
670
233
  buttons: {
671
234
  type: "external" | "subscriptionLink";
672
235
  svgIconKey: string;
673
236
  link: string;
674
- text: {
675
- en: string;
676
- ru?: string | undefined;
677
- zh?: string | undefined;
678
- fa?: string | undefined;
679
- fr?: string | undefined;
680
- };
237
+ text: Record<string, string>;
681
238
  }[];
682
239
  }[];
683
240
  svgIconKey?: string | undefined;
684
241
  }>, "many">;
685
242
  }, "strip", z.ZodTypeAny, {
686
243
  svgIconKey: string;
687
- displayName: {
688
- en: string;
689
- ru?: string | undefined;
690
- zh?: string | undefined;
691
- fa?: string | undefined;
692
- fr?: string | undefined;
693
- };
244
+ displayName: Record<string, string>;
694
245
  apps: {
695
246
  name: string;
696
247
  featured: boolean;
697
248
  blocks: {
698
249
  svgIconKey: string;
699
250
  svgIconColor: string;
700
- title: {
701
- en: string;
702
- ru?: string | undefined;
703
- zh?: string | undefined;
704
- fa?: string | undefined;
705
- fr?: string | undefined;
706
- };
707
- description: {
708
- en: string;
709
- ru?: string | undefined;
710
- zh?: string | undefined;
711
- fa?: string | undefined;
712
- fr?: string | undefined;
713
- };
251
+ title: Record<string, string>;
252
+ description: Record<string, string>;
714
253
  buttons: {
715
254
  type: "external" | "subscriptionLink";
716
255
  svgIconKey: string;
717
256
  link: string;
718
- text: {
719
- en: string;
720
- ru?: string | undefined;
721
- zh?: string | undefined;
722
- fa?: string | undefined;
723
- fr?: string | undefined;
724
- };
257
+ text: Record<string, string>;
725
258
  }[];
726
259
  }[];
727
260
  svgIconKey?: string | undefined;
728
261
  }[];
729
262
  }, {
730
263
  svgIconKey: string;
731
- displayName: {
732
- en: string;
733
- ru?: string | undefined;
734
- zh?: string | undefined;
735
- fa?: string | undefined;
736
- fr?: string | undefined;
737
- };
264
+ displayName: Record<string, string>;
738
265
  apps: {
739
266
  name: string;
740
267
  featured: boolean;
741
268
  blocks: {
742
269
  svgIconKey: string;
743
270
  svgIconColor: string;
744
- title: {
745
- en: string;
746
- ru?: string | undefined;
747
- zh?: string | undefined;
748
- fa?: string | undefined;
749
- fr?: string | undefined;
750
- };
751
- description: {
752
- en: string;
753
- ru?: string | undefined;
754
- zh?: string | undefined;
755
- fa?: string | undefined;
756
- fr?: string | undefined;
757
- };
271
+ title: Record<string, string>;
272
+ description: Record<string, string>;
758
273
  buttons: {
759
274
  type: "external" | "subscriptionLink";
760
275
  svgIconKey: string;
761
276
  link: string;
762
- text: {
763
- en: string;
764
- ru?: string | undefined;
765
- zh?: string | undefined;
766
- fa?: string | undefined;
767
- fr?: string | undefined;
768
- };
277
+ text: Record<string, string>;
769
278
  }[];
770
279
  }[];
771
280
  svgIconKey?: string | undefined;
@@ -804,80 +313,20 @@ declare const UiConfigSchema: z.ZodObject<{
804
313
  readonly MINIMAL: "minimal";
805
314
  readonly TIMELINE: "timeline";
806
315
  }>>;
807
- headerText: z.ZodObject<{
808
- en: z.ZodString;
809
- ru: z.ZodOptional<z.ZodString>;
810
- zh: z.ZodOptional<z.ZodString>;
811
- fa: z.ZodOptional<z.ZodString>;
812
- fr: z.ZodOptional<z.ZodString>;
813
- }, "strip", z.ZodTypeAny, {
814
- en: string;
815
- ru?: string | undefined;
816
- zh?: string | undefined;
817
- fa?: string | undefined;
818
- fr?: string | undefined;
819
- }, {
820
- en: string;
821
- ru?: string | undefined;
822
- zh?: string | undefined;
823
- fa?: string | undefined;
824
- fr?: string | undefined;
825
- }>;
316
+ headerText: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
826
317
  }, "strip", z.ZodTypeAny, {
827
318
  block: "cards" | "accordion" | "minimal" | "timeline";
828
- headerText: {
829
- en: string;
830
- ru?: string | undefined;
831
- zh?: string | undefined;
832
- fa?: string | undefined;
833
- fr?: string | undefined;
834
- };
319
+ headerText: Record<string, string>;
835
320
  }, {
836
- headerText: {
837
- en: string;
838
- ru?: string | undefined;
839
- zh?: string | undefined;
840
- fa?: string | undefined;
841
- fr?: string | undefined;
842
- };
321
+ headerText: Record<string, string>;
843
322
  block?: "cards" | "accordion" | "minimal" | "timeline" | undefined;
844
323
  }>;
845
324
  connectionKeys: z.ZodObject<{
846
- headerText: z.ZodObject<{
847
- en: z.ZodString;
848
- ru: z.ZodOptional<z.ZodString>;
849
- zh: z.ZodOptional<z.ZodString>;
850
- fa: z.ZodOptional<z.ZodString>;
851
- fr: z.ZodOptional<z.ZodString>;
852
- }, "strip", z.ZodTypeAny, {
853
- en: string;
854
- ru?: string | undefined;
855
- zh?: string | undefined;
856
- fa?: string | undefined;
857
- fr?: string | undefined;
858
- }, {
859
- en: string;
860
- ru?: string | undefined;
861
- zh?: string | undefined;
862
- fa?: string | undefined;
863
- fr?: string | undefined;
864
- }>;
325
+ headerText: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
865
326
  }, "strip", z.ZodTypeAny, {
866
- headerText: {
867
- en: string;
868
- ru?: string | undefined;
869
- zh?: string | undefined;
870
- fa?: string | undefined;
871
- fr?: string | undefined;
872
- };
327
+ headerText: Record<string, string>;
873
328
  }, {
874
- headerText: {
875
- en: string;
876
- ru?: string | undefined;
877
- zh?: string | undefined;
878
- fa?: string | undefined;
879
- fr?: string | undefined;
880
- };
329
+ headerText: Record<string, string>;
881
330
  }>;
882
331
  }, "strip", z.ZodTypeAny, {
883
332
  subscriptionInfo: {
@@ -885,52 +334,83 @@ declare const UiConfigSchema: z.ZodObject<{
885
334
  };
886
335
  installationGuides: {
887
336
  block: "cards" | "accordion" | "minimal" | "timeline";
888
- headerText: {
889
- en: string;
890
- ru?: string | undefined;
891
- zh?: string | undefined;
892
- fa?: string | undefined;
893
- fr?: string | undefined;
894
- };
337
+ headerText: Record<string, string>;
895
338
  };
896
339
  connectionKeys: {
897
- headerText: {
898
- en: string;
899
- ru?: string | undefined;
900
- zh?: string | undefined;
901
- fa?: string | undefined;
902
- fr?: string | undefined;
903
- };
340
+ headerText: Record<string, string>;
904
341
  };
905
342
  }, {
906
343
  subscriptionInfo: {
907
344
  block: "cards" | "collapsed" | "expanded" | "hidden";
908
345
  };
909
346
  installationGuides: {
910
- headerText: {
911
- en: string;
912
- ru?: string | undefined;
913
- zh?: string | undefined;
914
- fa?: string | undefined;
915
- fr?: string | undefined;
916
- };
347
+ headerText: Record<string, string>;
917
348
  block?: "cards" | "accordion" | "minimal" | "timeline" | undefined;
918
349
  };
919
350
  connectionKeys: {
920
- headerText: {
921
- en: string;
922
- ru?: string | undefined;
923
- zh?: string | undefined;
924
- fa?: string | undefined;
925
- fr?: string | undefined;
926
- };
351
+ headerText: Record<string, string>;
927
352
  };
928
353
  }>;
354
+ declare const SubscriptionPageTranslateKeysSchema: z.ZodObject<{
355
+ linkCopied: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
356
+ linkCopiedToClipboard: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
357
+ getLink: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
358
+ scanQrCode: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
359
+ scanQrCodeDescription: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
360
+ copyLink: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
361
+ name: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
362
+ status: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
363
+ active: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
364
+ inactive: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
365
+ expires: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
366
+ bandwidth: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
367
+ scanToImport: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
368
+ expiresIn: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
369
+ expired: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
370
+ unknown: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
371
+ indefinitely: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
372
+ }, "strip", z.ZodTypeAny, {
373
+ unknown: Record<string, string>;
374
+ status: Record<string, string>;
375
+ name: Record<string, string>;
376
+ linkCopied: Record<string, string>;
377
+ linkCopiedToClipboard: Record<string, string>;
378
+ getLink: Record<string, string>;
379
+ scanQrCode: Record<string, string>;
380
+ scanQrCodeDescription: Record<string, string>;
381
+ copyLink: Record<string, string>;
382
+ active: Record<string, string>;
383
+ inactive: Record<string, string>;
384
+ expires: Record<string, string>;
385
+ bandwidth: Record<string, string>;
386
+ scanToImport: Record<string, string>;
387
+ expiresIn: Record<string, string>;
388
+ expired: Record<string, string>;
389
+ indefinitely: Record<string, string>;
390
+ }, {
391
+ unknown: Record<string, string>;
392
+ status: Record<string, string>;
393
+ name: Record<string, string>;
394
+ linkCopied: Record<string, string>;
395
+ linkCopiedToClipboard: Record<string, string>;
396
+ getLink: Record<string, string>;
397
+ scanQrCode: Record<string, string>;
398
+ scanQrCodeDescription: Record<string, string>;
399
+ copyLink: Record<string, string>;
400
+ active: Record<string, string>;
401
+ inactive: Record<string, string>;
402
+ expires: Record<string, string>;
403
+ bandwidth: Record<string, string>;
404
+ scanToImport: Record<string, string>;
405
+ expiresIn: Record<string, string>;
406
+ expired: Record<string, string>;
407
+ indefinitely: Record<string, string>;
408
+ }>;
929
409
  export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
930
410
  version: z.ZodNativeEnum<{
931
411
  readonly 1: "1";
932
412
  }>;
933
- additionalLocales: z.ZodArray<z.ZodEnum<["ru", "zh", "fa", "fr"]>, "many">;
413
+ locales: z.ZodArray<z.ZodString, "many">;
934
414
  brandingSettings: z.ZodObject<{
935
415
  title: z.ZodString;
936
416
  logoUrl: z.ZodString;
@@ -964,80 +444,20 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
964
444
  readonly MINIMAL: "minimal";
965
445
  readonly TIMELINE: "timeline";
966
446
  }>>;
967
- headerText: z.ZodObject<{
968
- en: z.ZodString;
969
- ru: z.ZodOptional<z.ZodString>;
970
- zh: z.ZodOptional<z.ZodString>;
971
- fa: z.ZodOptional<z.ZodString>;
972
- fr: z.ZodOptional<z.ZodString>;
973
- }, "strip", z.ZodTypeAny, {
974
- en: string;
975
- ru?: string | undefined;
976
- zh?: string | undefined;
977
- fa?: string | undefined;
978
- fr?: string | undefined;
979
- }, {
980
- en: string;
981
- ru?: string | undefined;
982
- zh?: string | undefined;
983
- fa?: string | undefined;
984
- fr?: string | undefined;
985
- }>;
447
+ headerText: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
986
448
  }, "strip", z.ZodTypeAny, {
987
449
  block: "cards" | "accordion" | "minimal" | "timeline";
988
- headerText: {
989
- en: string;
990
- ru?: string | undefined;
991
- zh?: string | undefined;
992
- fa?: string | undefined;
993
- fr?: string | undefined;
994
- };
450
+ headerText: Record<string, string>;
995
451
  }, {
996
- headerText: {
997
- en: string;
998
- ru?: string | undefined;
999
- zh?: string | undefined;
1000
- fa?: string | undefined;
1001
- fr?: string | undefined;
1002
- };
452
+ headerText: Record<string, string>;
1003
453
  block?: "cards" | "accordion" | "minimal" | "timeline" | undefined;
1004
454
  }>;
1005
455
  connectionKeys: z.ZodObject<{
1006
- headerText: z.ZodObject<{
1007
- en: z.ZodString;
1008
- ru: z.ZodOptional<z.ZodString>;
1009
- zh: z.ZodOptional<z.ZodString>;
1010
- fa: z.ZodOptional<z.ZodString>;
1011
- fr: z.ZodOptional<z.ZodString>;
1012
- }, "strip", z.ZodTypeAny, {
1013
- en: string;
1014
- ru?: string | undefined;
1015
- zh?: string | undefined;
1016
- fa?: string | undefined;
1017
- fr?: string | undefined;
1018
- }, {
1019
- en: string;
1020
- ru?: string | undefined;
1021
- zh?: string | undefined;
1022
- fa?: string | undefined;
1023
- fr?: string | undefined;
1024
- }>;
456
+ headerText: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
1025
457
  }, "strip", z.ZodTypeAny, {
1026
- headerText: {
1027
- en: string;
1028
- ru?: string | undefined;
1029
- zh?: string | undefined;
1030
- fa?: string | undefined;
1031
- fr?: string | undefined;
1032
- };
458
+ headerText: Record<string, string>;
1033
459
  }, {
1034
- headerText: {
1035
- en: string;
1036
- ru?: string | undefined;
1037
- zh?: string | undefined;
1038
- fa?: string | undefined;
1039
- fr?: string | undefined;
1040
- };
460
+ headerText: Record<string, string>;
1041
461
  }>;
1042
462
  }, "strip", z.ZodTypeAny, {
1043
463
  subscriptionInfo: {
@@ -1045,47 +465,78 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
1045
465
  };
1046
466
  installationGuides: {
1047
467
  block: "cards" | "accordion" | "minimal" | "timeline";
1048
- headerText: {
1049
- en: string;
1050
- ru?: string | undefined;
1051
- zh?: string | undefined;
1052
- fa?: string | undefined;
1053
- fr?: string | undefined;
1054
- };
468
+ headerText: Record<string, string>;
1055
469
  };
1056
470
  connectionKeys: {
1057
- headerText: {
1058
- en: string;
1059
- ru?: string | undefined;
1060
- zh?: string | undefined;
1061
- fa?: string | undefined;
1062
- fr?: string | undefined;
1063
- };
471
+ headerText: Record<string, string>;
1064
472
  };
1065
473
  }, {
1066
474
  subscriptionInfo: {
1067
475
  block: "cards" | "collapsed" | "expanded" | "hidden";
1068
476
  };
1069
477
  installationGuides: {
1070
- headerText: {
1071
- en: string;
1072
- ru?: string | undefined;
1073
- zh?: string | undefined;
1074
- fa?: string | undefined;
1075
- fr?: string | undefined;
1076
- };
478
+ headerText: Record<string, string>;
1077
479
  block?: "cards" | "accordion" | "minimal" | "timeline" | undefined;
1078
480
  };
1079
481
  connectionKeys: {
1080
- headerText: {
1081
- en: string;
1082
- ru?: string | undefined;
1083
- zh?: string | undefined;
1084
- fa?: string | undefined;
1085
- fr?: string | undefined;
1086
- };
482
+ headerText: Record<string, string>;
1087
483
  };
1088
484
  }>;
485
+ baseTranslations: z.ZodObject<{
486
+ linkCopied: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
487
+ linkCopiedToClipboard: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
488
+ getLink: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
489
+ scanQrCode: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
490
+ scanQrCodeDescription: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
491
+ copyLink: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
492
+ name: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
493
+ status: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
494
+ active: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
495
+ inactive: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
496
+ expires: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
497
+ bandwidth: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
498
+ scanToImport: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
499
+ expiresIn: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
500
+ expired: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
501
+ unknown: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
502
+ indefinitely: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
503
+ }, "strip", z.ZodTypeAny, {
504
+ unknown: Record<string, string>;
505
+ status: Record<string, string>;
506
+ name: Record<string, string>;
507
+ linkCopied: Record<string, string>;
508
+ linkCopiedToClipboard: Record<string, string>;
509
+ getLink: Record<string, string>;
510
+ scanQrCode: Record<string, string>;
511
+ scanQrCodeDescription: Record<string, string>;
512
+ copyLink: Record<string, string>;
513
+ active: Record<string, string>;
514
+ inactive: Record<string, string>;
515
+ expires: Record<string, string>;
516
+ bandwidth: Record<string, string>;
517
+ scanToImport: Record<string, string>;
518
+ expiresIn: Record<string, string>;
519
+ expired: Record<string, string>;
520
+ indefinitely: Record<string, string>;
521
+ }, {
522
+ unknown: Record<string, string>;
523
+ status: Record<string, string>;
524
+ name: Record<string, string>;
525
+ linkCopied: Record<string, string>;
526
+ linkCopiedToClipboard: Record<string, string>;
527
+ getLink: Record<string, string>;
528
+ scanQrCode: Record<string, string>;
529
+ scanQrCodeDescription: Record<string, string>;
530
+ copyLink: Record<string, string>;
531
+ active: Record<string, string>;
532
+ inactive: Record<string, string>;
533
+ expires: Record<string, string>;
534
+ bandwidth: Record<string, string>;
535
+ scanToImport: Record<string, string>;
536
+ expiresIn: Record<string, string>;
537
+ expired: Record<string, string>;
538
+ indefinitely: Record<string, string>;
539
+ }>;
1089
540
  svgLibrary: z.ZodRecord<z.ZodString, z.ZodString>;
1090
541
  platforms: z.ZodRecord<z.ZodNativeEnum<{
1091
542
  readonly IOS: "ios";
@@ -1096,25 +547,7 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
1096
547
  readonly ANDROID_TV: "androidTV";
1097
548
  readonly APPLE_TV: "appleTV";
1098
549
  }>, z.ZodObject<{
1099
- displayName: z.ZodObject<{
1100
- en: z.ZodString;
1101
- ru: z.ZodOptional<z.ZodString>;
1102
- zh: z.ZodOptional<z.ZodString>;
1103
- fa: z.ZodOptional<z.ZodString>;
1104
- fr: z.ZodOptional<z.ZodString>;
1105
- }, "strip", z.ZodTypeAny, {
1106
- en: string;
1107
- ru?: string | undefined;
1108
- zh?: string | undefined;
1109
- fa?: string | undefined;
1110
- fr?: string | undefined;
1111
- }, {
1112
- en: string;
1113
- ru?: string | undefined;
1114
- zh?: string | undefined;
1115
- fa?: string | undefined;
1116
- fr?: string | undefined;
1117
- }>;
550
+ displayName: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
1118
551
  svgIconKey: z.ZodString;
1119
552
  apps: z.ZodArray<z.ZodObject<{
1120
553
  name: z.ZodString;
@@ -1123,150 +556,48 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
1123
556
  blocks: z.ZodArray<z.ZodObject<{
1124
557
  svgIconKey: z.ZodString;
1125
558
  svgIconColor: z.ZodEffects<z.ZodString, string, string>;
1126
- title: z.ZodObject<{
1127
- en: z.ZodString;
1128
- ru: z.ZodOptional<z.ZodString>;
1129
- zh: z.ZodOptional<z.ZodString>;
1130
- fa: z.ZodOptional<z.ZodString>;
1131
- fr: z.ZodOptional<z.ZodString>;
1132
- }, "strip", z.ZodTypeAny, {
1133
- en: string;
1134
- ru?: string | undefined;
1135
- zh?: string | undefined;
1136
- fa?: string | undefined;
1137
- fr?: string | undefined;
1138
- }, {
1139
- en: string;
1140
- ru?: string | undefined;
1141
- zh?: string | undefined;
1142
- fa?: string | undefined;
1143
- fr?: string | undefined;
1144
- }>;
1145
- description: z.ZodObject<{
1146
- en: z.ZodString;
1147
- ru: z.ZodOptional<z.ZodString>;
1148
- zh: z.ZodOptional<z.ZodString>;
1149
- fa: z.ZodOptional<z.ZodString>;
1150
- fr: z.ZodOptional<z.ZodString>;
1151
- }, "strip", z.ZodTypeAny, {
1152
- en: string;
1153
- ru?: string | undefined;
1154
- zh?: string | undefined;
1155
- fa?: string | undefined;
1156
- fr?: string | undefined;
1157
- }, {
1158
- en: string;
1159
- ru?: string | undefined;
1160
- zh?: string | undefined;
1161
- fa?: string | undefined;
1162
- fr?: string | undefined;
1163
- }>;
559
+ title: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
560
+ description: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
1164
561
  buttons: z.ZodArray<z.ZodObject<{
1165
562
  link: z.ZodString;
1166
563
  type: z.ZodNativeEnum<{
1167
564
  readonly EXTERNAL: "external";
1168
565
  readonly SUBSCRIPTION_LINK: "subscriptionLink";
1169
566
  }>;
1170
- text: z.ZodObject<{
1171
- en: z.ZodString;
1172
- ru: z.ZodOptional<z.ZodString>;
1173
- zh: z.ZodOptional<z.ZodString>;
1174
- fa: z.ZodOptional<z.ZodString>;
1175
- fr: z.ZodOptional<z.ZodString>;
1176
- }, "strip", z.ZodTypeAny, {
1177
- en: string;
1178
- ru?: string | undefined;
1179
- zh?: string | undefined;
1180
- fa?: string | undefined;
1181
- fr?: string | undefined;
1182
- }, {
1183
- en: string;
1184
- ru?: string | undefined;
1185
- zh?: string | undefined;
1186
- fa?: string | undefined;
1187
- fr?: string | undefined;
1188
- }>;
567
+ text: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
1189
568
  svgIconKey: z.ZodString;
1190
569
  }, "strip", z.ZodTypeAny, {
1191
570
  type: "external" | "subscriptionLink";
1192
571
  svgIconKey: string;
1193
572
  link: string;
1194
- text: {
1195
- en: string;
1196
- ru?: string | undefined;
1197
- zh?: string | undefined;
1198
- fa?: string | undefined;
1199
- fr?: string | undefined;
1200
- };
573
+ text: Record<string, string>;
1201
574
  }, {
1202
575
  type: "external" | "subscriptionLink";
1203
576
  svgIconKey: string;
1204
577
  link: string;
1205
- text: {
1206
- en: string;
1207
- ru?: string | undefined;
1208
- zh?: string | undefined;
1209
- fa?: string | undefined;
1210
- fr?: string | undefined;
1211
- };
578
+ text: Record<string, string>;
1212
579
  }>, "many">;
1213
580
  }, "strip", z.ZodTypeAny, {
1214
581
  svgIconKey: string;
1215
582
  svgIconColor: string;
1216
- title: {
1217
- en: string;
1218
- ru?: string | undefined;
1219
- zh?: string | undefined;
1220
- fa?: string | undefined;
1221
- fr?: string | undefined;
1222
- };
1223
- description: {
1224
- en: string;
1225
- ru?: string | undefined;
1226
- zh?: string | undefined;
1227
- fa?: string | undefined;
1228
- fr?: string | undefined;
1229
- };
583
+ title: Record<string, string>;
584
+ description: Record<string, string>;
1230
585
  buttons: {
1231
586
  type: "external" | "subscriptionLink";
1232
587
  svgIconKey: string;
1233
588
  link: string;
1234
- text: {
1235
- en: string;
1236
- ru?: string | undefined;
1237
- zh?: string | undefined;
1238
- fa?: string | undefined;
1239
- fr?: string | undefined;
1240
- };
589
+ text: Record<string, string>;
1241
590
  }[];
1242
591
  }, {
1243
592
  svgIconKey: string;
1244
593
  svgIconColor: string;
1245
- title: {
1246
- en: string;
1247
- ru?: string | undefined;
1248
- zh?: string | undefined;
1249
- fa?: string | undefined;
1250
- fr?: string | undefined;
1251
- };
1252
- description: {
1253
- en: string;
1254
- ru?: string | undefined;
1255
- zh?: string | undefined;
1256
- fa?: string | undefined;
1257
- fr?: string | undefined;
1258
- };
594
+ title: Record<string, string>;
595
+ description: Record<string, string>;
1259
596
  buttons: {
1260
597
  type: "external" | "subscriptionLink";
1261
598
  svgIconKey: string;
1262
599
  link: string;
1263
- text: {
1264
- en: string;
1265
- ru?: string | undefined;
1266
- zh?: string | undefined;
1267
- fa?: string | undefined;
1268
- fr?: string | undefined;
1269
- };
600
+ text: Record<string, string>;
1270
601
  }[];
1271
602
  }>, "many">;
1272
603
  }, "strip", z.ZodTypeAny, {
@@ -1275,31 +606,13 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
1275
606
  blocks: {
1276
607
  svgIconKey: string;
1277
608
  svgIconColor: string;
1278
- title: {
1279
- en: string;
1280
- ru?: string | undefined;
1281
- zh?: string | undefined;
1282
- fa?: string | undefined;
1283
- fr?: string | undefined;
1284
- };
1285
- description: {
1286
- en: string;
1287
- ru?: string | undefined;
1288
- zh?: string | undefined;
1289
- fa?: string | undefined;
1290
- fr?: string | undefined;
1291
- };
609
+ title: Record<string, string>;
610
+ description: Record<string, string>;
1292
611
  buttons: {
1293
612
  type: "external" | "subscriptionLink";
1294
613
  svgIconKey: string;
1295
614
  link: string;
1296
- text: {
1297
- en: string;
1298
- ru?: string | undefined;
1299
- zh?: string | undefined;
1300
- fa?: string | undefined;
1301
- fr?: string | undefined;
1302
- };
615
+ text: Record<string, string>;
1303
616
  }[];
1304
617
  }[];
1305
618
  svgIconKey?: string | undefined;
@@ -1309,435 +622,301 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
1309
622
  blocks: {
1310
623
  svgIconKey: string;
1311
624
  svgIconColor: string;
1312
- title: {
1313
- en: string;
1314
- ru?: string | undefined;
1315
- zh?: string | undefined;
1316
- fa?: string | undefined;
1317
- fr?: string | undefined;
1318
- };
1319
- description: {
1320
- en: string;
1321
- ru?: string | undefined;
1322
- zh?: string | undefined;
1323
- fa?: string | undefined;
1324
- fr?: string | undefined;
1325
- };
625
+ title: Record<string, string>;
626
+ description: Record<string, string>;
1326
627
  buttons: {
1327
628
  type: "external" | "subscriptionLink";
1328
629
  svgIconKey: string;
1329
630
  link: string;
1330
- text: {
1331
- en: string;
1332
- ru?: string | undefined;
1333
- zh?: string | undefined;
1334
- fa?: string | undefined;
1335
- fr?: string | undefined;
1336
- };
631
+ text: Record<string, string>;
1337
632
  }[];
1338
633
  }[];
1339
634
  svgIconKey?: string | undefined;
1340
635
  }>, "many">;
1341
636
  }, "strip", z.ZodTypeAny, {
1342
637
  svgIconKey: string;
1343
- displayName: {
1344
- en: string;
1345
- ru?: string | undefined;
1346
- zh?: string | undefined;
1347
- fa?: string | undefined;
1348
- fr?: string | undefined;
1349
- };
638
+ displayName: Record<string, string>;
1350
639
  apps: {
1351
640
  name: string;
1352
641
  featured: boolean;
1353
642
  blocks: {
1354
643
  svgIconKey: string;
1355
644
  svgIconColor: string;
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
- };
645
+ title: Record<string, string>;
646
+ description: Record<string, string>;
1370
647
  buttons: {
1371
648
  type: "external" | "subscriptionLink";
1372
649
  svgIconKey: string;
1373
650
  link: string;
1374
- text: {
1375
- en: string;
1376
- ru?: string | undefined;
1377
- zh?: string | undefined;
1378
- fa?: string | undefined;
1379
- fr?: string | undefined;
1380
- };
651
+ text: Record<string, string>;
1381
652
  }[];
1382
653
  }[];
1383
654
  svgIconKey?: string | undefined;
1384
655
  }[];
1385
656
  }, {
1386
657
  svgIconKey: string;
1387
- displayName: {
1388
- en: string;
1389
- ru?: string | undefined;
1390
- zh?: string | undefined;
1391
- fa?: string | undefined;
1392
- fr?: string | undefined;
1393
- };
658
+ displayName: Record<string, string>;
1394
659
  apps: {
1395
660
  name: string;
1396
661
  featured: boolean;
1397
662
  blocks: {
1398
663
  svgIconKey: string;
1399
664
  svgIconColor: string;
1400
- title: {
1401
- en: string;
1402
- ru?: string | undefined;
1403
- zh?: string | undefined;
1404
- fa?: string | undefined;
1405
- fr?: string | undefined;
1406
- };
1407
- description: {
1408
- en: string;
1409
- ru?: string | undefined;
1410
- zh?: string | undefined;
1411
- fa?: string | undefined;
1412
- fr?: string | undefined;
1413
- };
665
+ title: Record<string, string>;
666
+ description: Record<string, string>;
1414
667
  buttons: {
1415
668
  type: "external" | "subscriptionLink";
1416
669
  svgIconKey: string;
1417
670
  link: string;
1418
- text: {
1419
- en: string;
1420
- ru?: string | undefined;
1421
- zh?: string | undefined;
1422
- fa?: string | undefined;
1423
- fr?: string | undefined;
1424
- };
671
+ text: Record<string, string>;
1425
672
  }[];
1426
673
  }[];
1427
674
  svgIconKey?: string | undefined;
1428
675
  }[];
1429
676
  }>>;
1430
677
  }, "strip", z.ZodTypeAny, {
678
+ locales: string[];
1431
679
  platforms: Partial<Record<"ios" | "android" | "linux" | "macos" | "windows" | "androidTV" | "appleTV", {
1432
680
  svgIconKey: string;
1433
- displayName: {
1434
- en: string;
1435
- ru?: string | undefined;
1436
- zh?: string | undefined;
1437
- fa?: string | undefined;
1438
- fr?: string | undefined;
1439
- };
681
+ displayName: Record<string, string>;
1440
682
  apps: {
1441
683
  name: string;
1442
684
  featured: boolean;
1443
685
  blocks: {
1444
686
  svgIconKey: string;
1445
687
  svgIconColor: string;
1446
- title: {
1447
- en: string;
1448
- ru?: string | undefined;
1449
- zh?: string | undefined;
1450
- fa?: string | undefined;
1451
- fr?: string | undefined;
1452
- };
1453
- description: {
1454
- en: string;
1455
- ru?: string | undefined;
1456
- zh?: string | undefined;
1457
- fa?: string | undefined;
1458
- fr?: string | undefined;
1459
- };
688
+ title: Record<string, string>;
689
+ description: Record<string, string>;
1460
690
  buttons: {
1461
691
  type: "external" | "subscriptionLink";
1462
692
  svgIconKey: string;
1463
693
  link: string;
1464
- text: {
1465
- en: string;
1466
- ru?: string | undefined;
1467
- zh?: string | undefined;
1468
- fa?: string | undefined;
1469
- fr?: string | undefined;
1470
- };
694
+ text: Record<string, string>;
1471
695
  }[];
1472
696
  }[];
1473
697
  svgIconKey?: string | undefined;
1474
698
  }[];
1475
699
  }>>;
1476
- version: "1";
1477
- additionalLocales: ("ru" | "zh" | "fa" | "fr")[];
1478
- brandingSettings: {
1479
- title: string;
1480
- logoUrl: string;
1481
- supportUrl: string;
1482
- };
1483
700
  uiConfig: {
1484
701
  subscriptionInfo: {
1485
702
  block: "cards" | "collapsed" | "expanded" | "hidden";
1486
703
  };
1487
704
  installationGuides: {
1488
705
  block: "cards" | "accordion" | "minimal" | "timeline";
1489
- headerText: {
1490
- en: string;
1491
- ru?: string | undefined;
1492
- zh?: string | undefined;
1493
- fa?: string | undefined;
1494
- fr?: string | undefined;
1495
- };
706
+ headerText: Record<string, string>;
1496
707
  };
1497
708
  connectionKeys: {
1498
- headerText: {
1499
- en: string;
1500
- ru?: string | undefined;
1501
- zh?: string | undefined;
1502
- fa?: string | undefined;
1503
- fr?: string | undefined;
1504
- };
709
+ headerText: Record<string, string>;
1505
710
  };
1506
711
  };
712
+ version: "1";
713
+ brandingSettings: {
714
+ title: string;
715
+ logoUrl: string;
716
+ supportUrl: string;
717
+ };
718
+ baseTranslations: {
719
+ unknown: Record<string, string>;
720
+ status: Record<string, string>;
721
+ name: Record<string, string>;
722
+ linkCopied: Record<string, string>;
723
+ linkCopiedToClipboard: Record<string, string>;
724
+ getLink: Record<string, string>;
725
+ scanQrCode: Record<string, string>;
726
+ scanQrCodeDescription: Record<string, string>;
727
+ copyLink: Record<string, string>;
728
+ active: Record<string, string>;
729
+ inactive: Record<string, string>;
730
+ expires: Record<string, string>;
731
+ bandwidth: Record<string, string>;
732
+ scanToImport: Record<string, string>;
733
+ expiresIn: Record<string, string>;
734
+ expired: Record<string, string>;
735
+ indefinitely: Record<string, string>;
736
+ };
1507
737
  svgLibrary: Record<string, string>;
1508
738
  }, {
739
+ locales: string[];
1509
740
  platforms: Partial<Record<"ios" | "android" | "linux" | "macos" | "windows" | "androidTV" | "appleTV", {
1510
741
  svgIconKey: string;
1511
- displayName: {
1512
- en: string;
1513
- ru?: string | undefined;
1514
- zh?: string | undefined;
1515
- fa?: string | undefined;
1516
- fr?: string | undefined;
1517
- };
742
+ displayName: Record<string, string>;
1518
743
  apps: {
1519
744
  name: string;
1520
745
  featured: boolean;
1521
746
  blocks: {
1522
747
  svgIconKey: string;
1523
748
  svgIconColor: string;
1524
- title: {
1525
- en: string;
1526
- ru?: string | undefined;
1527
- zh?: string | undefined;
1528
- fa?: string | undefined;
1529
- fr?: string | undefined;
1530
- };
1531
- description: {
1532
- en: string;
1533
- ru?: string | undefined;
1534
- zh?: string | undefined;
1535
- fa?: string | undefined;
1536
- fr?: string | undefined;
1537
- };
749
+ title: Record<string, string>;
750
+ description: Record<string, string>;
1538
751
  buttons: {
1539
752
  type: "external" | "subscriptionLink";
1540
753
  svgIconKey: string;
1541
754
  link: string;
1542
- text: {
1543
- en: string;
1544
- ru?: string | undefined;
1545
- zh?: string | undefined;
1546
- fa?: string | undefined;
1547
- fr?: string | undefined;
1548
- };
755
+ text: Record<string, string>;
1549
756
  }[];
1550
757
  }[];
1551
758
  svgIconKey?: string | undefined;
1552
759
  }[];
1553
760
  }>>;
1554
- version: "1";
1555
- additionalLocales: ("ru" | "zh" | "fa" | "fr")[];
1556
- brandingSettings: {
1557
- title: string;
1558
- logoUrl: string;
1559
- supportUrl: string;
1560
- };
1561
761
  uiConfig: {
1562
762
  subscriptionInfo: {
1563
763
  block: "cards" | "collapsed" | "expanded" | "hidden";
1564
764
  };
1565
765
  installationGuides: {
1566
- headerText: {
1567
- en: string;
1568
- ru?: string | undefined;
1569
- zh?: string | undefined;
1570
- fa?: string | undefined;
1571
- fr?: string | undefined;
1572
- };
766
+ headerText: Record<string, string>;
1573
767
  block?: "cards" | "accordion" | "minimal" | "timeline" | undefined;
1574
768
  };
1575
769
  connectionKeys: {
1576
- headerText: {
1577
- en: string;
1578
- ru?: string | undefined;
1579
- zh?: string | undefined;
1580
- fa?: string | undefined;
1581
- fr?: string | undefined;
1582
- };
770
+ headerText: Record<string, string>;
1583
771
  };
1584
772
  };
773
+ version: "1";
774
+ brandingSettings: {
775
+ title: string;
776
+ logoUrl: string;
777
+ supportUrl: string;
778
+ };
779
+ baseTranslations: {
780
+ unknown: Record<string, string>;
781
+ status: Record<string, string>;
782
+ name: Record<string, string>;
783
+ linkCopied: Record<string, string>;
784
+ linkCopiedToClipboard: Record<string, string>;
785
+ getLink: Record<string, string>;
786
+ scanQrCode: Record<string, string>;
787
+ scanQrCodeDescription: Record<string, string>;
788
+ copyLink: Record<string, string>;
789
+ active: Record<string, string>;
790
+ inactive: Record<string, string>;
791
+ expires: Record<string, string>;
792
+ bandwidth: Record<string, string>;
793
+ scanToImport: Record<string, string>;
794
+ expiresIn: Record<string, string>;
795
+ expired: Record<string, string>;
796
+ indefinitely: Record<string, string>;
797
+ };
1585
798
  svgLibrary: Record<string, string>;
1586
799
  }>, {
800
+ locales: string[];
1587
801
  platforms: Partial<Record<"ios" | "android" | "linux" | "macos" | "windows" | "androidTV" | "appleTV", {
1588
802
  svgIconKey: string;
1589
- displayName: {
1590
- en: string;
1591
- ru?: string | undefined;
1592
- zh?: string | undefined;
1593
- fa?: string | undefined;
1594
- fr?: string | undefined;
1595
- };
803
+ displayName: Record<string, string>;
1596
804
  apps: {
1597
805
  name: string;
1598
806
  featured: boolean;
1599
807
  blocks: {
1600
808
  svgIconKey: string;
1601
809
  svgIconColor: string;
1602
- title: {
1603
- en: string;
1604
- ru?: string | undefined;
1605
- zh?: string | undefined;
1606
- fa?: string | undefined;
1607
- fr?: string | undefined;
1608
- };
1609
- description: {
1610
- en: string;
1611
- ru?: string | undefined;
1612
- zh?: string | undefined;
1613
- fa?: string | undefined;
1614
- fr?: string | undefined;
1615
- };
810
+ title: Record<string, string>;
811
+ description: Record<string, string>;
1616
812
  buttons: {
1617
813
  type: "external" | "subscriptionLink";
1618
814
  svgIconKey: string;
1619
815
  link: string;
1620
- text: {
1621
- en: string;
1622
- ru?: string | undefined;
1623
- zh?: string | undefined;
1624
- fa?: string | undefined;
1625
- fr?: string | undefined;
1626
- };
816
+ text: Record<string, string>;
1627
817
  }[];
1628
818
  }[];
1629
819
  svgIconKey?: string | undefined;
1630
820
  }[];
1631
821
  }>>;
1632
- version: "1";
1633
- additionalLocales: ("ru" | "zh" | "fa" | "fr")[];
1634
- brandingSettings: {
1635
- title: string;
1636
- logoUrl: string;
1637
- supportUrl: string;
1638
- };
1639
822
  uiConfig: {
1640
823
  subscriptionInfo: {
1641
824
  block: "cards" | "collapsed" | "expanded" | "hidden";
1642
825
  };
1643
826
  installationGuides: {
1644
827
  block: "cards" | "accordion" | "minimal" | "timeline";
1645
- headerText: {
1646
- en: string;
1647
- ru?: string | undefined;
1648
- zh?: string | undefined;
1649
- fa?: string | undefined;
1650
- fr?: string | undefined;
1651
- };
828
+ headerText: Record<string, string>;
1652
829
  };
1653
830
  connectionKeys: {
1654
- headerText: {
1655
- en: string;
1656
- ru?: string | undefined;
1657
- zh?: string | undefined;
1658
- fa?: string | undefined;
1659
- fr?: string | undefined;
1660
- };
831
+ headerText: Record<string, string>;
1661
832
  };
1662
833
  };
834
+ version: "1";
835
+ brandingSettings: {
836
+ title: string;
837
+ logoUrl: string;
838
+ supportUrl: string;
839
+ };
840
+ baseTranslations: {
841
+ unknown: Record<string, string>;
842
+ status: Record<string, string>;
843
+ name: Record<string, string>;
844
+ linkCopied: Record<string, string>;
845
+ linkCopiedToClipboard: Record<string, string>;
846
+ getLink: Record<string, string>;
847
+ scanQrCode: Record<string, string>;
848
+ scanQrCodeDescription: Record<string, string>;
849
+ copyLink: Record<string, string>;
850
+ active: Record<string, string>;
851
+ inactive: Record<string, string>;
852
+ expires: Record<string, string>;
853
+ bandwidth: Record<string, string>;
854
+ scanToImport: Record<string, string>;
855
+ expiresIn: Record<string, string>;
856
+ expired: Record<string, string>;
857
+ indefinitely: Record<string, string>;
858
+ };
1663
859
  svgLibrary: Record<string, string>;
1664
860
  }, {
861
+ locales: string[];
1665
862
  platforms: Partial<Record<"ios" | "android" | "linux" | "macos" | "windows" | "androidTV" | "appleTV", {
1666
863
  svgIconKey: string;
1667
- displayName: {
1668
- en: string;
1669
- ru?: string | undefined;
1670
- zh?: string | undefined;
1671
- fa?: string | undefined;
1672
- fr?: string | undefined;
1673
- };
864
+ displayName: Record<string, string>;
1674
865
  apps: {
1675
866
  name: string;
1676
867
  featured: boolean;
1677
868
  blocks: {
1678
869
  svgIconKey: string;
1679
870
  svgIconColor: string;
1680
- title: {
1681
- en: string;
1682
- ru?: string | undefined;
1683
- zh?: string | undefined;
1684
- fa?: string | undefined;
1685
- fr?: string | undefined;
1686
- };
1687
- description: {
1688
- en: string;
1689
- ru?: string | undefined;
1690
- zh?: string | undefined;
1691
- fa?: string | undefined;
1692
- fr?: string | undefined;
1693
- };
871
+ title: Record<string, string>;
872
+ description: Record<string, string>;
1694
873
  buttons: {
1695
874
  type: "external" | "subscriptionLink";
1696
875
  svgIconKey: string;
1697
876
  link: string;
1698
- text: {
1699
- en: string;
1700
- ru?: string | undefined;
1701
- zh?: string | undefined;
1702
- fa?: string | undefined;
1703
- fr?: string | undefined;
1704
- };
877
+ text: Record<string, string>;
1705
878
  }[];
1706
879
  }[];
1707
880
  svgIconKey?: string | undefined;
1708
881
  }[];
1709
882
  }>>;
1710
- version: "1";
1711
- additionalLocales: ("ru" | "zh" | "fa" | "fr")[];
1712
- brandingSettings: {
1713
- title: string;
1714
- logoUrl: string;
1715
- supportUrl: string;
1716
- };
1717
883
  uiConfig: {
1718
884
  subscriptionInfo: {
1719
885
  block: "cards" | "collapsed" | "expanded" | "hidden";
1720
886
  };
1721
887
  installationGuides: {
1722
- headerText: {
1723
- en: string;
1724
- ru?: string | undefined;
1725
- zh?: string | undefined;
1726
- fa?: string | undefined;
1727
- fr?: string | undefined;
1728
- };
888
+ headerText: Record<string, string>;
1729
889
  block?: "cards" | "accordion" | "minimal" | "timeline" | undefined;
1730
890
  };
1731
891
  connectionKeys: {
1732
- headerText: {
1733
- en: string;
1734
- ru?: string | undefined;
1735
- zh?: string | undefined;
1736
- fa?: string | undefined;
1737
- fr?: string | undefined;
1738
- };
892
+ headerText: Record<string, string>;
1739
893
  };
1740
894
  };
895
+ version: "1";
896
+ brandingSettings: {
897
+ title: string;
898
+ logoUrl: string;
899
+ supportUrl: string;
900
+ };
901
+ baseTranslations: {
902
+ unknown: Record<string, string>;
903
+ status: Record<string, string>;
904
+ name: Record<string, string>;
905
+ linkCopied: Record<string, string>;
906
+ linkCopiedToClipboard: Record<string, string>;
907
+ getLink: Record<string, string>;
908
+ scanQrCode: Record<string, string>;
909
+ scanQrCodeDescription: Record<string, string>;
910
+ copyLink: Record<string, string>;
911
+ active: Record<string, string>;
912
+ inactive: Record<string, string>;
913
+ expires: Record<string, string>;
914
+ bandwidth: Record<string, string>;
915
+ scanToImport: Record<string, string>;
916
+ expiresIn: Record<string, string>;
917
+ expired: Record<string, string>;
918
+ indefinitely: Record<string, string>;
919
+ };
1741
920
  svgLibrary: Record<string, string>;
1742
921
  }>;
1743
922
  export type TSubscriptionPageSvgLibrary = z.infer<typeof SvgLibrarySchema>;
@@ -1750,6 +929,7 @@ export type TSubscriptionPageBlockConfig = z.infer<typeof BlockSchema>;
1750
929
  export type TSubscriptionPageButtonConfig = z.infer<typeof ButtonSchema>;
1751
930
  export type TSubscriptionPageLocalizedText = z.infer<typeof LocalizedTextSchema>;
1752
931
  export type TSubscriptionPageUiConfig = z.infer<typeof UiConfigSchema>;
1753
- export type TSubscriptionPageLocales = TSubscriptionPageRawConfig['additionalLocales'][number] | 'en';
932
+ export type TSubscriptionPageTranslateKeys = z.infer<typeof SubscriptionPageTranslateKeysSchema>;
933
+ export type TSubscriptionPageLocale = TLanguageCode;
1754
934
  export {};
1755
935
  //# sourceMappingURL=subscription-page-config.schema.d.ts.map