@tripsam/onboarding 1.0.99 → 1.0.101

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.
@@ -125,7 +125,8 @@ var locationDetails = import_zod3.default.object({
125
125
  id: import_zod3.default.string(),
126
126
  label: import_zod3.default.string(),
127
127
  type: import_zod3.default.string().optional().default(""),
128
- distanceKm: import_zod3.default.coerce.number()
128
+ lat: import_zod3.default.coerce.number().min(-90).max(90),
129
+ lng: import_zod3.default.coerce.number().min(-180).max(180)
129
130
  }))
130
131
  });
131
132
  var autocompleteRequest = import_zod3.default.object({
@@ -1,2 +1,2 @@
1
- export { d as DocumentType, l as LocationAutoSuggest, o as Onboard, s as Support, v as VerifyEmail } from '../index-BJuwZblE.cjs';
1
+ export { d as DocumentType, l as LocationAutoSuggest, o as Onboard, s as Support, v as VerifyEmail } from '../index-D_i1h5sb.cjs';
2
2
  import 'zod';
@@ -1,2 +1,2 @@
1
- export { d as DocumentType, l as LocationAutoSuggest, o as Onboard, s as Support, v as VerifyEmail } from '../index-BJuwZblE.js';
1
+ export { d as DocumentType, l as LocationAutoSuggest, o as Onboard, s as Support, v as VerifyEmail } from '../index-D_i1h5sb.js';
2
2
  import 'zod';
@@ -91,7 +91,8 @@ var locationDetails = z3.object({
91
91
  id: z3.string(),
92
92
  label: z3.string(),
93
93
  type: z3.string().optional().default(""),
94
- distanceKm: z3.coerce.number()
94
+ lat: z3.coerce.number().min(-90).max(90),
95
+ lng: z3.coerce.number().min(-180).max(180)
95
96
  }))
96
97
  });
97
98
  var autocompleteRequest = z3.object({
@@ -133,7 +133,8 @@ declare const locationDetails: z$1.ZodObject<{
133
133
  id: z$1.ZodString;
134
134
  label: z$1.ZodString;
135
135
  type: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodString>>;
136
- distanceKm: z$1.ZodCoercedNumber<unknown>;
136
+ lat: z$1.ZodCoercedNumber<unknown>;
137
+ lng: z$1.ZodCoercedNumber<unknown>;
137
138
  }, z$1.core.$strip>>;
138
139
  }, z$1.core.$strip>;
139
140
  declare const autocompleteRequest: z$1.ZodObject<{
@@ -159,7 +160,8 @@ declare const autocompleteResponse: z$1.ZodArray<z$1.ZodObject<{
159
160
  id: z$1.ZodString;
160
161
  label: z$1.ZodString;
161
162
  type: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodString>>;
162
- distanceKm: z$1.ZodCoercedNumber<unknown>;
163
+ lat: z$1.ZodCoercedNumber<unknown>;
164
+ lng: z$1.ZodCoercedNumber<unknown>;
163
165
  }, z$1.core.$strip>>;
164
166
  }, z$1.core.$strip>>;
165
167
  type SafeLocation = z$1.output<typeof locationDetails>;
@@ -133,7 +133,8 @@ declare const locationDetails: z$1.ZodObject<{
133
133
  id: z$1.ZodString;
134
134
  label: z$1.ZodString;
135
135
  type: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodString>>;
136
- distanceKm: z$1.ZodCoercedNumber<unknown>;
136
+ lat: z$1.ZodCoercedNumber<unknown>;
137
+ lng: z$1.ZodCoercedNumber<unknown>;
137
138
  }, z$1.core.$strip>>;
138
139
  }, z$1.core.$strip>;
139
140
  declare const autocompleteRequest: z$1.ZodObject<{
@@ -159,7 +160,8 @@ declare const autocompleteResponse: z$1.ZodArray<z$1.ZodObject<{
159
160
  id: z$1.ZodString;
160
161
  label: z$1.ZodString;
161
162
  type: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodString>>;
162
- distanceKm: z$1.ZodCoercedNumber<unknown>;
163
+ lat: z$1.ZodCoercedNumber<unknown>;
164
+ lng: z$1.ZodCoercedNumber<unknown>;
163
165
  }, z$1.core.$strip>>;
164
166
  }, z$1.core.$strip>>;
