@tripsam/onboarding 1.0.48 → 1.0.50
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 +48 -0
- package/dist/common/index.d.cts +1 -1
- package/dist/common/index.d.ts +1 -1
- package/dist/common/index.js +37 -0
- package/dist/{index-B5NSs4eA.d.cts → index-B5G8saI_.d.cts} +56 -68
- package/dist/{index-B5NSs4eA.d.ts → index-B5G8saI_.d.ts} +56 -68
- package/dist/index-CU85kS3x.d.cts +111 -0
- package/dist/index-CU85kS3x.d.ts +111 -0
- package/dist/index.cjs +203 -164
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +176 -147
- package/dist/safari/index.cjs +180 -148
- package/dist/safari/index.d.cts +1 -1
- package/dist/safari/index.d.ts +1 -1
- package/dist/safari/index.js +152 -130
- package/package.json +1 -1
- package/dist/index-C-yUFJEx.d.cts +0 -51
- package/dist/index-C-yUFJEx.d.ts +0 -51
package/dist/common/index.cjs
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
2
3
|
var __defProp = Object.defineProperty;
|
|
3
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
5
7
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
8
|
var __export = (target, all) => {
|
|
7
9
|
for (var name in all)
|
|
@@ -15,11 +17,20 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
15
17
|
}
|
|
16
18
|
return to;
|
|
17
19
|
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
18
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
29
|
|
|
20
30
|
// src/common/index.ts
|
|
21
31
|
var common_exports = {};
|
|
22
32
|
__export(common_exports, {
|
|
33
|
+
LocationAutoSuggest: () => location_exports,
|
|
23
34
|
Onboard: () => onboard_exports,
|
|
24
35
|
VerifyEmail: () => verify_email_exports
|
|
25
36
|
});
|
|
@@ -56,8 +67,45 @@ var onboard = import_zod2.z.object({
|
|
|
56
67
|
remark: import_zod2.z.string().optional().default(""),
|
|
57
68
|
currentStep: import_zod2.z.number().default(1)
|
|
58
69
|
});
|
|
70
|
+
|
|
71
|
+
// src/common/location.ts
|
|
72
|
+
var location_exports = {};
|
|
73
|
+
__export(location_exports, {
|
|
74
|
+
autocompleteRequest: () => autocompleteRequest,
|
|
75
|
+
autocompleteResponse: () => autocompleteResponse,
|
|
76
|
+
locationDetails: () => locationDetails
|
|
77
|
+
});
|
|
78
|
+
var import_zod3 = __toESM(require("zod"), 1);
|
|
79
|
+
var locationDetails = import_zod3.default.object({
|
|
80
|
+
id: import_zod3.default.string(),
|
|
81
|
+
name: import_zod3.default.string(),
|
|
82
|
+
area: import_zod3.default.string(),
|
|
83
|
+
startLat: import_zod3.default.coerce.number(),
|
|
84
|
+
startLng: import_zod3.default.coerce.number(),
|
|
85
|
+
endLat: import_zod3.default.coerce.number(),
|
|
86
|
+
endLng: import_zod3.default.coerce.number(),
|
|
87
|
+
address: import_zod3.default.object({
|
|
88
|
+
city: import_zod3.default.string(),
|
|
89
|
+
state: import_zod3.default.string()
|
|
90
|
+
}),
|
|
91
|
+
metadata: import_zod3.default.object(),
|
|
92
|
+
landmarks: import_zod3.default.array(import_zod3.default.object({
|
|
93
|
+
id: import_zod3.default.string(),
|
|
94
|
+
label: import_zod3.default.string(),
|
|
95
|
+
type: import_zod3.default.string().optional().default(""),
|
|
96
|
+
distanceKm: import_zod3.default.coerce.number()
|
|
97
|
+
}))
|
|
98
|
+
});
|
|
99
|
+
var autocompleteRequest = import_zod3.default.object({
|
|
100
|
+
q: import_zod3.default.string().trim().optional().default(""),
|
|
101
|
+
lat: import_zod3.default.coerce.number().optional(),
|
|
102
|
+
lng: import_zod3.default.coerce.number().optional(),
|
|
103
|
+
limit: import_zod3.default.coerce.number().int().min(1).max(50).default(20)
|
|
104
|
+
});
|
|
105
|
+
var autocompleteResponse = import_zod3.default.array(locationDetails);
|
|
59
106
|
// Annotate the CommonJS export names for ESM import in node:
|
|
60
107
|
0 && (module.exports = {
|
|
108
|
+
LocationAutoSuggest,
|
|
61
109
|
Onboard,
|
|
62
110
|
VerifyEmail
|
|
63
111
|
});
|
package/dist/common/index.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { o as Onboard, v as VerifyEmail } from '../index-
|
|
1
|
+
export { l as LocationAutoSuggest, o as Onboard, v as VerifyEmail } from '../index-CU85kS3x.cjs';
|
|
2
2
|
import 'zod';
|
package/dist/common/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { o as Onboard, v as VerifyEmail } from '../index-
|
|
1
|
+
export { l as LocationAutoSuggest, o as Onboard, v as VerifyEmail } from '../index-CU85kS3x.js';
|
|
2
2
|
import 'zod';
|
package/dist/common/index.js
CHANGED
|
@@ -35,7 +35,44 @@ var onboard = z2.object({
|
|
|
35
35
|
remark: z2.string().optional().default(""),
|
|
36
36
|
currentStep: z2.number().default(1)
|
|
37
37
|
});
|
|
38
|
+
|
|
39
|
+
// src/common/location.ts
|
|
40
|
+
var location_exports = {};
|
|
41
|
+
__export(location_exports, {
|
|
42
|
+
autocompleteRequest: () => autocompleteRequest,
|
|
43
|
+
autocompleteResponse: () => autocompleteResponse,
|
|
44
|
+
locationDetails: () => locationDetails
|
|
45
|
+
});
|
|
46
|
+
import z3 from "zod";
|
|
47
|
+
var locationDetails = z3.object({
|
|
48
|
+
id: z3.string(),
|
|
49
|
+
name: z3.string(),
|
|
50
|
+
area: z3.string(),
|
|
51
|
+
startLat: z3.coerce.number(),
|
|
52
|
+
startLng: z3.coerce.number(),
|
|
53
|
+
endLat: z3.coerce.number(),
|
|
54
|
+
endLng: z3.coerce.number(),
|
|
55
|
+
address: z3.object({
|
|
56
|
+
city: z3.string(),
|
|
57
|
+
state: z3.string()
|
|
58
|
+
}),
|
|
59
|
+
metadata: z3.object(),
|
|
60
|
+
landmarks: z3.array(z3.object({
|
|
61
|
+
id: z3.string(),
|
|
62
|
+
label: z3.string(),
|
|
63
|
+
type: z3.string().optional().default(""),
|
|
64
|
+
distanceKm: z3.coerce.number()
|
|
65
|
+
}))
|
|
66
|
+
});
|
|
67
|
+
var autocompleteRequest = z3.object({
|
|
68
|
+
q: z3.string().trim().optional().default(""),
|
|
69
|
+
lat: z3.coerce.number().optional(),
|
|
70
|
+
lng: z3.coerce.number().optional(),
|
|
71
|
+
limit: z3.coerce.number().int().min(1).max(50).default(20)
|
|
72
|
+
});
|
|
73
|
+
var autocompleteResponse = z3.array(locationDetails);
|
|
38
74
|
export {
|
|
75
|
+
location_exports as LocationAutoSuggest,
|
|
39
76
|
onboard_exports as Onboard,
|
|
40
77
|
verify_email_exports as VerifyEmail
|
|
41
78
|
};
|
|
@@ -1,71 +1,73 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
|
|
3
|
-
declare const
|
|
3
|
+
declare const safariTypes: {
|
|
4
|
+
readonly leopard_safari: "leopardSafari";
|
|
5
|
+
readonly tiger_safari: "tigerSafari";
|
|
6
|
+
readonly bird_watching: "birdWatching";
|
|
7
|
+
readonly village_safari: "villageSafari";
|
|
8
|
+
readonly lion_safari: "lionSafari";
|
|
9
|
+
readonly jungle_safari: "jungleSafari";
|
|
10
|
+
readonly other: "other";
|
|
11
|
+
};
|
|
12
|
+
declare const safeSas: z.ZodEnum<{
|
|
13
|
+
other: "other";
|
|
14
|
+
leopard_safari: "leopard_safari";
|
|
15
|
+
tiger_safari: "tiger_safari";
|
|
16
|
+
bird_watching: "bird_watching";
|
|
17
|
+
village_safari: "village_safari";
|
|
18
|
+
lion_safari: "lion_safari";
|
|
19
|
+
jungle_safari: "jungle_safari";
|
|
20
|
+
}>;
|
|
21
|
+
type SafariType = keyof typeof safariTypes;
|
|
22
|
+
declare const get$1: z.ZodObject<{
|
|
4
23
|
id: z.ZodString;
|
|
5
24
|
name: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
6
25
|
countryCode: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
7
26
|
phoneNumber: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
8
27
|
isPhoneVerified: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
9
|
-
type: z.
|
|
28
|
+
type: z.ZodEnum<{
|
|
29
|
+
other: "other";
|
|
30
|
+
leopard_safari: "leopard_safari";
|
|
31
|
+
tiger_safari: "tiger_safari";
|
|
32
|
+
bird_watching: "bird_watching";
|
|
33
|
+
village_safari: "village_safari";
|
|
34
|
+
lion_safari: "lion_safari";
|
|
35
|
+
jungle_safari: "jungle_safari";
|
|
36
|
+
}>;
|
|
10
37
|
}, z.core.$strip>;
|
|
11
|
-
declare const create$
|
|
38
|
+
declare const create$4: z.ZodObject<{
|
|
12
39
|
name: z.ZodString;
|
|
13
40
|
countryCode: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
14
41
|
phoneNumber: z.ZodString;
|
|
15
42
|
type: z.ZodString;
|
|
16
43
|
}, z.core.$strip>;
|
|
17
|
-
declare const update$
|
|
44
|
+
declare const update$2: z.ZodObject<{
|
|
18
45
|
id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
19
46
|
name: z.ZodString;
|
|
20
47
|
countryCode: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
21
48
|
phoneNumber: z.ZodString;
|
|
22
49
|
type: z.ZodString;
|
|
23
50
|
}, z.core.$strip>;
|
|
24
|
-
type SafeGet = z.infer<typeof get>;
|
|
25
|
-
type SafeUpdate$
|
|
26
|
-
type SafeCreate$
|
|
27
|
-
declare const defaultBasicDetails: SafeGet;
|
|
51
|
+
type SafeGet$1 = z.infer<typeof get$1>;
|
|
52
|
+
type SafeUpdate$2 = z.output<typeof update$2>;
|
|
53
|
+
type SafeCreate$4 = z.output<typeof create$4>;
|
|
54
|
+
declare const defaultBasicDetails: SafeGet$1;
|
|
28
55
|
|
|
29
|
-
type
|
|
56
|
+
type basicDetails_SafariType = SafariType;
|
|
30
57
|
declare const basicDetails_defaultBasicDetails: typeof defaultBasicDetails;
|
|
31
|
-
declare const
|
|
58
|
+
declare const basicDetails_safariTypes: typeof safariTypes;
|
|
59
|
+
declare const basicDetails_safeSas: typeof safeSas;
|
|
32
60
|
declare namespace basicDetails {
|
|
33
|
-
export { type SafeCreate$
|
|
61
|
+
export { type basicDetails_SafariType as SafariType, type SafeCreate$4 as SafeCreate, type SafeGet$1 as SafeGet, type SafeUpdate$2 as SafeUpdate, create$4 as create, basicDetails_defaultBasicDetails as defaultBasicDetails, get$1 as get, basicDetails_safariTypes as safariTypes, basicDetails_safeSas as safeSas, update$2 as update };
|
|
34
62
|
}
|
|
35
63
|
|
|
36
|
-
declare const suggest: z.ZodObject<{
|
|
37
|
-
q: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
38
|
-
lat: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
39
|
-
lng: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
40
|
-
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
41
|
-
}, z.core.$strip>;
|
|
42
|
-
declare const minimum: z.ZodObject<{
|
|
43
|
-
id: z.ZodString;
|
|
44
|
-
name: z.ZodString;
|
|
45
|
-
area: z.ZodString;
|
|
46
|
-
startLat: z.ZodCoercedNumber<unknown>;
|
|
47
|
-
startLng: z.ZodCoercedNumber<unknown>;
|
|
48
|
-
endLat: z.ZodCoercedNumber<unknown>;
|
|
49
|
-
endLng: z.ZodCoercedNumber<unknown>;
|
|
50
|
-
address: z.ZodObject<{
|
|
51
|
-
city: z.ZodString;
|
|
52
|
-
state: z.ZodString;
|
|
53
|
-
}, z.core.$strip>;
|
|
54
|
-
metadata: z.ZodObject<{}, z.core.$strip>;
|
|
55
|
-
landmarks: z.ZodArray<z.ZodObject<{
|
|
56
|
-
id: z.ZodString;
|
|
57
|
-
label: z.ZodString;
|
|
58
|
-
type: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
59
|
-
distanceKm: z.ZodCoercedNumber<unknown>;
|
|
60
|
-
}, z.core.$strip>>;
|
|
61
|
-
}, z.core.$strip>;
|
|
62
64
|
declare const pickupLandmark: z.ZodObject<{
|
|
63
65
|
id: z.ZodOptional<z.ZodString>;
|
|
64
66
|
label: z.ZodString;
|
|
65
67
|
type: z.ZodOptional<z.ZodString>;
|
|
66
68
|
distanceKm: z.ZodCoercedNumber<unknown>;
|
|
67
69
|
}, z.core.$strip>;
|
|
68
|
-
declare const
|
|
70
|
+
declare const create$3: z.ZodObject<{
|
|
69
71
|
locationId: z.ZodString;
|
|
70
72
|
safariLocation: z.ZodString;
|
|
71
73
|
pickupLocation: z.ZodString;
|
|
@@ -76,7 +78,7 @@ declare const save$2: z.ZodObject<{
|
|
|
76
78
|
distanceKm: z.ZodCoercedNumber<unknown>;
|
|
77
79
|
}, z.core.$strip>>;
|
|
78
80
|
}, z.core.$strip>;
|
|
79
|
-
declare const
|
|
81
|
+
declare const get: z.ZodObject<{
|
|
80
82
|
location: z.ZodObject<{
|
|
81
83
|
id: z.ZodString;
|
|
82
84
|
name: z.ZodString;
|
|
@@ -107,43 +109,29 @@ declare const me$7: z.ZodObject<{
|
|
|
107
109
|
}, z.core.$strip>>;
|
|
108
110
|
completed: z.ZodBoolean;
|
|
109
111
|
}, z.core.$strip>;
|
|
110
|
-
declare const
|
|
111
|
-
id: z.ZodString
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
endLng: z.ZodCoercedNumber<unknown>;
|
|
118
|
-
address: z.ZodObject<{
|
|
119
|
-
city: z.ZodString;
|
|
120
|
-
state: z.ZodString;
|
|
121
|
-
}, z.core.$strip>;
|
|
122
|
-
metadata: z.ZodObject<{}, z.core.$strip>;
|
|
123
|
-
landmarks: z.ZodArray<z.ZodObject<{
|
|
124
|
-
id: z.ZodString;
|
|
112
|
+
declare const update$1: z.ZodObject<{
|
|
113
|
+
id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
114
|
+
locationId: z.ZodString;
|
|
115
|
+
safariLocation: z.ZodString;
|
|
116
|
+
pickupLocation: z.ZodString;
|
|
117
|
+
pickupLandmarks: z.ZodArray<z.ZodObject<{
|
|
118
|
+
id: z.ZodOptional<z.ZodString>;
|
|
125
119
|
label: z.ZodString;
|
|
126
|
-
type: z.
|
|
120
|
+
type: z.ZodOptional<z.ZodString>;
|
|
127
121
|
distanceKm: z.ZodCoercedNumber<unknown>;
|
|
128
122
|
}, z.core.$strip>>;
|
|
129
|
-
}, z.core.$strip
|
|
130
|
-
type
|
|
131
|
-
type
|
|
132
|
-
type
|
|
133
|
-
type SafeSave$2 = z.output<typeof save$2>;
|
|
134
|
-
type SafeMe$7 = z.output<typeof me$7>;
|
|
123
|
+
}, z.core.$strip>;
|
|
124
|
+
type SafeGet = z.output<typeof get>;
|
|
125
|
+
type SafeCreate$3 = z.output<typeof create$3>;
|
|
126
|
+
type SafeUpdate$1 = z.output<typeof update$1>;
|
|
135
127
|
type SafePickupLandmark = z.output<typeof pickupLandmark>;
|
|
136
128
|
|
|
137
|
-
type
|
|
138
|
-
type location_SafeMinimumList = SafeMinimumList;
|
|
129
|
+
type location_SafeGet = SafeGet;
|
|
139
130
|
type location_SafePickupLandmark = SafePickupLandmark;
|
|
140
|
-
|
|
141
|
-
declare const location_minimum: typeof minimum;
|
|
142
|
-
declare const location_minimumList: typeof minimumList;
|
|
131
|
+
declare const location_get: typeof get;
|
|
143
132
|
declare const location_pickupLandmark: typeof pickupLandmark;
|
|
144
|
-
declare const location_suggest: typeof suggest;
|
|
145
133
|
declare namespace location {
|
|
146
|
-
export { type
|
|
134
|
+
export { type SafeCreate$3 as SafeCreate, type location_SafeGet as SafeGet, type location_SafePickupLandmark as SafePickupLandmark, type SafeUpdate$1 as SafeUpdate, create$3 as create, location_get as get, location_pickupLandmark as pickupLandmark, update$1 as update };
|
|
147
135
|
}
|
|
148
136
|
|
|
149
137
|
declare const time12h: z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>;
|
|
@@ -1,71 +1,73 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
|
|
3
|
-
declare const
|
|
3
|
+
declare const safariTypes: {
|
|
4
|
+
readonly leopard_safari: "leopardSafari";
|
|
5
|
+
readonly tiger_safari: "tigerSafari";
|
|
6
|
+
readonly bird_watching: "birdWatching";
|
|
7
|
+
readonly village_safari: "villageSafari";
|
|
8
|
+
readonly lion_safari: "lionSafari";
|
|
9
|
+
readonly jungle_safari: "jungleSafari";
|
|
10
|
+
readonly other: "other";
|
|
11
|
+
};
|
|
12
|
+
declare const safeSas: z.ZodEnum<{
|
|
13
|
+
other: "other";
|
|
14
|
+
leopard_safari: "leopard_safari";
|
|
15
|
+
tiger_safari: "tiger_safari";
|
|
16
|
+
bird_watching: "bird_watching";
|
|
17
|
+
village_safari: "village_safari";
|
|
18
|
+
lion_safari: "lion_safari";
|
|
19
|
+
jungle_safari: "jungle_safari";
|
|
20
|
+
}>;
|
|
21
|
+
type SafariType = keyof typeof safariTypes;
|
|
22
|
+
declare const get$1: z.ZodObject<{
|
|
4
23
|
id: z.ZodString;
|
|
5
24
|
name: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
6
25
|
countryCode: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
7
26
|
phoneNumber: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
8
27
|
isPhoneVerified: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
9
|
-
type: z.
|
|
28
|
+
type: z.ZodEnum<{
|
|
29
|
+
other: "other";
|
|
30
|
+
leopard_safari: "leopard_safari";
|
|
31
|
+
tiger_safari: "tiger_safari";
|
|
32
|
+
bird_watching: "bird_watching";
|
|
33
|
+
village_safari: "village_safari";
|
|
34
|
+
lion_safari: "lion_safari";
|
|
35
|
+
jungle_safari: "jungle_safari";
|
|
36
|
+
}>;
|
|
10
37
|
}, z.core.$strip>;
|
|
11
|
-
declare const create$
|
|
38
|
+
declare const create$4: z.ZodObject<{
|
|
12
39
|
name: z.ZodString;
|
|
13
40
|
countryCode: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
14
41
|
phoneNumber: z.ZodString;
|
|
15
42
|
type: z.ZodString;
|
|
16
43
|
}, z.core.$strip>;
|
|
17
|
-
declare const update$
|
|
44
|
+
declare const update$2: z.ZodObject<{
|
|
18
45
|
id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
19
46
|
name: z.ZodString;
|
|
20
47
|
countryCode: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
21
48
|
phoneNumber: z.ZodString;
|
|
22
49
|
type: z.ZodString;
|
|
23
50
|
}, z.core.$strip>;
|
|
24
|
-
type SafeGet = z.infer<typeof get>;
|
|
25
|
-
type SafeUpdate$
|
|
26
|
-
type SafeCreate$
|
|
27
|
-
declare const defaultBasicDetails: SafeGet;
|
|
51
|
+
type SafeGet$1 = z.infer<typeof get$1>;
|
|
52
|
+
type SafeUpdate$2 = z.output<typeof update$2>;
|
|
53
|
+
type SafeCreate$4 = z.output<typeof create$4>;
|
|
54
|
+
declare const defaultBasicDetails: SafeGet$1;
|
|
28
55
|
|
|
29
|
-
type
|
|
56
|
+
type basicDetails_SafariType = SafariType;
|
|
30
57
|
declare const basicDetails_defaultBasicDetails: typeof defaultBasicDetails;
|
|
31
|
-
declare const
|
|
58
|
+
declare const basicDetails_safariTypes: typeof safariTypes;
|
|
59
|
+
declare const basicDetails_safeSas: typeof safeSas;
|
|
32
60
|
declare namespace basicDetails {
|
|
33
|
-
export { type SafeCreate$
|
|
61
|
+
export { type basicDetails_SafariType as SafariType, type SafeCreate$4 as SafeCreate, type SafeGet$1 as SafeGet, type SafeUpdate$2 as SafeUpdate, create$4 as create, basicDetails_defaultBasicDetails as defaultBasicDetails, get$1 as get, basicDetails_safariTypes as safariTypes, basicDetails_safeSas as safeSas, update$2 as update };
|
|
34
62
|
}
|
|
35
63
|
|
|
36
|
-
declare const suggest: z.ZodObject<{
|
|
37
|
-
q: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
38
|
-
lat: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
39
|
-
lng: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
40
|
-
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
41
|
-
}, z.core.$strip>;
|
|
42
|
-
declare const minimum: z.ZodObject<{
|
|
43
|
-
id: z.ZodString;
|
|
44
|
-
name: z.ZodString;
|
|
45
|
-
area: z.ZodString;
|
|
46
|
-
startLat: z.ZodCoercedNumber<unknown>;
|
|
47
|
-
startLng: z.ZodCoercedNumber<unknown>;
|
|
48
|
-
endLat: z.ZodCoercedNumber<unknown>;
|
|
49
|
-
endLng: z.ZodCoercedNumber<unknown>;
|
|
50
|
-
address: z.ZodObject<{
|
|
51
|
-
city: z.ZodString;
|
|
52
|
-
state: z.ZodString;
|
|
53
|
-
}, z.core.$strip>;
|
|
54
|
-
metadata: z.ZodObject<{}, z.core.$strip>;
|
|
55
|
-
landmarks: z.ZodArray<z.ZodObject<{
|
|
56
|
-
id: z.ZodString;
|
|
57
|
-
label: z.ZodString;
|
|
58
|
-
type: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
59
|
-
distanceKm: z.ZodCoercedNumber<unknown>;
|
|
60
|
-
}, z.core.$strip>>;
|
|
61
|
-
}, z.core.$strip>;
|
|
62
64
|
declare const pickupLandmark: z.ZodObject<{
|
|
63
65
|
id: z.ZodOptional<z.ZodString>;
|
|
64
66
|
label: z.ZodString;
|
|
65
67
|
type: z.ZodOptional<z.ZodString>;
|
|
66
68
|
distanceKm: z.ZodCoercedNumber<unknown>;
|
|
67
69
|
}, z.core.$strip>;
|
|
68
|
-
declare const
|
|
70
|
+
declare const create$3: z.ZodObject<{
|
|
69
71
|
locationId: z.ZodString;
|
|
70
72
|
safariLocation: z.ZodString;
|
|
71
73
|
pickupLocation: z.ZodString;
|
|
@@ -76,7 +78,7 @@ declare const save$2: z.ZodObject<{
|
|
|
76
78
|
distanceKm: z.ZodCoercedNumber<unknown>;
|
|
77
79
|
}, z.core.$strip>>;
|
|
78
80
|
}, z.core.$strip>;
|
|
79
|
-
declare const
|
|
81
|
+
declare const get: z.ZodObject<{
|
|
80
82
|
location: z.ZodObject<{
|
|
81
83
|
id: z.ZodString;
|
|
82
84
|
name: z.ZodString;
|
|
@@ -107,43 +109,29 @@ declare const me$7: z.ZodObject<{
|
|
|
107
109
|
}, z.core.$strip>>;
|
|
108
110
|
completed: z.ZodBoolean;
|
|
109
111
|
}, z.core.$strip>;
|
|
110
|
-
declare const
|
|
111
|
-
id: z.ZodString
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
endLng: z.ZodCoercedNumber<unknown>;
|
|
118
|
-
address: z.ZodObject<{
|
|
119
|
-
city: z.ZodString;
|
|
120
|
-
state: z.ZodString;
|
|
121
|
-
}, z.core.$strip>;
|
|
122
|
-
metadata: z.ZodObject<{}, z.core.$strip>;
|
|
123
|
-
landmarks: z.ZodArray<z.ZodObject<{
|
|
124
|
-
id: z.ZodString;
|
|
112
|
+
declare const update$1: z.ZodObject<{
|
|
113
|
+
id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
114
|
+
locationId: z.ZodString;
|
|
115
|
+
safariLocation: z.ZodString;
|
|
116
|
+
pickupLocation: z.ZodString;
|
|
117
|
+
pickupLandmarks: z.ZodArray<z.ZodObject<{
|
|
118
|
+
id: z.ZodOptional<z.ZodString>;
|
|
125
119
|
label: z.ZodString;
|
|
126
|
-
type: z.
|
|
120
|
+
type: z.ZodOptional<z.ZodString>;
|
|
127
121
|
distanceKm: z.ZodCoercedNumber<unknown>;
|
|
128
122
|
}, z.core.$strip>>;
|
|
129
|
-
}, z.core.$strip
|
|
130
|
-
type
|
|
131
|
-
type
|
|
132
|
-
type
|
|
133
|
-
type SafeSave$2 = z.output<typeof save$2>;
|
|
134
|
-
type SafeMe$7 = z.output<typeof me$7>;
|
|
123
|
+
}, z.core.$strip>;
|
|
124
|
+
type SafeGet = z.output<typeof get>;
|
|
125
|
+
type SafeCreate$3 = z.output<typeof create$3>;
|
|
126
|
+
type SafeUpdate$1 = z.output<typeof update$1>;
|
|
135
127
|
type SafePickupLandmark = z.output<typeof pickupLandmark>;
|
|
136
128
|
|
|
137
|
-
type
|
|
138
|
-
type location_SafeMinimumList = SafeMinimumList;
|
|
129
|
+
type location_SafeGet = SafeGet;
|
|
139
130
|
type location_SafePickupLandmark = SafePickupLandmark;
|
|
140
|
-
|
|
141
|
-
declare const location_minimum: typeof minimum;
|
|
142
|
-
declare const location_minimumList: typeof minimumList;
|
|
131
|
+
declare const location_get: typeof get;
|
|
143
132
|
declare const location_pickupLandmark: typeof pickupLandmark;
|
|
144
|
-
declare const location_suggest: typeof suggest;
|
|
145
133
|
declare namespace location {
|
|
146
|
-
export { type
|
|
134
|
+
export { type SafeCreate$3 as SafeCreate, type location_SafeGet as SafeGet, type location_SafePickupLandmark as SafePickupLandmark, type SafeUpdate$1 as SafeUpdate, create$3 as create, location_get as get, location_pickupLandmark as pickupLandmark, update$1 as update };
|
|
147
135
|
}
|
|
148
136
|
|
|
149
137
|
declare const time12h: z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>;
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import z$1, { z } from 'zod';
|
|
2
|
+
|
|
3
|
+
declare const sendOtp: z.ZodObject<{
|
|
4
|
+
email: z.ZodEmail;
|
|
5
|
+
}, z.core.$strip>;
|
|
6
|
+
declare const verifyOtp: z.ZodObject<{
|
|
7
|
+
otp: z.ZodString;
|
|
8
|
+
email: z.ZodOptional<z.ZodString>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const verifyOtpResponse: z.ZodObject<{
|
|
11
|
+
id: z.ZodString;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
type SafeSendOtp = z.output<typeof sendOtp>;
|
|
14
|
+
type SafeVerifyOtp = z.output<typeof verifyOtp>;
|
|
15
|
+
type SafeVerifyOtpResponse = z.output<typeof verifyOtpResponse>;
|
|
16
|
+
|
|
17
|
+
type verifyEmail_SafeSendOtp = SafeSendOtp;
|
|
18
|
+
type verifyEmail_SafeVerifyOtp = SafeVerifyOtp;
|
|
19
|
+
type verifyEmail_SafeVerifyOtpResponse = SafeVerifyOtpResponse;
|
|
20
|
+
declare const verifyEmail_sendOtp: typeof sendOtp;
|
|
21
|
+
declare const verifyEmail_verifyOtp: typeof verifyOtp;
|
|
22
|
+
declare const verifyEmail_verifyOtpResponse: typeof verifyOtpResponse;
|
|
23
|
+
declare namespace verifyEmail {
|
|
24
|
+
export { type verifyEmail_SafeSendOtp as SafeSendOtp, type verifyEmail_SafeVerifyOtp as SafeVerifyOtp, type verifyEmail_SafeVerifyOtpResponse as SafeVerifyOtpResponse, verifyEmail_sendOtp as sendOtp, verifyEmail_verifyOtp as verifyOtp, verifyEmail_verifyOtpResponse as verifyOtpResponse };
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
declare const onboard: z.ZodObject<{
|
|
28
|
+
id: z.ZodString;
|
|
29
|
+
status: z.ZodEnum<{
|
|
30
|
+
completed: "completed";
|
|
31
|
+
pending: "pending";
|
|
32
|
+
in_review: "in_review";
|
|
33
|
+
approved: "approved";
|
|
34
|
+
rejected: "rejected";
|
|
35
|
+
}>;
|
|
36
|
+
remark: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
37
|
+
currentStep: z.ZodDefault<z.ZodNumber>;
|
|
38
|
+
}, z.core.$strip>;
|
|
39
|
+
type SafeOnboard = z.output<typeof onboard>;
|
|
40
|
+
|
|
41
|
+
type onboard$1_SafeOnboard = SafeOnboard;
|
|
42
|
+
declare const onboard$1_onboard: typeof onboard;
|
|
43
|
+
declare namespace onboard$1 {
|
|
44
|
+
export { type onboard$1_SafeOnboard as SafeOnboard, onboard$1_onboard as onboard };
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
declare const locationDetails: z$1.ZodObject<{
|
|
48
|
+
id: z$1.ZodString;
|
|
49
|
+
name: z$1.ZodString;
|
|
50
|
+
area: z$1.ZodString;
|
|
51
|
+
startLat: z$1.ZodCoercedNumber<unknown>;
|
|
52
|
+
startLng: z$1.ZodCoercedNumber<unknown>;
|
|
53
|
+
endLat: z$1.ZodCoercedNumber<unknown>;
|
|
54
|
+
endLng: z$1.ZodCoercedNumber<unknown>;
|
|
55
|
+
address: z$1.ZodObject<{
|
|
56
|
+
city: z$1.ZodString;
|
|
57
|
+
state: z$1.ZodString;
|
|
58
|
+
}, z$1.core.$strip>;
|
|
59
|
+
metadata: z$1.ZodObject<{}, z$1.core.$strip>;
|
|
60
|
+
landmarks: z$1.ZodArray<z$1.ZodObject<{
|
|
61
|
+
id: z$1.ZodString;
|
|
62
|
+
label: z$1.ZodString;
|
|
63
|
+
type: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodString>>;
|
|
64
|
+
distanceKm: z$1.ZodCoercedNumber<unknown>;
|
|
65
|
+
}, z$1.core.$strip>>;
|
|
66
|
+
}, z$1.core.$strip>;
|
|
67
|
+
declare const autocompleteRequest: z$1.ZodObject<{
|
|
68
|
+
q: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodString>>;
|
|
69
|
+
lat: z$1.ZodOptional<z$1.ZodCoercedNumber<unknown>>;
|
|
70
|
+
lng: z$1.ZodOptional<z$1.ZodCoercedNumber<unknown>>;
|
|
71
|
+
limit: z$1.ZodDefault<z$1.ZodCoercedNumber<unknown>>;
|
|
72
|
+
}, z$1.core.$strip>;
|
|
73
|
+
declare const autocompleteResponse: z$1.ZodArray<z$1.ZodObject<{
|
|
74
|
+
id: z$1.ZodString;
|
|
75
|
+
name: z$1.ZodString;
|
|
76
|
+
area: z$1.ZodString;
|
|
77
|
+
startLat: z$1.ZodCoercedNumber<unknown>;
|
|
78
|
+
startLng: z$1.ZodCoercedNumber<unknown>;
|
|
79
|
+
endLat: z$1.ZodCoercedNumber<unknown>;
|
|
80
|
+
endLng: z$1.ZodCoercedNumber<unknown>;
|
|
81
|
+
address: z$1.ZodObject<{
|
|
82
|
+
city: z$1.ZodString;
|
|
83
|
+
state: z$1.ZodString;
|
|
84
|
+
}, z$1.core.$strip>;
|
|
85
|
+
metadata: z$1.ZodObject<{}, z$1.core.$strip>;
|
|
86
|
+
landmarks: z$1.ZodArray<z$1.ZodObject<{
|
|
87
|
+
id: z$1.ZodString;
|
|
88
|
+
label: z$1.ZodString;
|
|
89
|
+
type: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodString>>;
|
|
90
|
+
distanceKm: z$1.ZodCoercedNumber<unknown>;
|
|
91
|
+
}, z$1.core.$strip>>;
|
|
92
|
+
}, z$1.core.$strip>>;
|
|
93
|
+
type SafeLocation = z$1.output<typeof locationDetails>;
|
|
94
|
+
type SafeLocationResponse = z$1.output<typeof autocompleteResponse>;
|
|
95
|
+
type SafeAutoCompleteRequest = z$1.output<typeof autocompleteRequest>;
|
|
96
|
+
|
|
97
|
+
type location_SafeAutoCompleteRequest = SafeAutoCompleteRequest;
|
|
98
|
+
type location_SafeLocation = SafeLocation;
|
|
99
|
+
type location_SafeLocationResponse = SafeLocationResponse;
|
|
100
|
+
declare const location_autocompleteRequest: typeof autocompleteRequest;
|
|
101
|
+
declare const location_autocompleteResponse: typeof autocompleteResponse;
|
|
102
|
+
declare const location_locationDetails: typeof locationDetails;
|
|
103
|
+
declare namespace location {
|
|
104
|
+
export { type location_SafeAutoCompleteRequest as SafeAutoCompleteRequest, type location_SafeLocation as SafeLocation, type location_SafeLocationResponse as SafeLocationResponse, location_autocompleteRequest as autocompleteRequest, location_autocompleteResponse as autocompleteResponse, location_locationDetails as locationDetails };
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
declare namespace index {
|
|
108
|
+
export { location as LocationAutoSuggest, onboard$1 as Onboard, verifyEmail as VerifyEmail };
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
export { index as i, location as l, onboard$1 as o, verifyEmail as v };
|