vr-commons 1.0.187 → 1.0.188
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/dist/constants/regex.constants.d.ts +2 -2
- package/dist/constants/regex.constants.js +6 -3
- package/dist/utils/admin/admin.devices.utils.d.ts +3 -5
- package/dist/utils/admin/admin.devices.utils.js +14 -11
- package/dist/validations/admin/admin.devicePayments.validations.d.ts +6 -6
- package/dist/validations/admin/admin.devicePayments.validations.js +2 -2
- package/dist/validations/admin/admin.devices.validations.d.ts +8 -8
- package/dist/validations/admin/admin.devices.validations.js +11 -8
- package/dist/validations/admin/admin.eventLogs.validations.d.ts +24 -24
- package/dist/validations/admin/admin.installments.validations.d.ts +4 -4
- package/dist/validations/admin/admin.pricings.validations.d.ts +8 -8
- package/dist/validations/admin/admin.products.validations.d.ts +12 -12
- package/dist/validations/admin/admin.users.validations.d.ts +50 -50
- package/dist/validations/shared/shared.account.validations.d.ts +10 -10
- package/dist/validations/shared/shared.appSpecs.validations.d.ts +54 -54
- package/dist/validations/shared/shared.auth.validations.d.ts +28 -28
- package/dist/validations/shared/shared.moderation.validations.d.ts +18 -18
- package/dist/validations/shared/shared.profiles.validations.d.ts +86 -86
- package/dist/validations/users/users.devicePaymentPlans.validations.d.ts +6 -6
- package/package.json +2 -2
|
@@ -326,11 +326,11 @@ export declare const createAppSpecsSchema: z.ZodObject<{
|
|
|
326
326
|
identifierPattern: z.ZodEffects<z.ZodString, string, string>;
|
|
327
327
|
}, "strip", z.ZodTypeAny, {
|
|
328
328
|
prefixes: string[];
|
|
329
|
-
roles: ("
|
|
329
|
+
roles: ("RIDER" | "PASSENGER" | "AGENT" | "ADMIN")[];
|
|
330
330
|
identifierPattern: string;
|
|
331
331
|
}, {
|
|
332
332
|
prefixes: string[];
|
|
333
|
-
roles: ("
|
|
333
|
+
roles: ("RIDER" | "PASSENGER" | "AGENT" | "ADMIN")[];
|
|
334
334
|
identifierPattern: string;
|
|
335
335
|
}>>;
|
|
336
336
|
bleBatches: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -394,11 +394,11 @@ export declare const createAppSpecsSchema: z.ZodObject<{
|
|
|
394
394
|
minimumAppVersion: z.ZodOptional<z.ZodString>;
|
|
395
395
|
forceUpdateMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
396
396
|
}, "strip", z.ZodTypeAny, {
|
|
397
|
-
googleWebClientId?: string | undefined;
|
|
398
|
-
paidAccessActivated?: boolean | undefined;
|
|
399
397
|
passengerAccess?: {
|
|
400
398
|
mode: "FREE" | "PAID";
|
|
401
399
|
} | undefined;
|
|
400
|
+
paidAccessActivated?: boolean | undefined;
|
|
401
|
+
googleWebClientId?: string | undefined;
|
|
402
402
|
speedGovernor?: {
|
|
403
403
|
isActive: boolean;
|
|
404
404
|
weeklySchedule: {
|
|
@@ -450,7 +450,7 @@ export declare const createAppSpecsSchema: z.ZodObject<{
|
|
|
450
450
|
} | undefined;
|
|
451
451
|
serialNumber?: {
|
|
452
452
|
prefixes: string[];
|
|
453
|
-
roles: ("
|
|
453
|
+
roles: ("RIDER" | "PASSENGER" | "AGENT" | "ADMIN")[];
|
|
454
454
|
identifierPattern: string;
|
|
455
455
|
} | undefined;
|
|
456
456
|
bleBatches?: {
|
|
@@ -478,11 +478,11 @@ export declare const createAppSpecsSchema: z.ZodObject<{
|
|
|
478
478
|
minimumAppVersion?: string | undefined;
|
|
479
479
|
forceUpdateMessage?: string | null | undefined;
|
|
480
480
|
}, {
|
|
481
|
-
googleWebClientId?: string | undefined;
|
|
482
|
-
paidAccessActivated?: boolean | undefined;
|
|
483
481
|
passengerAccess?: {
|
|
484
482
|
mode: "FREE" | "PAID";
|
|
485
483
|
} | undefined;
|
|
484
|
+
paidAccessActivated?: boolean | undefined;
|
|
485
|
+
googleWebClientId?: string | undefined;
|
|
486
486
|
speedGovernor?: {
|
|
487
487
|
isActive: boolean;
|
|
488
488
|
weeklySchedule: {
|
|
@@ -534,7 +534,7 @@ export declare const createAppSpecsSchema: z.ZodObject<{
|
|
|
534
534
|
} | undefined;
|
|
535
535
|
serialNumber?: {
|
|
536
536
|
prefixes: string[];
|
|
537
|
-
roles: ("
|
|
537
|
+
roles: ("RIDER" | "PASSENGER" | "AGENT" | "ADMIN")[];
|
|
538
538
|
identifierPattern: string;
|
|
539
539
|
} | undefined;
|
|
540
540
|
bleBatches?: {
|
|
@@ -609,11 +609,11 @@ export declare const createAppSpecsSchema: z.ZodObject<{
|
|
|
609
609
|
appShortName?: string | null | undefined;
|
|
610
610
|
appDescription?: string | null | undefined;
|
|
611
611
|
runtimeConfig?: {
|
|
612
|
-
googleWebClientId?: string | undefined;
|
|
613
|
-
paidAccessActivated?: boolean | undefined;
|
|
614
612
|
passengerAccess?: {
|
|
615
613
|
mode: "FREE" | "PAID";
|
|
616
614
|
} | undefined;
|
|
615
|
+
paidAccessActivated?: boolean | undefined;
|
|
616
|
+
googleWebClientId?: string | undefined;
|
|
617
617
|
speedGovernor?: {
|
|
618
618
|
isActive: boolean;
|
|
619
619
|
weeklySchedule: {
|
|
@@ -665,7 +665,7 @@ export declare const createAppSpecsSchema: z.ZodObject<{
|
|
|
665
665
|
} | undefined;
|
|
666
666
|
serialNumber?: {
|
|
667
667
|
prefixes: string[];
|
|
668
|
-
roles: ("
|
|
668
|
+
roles: ("RIDER" | "PASSENGER" | "AGENT" | "ADMIN")[];
|
|
669
669
|
identifierPattern: string;
|
|
670
670
|
} | undefined;
|
|
671
671
|
bleBatches?: {
|
|
@@ -724,11 +724,11 @@ export declare const createAppSpecsSchema: z.ZodObject<{
|
|
|
724
724
|
appDefaultLanguage?: string | undefined;
|
|
725
725
|
appSupportedLanguages?: string[] | undefined;
|
|
726
726
|
runtimeConfig?: {
|
|
727
|
-
googleWebClientId?: string | undefined;
|
|
728
|
-
paidAccessActivated?: boolean | undefined;
|
|
729
727
|
passengerAccess?: {
|
|
730
728
|
mode: "FREE" | "PAID";
|
|
731
729
|
} | undefined;
|
|
730
|
+
paidAccessActivated?: boolean | undefined;
|
|
731
|
+
googleWebClientId?: string | undefined;
|
|
732
732
|
speedGovernor?: {
|
|
733
733
|
isActive: boolean;
|
|
734
734
|
weeklySchedule: {
|
|
@@ -780,7 +780,7 @@ export declare const createAppSpecsSchema: z.ZodObject<{
|
|
|
780
780
|
} | undefined;
|
|
781
781
|
serialNumber?: {
|
|
782
782
|
prefixes: string[];
|
|
783
|
-
roles: ("
|
|
783
|
+
roles: ("RIDER" | "PASSENGER" | "AGENT" | "ADMIN")[];
|
|
784
784
|
identifierPattern: string;
|
|
785
785
|
} | undefined;
|
|
786
786
|
bleBatches?: {
|
|
@@ -857,11 +857,11 @@ export declare const createAppSpecsSchema: z.ZodObject<{
|
|
|
857
857
|
appShortName?: string | null | undefined;
|
|
858
858
|
appDescription?: string | null | undefined;
|
|
859
859
|
runtimeConfig?: {
|
|
860
|
-
googleWebClientId?: string | undefined;
|
|
861
|
-
paidAccessActivated?: boolean | undefined;
|
|
862
860
|
passengerAccess?: {
|
|
863
861
|
mode: "FREE" | "PAID";
|
|
864
862
|
} | undefined;
|
|
863
|
+
paidAccessActivated?: boolean | undefined;
|
|
864
|
+
googleWebClientId?: string | undefined;
|
|
865
865
|
speedGovernor?: {
|
|
866
866
|
isActive: boolean;
|
|
867
867
|
weeklySchedule: {
|
|
@@ -913,7 +913,7 @@ export declare const createAppSpecsSchema: z.ZodObject<{
|
|
|
913
913
|
} | undefined;
|
|
914
914
|
serialNumber?: {
|
|
915
915
|
prefixes: string[];
|
|
916
|
-
roles: ("
|
|
916
|
+
roles: ("RIDER" | "PASSENGER" | "AGENT" | "ADMIN")[];
|
|
917
917
|
identifierPattern: string;
|
|
918
918
|
} | undefined;
|
|
919
919
|
bleBatches?: {
|
|
@@ -974,11 +974,11 @@ export declare const createAppSpecsSchema: z.ZodObject<{
|
|
|
974
974
|
appDefaultLanguage?: string | undefined;
|
|
975
975
|
appSupportedLanguages?: string[] | undefined;
|
|
976
976
|
runtimeConfig?: {
|
|
977
|
-
googleWebClientId?: string | undefined;
|
|
978
|
-
paidAccessActivated?: boolean | undefined;
|
|
979
977
|
passengerAccess?: {
|
|
980
978
|
mode: "FREE" | "PAID";
|
|
981
979
|
} | undefined;
|
|
980
|
+
paidAccessActivated?: boolean | undefined;
|
|
981
|
+
googleWebClientId?: string | undefined;
|
|
982
982
|
speedGovernor?: {
|
|
983
983
|
isActive: boolean;
|
|
984
984
|
weeklySchedule: {
|
|
@@ -1030,7 +1030,7 @@ export declare const createAppSpecsSchema: z.ZodObject<{
|
|
|
1030
1030
|
} | undefined;
|
|
1031
1031
|
serialNumber?: {
|
|
1032
1032
|
prefixes: string[];
|
|
1033
|
-
roles: ("
|
|
1033
|
+
roles: ("RIDER" | "PASSENGER" | "AGENT" | "ADMIN")[];
|
|
1034
1034
|
identifierPattern: string;
|
|
1035
1035
|
} | undefined;
|
|
1036
1036
|
bleBatches?: {
|
|
@@ -1422,11 +1422,11 @@ export declare const updateAppSpecsSchema: z.ZodObject<{
|
|
|
1422
1422
|
identifierPattern: z.ZodEffects<z.ZodString, string, string>;
|
|
1423
1423
|
}, "strip", z.ZodTypeAny, {
|
|
1424
1424
|
prefixes: string[];
|
|
1425
|
-
roles: ("
|
|
1425
|
+
roles: ("RIDER" | "PASSENGER" | "AGENT" | "ADMIN")[];
|
|
1426
1426
|
identifierPattern: string;
|
|
1427
1427
|
}, {
|
|
1428
1428
|
prefixes: string[];
|
|
1429
|
-
roles: ("
|
|
1429
|
+
roles: ("RIDER" | "PASSENGER" | "AGENT" | "ADMIN")[];
|
|
1430
1430
|
identifierPattern: string;
|
|
1431
1431
|
}>>;
|
|
1432
1432
|
bleBatches: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1490,11 +1490,11 @@ export declare const updateAppSpecsSchema: z.ZodObject<{
|
|
|
1490
1490
|
minimumAppVersion: z.ZodOptional<z.ZodString>;
|
|
1491
1491
|
forceUpdateMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1492
1492
|
}, "strip", z.ZodTypeAny, {
|
|
1493
|
-
googleWebClientId?: string | undefined;
|
|
1494
|
-
paidAccessActivated?: boolean | undefined;
|
|
1495
1493
|
passengerAccess?: {
|
|
1496
1494
|
mode: "FREE" | "PAID";
|
|
1497
1495
|
} | undefined;
|
|
1496
|
+
paidAccessActivated?: boolean | undefined;
|
|
1497
|
+
googleWebClientId?: string | undefined;
|
|
1498
1498
|
speedGovernor?: {
|
|
1499
1499
|
isActive: boolean;
|
|
1500
1500
|
weeklySchedule: {
|
|
@@ -1546,7 +1546,7 @@ export declare const updateAppSpecsSchema: z.ZodObject<{
|
|
|
1546
1546
|
} | undefined;
|
|
1547
1547
|
serialNumber?: {
|
|
1548
1548
|
prefixes: string[];
|
|
1549
|
-
roles: ("
|
|
1549
|
+
roles: ("RIDER" | "PASSENGER" | "AGENT" | "ADMIN")[];
|
|
1550
1550
|
identifierPattern: string;
|
|
1551
1551
|
} | undefined;
|
|
1552
1552
|
bleBatches?: {
|
|
@@ -1574,11 +1574,11 @@ export declare const updateAppSpecsSchema: z.ZodObject<{
|
|
|
1574
1574
|
minimumAppVersion?: string | undefined;
|
|
1575
1575
|
forceUpdateMessage?: string | null | undefined;
|
|
1576
1576
|
}, {
|
|
1577
|
-
googleWebClientId?: string | undefined;
|
|
1578
|
-
paidAccessActivated?: boolean | undefined;
|
|
1579
1577
|
passengerAccess?: {
|
|
1580
1578
|
mode: "FREE" | "PAID";
|
|
1581
1579
|
} | undefined;
|
|
1580
|
+
paidAccessActivated?: boolean | undefined;
|
|
1581
|
+
googleWebClientId?: string | undefined;
|
|
1582
1582
|
speedGovernor?: {
|
|
1583
1583
|
isActive: boolean;
|
|
1584
1584
|
weeklySchedule: {
|
|
@@ -1630,7 +1630,7 @@ export declare const updateAppSpecsSchema: z.ZodObject<{
|
|
|
1630
1630
|
} | undefined;
|
|
1631
1631
|
serialNumber?: {
|
|
1632
1632
|
prefixes: string[];
|
|
1633
|
-
roles: ("
|
|
1633
|
+
roles: ("RIDER" | "PASSENGER" | "AGENT" | "ADMIN")[];
|
|
1634
1634
|
identifierPattern: string;
|
|
1635
1635
|
} | undefined;
|
|
1636
1636
|
bleBatches?: {
|
|
@@ -1696,11 +1696,11 @@ export declare const updateAppSpecsSchema: z.ZodObject<{
|
|
|
1696
1696
|
stagingBaseUrl?: string | undefined;
|
|
1697
1697
|
productionBaseUrl?: string | undefined;
|
|
1698
1698
|
runtimeConfig?: {
|
|
1699
|
-
googleWebClientId?: string | undefined;
|
|
1700
|
-
paidAccessActivated?: boolean | undefined;
|
|
1701
1699
|
passengerAccess?: {
|
|
1702
1700
|
mode: "FREE" | "PAID";
|
|
1703
1701
|
} | undefined;
|
|
1702
|
+
paidAccessActivated?: boolean | undefined;
|
|
1703
|
+
googleWebClientId?: string | undefined;
|
|
1704
1704
|
speedGovernor?: {
|
|
1705
1705
|
isActive: boolean;
|
|
1706
1706
|
weeklySchedule: {
|
|
@@ -1752,7 +1752,7 @@ export declare const updateAppSpecsSchema: z.ZodObject<{
|
|
|
1752
1752
|
} | undefined;
|
|
1753
1753
|
serialNumber?: {
|
|
1754
1754
|
prefixes: string[];
|
|
1755
|
-
roles: ("
|
|
1755
|
+
roles: ("RIDER" | "PASSENGER" | "AGENT" | "ADMIN")[];
|
|
1756
1756
|
identifierPattern: string;
|
|
1757
1757
|
} | undefined;
|
|
1758
1758
|
bleBatches?: {
|
|
@@ -1818,11 +1818,11 @@ export declare const updateAppSpecsSchema: z.ZodObject<{
|
|
|
1818
1818
|
stagingBaseUrl?: string | undefined;
|
|
1819
1819
|
productionBaseUrl?: string | undefined;
|
|
1820
1820
|
runtimeConfig?: {
|
|
1821
|
-
googleWebClientId?: string | undefined;
|
|
1822
|
-
paidAccessActivated?: boolean | undefined;
|
|
1823
1821
|
passengerAccess?: {
|
|
1824
1822
|
mode: "FREE" | "PAID";
|
|
1825
1823
|
} | undefined;
|
|
1824
|
+
paidAccessActivated?: boolean | undefined;
|
|
1825
|
+
googleWebClientId?: string | undefined;
|
|
1826
1826
|
speedGovernor?: {
|
|
1827
1827
|
isActive: boolean;
|
|
1828
1828
|
weeklySchedule: {
|
|
@@ -1874,7 +1874,7 @@ export declare const updateAppSpecsSchema: z.ZodObject<{
|
|
|
1874
1874
|
} | undefined;
|
|
1875
1875
|
serialNumber?: {
|
|
1876
1876
|
prefixes: string[];
|
|
1877
|
-
roles: ("
|
|
1877
|
+
roles: ("RIDER" | "PASSENGER" | "AGENT" | "ADMIN")[];
|
|
1878
1878
|
identifierPattern: string;
|
|
1879
1879
|
} | undefined;
|
|
1880
1880
|
bleBatches?: {
|
|
@@ -1933,9 +1933,6 @@ export declare const updateAppSpecsSchema: z.ZodObject<{
|
|
|
1933
1933
|
maintenanceEndAt?: string | null | undefined;
|
|
1934
1934
|
}>;
|
|
1935
1935
|
}, "strip", z.ZodTypeAny, {
|
|
1936
|
-
params: {
|
|
1937
|
-
id: string;
|
|
1938
|
-
};
|
|
1939
1936
|
body: {
|
|
1940
1937
|
appShortName?: string | null | undefined;
|
|
1941
1938
|
appDescription?: string | null | undefined;
|
|
@@ -1945,11 +1942,11 @@ export declare const updateAppSpecsSchema: z.ZodObject<{
|
|
|
1945
1942
|
stagingBaseUrl?: string | undefined;
|
|
1946
1943
|
productionBaseUrl?: string | undefined;
|
|
1947
1944
|
runtimeConfig?: {
|
|
1948
|
-
googleWebClientId?: string | undefined;
|
|
1949
|
-
paidAccessActivated?: boolean | undefined;
|
|
1950
1945
|
passengerAccess?: {
|
|
1951
1946
|
mode: "FREE" | "PAID";
|
|
1952
1947
|
} | undefined;
|
|
1948
|
+
paidAccessActivated?: boolean | undefined;
|
|
1949
|
+
googleWebClientId?: string | undefined;
|
|
1953
1950
|
speedGovernor?: {
|
|
1954
1951
|
isActive: boolean;
|
|
1955
1952
|
weeklySchedule: {
|
|
@@ -2001,7 +1998,7 @@ export declare const updateAppSpecsSchema: z.ZodObject<{
|
|
|
2001
1998
|
} | undefined;
|
|
2002
1999
|
serialNumber?: {
|
|
2003
2000
|
prefixes: string[];
|
|
2004
|
-
roles: ("
|
|
2001
|
+
roles: ("RIDER" | "PASSENGER" | "AGENT" | "ADMIN")[];
|
|
2005
2002
|
identifierPattern: string;
|
|
2006
2003
|
} | undefined;
|
|
2007
2004
|
bleBatches?: {
|
|
@@ -2059,10 +2056,10 @@ export declare const updateAppSpecsSchema: z.ZodObject<{
|
|
|
2059
2056
|
maintenanceStartAt?: string | null | undefined;
|
|
2060
2057
|
maintenanceEndAt?: string | null | undefined;
|
|
2061
2058
|
};
|
|
2062
|
-
}, {
|
|
2063
2059
|
params: {
|
|
2064
2060
|
id: string;
|
|
2065
2061
|
};
|
|
2062
|
+
}, {
|
|
2066
2063
|
body: {
|
|
2067
2064
|
appShortName?: string | null | undefined;
|
|
2068
2065
|
appDescription?: string | null | undefined;
|
|
@@ -2072,11 +2069,11 @@ export declare const updateAppSpecsSchema: z.ZodObject<{
|
|
|
2072
2069
|
stagingBaseUrl?: string | undefined;
|
|
2073
2070
|
productionBaseUrl?: string | undefined;
|
|
2074
2071
|
runtimeConfig?: {
|
|
2075
|
-
googleWebClientId?: string | undefined;
|
|
2076
|
-
paidAccessActivated?: boolean | undefined;
|
|
2077
2072
|
passengerAccess?: {
|
|
2078
2073
|
mode: "FREE" | "PAID";
|
|
2079
2074
|
} | undefined;
|
|
2075
|
+
paidAccessActivated?: boolean | undefined;
|
|
2076
|
+
googleWebClientId?: string | undefined;
|
|
2080
2077
|
speedGovernor?: {
|
|
2081
2078
|
isActive: boolean;
|
|
2082
2079
|
weeklySchedule: {
|
|
@@ -2128,7 +2125,7 @@ export declare const updateAppSpecsSchema: z.ZodObject<{
|
|
|
2128
2125
|
} | undefined;
|
|
2129
2126
|
serialNumber?: {
|
|
2130
2127
|
prefixes: string[];
|
|
2131
|
-
roles: ("
|
|
2128
|
+
roles: ("RIDER" | "PASSENGER" | "AGENT" | "ADMIN")[];
|
|
2132
2129
|
identifierPattern: string;
|
|
2133
2130
|
} | undefined;
|
|
2134
2131
|
bleBatches?: {
|
|
@@ -2186,6 +2183,9 @@ export declare const updateAppSpecsSchema: z.ZodObject<{
|
|
|
2186
2183
|
maintenanceStartAt?: string | null | undefined;
|
|
2187
2184
|
maintenanceEndAt?: string | null | undefined;
|
|
2188
2185
|
};
|
|
2186
|
+
params: {
|
|
2187
|
+
id: string;
|
|
2188
|
+
};
|
|
2189
2189
|
}>;
|
|
2190
2190
|
export declare const listAppSpecsSchema: z.ZodObject<{
|
|
2191
2191
|
query: z.ZodObject<{
|
|
@@ -2195,32 +2195,32 @@ export declare const listAppSpecsSchema: z.ZodObject<{
|
|
|
2195
2195
|
sortBy: z.ZodOptional<z.ZodEnum<["appName", "createdAt", "updatedAt"]>>;
|
|
2196
2196
|
sortOrder: z.ZodOptional<z.ZodEnum<["ASC", "DESC"]>>;
|
|
2197
2197
|
}, "strip", z.ZodTypeAny, {
|
|
2198
|
-
page: number;
|
|
2199
2198
|
limit: number;
|
|
2199
|
+
page: number;
|
|
2200
2200
|
search?: string | undefined;
|
|
2201
|
-
sortBy?: "
|
|
2201
|
+
sortBy?: "createdAt" | "updatedAt" | "appName" | undefined;
|
|
2202
2202
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
2203
2203
|
}, {
|
|
2204
|
-
page?: string | undefined;
|
|
2205
|
-
limit?: string | undefined;
|
|
2206
2204
|
search?: string | undefined;
|
|
2207
|
-
|
|
2205
|
+
limit?: string | undefined;
|
|
2206
|
+
page?: string | undefined;
|
|
2207
|
+
sortBy?: "createdAt" | "updatedAt" | "appName" | undefined;
|
|
2208
2208
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
2209
2209
|
}>;
|
|
2210
2210
|
}, "strip", z.ZodTypeAny, {
|
|
2211
2211
|
query: {
|
|
2212
|
-
page: number;
|
|
2213
2212
|
limit: number;
|
|
2213
|
+
page: number;
|
|
2214
2214
|
search?: string | undefined;
|
|
2215
|
-
sortBy?: "
|
|
2215
|
+
sortBy?: "createdAt" | "updatedAt" | "appName" | undefined;
|
|
2216
2216
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
2217
2217
|
};
|
|
2218
2218
|
}, {
|
|
2219
2219
|
query: {
|
|
2220
|
-
page?: string | undefined;
|
|
2221
|
-
limit?: string | undefined;
|
|
2222
2220
|
search?: string | undefined;
|
|
2223
|
-
|
|
2221
|
+
limit?: string | undefined;
|
|
2222
|
+
page?: string | undefined;
|
|
2223
|
+
sortBy?: "createdAt" | "updatedAt" | "appName" | undefined;
|
|
2224
2224
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
2225
2225
|
};
|
|
2226
2226
|
}>;
|
|
@@ -10,21 +10,21 @@ export declare const userLoginSchema: z.ZodObject<{
|
|
|
10
10
|
contactValue: z.ZodEffects<z.ZodString, string, string>;
|
|
11
11
|
password: z.ZodString;
|
|
12
12
|
}, "strip", z.ZodTypeAny, {
|
|
13
|
-
password: string;
|
|
14
13
|
contactValue: string;
|
|
15
|
-
}, {
|
|
16
14
|
password: string;
|
|
15
|
+
}, {
|
|
17
16
|
contactValue: string;
|
|
17
|
+
password: string;
|
|
18
18
|
}>;
|
|
19
19
|
}, "strip", z.ZodTypeAny, {
|
|
20
20
|
body: {
|
|
21
|
-
password: string;
|
|
22
21
|
contactValue: string;
|
|
22
|
+
password: string;
|
|
23
23
|
};
|
|
24
24
|
}, {
|
|
25
25
|
body: {
|
|
26
|
-
password: string;
|
|
27
26
|
contactValue: string;
|
|
27
|
+
password: string;
|
|
28
28
|
};
|
|
29
29
|
}>;
|
|
30
30
|
export declare const forgotPasswordSchema: z.ZodObject<{
|
|
@@ -95,33 +95,33 @@ export declare const registerSchema: z.ZodObject<{
|
|
|
95
95
|
birthMonth: z.ZodOptional<z.ZodNumber>;
|
|
96
96
|
birthYear: z.ZodOptional<z.ZodNumber>;
|
|
97
97
|
}, "strict", z.ZodTypeAny, {
|
|
98
|
+
contactValue: string;
|
|
99
|
+
role: "RIDER" | "PASSENGER";
|
|
100
|
+
password: string;
|
|
98
101
|
firstName: string;
|
|
99
102
|
lastName: string;
|
|
100
|
-
password: string;
|
|
101
|
-
role: "RIDER" | "PASSENGER";
|
|
102
|
-
contactValue: string;
|
|
103
103
|
gender?: "male" | "female" | undefined;
|
|
104
104
|
birthDate?: number | undefined;
|
|
105
105
|
birthMonth?: number | undefined;
|
|
106
106
|
birthYear?: number | undefined;
|
|
107
107
|
}, {
|
|
108
|
+
contactValue: string;
|
|
109
|
+
password: string;
|
|
108
110
|
firstName: string;
|
|
109
111
|
lastName: string;
|
|
110
|
-
|
|
111
|
-
contactValue: string;
|
|
112
|
+
role?: "RIDER" | "PASSENGER" | undefined;
|
|
112
113
|
gender?: "male" | "female" | undefined;
|
|
113
114
|
birthDate?: number | undefined;
|
|
114
115
|
birthMonth?: number | undefined;
|
|
115
116
|
birthYear?: number | undefined;
|
|
116
|
-
role?: "RIDER" | "PASSENGER" | undefined;
|
|
117
117
|
}>;
|
|
118
118
|
}, "strip", z.ZodTypeAny, {
|
|
119
119
|
body: {
|
|
120
|
+
contactValue: string;
|
|
121
|
+
role: "RIDER" | "PASSENGER";
|
|
122
|
+
password: string;
|
|
120
123
|
firstName: string;
|
|
121
124
|
lastName: string;
|
|
122
|
-
password: string;
|
|
123
|
-
role: "RIDER" | "PASSENGER";
|
|
124
|
-
contactValue: string;
|
|
125
125
|
gender?: "male" | "female" | undefined;
|
|
126
126
|
birthDate?: number | undefined;
|
|
127
127
|
birthMonth?: number | undefined;
|
|
@@ -129,15 +129,15 @@ export declare const registerSchema: z.ZodObject<{
|
|
|
129
129
|
};
|
|
130
130
|
}, {
|
|
131
131
|
body: {
|
|
132
|
+
contactValue: string;
|
|
133
|
+
password: string;
|
|
132
134
|
firstName: string;
|
|
133
135
|
lastName: string;
|
|
134
|
-
|
|
135
|
-
contactValue: string;
|
|
136
|
+
role?: "RIDER" | "PASSENGER" | undefined;
|
|
136
137
|
gender?: "male" | "female" | undefined;
|
|
137
138
|
birthDate?: number | undefined;
|
|
138
139
|
birthMonth?: number | undefined;
|
|
139
140
|
birthYear?: number | undefined;
|
|
140
|
-
role?: "RIDER" | "PASSENGER" | undefined;
|
|
141
141
|
};
|
|
142
142
|
}>;
|
|
143
143
|
export declare const riderPasswordRegex: RegExp;
|
|
@@ -359,11 +359,11 @@ export declare const createUserSchema: z.ZodObject<{
|
|
|
359
359
|
jacketId: z.ZodOptional<z.ZodString>;
|
|
360
360
|
plateNumber: z.ZodOptional<z.ZodString>;
|
|
361
361
|
}, "strip", z.ZodTypeAny, {
|
|
362
|
+
contactValue: string;
|
|
363
|
+
role: "RIDER" | "PASSENGER" | "AGENT" | "ADMIN" | "SUPER_ADMIN";
|
|
364
|
+
password: string;
|
|
362
365
|
firstName: string;
|
|
363
366
|
lastName: string;
|
|
364
|
-
password: string;
|
|
365
|
-
role: "RIDER" | "PASSENGER" | "ADMIN" | "AGENT" | "SUPER_ADMIN";
|
|
366
|
-
contactValue: string;
|
|
367
367
|
jacketId?: string | undefined;
|
|
368
368
|
plateNumber?: string | undefined;
|
|
369
369
|
gender?: "male" | "female" | undefined;
|
|
@@ -371,11 +371,11 @@ export declare const createUserSchema: z.ZodObject<{
|
|
|
371
371
|
birthMonth?: number | undefined;
|
|
372
372
|
birthYear?: number | undefined;
|
|
373
373
|
}, {
|
|
374
|
+
contactValue: string;
|
|
375
|
+
role: "RIDER" | "PASSENGER" | "AGENT" | "ADMIN" | "SUPER_ADMIN";
|
|
376
|
+
password: string;
|
|
374
377
|
firstName: string;
|
|
375
378
|
lastName: string;
|
|
376
|
-
password: string;
|
|
377
|
-
role: "RIDER" | "PASSENGER" | "ADMIN" | "AGENT" | "SUPER_ADMIN";
|
|
378
|
-
contactValue: string;
|
|
379
379
|
jacketId?: string | undefined;
|
|
380
380
|
plateNumber?: string | undefined;
|
|
381
381
|
gender?: "male" | "female" | undefined;
|
|
@@ -385,11 +385,11 @@ export declare const createUserSchema: z.ZodObject<{
|
|
|
385
385
|
}>;
|
|
386
386
|
}, "strip", z.ZodTypeAny, {
|
|
387
387
|
body: {
|
|
388
|
+
contactValue: string;
|
|
389
|
+
role: "RIDER" | "PASSENGER" | "AGENT" | "ADMIN" | "SUPER_ADMIN";
|
|
390
|
+
password: string;
|
|
388
391
|
firstName: string;
|
|
389
392
|
lastName: string;
|
|
390
|
-
password: string;
|
|
391
|
-
role: "RIDER" | "PASSENGER" | "ADMIN" | "AGENT" | "SUPER_ADMIN";
|
|
392
|
-
contactValue: string;
|
|
393
393
|
jacketId?: string | undefined;
|
|
394
394
|
plateNumber?: string | undefined;
|
|
395
395
|
gender?: "male" | "female" | undefined;
|
|
@@ -399,11 +399,11 @@ export declare const createUserSchema: z.ZodObject<{
|
|
|
399
399
|
};
|
|
400
400
|
}, {
|
|
401
401
|
body: {
|
|
402
|
+
contactValue: string;
|
|
403
|
+
role: "RIDER" | "PASSENGER" | "AGENT" | "ADMIN" | "SUPER_ADMIN";
|
|
404
|
+
password: string;
|
|
402
405
|
firstName: string;
|
|
403
406
|
lastName: string;
|
|
404
|
-
password: string;
|
|
405
|
-
role: "RIDER" | "PASSENGER" | "ADMIN" | "AGENT" | "SUPER_ADMIN";
|
|
406
|
-
contactValue: string;
|
|
407
407
|
jacketId?: string | undefined;
|
|
408
408
|
plateNumber?: string | undefined;
|
|
409
409
|
gender?: "male" | "female" | undefined;
|
|
@@ -283,19 +283,19 @@ export declare const listBansSchema: z.ZodObject<{
|
|
|
283
283
|
sortBy?: "createdAt" | "reason" | "bannedAt" | undefined;
|
|
284
284
|
fromDate?: string | undefined;
|
|
285
285
|
toDate?: string | undefined;
|
|
286
|
-
sortOrder?: "
|
|
286
|
+
sortOrder?: "ASC" | "DESC" | undefined;
|
|
287
287
|
}, {
|
|
288
288
|
search?: string | undefined;
|
|
289
289
|
limit?: string | undefined;
|
|
290
290
|
userId?: string | undefined;
|
|
291
|
+
page?: string | undefined;
|
|
291
292
|
isPermanent?: "true" | "false" | undefined;
|
|
292
293
|
appealStatus?: "pending" | "approved" | "rejected" | undefined;
|
|
293
294
|
status?: "active" | "revoked" | undefined;
|
|
294
|
-
page?: string | undefined;
|
|
295
295
|
sortBy?: "createdAt" | "reason" | "bannedAt" | undefined;
|
|
296
296
|
fromDate?: string | undefined;
|
|
297
297
|
toDate?: string | undefined;
|
|
298
|
-
sortOrder?: "
|
|
298
|
+
sortOrder?: "ASC" | "DESC" | undefined;
|
|
299
299
|
}>, {
|
|
300
300
|
limit: number;
|
|
301
301
|
page: number;
|
|
@@ -307,19 +307,19 @@ export declare const listBansSchema: z.ZodObject<{
|
|
|
307
307
|
sortBy?: "createdAt" | "reason" | "bannedAt" | undefined;
|
|
308
308
|
fromDate?: string | undefined;
|
|
309
309
|
toDate?: string | undefined;
|
|
310
|
-
sortOrder?: "
|
|
310
|
+
sortOrder?: "ASC" | "DESC" | undefined;
|
|
311
311
|
}, {
|
|
312
312
|
search?: string | undefined;
|
|
313
313
|
limit?: string | undefined;
|
|
314
314
|
userId?: string | undefined;
|
|
315
|
+
page?: string | undefined;
|
|
315
316
|
isPermanent?: "true" | "false" | undefined;
|
|
316
317
|
appealStatus?: "pending" | "approved" | "rejected" | undefined;
|
|
317
318
|
status?: "active" | "revoked" | undefined;
|
|
318
|
-
page?: string | undefined;
|
|
319
319
|
sortBy?: "createdAt" | "reason" | "bannedAt" | undefined;
|
|
320
320
|
fromDate?: string | undefined;
|
|
321
321
|
toDate?: string | undefined;
|
|
322
|
-
sortOrder?: "
|
|
322
|
+
sortOrder?: "ASC" | "DESC" | undefined;
|
|
323
323
|
}>;
|
|
324
324
|
}, "strip", z.ZodTypeAny, {
|
|
325
325
|
query: {
|
|
@@ -333,21 +333,21 @@ export declare const listBansSchema: z.ZodObject<{
|
|
|
333
333
|
sortBy?: "createdAt" | "reason" | "bannedAt" | undefined;
|
|
334
334
|
fromDate?: string | undefined;
|
|
335
335
|
toDate?: string | undefined;
|
|
336
|
-
sortOrder?: "
|
|
336
|
+
sortOrder?: "ASC" | "DESC" | undefined;
|
|
337
337
|
};
|
|
338
338
|
}, {
|
|
339
339
|
query: {
|
|
340
340
|
search?: string | undefined;
|
|
341
341
|
limit?: string | undefined;
|
|
342
342
|
userId?: string | undefined;
|
|
343
|
+
page?: string | undefined;
|
|
343
344
|
isPermanent?: "true" | "false" | undefined;
|
|
344
345
|
appealStatus?: "pending" | "approved" | "rejected" | undefined;
|
|
345
346
|
status?: "active" | "revoked" | undefined;
|
|
346
|
-
page?: string | undefined;
|
|
347
347
|
sortBy?: "createdAt" | "reason" | "bannedAt" | undefined;
|
|
348
348
|
fromDate?: string | undefined;
|
|
349
349
|
toDate?: string | undefined;
|
|
350
|
-
sortOrder?: "
|
|
350
|
+
sortOrder?: "ASC" | "DESC" | undefined;
|
|
351
351
|
};
|
|
352
352
|
}>;
|
|
353
353
|
export declare const listSuspensionsSchema: z.ZodObject<{
|
|
@@ -373,18 +373,18 @@ export declare const listSuspensionsSchema: z.ZodObject<{
|
|
|
373
373
|
sortBy?: "createdAt" | "reason" | "endsAt" | "startedAt" | undefined;
|
|
374
374
|
fromDate?: string | undefined;
|
|
375
375
|
toDate?: string | undefined;
|
|
376
|
-
sortOrder?: "
|
|
376
|
+
sortOrder?: "ASC" | "DESC" | undefined;
|
|
377
377
|
}, {
|
|
378
378
|
search?: string | undefined;
|
|
379
379
|
limit?: string | undefined;
|
|
380
380
|
userId?: string | undefined;
|
|
381
|
+
page?: string | undefined;
|
|
381
382
|
appealStatus?: "pending" | "approved" | "rejected" | undefined;
|
|
382
383
|
status?: "active" | "expired" | "revoked" | undefined;
|
|
383
|
-
page?: string | undefined;
|
|
384
384
|
sortBy?: "createdAt" | "reason" | "endsAt" | "startedAt" | undefined;
|
|
385
385
|
fromDate?: string | undefined;
|
|
386
386
|
toDate?: string | undefined;
|
|
387
|
-
sortOrder?: "
|
|
387
|
+
sortOrder?: "ASC" | "DESC" | undefined;
|
|
388
388
|
}>, {
|
|
389
389
|
limit: number;
|
|
390
390
|
page: number;
|
|
@@ -395,18 +395,18 @@ export declare const listSuspensionsSchema: z.ZodObject<{
|
|
|
395
395
|
sortBy?: "createdAt" | "reason" | "endsAt" | "startedAt" | undefined;
|
|
396
396
|
fromDate?: string | undefined;
|
|
397
397
|
toDate?: string | undefined;
|
|
398
|
-
sortOrder?: "
|
|
398
|
+
sortOrder?: "ASC" | "DESC" | undefined;
|
|
399
399
|
}, {
|
|
400
400
|
search?: string | undefined;
|
|
401
401
|
limit?: string | undefined;
|
|
402
402
|
userId?: string | undefined;
|
|
403
|
+
page?: string | undefined;
|
|
403
404
|
appealStatus?: "pending" | "approved" | "rejected" | undefined;
|
|
404
405
|
status?: "active" | "expired" | "revoked" | undefined;
|
|
405
|
-
page?: string | undefined;
|
|
406
406
|
sortBy?: "createdAt" | "reason" | "endsAt" | "startedAt" | undefined;
|
|
407
407
|
fromDate?: string | undefined;
|
|
408
408
|
toDate?: string | undefined;
|
|
409
|
-
sortOrder?: "
|
|
409
|
+
sortOrder?: "ASC" | "DESC" | undefined;
|
|
410
410
|
}>;
|
|
411
411
|
}, "strip", z.ZodTypeAny, {
|
|
412
412
|
query: {
|
|
@@ -419,20 +419,20 @@ export declare const listSuspensionsSchema: z.ZodObject<{
|
|
|
419
419
|
sortBy?: "createdAt" | "reason" | "endsAt" | "startedAt" | undefined;
|
|
420
420
|
fromDate?: string | undefined;
|
|
421
421
|
toDate?: string | undefined;
|
|
422
|
-
sortOrder?: "
|
|
422
|
+
sortOrder?: "ASC" | "DESC" | undefined;
|
|
423
423
|
};
|
|
424
424
|
}, {
|
|
425
425
|
query: {
|
|
426
426
|
search?: string | undefined;
|
|
427
427
|
limit?: string | undefined;
|
|
428
428
|
userId?: string | undefined;
|
|
429
|
+
page?: string | undefined;
|
|
429
430
|
appealStatus?: "pending" | "approved" | "rejected" | undefined;
|
|
430
431
|
status?: "active" | "expired" | "revoked" | undefined;
|
|
431
|
-
page?: string | undefined;
|
|
432
432
|
sortBy?: "createdAt" | "reason" | "endsAt" | "startedAt" | undefined;
|
|
433
433
|
fromDate?: string | undefined;
|
|
434
434
|
toDate?: string | undefined;
|
|
435
|
-
sortOrder?: "
|
|
435
|
+
sortOrder?: "ASC" | "DESC" | undefined;
|
|
436
436
|
};
|
|
437
437
|
}>;
|
|
438
438
|
export declare const listPendingAppealsSchema: z.ZodObject<{
|