165
167
  type SafeLocation = z$1.output<typeof locationDetails>;
@@ -96,7 +96,8 @@ declare const get$6: z.ZodObject<{
96
96
  id: z.ZodString;
97
97
  label: z.ZodString;
98
98
  type: z.ZodDefault<z.ZodOptional<z.ZodString>>;
99
- distanceKm: z.ZodCoercedNumber<unknown>;
99
+ lat: z.ZodCoercedNumber<unknown>;
100
+ lng: z.ZodCoercedNumber<unknown>;
100
101
  }, z.core.$strip>>;
101
102
  }, z.core.$strip>;
102
103
  safariLocation: z.ZodString;
@@ -105,13 +106,6 @@ declare const get$6: z.ZodObject<{
105
106
  safariLocationLng: z.ZodCoercedNumber<unknown>;
106
107
  pickupLocationLat: z.ZodCoercedNumber<unknown>;
107
108
  pickupLocationLng: z.ZodCoercedNumber<unknown>;
108
- pickupLandmarks: z.ZodArray<z.ZodObject<{
109
- id: z.ZodOptional<z.ZodString>;
110
- label: z.ZodString;
111
- type: z.ZodOptional<z.ZodString>;
112
- lat: z.ZodCoercedNumber<unknown>;
113
- lng: z.ZodCoercedNumber<unknown>;
114
- }, z.core.$strip>>;
115
109
  }, z.core.$strip>;
