@tripsam/onboarding 1.0.49 → 1.0.51

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.
@@ -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
  });
@@ -1,2 +1,2 @@
1
- export { o as Onboard, v as VerifyEmail } from '../index-C-yUFJEx.cjs';
1
+ export { l as LocationAutoSuggest, o as Onboard, v as VerifyEmail } from '../index-DNcx8rxs.cjs';
2
2
  import 'zod';
@@ -1,2 +1,2 @@
1
- export { o as Onboard, v as VerifyEmail } from '../index-C-yUFJEx.js';
1
+ export { l as LocationAutoSuggest, o as Onboard, v as VerifyEmail } from '../index-DNcx8rxs.js';
2
2
  import 'zod';
@@ -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
  };
@@ -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
+ pending: "pending";
31
+ in_review: "in_review";
32
+ approved: "approved";
33
+ rejected: "rejected";
34
+ completed: "completed";
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 };
@@ -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
+ pending: "pending";
31
+ in_review: "in_review";
32
+ approved: "approved";
33
+ rejected: "rejected";
34
+ completed: "completed";
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 };
@@ -19,7 +19,7 @@ declare const safeSas: z.ZodEnum<{
19
19
  jungle_safari: "jungle_safari";
20
20
  }>;
21
21
  type SafariType = keyof typeof safariTypes;
