@tripsam/onboarding 1.0.98 → 1.0.99

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.
@@ -74,7 +74,8 @@ declare const pickupLandmark: z.ZodObject<{
74
74
  id: z.ZodOptional<z.ZodString>;
75
75
  label: z.ZodString;
76
76
  type: z.ZodOptional<z.ZodString>;
77
- distanceKm: z.ZodCoercedNumber<unknown>;
77
+ lat: z.ZodCoercedNumber<unknown>;
78
+ lng: z.ZodCoercedNumber<unknown>;
78
79
  }, z.core.$strip>;
79
80
  declare const get$6: z.ZodObject<{
80
81
  id: z.ZodString;
@@ -108,7 +109,8 @@ declare const get$6: z.ZodObject<{
108
109
  id: z.ZodOptional<z.ZodString>;
109
110
  label: z.ZodString;
110
111
  type: z.ZodOptional<z.ZodString>;
111
- distanceKm: z.ZodCoercedNumber<unknown>;
112
+ lat: z.ZodCoercedNumber<unknown>;
113
+ lng: z.ZodCoercedNumber<unknown>;
112
114
  }, z.core.$strip>>;
113
115
  }, z.core.$strip>;
114
116
  declare const create$4: z.ZodObject<{
@@ -123,7 +125,8 @@ declare const create$4: z.ZodObject<{
123
125
  id: z.ZodOptional<z.ZodString>;
124
126
  label: z.ZodString;
125
127
  type: z.ZodOptional<z.ZodString>;
126
- distanceKm: z.ZodCoercedNumber<unknown>;
128
+ lat: z.ZodCoercedNumber<unknown>;
129
+ lng: z.ZodCoercedNumber<unknown>;
127
130
  }, z.core.$strip>>;
128
131
  }, z.core.$strip>;
129
132
  declare const update$4: z.ZodObject<{
@@ -138,7 +141,8 @@ declare const update$4: z.ZodObject<{
138
141
  id: z.ZodOptional<z.ZodString>;
139
142
  label: z.ZodString;
140
143
  type: z.ZodOptional<z.ZodString>;
141
- distanceKm: z.ZodCoercedNumber<unknown>;
144
+ lat: z.ZodCoercedNumber<unknown>;
145
+ lng: z.ZodCoercedNumber<unknown>;
142
146
  }, z.core.$strip>>;
143
147
  id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
144
148
  }, z.core.$strip>;
@@ -74,7 +74,8 @@ declare const pickupLandmark: z.ZodObject<{
74
74
  id: z.ZodOptional<z.ZodString>;
75
75
  label: z.ZodString;
76
76
  type: z.ZodOptional<z.ZodString>;
77
- distanceKm: z.ZodCoercedNumber<unknown>;
77
+ lat: z.ZodCoercedNumber<unknown>;
78
+ lng: z.ZodCoercedNumber<unknown>;
78
79
  }, z.core.$strip>;
79
80
  declare const get$6: z.ZodObject<{
80
81
  id: z.ZodString;
@@ -108,7 +109,8 @@ declare const get$6: z.ZodObject<{
108
109
  id: z.ZodOptional<z.ZodString>;
109
110
  label: z.ZodString;
110
111
  type: z.ZodOptional<z.ZodString>;
111
- distanceKm: z.ZodCoercedNumber<unknown>;
112
+ lat: z.ZodCoercedNumber<unknown>;
113
+ lng: z.ZodCoercedNumber<unknown>;
112
114
  }, z.core.$strip>>;
113
115
  }, z.core.$strip>;
114
116
  declare const create$4: z.ZodObject<{
@@ -123,7 +125,8 @@ declare const create$4: z.ZodObject<{
123
125
  id: z.ZodOptional<z.ZodString>;
124
126
  label: z.ZodString;
125
127
  type: z.ZodOptional<z.ZodString>;
126
- distanceKm: z.ZodCoercedNumber<unknown>;
128
+ lat: z.ZodCoercedNumber<unknown>;
129
+ lng: z.ZodCoercedNumber<unknown>;
127
130
  }, z.core.$strip>>;
128
131
  }, z.core.$strip>;