116
110
  declare const create$4: z.ZodObject<{
117
111
  locationId: z.ZodString;
@@ -121,13 +115,6 @@ declare const create$4: z.ZodObject<{
121
115
  safariLocationLng: z.ZodCoercedNumber<unknown>;
122
116
  pickupLocationLat: z.ZodCoercedNumber<unknown>;
123
117
  pickupLocationLng: z.ZodCoercedNumber<unknown>;
124
- pickupLandmarks: z.ZodArray<z.ZodObject<{
125
- id: z.ZodOptional<z.ZodString>;
126
- label: z.ZodString;
127
- type: z.ZodOptional<z.ZodString>;
128
- lat: z.ZodCoercedNumber<unknown>;
129
- lng: z.ZodCoercedNumber<unknown>;
130
- }, z.core.$strip>>;
131
118
  }, z.core.$strip>;
132
119
  declare const update$4: z.ZodObject<{
133
120
  locationId: z.ZodString;
@@ -137,13 +124,6 @@ declare const update$4: z.ZodObject<{
137
124
  safariLocationLng: z.ZodCoercedNumber<unknown>;
138
125
  pickupLocationLat: z.ZodCoercedNumber<unknown>;
139
126
  pickupLocationLng: z.ZodCoercedNumber<unknown>;
140
- pickupLandmarks: z.ZodArray<z.ZodObject<{
141
- id: z.ZodOptional<z.ZodString>;
142
- label: z.ZodString;
143
- type: z.ZodOptional<z.ZodString>;
144
- lat: z.ZodCoercedNumber<unknown>;
145
- lng: z.ZodCoercedNumber<unknown>;
146
- }, z.core.$strip>>;
147
127
  id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
148
128
  }, z.core.$strip>;
149
129
  type SafeGet$6 = z.output<typeof get$6>;
@@ -96,7 +96,8 @@ declare const get$6: z.ZodObject<{
96
96
  id: z.ZodString;
97
97
  label: z.ZodString;
98
98
  type: z.ZodDefault<z.ZodOptional<z.ZodString>>;
99
- distanceKm: z.ZodCoercedNumber<unknown>;
99
+ lat: z.ZodCoercedNumber<unknown>;
100
+ lng: z.ZodCoercedNumber<unknown>;
100
101
  }, z.core.$strip>>;
101
102
  }, z.core.$strip>;
102
103
  safariLocation: z.ZodString;
@@ -105,13 +106,6 @@ declare const get$6: z.ZodObject<{
105
106
  safariLocationLng: z.ZodCoercedNumber<unknown>;
106
107
  pickupLocationLat: z.ZodCoercedNumber<unknown>;
107
108
  pickupLocationLng: z.ZodCoercedNumber<unknown>;
108
- pickupLandmarks: z.ZodArray<z.ZodObject<{
109
- id: z.ZodOptional<z.ZodString>;
110
- label: z.ZodString;
111
- type: z.ZodOptional<z.ZodString>;
112
- lat: z.ZodCoercedNumber<unknown>;
113
- lng: z.ZodCoercedNumber<unknown>;
114
- }, z.core.$strip>>;
115
109
  }, z.core.$strip>;
116
110
  declare const create$4: z.ZodObject<{
117
111
  locationId: z.ZodString;
@@ -121,13 +115,6 @@ declare const create$4: z.ZodObject<{
121
115
  safariLocationLng: z.ZodCoercedNumber<unknown>;
122
116
  pickupLocationLat: z.ZodCoercedNumber<unknown>;
123
117
  pickupLocationLng: z.ZodCoercedNumber<unknown>;
124
- pickupLandmarks: z.ZodArray<z.ZodObject<{
125
- id: z.ZodOptional<z.ZodString>;
126
- label: z.ZodString;
127
- type: z.ZodOptional<z.ZodString>;
128
- lat: z.ZodCoercedNumber<unknown>;
129
- lng: z.ZodCoercedNumber<unknown>;
130
- }, z.core.$strip>>;
131
118
  }, z.core.$strip>;
132
119
  declare const update$4: z.ZodObject<{
133
120
  locationId: z.ZodString;
@@ -137,13 +124,6 @@ declare const update$4: z.ZodObject<{
137
124
  safariLocationLng: z.ZodCoercedNumber<unknown>;
138
125
  pickupLocationLat: z.ZodCoercedNumber<unknown>;
139
126
  pickupLocationLng: z.ZodCoercedNumber<unknown>;
140
- pickupLandmarks: z.ZodArray<z.ZodObject<{
141
- id: z.ZodOptional<z.ZodString>;
142
- label: z.ZodString;
143
- type: z.ZodOptional<z.ZodString>;
144
- lat: z.ZodCoercedNumber<unknown>;
145
- lng: z.ZodCoercedNumber<unknown>;
146
- }, z.core.$strip>>;
147
127
  id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
148
128
  }, z.core.$strip>;
149
129
  type SafeGet$6 = z.output<typeof get$6>;
package/dist/index.cjs CHANGED
@@ -124,7 +124,8 @@ var locationDetails = import_zod2.default.object({
124
124
  id: import_zod2.default.string(),
125
125
  label: import_zod2.default.string(),
126
126
  type: import_zod2.default.string().optional().default(""),
127
- distanceKm: import_zod2.default.coerce.number()
127
+ lat: import_zod2.default.coerce.number().min(-90).max(90),
128
+ lng: import_zod2.default.coerce.number().min(-180).max(180)
128
129
  }))
129
130
  });