22
- declare const get: z.ZodObject<{
22
+ declare const get$1: z.ZodObject<{
23
23
  id: z.ZodString;
24
24
  name: z.ZodDefault<z.ZodOptional<z.ZodString>>;
25
25
  countryCode: z.ZodDefault<z.ZodOptional<z.ZodString>>;
@@ -35,78 +35,39 @@ declare const get: z.ZodObject<{
35
35
  jungle_safari: "jungle_safari";
36
36
  }>;
37
37
  }, z.core.$strip>;
38
- declare const create$3: z.ZodObject<{
38
+ declare const create$4: z.ZodObject<{
39
39
  name: z.ZodString;
40
40
  countryCode: z.ZodDefault<z.ZodOptional<z.ZodString>>;
41
41
  phoneNumber: z.ZodString;
42
42
  type: z.ZodString;
43
43
  }, z.core.$strip>;
44
- declare const update$1: z.ZodObject<{
44
+ declare const update$2: z.ZodObject<{
45
45
  id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
46
46
  name: z.ZodString;
47
47
  countryCode: z.ZodDefault<z.ZodOptional<z.ZodString>>;
48
48
  phoneNumber: z.ZodString;
49
49
  type: z.ZodString;
50
50
  }, z.core.$strip>;
51
- type SafeGet = z.infer<typeof get>;
52
- type SafeUpdate$1 = z.output<typeof update$1>;
53
- type SafeCreate$3 = z.output<typeof create$3>;
54
- 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;
55
55
 
56
56
  type basicDetails_SafariType = SafariType;
57
- type basicDetails_SafeGet = SafeGet;
58
57
  declare const basicDetails_defaultBasicDetails: typeof defaultBasicDetails;
59
- declare const basicDetails_get: typeof get;
60
58
  declare const basicDetails_safariTypes: typeof safariTypes;
61
59
  declare const basicDetails_safeSas: typeof safeSas;
62
60
  declare namespace basicDetails {
63
- export { type basicDetails_SafariType as SafariType, type SafeCreate$3 as SafeCreate, type basicDetails_SafeGet as SafeGet, type SafeUpdate$1 as SafeUpdate, create$3 as create, basicDetails_defaultBasicDetails as defaultBasicDetails, basicDetails_get as get, basicDetails_safariTypes as safariTypes, basicDetails_safeSas as safeSas, update$1 as update };
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 };
64
62
  }
65
63
 
66
- declare const suggest: z.ZodObject<{
67
- q: z.ZodDefault<z.ZodOptional<z.ZodString>>;
68
- lat: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
69
- lng: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
70
- limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
71
- }, z.core.$strip>;
72
- declare const minimum: z.ZodObject<{
73
- id: z.ZodString;
74
- name: z.ZodString;
75
- area: z.ZodString;
76
- startLat: z.ZodCoercedNumber<unknown>;
77
- startLng: z.ZodCoercedNumber<unknown>;
78
- endLat: z.ZodCoercedNumber<unknown>;
79
- endLng: z.ZodCoercedNumber<unknown>;
80
- address: z.ZodObject<{
81
- city: z.ZodString;
82
- state: z.ZodString;
83
- }, z.core.$strip>;
84
- metadata: z.ZodObject<{}, z.core.$strip>;
85
- landmarks: z.ZodArray<z.ZodObject<{
86
- id: z.ZodString;
87
- label: z.ZodString;
88
- type: z.ZodDefault<z.ZodOptional<z.ZodString>>;
89
- distanceKm: z.ZodCoercedNumber<unknown>;
90
- }, z.core.$strip>>;
91
- }, z.core.$strip>;
92
64
  declare const pickupLandmark: z.ZodObject<{
93
65
  id: z.ZodOptional<z.ZodString>;
94
66
  label: z.ZodString;
95
67
  type: z.ZodOptional<z.ZodString>;
96
68
  distanceKm: z.ZodCoercedNumber<unknown>;
97
69
  }, z.core.$strip>;
98
- declare const save$2: z.ZodObject<{
99
- locationId: z.ZodString;
100
- safariLocation: z.ZodString;
101
- pickupLocation: z.ZodString;
102
- pickupLandmarks: z.ZodArray<z.ZodObject<{
103
- id: z.ZodOptional<z.ZodString>;
104
- label: z.ZodString;
105
- type: z.ZodOptional<z.ZodString>;
106
- distanceKm: z.ZodCoercedNumber<unknown>;
107
- }, z.core.$strip>>;
108
- }, z.core.$strip>;
109
- declare const me$7: z.ZodObject<{
70
+ declare const get: z.ZodObject<{
110
71
  location: z.ZodObject<{
111
72
  id: z.ZodString;
112
73
  name: z.ZodString;
@@ -135,45 +96,43 @@ declare const me$7: z.ZodObject<{
135
96
  type: z.ZodOptional<z.ZodString>;
136
97
  distanceKm: z.ZodCoercedNumber<unknown>;
137
98
  }, z.core.$strip>>;
138
- completed: z.ZodBoolean;
139
99
  }, z.core.$strip>;
140
- declare const minimumList: z.ZodArray<z.ZodObject<{
141
- id: z.ZodString;
142
- name: z.ZodString;
143
- area: z.ZodString;
144
- startLat: z.ZodCoercedNumber<unknown>;
145
- startLng: z.ZodCoercedNumber<unknown>;
146
- endLat: z.ZodCoercedNumber<unknown>;
147
- endLng: z.ZodCoercedNumber<unknown>;
148
- address: z.ZodObject<{
149
- city: z.ZodString;
150
- state: z.ZodString;
151
- }, z.core.$strip>;
152
- metadata: z.ZodObject<{}, z.core.$strip>;
153
- landmarks: z.ZodArray<z.ZodObject<{
154
- id: z.ZodString;
100
+ declare const create$3: z.ZodObject<{
101
+ locationId: z.ZodString;
102
+ safariLocation: z.ZodString;
103
+ pickupLocation: z.ZodString;
104
+ pickupLandmarks: z.ZodArray<z.ZodObject<{
105
+ id: z.ZodOptional<z.ZodString>;
155
106
  label: z.ZodString;
156
- type: z.ZodDefault<z.ZodOptional<z.ZodString>>;
107
+ type: z.ZodOptional<z.ZodString>;
157
108
  distanceKm: z.ZodCoercedNumber<unknown>;
158
109
  }, z.core.$strip>>;
159
- }, z.core.$strip>>;
160
- type SafeMinimum = z.output<typeof minimum>;
161
- type SafeMinimumList = z.output<typeof minimum>;
162
- type SafeSuggest = z.output<typeof suggest>;
163
- type SafeSave$2 = z.output<typeof save$2>;
164
- type SafeMe$7 = z.output<typeof me$7>;
110
+ }, z.core.$strip>;
111
+ declare const update$1: z.ZodObject<{
112
+ id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
113
+ locationId: z.ZodString;
114
+ safariLocation: z.ZodString;
115
+ pickupLocation: z.ZodString;
116
+ pickupLandmarks: z.ZodArray<z.ZodObject<{
117
+ id: z.ZodOptional<z.ZodString>;
118
+ label: z.ZodString;
119
+ type: z.ZodOptional<z.ZodString>;
120
+ distanceKm: z.ZodCoercedNumber<unknown>;
121
+ }, z.core.$strip>>;
122
+ }, z.core.$strip>;
123
+ type SafeGet = z.output<typeof get>;
124
+ type SafeCreate$3 = z.output<typeof create$3>;
125
+ type SafeUpdate$1 = z.output<typeof update$1>;
165
126
  type SafePickupLandmark = z.output<typeof pickupLandmark>;
127
+ declare const defaultLocation: SafeGet;
166
128
 
167
- type location_SafeMinimum = SafeMinimum;
168
- type location_SafeMinimumList = SafeMinimumList;
129
+ type location_SafeGet = SafeGet;
169
130
  type location_SafePickupLandmark = SafePickupLandmark;
170
- type location_SafeSuggest = SafeSuggest;
171
- declare const location_minimum: typeof minimum;
172
- declare const location_minimumList: typeof minimumList;
131
+ declare const location_defaultLocation: typeof defaultLocation;
132
+ declare const location_get: typeof get;
173
133
  declare const location_pickupLandmark: typeof pickupLandmark;
174
- declare const location_suggest: typeof suggest;
175
134
  declare namespace location {
176
- export { type SafeMe$7 as SafeMe, type location_SafeMinimum as SafeMinimum, type location_SafeMinimumList as SafeMinimumList, type location_SafePickupLandmark as SafePickupLandmark, type SafeSave$2 as SafeSave, type location_SafeSuggest as SafeSuggest, me$7 as me, location_minimum as minimum, location_minimumList as minimumList, location_pickupLandmark as pickupLandmark, save$2 as save, location_suggest as suggest };
135
+ 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_defaultLocation as defaultLocation, location_get as get, location_pickupLandmark as pickupLandmark, update$1 as update };
177
136
  }
178
137
 
179
138
  declare const time12h: z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>;