@tripsam/onboarding 1.0.95 → 1.0.97
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/common/index.cjs +2 -1
- package/dist/common/index.d.cts +1 -1
- package/dist/common/index.d.ts +1 -1
- package/dist/common/index.js +2 -1
- package/dist/{index-D1jB_U2u.d.cts → index-BJuwZblE.d.cts} +6 -4
- package/dist/{index-D1jB_U2u.d.ts → index-BJuwZblE.d.ts} +6 -4
- package/dist/{index-DqgzmWv0.d.cts → index-CktW00zQ.d.cts} +7 -10
- package/dist/{index-DqgzmWv0.d.ts → index-CktW00zQ.d.ts} +7 -10
- package/dist/index.cjs +4 -12
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +4 -12
- package/dist/safari/index.cjs +2 -11
- package/dist/safari/index.d.cts +1 -1
- package/dist/safari/index.d.ts +1 -1
- package/dist/safari/index.js +2 -11
- package/package.json +1 -1
package/dist/common/index.cjs
CHANGED
|
@@ -81,7 +81,8 @@ var onboard = import_zod2.z.object({
|
|
|
81
81
|
id: import_zod2.z.string(),
|
|
82
82
|
status: import_zod2.z.enum(["pending", "in_review", "approved", "rejected", "completed"]),
|
|
83
83
|
remark: import_zod2.z.string().optional().default(""),
|
|
84
|
-
type: safeSas,
|
|
84
|
+
type: safeSas.array().default([]),
|
|
85
|
+
safariName: import_zod2.z.string().trim().nonempty("required"),
|
|
85
86
|
currentStep: import_zod2.z.string().default("1.0")
|
|
86
87
|
});
|
|
87
88
|
var onboardUser = import_zod2.z.object({
|
package/dist/common/index.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { d as DocumentType, l as LocationAutoSuggest, o as Onboard, s as Support, v as VerifyEmail } from '../index-
|
|
1
|
+
export { d as DocumentType, l as LocationAutoSuggest, o as Onboard, s as Support, v as VerifyEmail } from '../index-BJuwZblE.cjs';
|
|
2
2
|
import 'zod';
|
package/dist/common/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { d as DocumentType, l as LocationAutoSuggest, o as Onboard, s as Support, v as VerifyEmail } from '../index-
|
|
1
|
+
export { d as DocumentType, l as LocationAutoSuggest, o as Onboard, s as Support, v as VerifyEmail } from '../index-BJuwZblE.js';
|
|
2
2
|
import 'zod';
|
package/dist/common/index.js
CHANGED
|
@@ -47,7 +47,8 @@ var onboard = z2.object({
|
|
|
47
47
|
id: z2.string(),
|
|
48
48
|
status: z2.enum(["pending", "in_review", "approved", "rejected", "completed"]),
|
|
49
49
|
remark: z2.string().optional().default(""),
|
|
50
|
-
type: safeSas,
|
|
50
|
+
type: safeSas.array().default([]),
|
|
51
|
+
safariName: z2.string().trim().nonempty("required"),
|
|
51
52
|
currentStep: z2.string().default("1.0")
|
|
52
53
|
});
|
|
53
54
|
var onboardUser = z2.object({
|
|
@@ -50,14 +50,15 @@ declare const onboard: z.ZodObject<{
|
|
|
50
50
|
completed: "completed";
|
|
51
51
|
}>;
|
|
52
52
|
remark: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
53
|
-
type: z.ZodEnum<{
|
|
53
|
+
type: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
54
54
|
LEOPARD_SAFARI: "LEOPARD_SAFARI";
|
|
55
55
|
TIGER_SAFARI: "TIGER_SAFARI";
|
|
56
56
|
BIRD_WATCHING_SAFARI: "BIRD_WATCHING_SAFARI";
|
|
57
57
|
VILLAGE_SAFARI: "VILLAGE_SAFARI";
|
|
58
58
|
LION_SAFARI: "LION_SAFARI";
|
|
59
59
|
JUNGLE_SAFARI: "JUNGLE_SAFARI";
|
|
60
|
-
}
|
|
60
|
+
}>>>;
|
|
61
|
+
safariName: z.ZodString;
|
|
61
62
|
currentStep: z.ZodDefault<z.ZodString>;
|
|
62
63
|
}, z.core.$strip>;
|
|
63
64
|
declare const onboardUser: z.ZodObject<{
|
|
@@ -83,14 +84,15 @@ declare const list: z.ZodArray<z.ZodObject<{
|
|
|
83
84
|
completed: "completed";
|
|
84
85
|
}>;
|
|
85
86
|
remark: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
86
|
-
type: z.ZodEnum<{
|
|
87
|
+
type: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
87
88
|
LEOPARD_SAFARI: "LEOPARD_SAFARI";
|
|
88
89
|
TIGER_SAFARI: "TIGER_SAFARI";
|
|
89
90
|
BIRD_WATCHING_SAFARI: "BIRD_WATCHING_SAFARI";
|
|
90
91
|
VILLAGE_SAFARI: "VILLAGE_SAFARI";
|
|
91
92
|
LION_SAFARI: "LION_SAFARI";
|
|
92
93
|
JUNGLE_SAFARI: "JUNGLE_SAFARI";
|
|
93
|
-
}
|
|
94
|
+
}>>>;
|
|
95
|
+
safariName: z.ZodString;
|
|
94
96
|
currentStep: z.ZodDefault<z.ZodString>;
|
|
95
97
|
}, z.core.$strip>>;
|
|
96
98
|
type SafeOnboard = z.output<typeof onboard>;
|
|
@@ -50,14 +50,15 @@ declare const onboard: z.ZodObject<{
|
|
|
50
50
|
completed: "completed";
|
|
51
51
|
}>;
|
|
52
52
|
remark: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
53
|
-
type: z.ZodEnum<{
|
|
53
|
+
type: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
54
54
|
LEOPARD_SAFARI: "LEOPARD_SAFARI";
|
|
55
55
|
TIGER_SAFARI: "TIGER_SAFARI";
|
|
56
56
|
BIRD_WATCHING_SAFARI: "BIRD_WATCHING_SAFARI";
|
|
57
57
|
VILLAGE_SAFARI: "VILLAGE_SAFARI";
|
|
58
58
|
LION_SAFARI: "LION_SAFARI";
|
|
59
59
|
JUNGLE_SAFARI: "JUNGLE_SAFARI";
|
|
60
|
-
}
|
|
60
|
+
}>>>;
|
|
61
|
+
safariName: z.ZodString;
|
|
61
62
|
currentStep: z.ZodDefault<z.ZodString>;
|
|
62
63
|
}, z.core.$strip>;
|
|
63
64
|
declare const onboardUser: z.ZodObject<{
|
|
@@ -83,14 +84,15 @@ declare const list: z.ZodArray<z.ZodObject<{
|
|
|
83
84
|
completed: "completed";
|
|
84
85
|
}>;
|
|
85
86
|
remark: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
86
|
-
type: z.ZodEnum<{
|
|
87
|
+
type: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
87
88
|
LEOPARD_SAFARI: "LEOPARD_SAFARI";
|
|
88
89
|
TIGER_SAFARI: "TIGER_SAFARI";
|
|
89
90
|
BIRD_WATCHING_SAFARI: "BIRD_WATCHING_SAFARI";
|
|
90
91
|
VILLAGE_SAFARI: "VILLAGE_SAFARI";
|
|
91
92
|
LION_SAFARI: "LION_SAFARI";
|
|
92
93
|
JUNGLE_SAFARI: "JUNGLE_SAFARI";
|
|
93
|
-
}
|
|
94
|
+
}>>>;
|
|
95
|
+
safariName: z.ZodString;
|
|
94
96
|
currentStep: z.ZodDefault<z.ZodString>;
|
|
95
97
|
}, z.core.$strip>>;
|
|
96
98
|
type SafeOnboard = z.output<typeof onboard>;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
|
|
3
|
-
/** @deprecated */
|
|
4
3
|
declare const safariTypes: {
|
|
5
4
|
readonly LEOPARD_SAFARI: "leopardSafari";
|
|
6
5
|
readonly TIGER_SAFARI: "tigerSafari";
|
|
@@ -24,53 +23,51 @@ declare const get$7: z.ZodObject<{
|
|
|
24
23
|
countryCode: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
25
24
|
phone: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
26
25
|
isPhoneVerified: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
27
|
-
type: z.ZodEnum<{
|
|
26
|
+
type: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
28
27
|
LEOPARD_SAFARI: "LEOPARD_SAFARI";
|
|
29
28
|
TIGER_SAFARI: "TIGER_SAFARI";
|
|
30
29
|
BIRD_WATCHING_SAFARI: "BIRD_WATCHING_SAFARI";
|
|
31
30
|
VILLAGE_SAFARI: "VILLAGE_SAFARI";
|
|
32
31
|
LION_SAFARI: "LION_SAFARI";
|
|
33
32
|
JUNGLE_SAFARI: "JUNGLE_SAFARI";
|
|
34
|
-
}
|
|
33
|
+
}>>>;
|
|
35
34
|
}, z.core.$strip>;
|
|
36
35
|
declare const create$5: z.ZodObject<{
|
|
37
36
|
name: z.ZodString;
|
|
38
37
|
countryCode: z.ZodDefault<z.ZodString>;
|
|
39
38
|
phone: z.ZodString;
|
|
40
|
-
type: z.ZodEnum<{
|
|
39
|
+
type: z.ZodArray<z.ZodEnum<{
|
|
41
40
|
LEOPARD_SAFARI: "LEOPARD_SAFARI";
|
|
42
41
|
TIGER_SAFARI: "TIGER_SAFARI";
|
|
43
42
|
BIRD_WATCHING_SAFARI: "BIRD_WATCHING_SAFARI";
|
|
44
43
|
VILLAGE_SAFARI: "VILLAGE_SAFARI";
|
|
45
44
|
LION_SAFARI: "LION_SAFARI";
|
|
46
45
|
JUNGLE_SAFARI: "JUNGLE_SAFARI";
|
|
47
|
-
}
|
|
46
|
+
}>>;
|
|
48
47
|
}, z.core.$strip>;
|
|
49
48
|
declare const update$5: z.ZodObject<{
|
|
50
49
|
id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
51
50
|
name: z.ZodString;
|
|
52
51
|
countryCode: z.ZodDefault<z.ZodString>;
|
|
53
52
|
phone: z.ZodString;
|
|
54
|
-
type: z.ZodEnum<{
|
|
53
|
+
type: z.ZodArray<z.ZodEnum<{
|
|
55
54
|
LEOPARD_SAFARI: "LEOPARD_SAFARI";
|
|
56
55
|
TIGER_SAFARI: "TIGER_SAFARI";
|
|
57
56
|
BIRD_WATCHING_SAFARI: "BIRD_WATCHING_SAFARI";
|
|
58
57
|
VILLAGE_SAFARI: "VILLAGE_SAFARI";
|
|
59
58
|
LION_SAFARI: "LION_SAFARI";
|
|
60
59
|
JUNGLE_SAFARI: "JUNGLE_SAFARI";
|
|
61
|
-
}
|
|
60
|
+
}>>;
|
|
62
61
|
}, z.core.$strip>;
|
|
63
62
|
type SafeGet$7 = z.infer<typeof get$7>;
|
|
64
63
|
type SafeUpdate$5 = z.output<typeof update$5>;
|
|
65
64
|
type SafeCreate$5 = z.output<typeof create$5>;
|
|
66
|
-
declare const defaultBasicDetails: SafeGet$7;
|
|
67
65
|
|
|
68
66
|
type basicDetails_SafariType = SafariType;
|
|
69
|
-
declare const basicDetails_defaultBasicDetails: typeof defaultBasicDetails;
|
|
70
67
|
declare const basicDetails_safariTypes: typeof safariTypes;
|
|
71
68
|
declare const basicDetails_safeSas: typeof safeSas;
|
|
72
69
|
declare namespace basicDetails {
|
|
73
|
-
export { type basicDetails_SafariType as SafariType, type SafeCreate$5 as SafeCreate, type SafeGet$7 as SafeGet, type SafeUpdate$5 as SafeUpdate, create$5 as create,
|
|
70
|
+
export { type basicDetails_SafariType as SafariType, type SafeCreate$5 as SafeCreate, type SafeGet$7 as SafeGet, type SafeUpdate$5 as SafeUpdate, create$5 as create, get$7 as get, basicDetails_safariTypes as safariTypes, basicDetails_safeSas as safeSas, update$5 as update };
|
|
74
71
|
}
|
|
75
72
|
|
|
76
73
|
declare const pickupLandmark: z.ZodObject<{
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
|
|
3
|
-
/** @deprecated */
|
|
4
3
|
declare const safariTypes: {
|
|
5
4
|
readonly LEOPARD_SAFARI: "leopardSafari";
|
|
6
5
|
readonly TIGER_SAFARI: "tigerSafari";
|
|
@@ -24,53 +23,51 @@ declare const get$7: z.ZodObject<{
|
|
|
24
23
|
countryCode: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
25
24
|
phone: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
26
25
|
isPhoneVerified: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
27
|
-
type: z.ZodEnum<{
|
|
26
|
+
type: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
28
27
|
LEOPARD_SAFARI: "LEOPARD_SAFARI";
|
|
29
28
|
TIGER_SAFARI: "TIGER_SAFARI";
|
|
30
29
|
BIRD_WATCHING_SAFARI: "BIRD_WATCHING_SAFARI";
|
|
31
30
|
VILLAGE_SAFARI: "VILLAGE_SAFARI";
|
|
32
31
|
LION_SAFARI: "LION_SAFARI";
|
|
33
32
|
JUNGLE_SAFARI: "JUNGLE_SAFARI";
|
|
34
|
-
}
|
|
33
|
+
}>>>;
|
|
35
34
|
}, z.core.$strip>;
|
|
36
35
|
declare const create$5: z.ZodObject<{
|
|
37
36
|
name: z.ZodString;
|
|
38
37
|
countryCode: z.ZodDefault<z.ZodString>;
|
|
39
38
|
phone: z.ZodString;
|
|
40
|
-
type: z.ZodEnum<{
|
|
39
|
+
type: z.ZodArray<z.ZodEnum<{
|
|
41
40
|
LEOPARD_SAFARI: "LEOPARD_SAFARI";
|
|
42
41
|
TIGER_SAFARI: "TIGER_SAFARI";
|
|
43
42
|
BIRD_WATCHING_SAFARI: "BIRD_WATCHING_SAFARI";
|
|
44
43
|
VILLAGE_SAFARI: "VILLAGE_SAFARI";
|
|
45
44
|
LION_SAFARI: "LION_SAFARI";
|
|
46
45
|
JUNGLE_SAFARI: "JUNGLE_SAFARI";
|
|
47
|
-
}
|
|
46
|
+
}>>;
|
|
48
47
|
}, z.core.$strip>;
|
|
49
48
|
declare const update$5: z.ZodObject<{
|
|
50
49
|
id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
51
50
|
name: z.ZodString;
|
|
52
51
|
countryCode: z.ZodDefault<z.ZodString>;
|
|
53
52
|
phone: z.ZodString;
|
|
54
|
-
type: z.ZodEnum<{
|
|
53
|
+
type: z.ZodArray<z.ZodEnum<{
|
|
55
54
|
LEOPARD_SAFARI: "LEOPARD_SAFARI";
|
|
56
55
|
TIGER_SAFARI: "TIGER_SAFARI";
|
|
57
56
|
BIRD_WATCHING_SAFARI: "BIRD_WATCHING_SAFARI";
|
|
58
57
|
VILLAGE_SAFARI: "VILLAGE_SAFARI";
|
|
59
58
|
LION_SAFARI: "LION_SAFARI";
|
|
60
59
|
JUNGLE_SAFARI: "JUNGLE_SAFARI";
|
|
61
|
-
}
|
|
60
|
+
}>>;
|
|
62
61
|
}, z.core.$strip>;
|
|
63
62
|
type SafeGet$7 = z.infer<typeof get$7>;
|
|
64
63
|
type SafeUpdate$5 = z.output<typeof update$5>;
|
|
65
64
|
type SafeCreate$5 = z.output<typeof create$5>;
|
|
66
|
-
declare const defaultBasicDetails: SafeGet$7;
|
|
67
65
|
|
|
68
66
|
type basicDetails_SafariType = SafariType;
|
|
69
|
-
declare const basicDetails_defaultBasicDetails: typeof defaultBasicDetails;
|
|
70
67
|
declare const basicDetails_safariTypes: typeof safariTypes;
|
|
71
68
|
declare const basicDetails_safeSas: typeof safeSas;
|
|
72
69
|
declare namespace basicDetails {
|
|
73
|
-
export { type basicDetails_SafariType as SafariType, type SafeCreate$5 as SafeCreate, type SafeGet$7 as SafeGet, type SafeUpdate$5 as SafeUpdate, create$5 as create,
|
|
70
|
+
export { type basicDetails_SafariType as SafariType, type SafeCreate$5 as SafeCreate, type SafeGet$7 as SafeGet, type SafeUpdate$5 as SafeUpdate, create$5 as create, get$7 as get, basicDetails_safariTypes as safariTypes, basicDetails_safeSas as safeSas, update$5 as update };
|
|
74
71
|
}
|
|
75
72
|
|
|
76
73
|
declare const pickupLandmark: z.ZodObject<{
|
package/dist/index.cjs
CHANGED
|
@@ -54,7 +54,6 @@ __export(safari_exports, {
|
|
|
54
54
|
var basic_details_exports = {};
|
|
55
55
|
__export(basic_details_exports, {
|
|
56
56
|
create: () => create,
|
|
57
|
-
defaultBasicDetails: () => defaultBasicDetails,
|
|
58
57
|
get: () => get,
|
|
59
58
|
safariTypes: () => safariTypes,
|
|
60
59
|
safeSas: () => safeSas,
|
|
@@ -76,26 +75,18 @@ var get = import_zod.z.object({
|
|
|
76
75
|
countryCode: import_zod.z.string().optional().default("+91"),
|
|
77
76
|
phone: import_zod.z.string().optional().default(""),
|
|
78
77
|
isPhoneVerified: import_zod.z.boolean().optional().default(false),
|
|
79
|
-
type: safeSas
|
|
78
|
+
type: safeSas.array().default([])
|
|
80
79
|
});
|
|
81
80
|
var create = import_zod.z.object({
|
|
82
81
|
name: import_zod.z.string().trim().nonempty("required").min(2, "min").max(50, "max"),
|
|
83
82
|
countryCode: import_zod.z.string().trim().min(2, "min").max(5, "max").default("+91"),
|
|
84
83
|
phone: import_zod.z.string().trim().nonempty("required").min(5, "min").max(15, "max"),
|
|
85
|
-
type: import_zod.z.enum(Object.keys(safariTypes), "invalid")
|
|
84
|
+
type: import_zod.z.array(import_zod.z.enum(Object.keys(safariTypes), "invalid"))
|
|
86
85
|
});
|
|
87
86
|
var update = import_zod.z.object({
|
|
88
87
|
...create.shape,
|
|
89
88
|
id: import_zod.z.string().optional().default("")
|
|
90
89
|
});
|
|
91
|
-
var defaultBasicDetails = {
|
|
92
|
-
id: "",
|
|
93
|
-
name: "",
|
|
94
|
-
countryCode: "+91",
|
|
95
|
-
phone: "",
|
|
96
|
-
isPhoneVerified: false,
|
|
97
|
-
type: "LEOPARD_SAFARI"
|
|
98
|
-
};
|
|
99
90
|
|
|
100
91
|
// src/safari/location.ts
|
|
101
92
|
var location_exports2 = {};
|
|
@@ -458,7 +449,8 @@ var onboard = import_zod13.z.object({
|
|
|
458
449
|
id: import_zod13.z.string(),
|
|
459
450
|
status: import_zod13.z.enum(["pending", "in_review", "approved", "rejected", "completed"]),
|
|
460
451
|
remark: import_zod13.z.string().optional().default(""),
|
|
461
|
-
type: safeSas2,
|
|
452
|
+
type: safeSas2.array().default([]),
|
|
453
|
+
safariName: import_zod13.z.string().trim().nonempty("required"),
|
|
462
454
|
currentStep: import_zod13.z.string().default("1.0")
|
|
463
455
|
});
|
|
464
456
|
var onboardUser = import_zod13.z.object({
|
package/dist/index.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { i as SafariOnboarding } from './index-
|
|
2
|
-
export { i as CommonOnboarding } from './index-
|
|
1
|
+
export { i as SafariOnboarding } from './index-CktW00zQ.cjs';
|
|
2
|
+
export { i as CommonOnboarding } from './index-BJuwZblE.cjs';
|
|
3
3
|
import 'zod';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { i as SafariOnboarding } from './index-
|
|
2
|
-
export { i as CommonOnboarding } from './index-
|
|
1
|
+
export { i as SafariOnboarding } from './index-CktW00zQ.js';
|
|
2
|
+
export { i as CommonOnboarding } from './index-BJuwZblE.js';
|
|
3
3
|
import 'zod';
|
package/dist/index.js
CHANGED
|
@@ -23,7 +23,6 @@ __export(safari_exports, {
|
|
|
23
23
|
var basic_details_exports = {};
|
|
24
24
|
__export(basic_details_exports, {
|
|
25
25
|
create: () => create,
|
|
26
|
-
defaultBasicDetails: () => defaultBasicDetails,
|
|
27
26
|
get: () => get,
|
|
28
27
|
safariTypes: () => safariTypes,
|
|
29
28
|
safeSas: () => safeSas,
|
|
@@ -45,26 +44,18 @@ var get = z.object({
|
|
|
45
44
|
countryCode: z.string().optional().default("+91"),
|
|
46
45
|
phone: z.string().optional().default(""),
|
|
47
46
|
isPhoneVerified: z.boolean().optional().default(false),
|
|
48
|
-
type: safeSas
|
|
47
|
+
type: safeSas.array().default([])
|
|
49
48
|
});
|
|
50
49
|
var create = z.object({
|
|
51
50
|
name: z.string().trim().nonempty("required").min(2, "min").max(50, "max"),
|
|
52
51
|
countryCode: z.string().trim().min(2, "min").max(5, "max").default("+91"),
|
|
53
52
|
phone: z.string().trim().nonempty("required").min(5, "min").max(15, "max"),
|
|
54
|
-
type: z.enum(Object.keys(safariTypes), "invalid")
|
|
53
|
+
type: z.array(z.enum(Object.keys(safariTypes), "invalid"))
|
|
55
54
|
});
|
|
56
55
|
var update = z.object({
|
|
57
56
|
...create.shape,
|
|
58
57
|
id: z.string().optional().default("")
|
|
59
58
|
});
|
|
60
|
-
var defaultBasicDetails = {
|
|
61
|
-
id: "",
|
|
62
|
-
name: "",
|
|
63
|
-
countryCode: "+91",
|
|
64
|
-
phone: "",
|
|
65
|
-
isPhoneVerified: false,
|
|
66
|
-
type: "LEOPARD_SAFARI"
|
|
67
|
-
};
|
|
68
59
|
|
|
69
60
|
// src/safari/location.ts
|
|
70
61
|
var location_exports2 = {};
|
|
@@ -427,7 +418,8 @@ var onboard = z13.object({
|
|
|
427
418
|
id: z13.string(),
|
|
428
419
|
status: z13.enum(["pending", "in_review", "approved", "rejected", "completed"]),
|
|
429
420
|
remark: z13.string().optional().default(""),
|
|
430
|
-
type: safeSas2,
|
|
421
|
+
type: safeSas2.array().default([]),
|
|
422
|
+
safariName: z13.string().trim().nonempty("required"),
|
|
431
423
|
currentStep: z13.string().default("1.0")
|
|
432
424
|
});
|
|
433
425
|
var onboardUser = z13.object({
|
package/dist/safari/index.cjs
CHANGED
|
@@ -47,7 +47,6 @@ module.exports = __toCommonJS(safari_exports);
|
|
|
47
47
|
var basic_details_exports = {};
|
|
48
48
|
__export(basic_details_exports, {
|
|
49
49
|
create: () => create,
|
|
50
|
-
defaultBasicDetails: () => defaultBasicDetails,
|
|
51
50
|
get: () => get,
|
|
52
51
|
safariTypes: () => safariTypes,
|
|
53
52
|
safeSas: () => safeSas,
|
|
@@ -69,26 +68,18 @@ var get = import_zod.z.object({
|
|
|
69
68
|
countryCode: import_zod.z.string().optional().default("+91"),
|
|
70
69
|
phone: import_zod.z.string().optional().default(""),
|
|
71
70
|
isPhoneVerified: import_zod.z.boolean().optional().default(false),
|
|
72
|
-
type: safeSas
|
|
71
|
+
type: safeSas.array().default([])
|
|
73
72
|
});
|
|
74
73
|
var create = import_zod.z.object({
|
|
75
74
|
name: import_zod.z.string().trim().nonempty("required").min(2, "min").max(50, "max"),
|
|
76
75
|
countryCode: import_zod.z.string().trim().min(2, "min").max(5, "max").default("+91"),
|
|
77
76
|
phone: import_zod.z.string().trim().nonempty("required").min(5, "min").max(15, "max"),
|
|
78
|
-
type: import_zod.z.enum(Object.keys(safariTypes), "invalid")
|
|
77
|
+
type: import_zod.z.array(import_zod.z.enum(Object.keys(safariTypes), "invalid"))
|
|
79
78
|
});
|
|
80
79
|
var update = import_zod.z.object({
|
|
81
80
|
...create.shape,
|
|
82
81
|
id: import_zod.z.string().optional().default("")
|
|
83
82
|
});
|
|
84
|
-
var defaultBasicDetails = {
|
|
85
|
-
id: "",
|
|
86
|
-
name: "",
|
|
87
|
-
countryCode: "+91",
|
|
88
|
-
phone: "",
|
|
89
|
-
isPhoneVerified: false,
|
|
90
|
-
type: "LEOPARD_SAFARI"
|
|
91
|
-
};
|
|
92
83
|
|
|
93
84
|
// src/safari/location.ts
|
|
94
85
|
var location_exports = {};
|
package/dist/safari/index.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { b as BasicDetails, a as BusinessDetails, d as DriverDetails, l as Location, o as OperationalDays, p as PersonalDetails, r as RateMatrix, s as Slot, c as Step, v as VehicleDetails } from '../index-
|
|
1
|
+
export { b as BasicDetails, a as BusinessDetails, d as DriverDetails, l as Location, o as OperationalDays, p as PersonalDetails, r as RateMatrix, s as Slot, c as Step, v as VehicleDetails } from '../index-CktW00zQ.cjs';
|
|
2
2
|
import 'zod';
|
package/dist/safari/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { b as BasicDetails, a as BusinessDetails, d as DriverDetails, l as Location, o as OperationalDays, p as PersonalDetails, r as RateMatrix, s as Slot, c as Step, v as VehicleDetails } from '../index-
|
|
1
|
+
export { b as BasicDetails, a as BusinessDetails, d as DriverDetails, l as Location, o as OperationalDays, p as PersonalDetails, r as RateMatrix, s as Slot, c as Step, v as VehicleDetails } from '../index-CktW00zQ.js';
|
|
2
2
|
import 'zod';
|
package/dist/safari/index.js
CHANGED
|
@@ -8,7 +8,6 @@ var __export = (target, all) => {
|
|
|
8
8
|
var basic_details_exports = {};
|
|
9
9
|
__export(basic_details_exports, {
|
|
10
10
|
create: () => create,
|
|
11
|
-
defaultBasicDetails: () => defaultBasicDetails,
|
|
12
11
|
get: () => get,
|
|
13
12
|
safariTypes: () => safariTypes,
|
|
14
13
|
safeSas: () => safeSas,
|
|
@@ -30,26 +29,18 @@ var get = z.object({
|
|
|
30
29
|
countryCode: z.string().optional().default("+91"),
|
|
31
30
|
phone: z.string().optional().default(""),
|
|
32
31
|
isPhoneVerified: z.boolean().optional().default(false),
|
|
33
|
-
type: safeSas
|
|
32
|
+
type: safeSas.array().default([])
|
|
34
33
|
});
|
|
35
34
|
var create = z.object({
|
|
36
35
|
name: z.string().trim().nonempty("required").min(2, "min").max(50, "max"),
|
|
37
36
|
countryCode: z.string().trim().min(2, "min").max(5, "max").default("+91"),
|
|
38
37
|
phone: z.string().trim().nonempty("required").min(5, "min").max(15, "max"),
|
|
39
|
-
type: z.enum(Object.keys(safariTypes), "invalid")
|
|
38
|
+
type: z.array(z.enum(Object.keys(safariTypes), "invalid"))
|
|
40
39
|
});
|
|
41
40
|
var update = z.object({
|
|
42
41
|
...create.shape,
|
|
43
42
|
id: z.string().optional().default("")
|
|
44
43
|
});
|
|
45
|
-
var defaultBasicDetails = {
|
|
46
|
-
id: "",
|
|
47
|
-
name: "",
|
|
48
|
-
countryCode: "+91",
|
|
49
|
-
phone: "",
|
|
50
|
-
isPhoneVerified: false,
|
|
51
|
-
type: "LEOPARD_SAFARI"
|
|
52
|
-
};
|
|
53
44
|
|
|
54
45
|
// src/safari/location.ts
|
|
55
46
|
var location_exports = {};
|