130
131
  var autocompleteRequest = import_zod2.default.object({
@@ -151,8 +152,7 @@ var get2 = import_zod3.z.object({
151
152
  safariLocationLat: import_zod3.z.coerce.number().min(-90).max(90),
152
153
  safariLocationLng: import_zod3.z.coerce.number().min(-180).max(180),
153
154
  pickupLocationLat: import_zod3.z.coerce.number().min(-90).max(90),
154
- pickupLocationLng: import_zod3.z.coerce.number().min(-180).max(180),
155
- pickupLandmarks: import_zod3.z.array(pickupLandmark)
155
+ pickupLocationLng: import_zod3.z.coerce.number().min(-180).max(180)
156
156
  });
157
157
  var create2 = import_zod3.z.object({
158
158
  locationId: import_zod3.z.string().trim().nonempty("required"),
@@ -161,8 +161,7 @@ var create2 = import_zod3.z.object({
161
161
  safariLocationLat: import_zod3.z.coerce.number().min(-90).max(90),
162
162
  safariLocationLng: import_zod3.z.coerce.number().min(-180).max(180),
163
163
  pickupLocationLat: import_zod3.z.coerce.number().min(-90).max(90),
164
- pickupLocationLng: import_zod3.z.coerce.number().min(-180).max(180),
165
- pickupLandmarks: import_zod3.z.array(pickupLandmark)
164
+ pickupLocationLng: import_zod3.z.coerce.number().min(-180).max(180)
166
165
  });
167
166
  var update2 = import_zod3.z.object({
168
167
  id: import_zod3.z.string().optional().default(""),
@@ -176,8 +175,7 @@ var defaultLocation = {
176
175
  safariLocationLat: 1,
177
176
  safariLocationLng: 2,
178
177
  pickupLocationLat: 1,
179
- pickupLocationLng: 1,
180
- pickupLandmarks: []
178
+ pickupLocationLng: 1
181
179
  };
182
180
 
183
181
  // src/safari/slot.ts
package/dist/index.d.cts CHANGED
@@ -1,3 +1,3 @@
1
- export { i as SafariOnboarding } from './index-BUwSHmS_.cjs';
2
- export { i as CommonOnboarding } from './index-BJuwZblE.cjs';
1
+ export { i as SafariOnboarding } from './index-DvW9pG4B.cjs';
2
+ export { i as CommonOnboarding } from './index-D_i1h5sb.cjs';
3
3
  import 'zod';
package/dist/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- export { i as SafariOnboarding } from './index-BUwSHmS_.js';
2
- export { i as CommonOnboarding } from './index-BJuwZblE.js';
1
+ export { i as SafariOnboarding } from './index-DvW9pG4B.js';
2
+ export { i as CommonOnboarding } from './index-D_i1h5sb.js';
3
3
  import 'zod';
package/dist/index.js CHANGED
@@ -93,7 +93,8 @@ var locationDetails = z2.object({
93
93
  id: z2.string(),
94
94
  label: z2.string(),
95
95
  type: z2.string().optional().default(""),
96
- distanceKm: z2.coerce.number()
96
+ lat: z2.coerce.number().min(-90).max(90),
97
+ lng: z2.coerce.number().min(-180).max(180)
97
98
  }))
98
99
  });
99
100
  var autocompleteRequest = z2.object({
@@ -120,8 +121,7 @@ var get2 = z3.object({
120
121
  safariLocationLat: z3.coerce.number().min(-90).max(90),
121
122
  safariLocationLng: z3.coerce.number().min(-180).max(180),
122
123
  pickupLocationLat: z3.coerce.number().min(-90).max(90),
123
- pickupLocationLng: z3.coerce.number().min(-180).max(180),
124
- pickupLandmarks: z3.array(pickupLandmark)
124
+ pickupLocationLng: z3.coerce.number().min(-180).max(180)
125
125
  });
126
126
  var create2 = z3.object({
127
127
  locationId: z3.string().trim().nonempty("required"),
@@ -130,8 +130,7 @@ var create2 = z3.object({
130
130
  safariLocationLat: z3.coerce.number().min(-90).max(90),
131
131
  safariLocationLng: z3.coerce.number().min(-180).max(180),
132
132
  pickupLocationLat: z3.coerce.number().min(-90).max(90),
133
- pickupLocationLng: z3.coerce.number().min(-180).max(180),
134
- pickupLandmarks: z3.array(pickupLandmark)
133
+ pickupLocationLng: z3.coerce.number().min(-180).max(180)
135
134
  });
136
135
  var update2 = z3.object({
137
136
  id: z3.string().optional().default(""),
@@ -145,8 +144,7 @@ var defaultLocation = {
145
144
  safariLocationLat: 1,
146
145
  safariLocationLng: 2,
147
146
  pickupLocationLat: 1,
148
- pickupLocationLng: 1,
149
- pickupLandmarks: []
147
+ pickupLocationLng: 1
150
148
  };
151
149
 
152
150
  // src/safari/slot.ts
@@ -111,7 +111,8 @@ var locationDetails = import_zod2.default.object({
111
111
  id: import_zod2.default.string(),
112
112
  label: import_zod2.default.string(),
113
113
  type: import_zod2.default.string().optional().default(""),
114
- distanceKm: import_zod2.default.coerce.number()
114
+ lat: import_zod2.default.coerce.number().min(-90).max(90),
115
+ lng: import_zod2.default.coerce.number().min(-180).max(180)
115
116
  }))
116
117
  });
117
118
  var autocompleteRequest = import_zod2.default.object({
@@ -138,8 +139,7 @@ var get2 = import_zod3.z.object({
138
139
  safariLocationLat: import_zod3.z.coerce.number().min(-90).max(90),
139
140
  safariLocationLng: import_zod3.z.coerce.number().min(-180).max(180),
140
141
  pickupLocationLat: import_zod3.z.coerce.number().min(-90).max(90),
141
- pickupLocationLng: import_zod3.z.coerce.number().min(-180).max(180),
142
- pickupLandmarks: import_zod3.z.array(pickupLandmark)
142
+ pickupLocationLng: import_zod3.z.coerce.number().min(-180).max(180)
143
143
  });
144
144
  var create2 = import_zod3.z.object({
145
145
  locationId: import_zod3.z.string().trim().nonempty("required"),
@@ -148,8 +148,7 @@ var create2 = import_zod3.z.object({
148
148
  safariLocationLat: import_zod3.z.coerce.number().min(-90).max(90),
149
149
  safariLocationLng: import_zod3.z.coerce.number().min(-180).max(180),
150
150
  pickupLocationLat: import_zod3.z.coerce.number().min(-90).max(90),
151
- pickupLocationLng: import_zod3.z.coerce.number().min(-180).max(180),
152
- pickupLandmarks: import_zod3.z.array(pickupLandmark)
151
+ pickupLocationLng: import_zod3.z.coerce.number().min(-180).max(180)
153
152
  });
154
153
  var update2 = import_zod3.z.object({
155
154
  id: import_zod3.z.string().optional().default(""),
@@ -163,8 +162,7 @@ var defaultLocation = {
163
162
  safariLocationLat: 1,
164
163
  safariLocationLng: 2,
165
164
  pickupLocationLat: 1,
166
- pickupLocationLng: 1,
167
- pickupLandmarks: []
165
+ pickupLocationLng: 1
168
166
  };
169
167
 
170
168
  // src/safari/slot.ts
@@ -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-BUwSHmS_.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-DvW9pG4B.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-BUwSHmS_.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-DvW9pG4B.js';
2
2
  import 'zod';
@@ -72,7 +72,8 @@ var locationDetails = z2.object({
72
72
  id: z2.string(),
73
73
  label: z2.string(),
74
74
  type: z2.string().optional().default(""),
75
- distanceKm: z2.coerce.number()
75
+ lat: z2.coerce.number().min(-90).max(90),
76
+ lng: z2.coerce.number().min(-180).max(180)
76
77
  }))
77
78
  });
78
79
  var autocompleteRequest = z2.object({
@@ -99,8 +100,7 @@ var get2 = z3.object({
99
100
  safariLocationLat: z3.coerce.number().min(-90).max(90),
100
101
  safariLocationLng: z3.coerce.number().min(-180).max(180),
101
102
  pickupLocationLat: z3.coerce.number().min(-90).max(90),
102
- pickupLocationLng: z3.coerce.number().min(-180).max(180),
103
- pickupLandmarks: z3.array(pickupLandmark)
103
+ pickupLocationLng: z3.coerce.number().min(-180).max(180)
104
104
  });
105
105
  var create2 = z3.object({
106
106
  locationId: z3.string().trim().nonempty("required"),
@@ -109,8 +109,7 @@ var create2 = z3.object({
109
109
  safariLocationLat: z3.coerce.number().min(-90).max(90),
110
110
  safariLocationLng: z3.coerce.number().min(-180).max(180),
111
111
  pickupLocationLat: z3.coerce.number().min(-90).max(90),
112
- pickupLocationLng: z3.coerce.number().min(-180).max(180),
113
- pickupLandmarks: z3.array(pickupLandmark)
112
+ pickupLocationLng: z3.coerce.number().min(-180).max(180)
114
113
  });
115
114
  var update2 = z3.object({
116
115
  id: z3.string().optional().default(""),
@@ -124,8 +123,7 @@ var defaultLocation = {
124
123
  safariLocationLat: 1,
125
124
  safariLocationLng: 2,
126
125
  pickupLocationLat: 1,
127
- pickupLocationLng: 1,
128
- pickupLandmarks: []
126
+ pickupLocationLng: 1
129
127
  };
130
128
 
131
129
  // src/safari/slot.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tripsam/onboarding",
3
- "version": "1.0.99",
3
+ "version": "1.0.101",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",