@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.
- package/build/backend/commands/subscription-page-configs/actions/reorder.command.d.ts +2012 -8
- package/build/backend/commands/subscription-page-configs/actions/reorder.command.d.ts.map +1 -1
- package/build/backend/commands/subscription-page-configs/create-subpage-config.command.d.ts +1082 -5
- package/build/backend/commands/subscription-page-configs/create-subpage-config.command.d.ts.map +1 -1
- package/build/backend/commands/subscription-page-configs/get-subpage-config.command.d.ts +1083 -5
- package/build/backend/commands/subscription-page-configs/get-subpage-config.command.d.ts.map +1 -1
- package/build/backend/commands/subscription-page-configs/get-subpage-config.command.js +4 -2
- package/build/backend/commands/subscription-page-configs/get-subpage-configs.command.d.ts +1234 -7
- package/build/backend/commands/subscription-page-configs/get-subpage-configs.command.d.ts.map +1 -1
- package/build/backend/commands/subscription-page-configs/update-subpage-config.command.d.ts +2013 -8
- package/build/backend/commands/subscription-page-configs/update-subpage-config.command.d.ts.map +1 -1
- package/build/backend/commands/subscription-page-configs/update-subpage-config.command.js +5 -3
- package/build/backend/constants/errors/errors.d.ts +5 -0
- package/build/backend/constants/errors/errors.d.ts.map +1 -1
- package/build/backend/constants/errors/errors.js +5 -0
- package/build/backend/models/subscripion-page-config.schema.d.ts +930 -3
- package/build/backend/models/subscripion-page-config.schema.d.ts.map +1 -1
- package/build/backend/models/subscripion-page-config.schema.js +2 -1
- package/build/backend/models/subscription-page-config/subscription-page-config.schema.d.ts +292 -0
- package/build/backend/models/subscription-page-config/subscription-page-config.schema.d.ts.map +1 -1
- package/build/backend/models/subscription-page-config/subscription-page-config.schema.js +6 -0
- package/build/frontend/commands/subscription-page-configs/get-subpage-config.command.js +4 -2
- package/build/frontend/commands/subscription-page-configs/update-subpage-config.command.js +5 -3
- package/build/frontend/constants/errors/errors.js +5 -0
- package/build/frontend/models/subscripion-page-config.schema.js +2 -1
- package/build/frontend/models/subscription-page-config/subscription-page-config.schema.js +6 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscripion-page-config.schema.d.ts","sourceRoot":"","sources":["../../../models/subscripion-page-config.schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"subscripion-page-config.schema.d.ts","sourceRoot":"","sources":["../../../models/subscripion-page-config.schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAIpB,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAKvC,CAAC"}
|
|
@@ -5,9 +5,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.SubscriptionPageConfigSchema = void 0;
|
|
7
7
|
const zod_1 = __importDefault(require("zod"));
|
|
8
|
+
const subscription_page_config_schema_1 = require("./subscription-page-config/subscription-page-config.schema");
|
|
8
9
|
exports.SubscriptionPageConfigSchema = zod_1.default.object({
|
|
9
10
|
uuid: zod_1.default.string().uuid(),
|
|
10
11
|
viewPosition: zod_1.default.number().int(),
|
|
11
12
|
name: zod_1.default.string(),
|
|
12
|
-
|
|
13
|
+
config: zod_1.default.nullable(subscription_page_config_schema_1.SubscriptionPageRawConfigSchema),
|
|
13
14
|
});
|
|
@@ -771,14 +771,124 @@ declare const UiConfigSchema: z.ZodObject<{
|
|
|
771
771
|
}, {
|
|
772
772
|
block: "collapsed" | "expanded";
|
|
773
773
|
}>;
|
|
774
|
+
installationGuides: z.ZodObject<{
|
|
775
|
+
headerText: z.ZodObject<{
|
|
776
|
+
en: z.ZodString;
|
|
777
|
+
ru: z.ZodOptional<z.ZodString>;
|
|
778
|
+
zh: z.ZodOptional<z.ZodString>;
|
|
779
|
+
fa: z.ZodOptional<z.ZodString>;
|
|
780
|
+
fr: z.ZodOptional<z.ZodString>;
|
|
781
|
+
}, "strip", z.ZodTypeAny, {
|
|
782
|
+
en: string;
|
|
783
|
+
ru?: string | undefined;
|
|
784
|
+
zh?: string | undefined;
|
|
785
|
+
fa?: string | undefined;
|
|
786
|
+
fr?: string | undefined;
|
|
787
|
+
}, {
|
|
788
|
+
en: string;
|
|
789
|
+
ru?: string | undefined;
|
|
790
|
+
zh?: string | undefined;
|
|
791
|
+
fa?: string | undefined;
|
|
792
|
+
fr?: string | undefined;
|
|
793
|
+
}>;
|
|
794
|
+
}, "strip", z.ZodTypeAny, {
|
|
795
|
+
headerText: {
|
|
796
|
+
en: string;
|
|
797
|
+
ru?: string | undefined;
|
|
798
|
+
zh?: string | undefined;
|
|
799
|
+
fa?: string | undefined;
|
|
800
|
+
fr?: string | undefined;
|
|
801
|
+
};
|
|
802
|
+
}, {
|
|
803
|
+
headerText: {
|
|
804
|
+
en: string;
|
|
805
|
+
ru?: string | undefined;
|
|
806
|
+
zh?: string | undefined;
|
|
807
|
+
fa?: string | undefined;
|
|
808
|
+
fr?: string | undefined;
|
|
809
|
+
};
|
|
810
|
+
}>;
|
|
811
|
+
connectionKeys: z.ZodObject<{
|
|
812
|
+
headerText: z.ZodObject<{
|
|
813
|
+
en: z.ZodString;
|
|
814
|
+
ru: z.ZodOptional<z.ZodString>;
|
|
815
|
+
zh: z.ZodOptional<z.ZodString>;
|
|
816
|
+
fa: z.ZodOptional<z.ZodString>;
|
|
817
|
+
fr: z.ZodOptional<z.ZodString>;
|
|
818
|
+
}, "strip", z.ZodTypeAny, {
|
|
819
|
+
en: string;
|
|
820
|
+
ru?: string | undefined;
|
|
821
|
+
zh?: string | undefined;
|
|
822
|
+
fa?: string | undefined;
|
|
823
|
+
fr?: string | undefined;
|
|
824
|
+
}, {
|
|
825
|
+
en: string;
|
|
826
|
+
ru?: string | undefined;
|
|
827
|
+
zh?: string | undefined;
|
|
828
|
+
fa?: string | undefined;
|
|
829
|
+
fr?: string | undefined;
|
|
830
|
+
}>;
|
|
831
|
+
}, "strip", z.ZodTypeAny, {
|
|
832
|
+
headerText: {
|
|
833
|
+
en: string;
|
|
834
|
+
ru?: string | undefined;
|
|
835
|
+
zh?: string | undefined;
|
|
836
|
+
fa?: string | undefined;
|
|
837
|
+
fr?: string | undefined;
|
|
838
|
+
};
|
|
839
|
+
}, {
|
|
840
|
+
headerText: {
|
|
841
|
+
en: string;
|
|
842
|
+
ru?: string | undefined;
|
|
843
|
+
zh?: string | undefined;
|
|
844
|
+
fa?: string | undefined;
|
|
845
|
+
fr?: string | undefined;
|
|
846
|
+
};
|
|
847
|
+
}>;
|
|
774
848
|
}, "strip", z.ZodTypeAny, {
|
|
775
849
|
subscriptionInfo: {
|
|
776
850
|
block: "collapsed" | "expanded";
|
|
777
851
|
};
|
|
852
|
+
installationGuides: {
|
|
853
|
+
headerText: {
|
|
854
|
+
en: string;
|
|
855
|
+
ru?: string | undefined;
|
|
856
|
+
zh?: string | undefined;
|
|
857
|
+
fa?: string | undefined;
|
|
858
|
+
fr?: string | undefined;
|
|
859
|
+
};
|
|
860
|
+
};
|
|
861
|
+
connectionKeys: {
|
|
862
|
+
headerText: {
|
|
863
|
+
en: string;
|
|
864
|
+
ru?: string | undefined;
|
|
865
|
+
zh?: string | undefined;
|
|
866
|
+
fa?: string | undefined;
|
|
867
|
+
fr?: string | undefined;
|
|
868
|
+
};
|
|
869
|
+
};
|
|
778
870
|
}, {
|
|
779
871
|
subscriptionInfo: {
|
|
780
872
|
block: "collapsed" | "expanded";
|
|
781
873
|
};
|
|
874
|
+
installationGuides: {
|
|
875
|
+
headerText: {
|
|
876
|
+
en: string;
|
|
877
|
+
ru?: string | undefined;
|
|
878
|
+
zh?: string | undefined;
|
|
879
|
+
fa?: string | undefined;
|
|
880
|
+
fr?: string | undefined;
|
|
881
|
+
};
|
|
882
|
+
};
|
|
883
|
+
connectionKeys: {
|
|
884
|
+
headerText: {
|
|
885
|
+
en: string;
|
|
886
|
+
ru?: string | undefined;
|
|
887
|
+
zh?: string | undefined;
|
|
888
|
+
fa?: string | undefined;
|
|
889
|
+
fr?: string | undefined;
|
|
890
|
+
};
|
|
891
|
+
};
|
|
782
892
|
}>;
|
|
783
893
|
export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
784
894
|
version: z.ZodNativeEnum<{
|
|
@@ -806,14 +916,124 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
806
916
|
}, {
|
|
807
917
|
block: "collapsed" | "expanded";
|
|
808
918
|
}>;
|
|
919
|
+
installationGuides: z.ZodObject<{
|
|
920
|
+
headerText: z.ZodObject<{
|
|
921
|
+
en: z.ZodString;
|
|
922
|
+
ru: z.ZodOptional<z.ZodString>;
|
|
923
|
+
zh: z.ZodOptional<z.ZodString>;
|
|
924
|
+
fa: z.ZodOptional<z.ZodString>;
|
|
925
|
+
fr: z.ZodOptional<z.ZodString>;
|
|
926
|
+
}, "strip", z.ZodTypeAny, {
|
|
927
|
+
en: string;
|
|
928
|
+
ru?: string | undefined;
|
|
929
|
+
zh?: string | undefined;
|
|
930
|
+
fa?: string | undefined;
|
|
931
|
+
fr?: string | undefined;
|
|
932
|
+
}, {
|
|
933
|
+
en: string;
|
|
934
|
+
ru?: string | undefined;
|
|
935
|
+
zh?: string | undefined;
|
|
936
|
+
fa?: string | undefined;
|
|
937
|
+
fr?: string | undefined;
|
|
938
|
+
}>;
|
|
939
|
+
}, "strip", z.ZodTypeAny, {
|
|
940
|
+
headerText: {
|
|
941
|
+
en: string;
|
|
942
|
+
ru?: string | undefined;
|
|
943
|
+
zh?: string | undefined;
|
|
944
|
+
fa?: string | undefined;
|
|
945
|
+
fr?: string | undefined;
|
|
946
|
+
};
|
|
947
|
+
}, {
|
|
948
|
+
headerText: {
|
|
949
|
+
en: string;
|
|
950
|
+
ru?: string | undefined;
|
|
951
|
+
zh?: string | undefined;
|
|
952
|
+
fa?: string | undefined;
|
|
953
|
+
fr?: string | undefined;
|
|
954
|
+
};
|
|
955
|
+
}>;
|
|
956
|
+
connectionKeys: z.ZodObject<{
|
|
957
|
+
headerText: z.ZodObject<{
|
|
958
|
+
en: z.ZodString;
|
|
959
|
+
ru: z.ZodOptional<z.ZodString>;
|
|
960
|
+
zh: z.ZodOptional<z.ZodString>;
|
|
961
|
+
fa: z.ZodOptional<z.ZodString>;
|
|
962
|
+
fr: z.ZodOptional<z.ZodString>;
|
|
963
|
+
}, "strip", z.ZodTypeAny, {
|
|
964
|
+
en: string;
|
|
965
|
+
ru?: string | undefined;
|
|
966
|
+
zh?: string | undefined;
|
|
967
|
+
fa?: string | undefined;
|
|
968
|
+
fr?: string | undefined;
|
|
969
|
+
}, {
|
|
970
|
+
en: string;
|
|
971
|
+
ru?: string | undefined;
|
|
972
|
+
zh?: string | undefined;
|
|
973
|
+
fa?: string | undefined;
|
|
974
|
+
fr?: string | undefined;
|
|
975
|
+
}>;
|
|
976
|
+
}, "strip", z.ZodTypeAny, {
|
|
977
|
+
headerText: {
|
|
978
|
+
en: string;
|
|
979
|
+
ru?: string | undefined;
|
|
980
|
+
zh?: string | undefined;
|
|
981
|
+
fa?: string | undefined;
|
|
982
|
+
fr?: string | undefined;
|
|
983
|
+
};
|
|
984
|
+
}, {
|
|
985
|
+
headerText: {
|
|
986
|
+
en: string;
|
|
987
|
+
ru?: string | undefined;
|
|
988
|
+
zh?: string | undefined;
|
|
989
|
+
fa?: string | undefined;
|
|
990
|
+
fr?: string | undefined;
|
|
991
|
+
};
|
|
992
|
+
}>;
|
|
809
993
|
}, "strip", z.ZodTypeAny, {
|
|
810
994
|
subscriptionInfo: {
|
|
811
995
|
block: "collapsed" | "expanded";
|
|
812
996
|
};
|
|
997
|
+
installationGuides: {
|
|
998
|
+
headerText: {
|
|
999
|
+
en: string;
|
|
1000
|
+
ru?: string | undefined;
|
|
1001
|
+
zh?: string | undefined;
|
|
1002
|
+
fa?: string | undefined;
|
|
1003
|
+
fr?: string | undefined;
|
|
1004
|
+
};
|
|
1005
|
+
};
|
|
1006
|
+
connectionKeys: {
|
|
1007
|
+
headerText: {
|
|
1008
|
+
en: string;
|
|
1009
|
+
ru?: string | undefined;
|
|
1010
|
+
zh?: string | undefined;
|
|
1011
|
+
fa?: string | undefined;
|
|
1012
|
+
fr?: string | undefined;
|
|
1013
|
+
};
|
|
1014
|
+
};
|
|
813
1015
|
}, {
|
|
814
1016
|
subscriptionInfo: {
|
|
815
1017
|
block: "collapsed" | "expanded";
|
|
816
1018
|
};
|
|
1019
|
+
installationGuides: {
|
|
1020
|
+
headerText: {
|
|
1021
|
+
en: string;
|
|
1022
|
+
ru?: string | undefined;
|
|
1023
|
+
zh?: string | undefined;
|
|
1024
|
+
fa?: string | undefined;
|
|
1025
|
+
fr?: string | undefined;
|
|
1026
|
+
};
|
|
1027
|
+
};
|
|
1028
|
+
connectionKeys: {
|
|
1029
|
+
headerText: {
|
|
1030
|
+
en: string;
|
|
1031
|
+
ru?: string | undefined;
|
|
1032
|
+
zh?: string | undefined;
|
|
1033
|
+
fa?: string | undefined;
|
|
1034
|
+
fr?: string | undefined;
|
|
1035
|
+
};
|
|
1036
|
+
};
|
|
817
1037
|
}>;
|
|
818
1038
|
platforms: z.ZodRecord<z.ZodNativeEnum<{
|
|
819
1039
|
readonly IOS: "ios";
|
|
@@ -1159,6 +1379,24 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1159
1379
|
subscriptionInfo: {
|
|
1160
1380
|
block: "collapsed" | "expanded";
|
|
1161
1381
|
};
|
|
1382
|
+
installationGuides: {
|
|
1383
|
+
headerText: {
|
|
1384
|
+
en: string;
|
|
1385
|
+
ru?: string | undefined;
|
|
1386
|
+
zh?: string | undefined;
|
|
1387
|
+
fa?: string | undefined;
|
|
1388
|
+
fr?: string | undefined;
|
|
1389
|
+
};
|
|
1390
|
+
};
|
|
1391
|
+
connectionKeys: {
|
|
1392
|
+
headerText: {
|
|
1393
|
+
en: string;
|
|
1394
|
+
ru?: string | undefined;
|
|
1395
|
+
zh?: string | undefined;
|
|
1396
|
+
fa?: string | undefined;
|
|
1397
|
+
fr?: string | undefined;
|
|
1398
|
+
};
|
|
1399
|
+
};
|
|
1162
1400
|
};
|
|
1163
1401
|
platforms: Partial<Record<"ios" | "android" | "linux" | "macos" | "windows" | "androidTV" | "appleTV", {
|
|
1164
1402
|
svgIcon: string;
|
|
@@ -1216,6 +1454,24 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1216
1454
|
subscriptionInfo: {
|
|
1217
1455
|
block: "collapsed" | "expanded";
|
|
1218
1456
|
};
|
|
1457
|
+
installationGuides: {
|
|
1458
|
+
headerText: {
|
|
1459
|
+
en: string;
|
|
1460
|
+
ru?: string | undefined;
|
|
1461
|
+
zh?: string | undefined;
|
|
1462
|
+
fa?: string | undefined;
|
|
1463
|
+
fr?: string | undefined;
|
|
1464
|
+
};
|
|
1465
|
+
};
|
|
1466
|
+
connectionKeys: {
|
|
1467
|
+
headerText: {
|
|
1468
|
+
en: string;
|
|
1469
|
+
ru?: string | undefined;
|
|
1470
|
+
zh?: string | undefined;
|
|
1471
|
+
fa?: string | undefined;
|
|
1472
|
+
fr?: string | undefined;
|
|
1473
|
+
};
|
|
1474
|
+
};
|
|
1219
1475
|
};
|
|
1220
1476
|
platforms: Partial<Record<"ios" | "android" | "linux" | "macos" | "windows" | "androidTV" | "appleTV", {
|
|
1221
1477
|
svgIcon: string;
|
|
@@ -1273,6 +1529,24 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1273
1529
|
subscriptionInfo: {
|
|
1274
1530
|
block: "collapsed" | "expanded";
|
|
1275
1531
|
};
|
|
1532
|
+
installationGuides: {
|
|
1533
|
+
headerText: {
|
|
1534
|
+
en: string;
|
|
1535
|
+
ru?: string | undefined;
|
|
1536
|
+
zh?: string | undefined;
|
|
1537
|
+
fa?: string | undefined;
|
|
1538
|
+
fr?: string | undefined;
|
|
1539
|
+
};
|
|
1540
|
+
};
|
|
1541
|
+
connectionKeys: {
|
|
1542
|
+
headerText: {
|
|
1543
|
+
en: string;
|
|
1544
|
+
ru?: string | undefined;
|
|
1545
|
+
zh?: string | undefined;
|
|
1546
|
+
fa?: string | undefined;
|
|
1547
|
+
fr?: string | undefined;
|
|
1548
|
+
};
|
|
1549
|
+
};
|
|
1276
1550
|
};
|
|
1277
1551
|
platforms: Partial<Record<"ios" | "android" | "linux" | "macos" | "windows" | "androidTV" | "appleTV", {
|
|
1278
1552
|
svgIcon: string;
|
|
@@ -1330,6 +1604,24 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1330
1604
|
subscriptionInfo: {
|
|
1331
1605
|
block: "collapsed" | "expanded";
|
|
1332
1606
|
};
|
|
1607
|
+
installationGuides: {
|
|
1608
|
+
headerText: {
|
|
1609
|
+
en: string;
|
|
1610
|
+
ru?: string | undefined;
|
|
1611
|
+
zh?: string | undefined;
|
|
1612
|
+
fa?: string | undefined;
|
|
1613
|
+
fr?: string | undefined;
|
|
1614
|
+
};
|
|
1615
|
+
};
|
|
1616
|
+
connectionKeys: {
|
|
1617
|
+
headerText: {
|
|
1618
|
+
en: string;
|
|
1619
|
+
ru?: string | undefined;
|
|
1620
|
+
zh?: string | undefined;
|
|
1621
|
+
fa?: string | undefined;
|
|
1622
|
+
fr?: string | undefined;
|
|
1623
|
+
};
|
|
1624
|
+
};
|
|
1333
1625
|
};
|
|
1334
1626
|
platforms: Partial<Record<"ios" | "android" | "linux" | "macos" | "windows" | "androidTV" | "appleTV", {
|
|
1335
1627
|
svgIcon: string;
|
package/build/backend/models/subscription-page-config/subscription-page-config.schema.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscription-page-config.schema.d.ts","sourceRoot":"","sources":["../../../../models/subscription-page-config/subscription-page-config.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;EAM9B,CAAC;AAEH,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAKhB,CAAC;AAEH,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8Bf,CAAC;AAEH,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIrB,CAAC;AAEH,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIlB,CAAC;AAEH,QAAA,MAAM,sBAAsB;;;;;;;;;;;;EAI1B,CAAC;AAEH,QAAA,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"subscription-page-config.schema.d.ts","sourceRoot":"","sources":["../../../../models/subscription-page-config/subscription-page-config.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;EAM9B,CAAC;AAEH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Ac,CAAC,CAAC;AAC7E,MAAM,MAAM,4BAA4B,GAAG,MAAM,0BAA0B,CAAC,WAAW,CAAC,CAAC;AACzF,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAC3E,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC;AACvE,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AACzE,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AACjF,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AACvE,MAAM,MAAM,wBAAwB,GAC9B,0BAA0B,CAAC,mBAAmB,CAAC,CAAC,MAAM,CAAC,GACvD,IAAI,CAAC"}
|
|
@@ -62,6 +62,12 @@ const UiConfigSchema = zod_1.z.object({
|
|
|
62
62
|
subscriptionInfo: zod_1.z.object({
|
|
63
63
|
block: zod_1.z.enum(['collapsed', 'expanded']),
|
|
64
64
|
}),
|
|
65
|
+
installationGuides: zod_1.z.object({
|
|
66
|
+
headerText: exports.LocalizedTextSchema,
|
|
67
|
+
}),
|
|
68
|
+
connectionKeys: zod_1.z.object({
|
|
69
|
+
headerText: exports.LocalizedTextSchema,
|
|
70
|
+
}),
|
|
65
71
|
});
|
|
66
72
|
exports.SubscriptionPageRawConfigSchema = zod_1.z
|
|
67
73
|
.object({
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetSubscriptionPageConfigCommand = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
-
const api_1 = require("../../api");
|
|
6
5
|
const models_1 = require("../../models");
|
|
6
|
+
const api_1 = require("../../api");
|
|
7
7
|
const constants_1 = require("../../constants");
|
|
8
8
|
var GetSubscriptionPageConfigCommand;
|
|
9
9
|
(function (GetSubscriptionPageConfigCommand) {
|
|
@@ -14,6 +14,8 @@ var GetSubscriptionPageConfigCommand;
|
|
|
14
14
|
uuid: zod_1.z.string().uuid(),
|
|
15
15
|
});
|
|
16
16
|
GetSubscriptionPageConfigCommand.ResponseSchema = zod_1.z.object({
|
|
17
|
-
response: models_1.SubscriptionPageConfigSchema
|
|
17
|
+
response: models_1.SubscriptionPageConfigSchema.extend({
|
|
18
|
+
config: models_1.SubscriptionPageRawConfigSchema,
|
|
19
|
+
}),
|
|
18
20
|
});
|
|
19
21
|
})(GetSubscriptionPageConfigCommand || (exports.GetSubscriptionPageConfigCommand = GetSubscriptionPageConfigCommand = {}));
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UpdateSubscriptionPageConfigCommand = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
-
const api_1 = require("../../api");
|
|
6
5
|
const models_1 = require("../../models");
|
|
6
|
+
const api_1 = require("../../api");
|
|
7
7
|
const constants_1 = require("../../constants");
|
|
8
8
|
var UpdateSubscriptionPageConfigCommand;
|
|
9
9
|
(function (UpdateSubscriptionPageConfigCommand) {
|
|
@@ -18,9 +18,11 @@ var UpdateSubscriptionPageConfigCommand;
|
|
|
18
18
|
.max(30, 'Name must be less than 30 characters')
|
|
19
19
|
.regex(/^[A-Za-z0-9_\s-]+$/, 'Name can only contain letters, numbers, underscores, dashes and spaces')
|
|
20
20
|
.optional(),
|
|
21
|
-
|
|
21
|
+
config: zod_1.z.optional(models_1.SubscriptionPageRawConfigSchema),
|
|
22
22
|
});
|
|
23
23
|
UpdateSubscriptionPageConfigCommand.ResponseSchema = zod_1.z.object({
|
|
24
|
-
response: models_1.SubscriptionPageConfigSchema
|
|
24
|
+
response: models_1.SubscriptionPageConfigSchema.extend({
|
|
25
|
+
config: models_1.SubscriptionPageRawConfigSchema,
|
|
26
|
+
}),
|
|
25
27
|
});
|
|
26
28
|
})(UpdateSubscriptionPageConfigCommand || (exports.UpdateSubscriptionPageConfigCommand = UpdateSubscriptionPageConfigCommand = {}));
|
|
@@ -5,9 +5,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.SubscriptionPageConfigSchema = void 0;
|
|
7
7
|
const zod_1 = __importDefault(require("zod"));
|
|
8
|
+
const subscription_page_config_schema_1 = require("./subscription-page-config/subscription-page-config.schema");
|
|
8
9
|
exports.SubscriptionPageConfigSchema = zod_1.default.object({
|
|
9
10
|
uuid: zod_1.default.string().uuid(),
|
|
10
11
|
viewPosition: zod_1.default.number().int(),
|
|
11
12
|
name: zod_1.default.string(),
|
|
12
|
-
|
|
13
|
+
config: zod_1.default.nullable(subscription_page_config_schema_1.SubscriptionPageRawConfigSchema),
|
|
13
14
|
});
|
|
@@ -62,6 +62,12 @@ const UiConfigSchema = zod_1.z.object({
|
|
|
62
62
|
subscriptionInfo: zod_1.z.object({
|
|
63
63
|
block: zod_1.z.enum(['collapsed', 'expanded']),
|
|
64
64
|
}),
|
|
65
|
+
installationGuides: zod_1.z.object({
|
|
66
|
+
headerText: exports.LocalizedTextSchema,
|
|
67
|
+
}),
|
|
68
|
+
connectionKeys: zod_1.z.object({
|
|
69
|
+
headerText: exports.LocalizedTextSchema,
|
|
70
|
+
}),
|
|
65
71
|
});
|
|
66
72
|
exports.SubscriptionPageRawConfigSchema = zod_1.z
|
|
67
73
|
.object({
|