129
132
  declare const update$4: z.ZodObject<{
@@ -138,7 +141,8 @@ declare const update$4: z.ZodObject<{
138
141
  id: z.ZodOptional<z.ZodString>;
139
142
  label: z.ZodString;
140
143
  type: z.ZodOptional<z.ZodString>;
141
- distanceKm: z.ZodCoercedNumber<unknown>;
144
+ lat: z.ZodCoercedNumber<unknown>;
145
+ lng: z.ZodCoercedNumber<unknown>;
142
146
  }, z.core.$strip>>;
143
147
  id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
144
148
  }, z.core.$strip>;
package/dist/index.cjs CHANGED
@@ -140,7 +140,8 @@ var pickupLandmark = import_zod3.z.object({
140
140
  id: import_zod3.z.string().optional(),
141
141
  label: import_zod3.z.string(),
142
142
  type: import_zod3.z.string().optional(),
143
- distanceKm: import_zod3.z.coerce.number()
143
+ lat: import_zod3.z.coerce.number().min(-90).max(90),
144
+ lng: import_zod3.z.coerce.number().min(-180).max(180)
144
145
  });
145
146
  var get2 = import_zod3.z.object({
146
147
  id: import_zod3.z.string(),
package/dist/index.d.cts CHANGED
@@ -1,3 +1,3 @@
1
- export { i as SafariOnboarding } from './index-Dm19HgrH.cjs';
1
+ export { i as SafariOnboarding } from './index-BUwSHmS_.cjs';
2
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-Dm19HgrH.js';
1
+ export { i as SafariOnboarding } from './index-BUwSHmS_.js';
2
2
  export { i as CommonOnboarding } from './index-BJuwZblE.js';
3
3
  import 'zod';
package/dist/index.js CHANGED
@@ -109,7 +109,8 @@ var pickupLandmark = z3.object({
109
109
  id: z3.string().optional(),
110
110
  label: z3.string(),
111
111
  type: z3.string().optional(),
112
- distanceKm: z3.coerce.number()
112
+ lat: z3.coerce.number().min(-90).max(90),
113
+ lng: z3.coerce.number().min(-180).max(180)
113
114
  });
114
115
  var get2 = z3.object({
115
116
  id: z3.string(),
@@ -127,7 +127,8 @@ var pickupLandmark = import_zod3.z.object({
127
127
  id: import_zod3.z.string().optional(),
128
128
  label: import_zod3.z.string(),
129
129
  type: import_zod3.z.string().optional(),
130
- distanceKm: import_zod3.z.coerce.number()
130
+ lat: import_zod3.z.coerce.number().min(-90).max(90),
131
+ lng: import_zod3.z.coerce.number().min(-180).max(180)
131
132
  });
132
133
  var get2 = import_zod3.z.object({
133
134
  id: import_zod3.z.string(),
@@ -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-Dm19HgrH.cjs';
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-BUwSHmS_.cjs';
2
2
  import 'zod';
@@ -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-Dm19HgrH.js';
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-BUwSHmS_.js';
2
2
  import 'zod';
@@ -88,7 +88,8 @@ var pickupLandmark = z3.object({
88
88
  id: z3.string().optional(),
89
89
  label: z3.string(),
90
90
  type: z3.string().optional(),
91
- distanceKm: z3.coerce.number()
91
+ lat: z3.coerce.number().min(-90).max(90),
92
+ lng: z3.coerce.number().min(-180).max(180)
92
93
  });
93
94
  var get2 = z3.object({
94
95
  id: z3.string(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tripsam/onboarding",
3
- "version": "1.0.98",
3
+ "version": "1.0.99",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",