@tripsam/onboarding 1.0.100 → 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>;
@@ -70,6 +70,13 @@ declare namespace basicDetails {
70
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 };
71
71
  }
72
72
 
73
+ declare const pickupLandmark: z.ZodObject<{
74
+ id: z.ZodOptional<z.ZodString>;
75
+ label: z.ZodString;
76
+ type: z.ZodOptional<z.ZodString>;
77
+ lat: z.ZodCoercedNumber<unknown>;
78
+ lng: z.ZodCoercedNumber<unknown>;
79
+ }, z.core.$strip>;
73
80
  declare const get$6: z.ZodObject<{
74
81
  id: z.ZodString;
75
82
  location: z.ZodObject<{
@@ -89,7 +96,8 @@ declare const get$6: z.ZodObject<{
89
96
  id: z.ZodString;
90
97
  label: z.ZodString;
91
98
  type: z.ZodDefault<z.ZodOptional<z.ZodString>>;
92
- distanceKm: z.ZodCoercedNumber<unknown>;
99
+ lat: z.ZodCoercedNumber<unknown>;
100
+ lng: z.ZodCoercedNumber<unknown>;
93
101
  }, z.core.$strip>>;
94
102
  }, z.core.$strip>;
95
103
  safariLocation: z.ZodString;
@@ -121,11 +129,14 @@ declare const update$4: z.ZodObject<{
121
129
  type SafeGet$6 = z.output<typeof get$6>;
122
130
  type SafeCreate$4 = z.output<typeof create$4>;
123
131
  type SafeUpdate$4 = z.output<typeof update$4>;
132
+ type SafePickupLandmark = z.output<typeof pickupLandmark>;
124
133
  declare const defaultLocation: SafeGet$6;
125
134
 
135
+ type location_SafePickupLandmark = SafePickupLandmark;
126
136
  declare const location_defaultLocation: typeof defaultLocation;
137
+ declare const location_pickupLandmark: typeof pickupLandmark;
127
138
  declare namespace location {
128
- export { type SafeCreate$4 as SafeCreate, type SafeGet$6 as SafeGet, type SafeUpdate$4 as SafeUpdate, create$4 as create, location_defaultLocation as defaultLocation, get$6 as get, update$4 as update };
139
+ export { type SafeCreate$4 as SafeCreate, type SafeGet$6 as SafeGet, type location_SafePickupLandmark as SafePickupLandmark, type SafeUpdate$4 as SafeUpdate, create$4 as create, location_defaultLocation as defaultLocation, get$6 as get, location_pickupLandmark as pickupLandmark, update$4 as update };
129
140
  }
130
141
 
131
142
  declare const time12h: z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>;
@@ -70,6 +70,13 @@ declare namespace basicDetails {
70
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 };
71
71
  }
72
72
 
73
+ declare const pickupLandmark: z.ZodObject<{
74
+ id: z.ZodOptional<z.ZodString>;
75
+ label: z.ZodString;
76
+ type: z.ZodOptional<z.ZodString>;
77
+ lat: z.ZodCoercedNumber<unknown>;
78
+ lng: z.ZodCoercedNumber<unknown>;
79
+ }, z.core.$strip>;
73
80
  declare const get$6: z.ZodObject<{
74
81
  id: z.ZodString;
75
82
  location: z.ZodObject<{
@@ -89,7 +96,8 @@ declare const get$6: z.ZodObject<{
89
96
  id: z.ZodString;
90
97
  label: z.ZodString;
91
98
  type: z.ZodDefault<z.ZodOptional<z.ZodString>>;
92
- distanceKm: z.ZodCoercedNumber<unknown>;
99
+ lat: z.ZodCoercedNumber<unknown>;
100
+ lng: z.ZodCoercedNumber<unknown>;
93
101
  }, z.core.$strip>>;
94
102
  }, z.core.$strip>;
95
103
  safariLocation: z.ZodString;
@@ -121,11 +129,14 @@ declare const update$4: z.ZodObject<{
121
129
  type SafeGet$6 = z.output<typeof get$6>;
122
130
  type SafeCreate$4 = z.output<typeof create$4>;
123
131
  type SafeUpdate$4 = z.output<typeof update$4>;
132
+ type SafePickupLandmark = z.output<typeof pickupLandmark>;
124
133
  declare const defaultLocation: SafeGet$6;
125
134
 
135
+ type location_SafePickupLandmark = SafePickupLandmark;
126
136
  declare const location_defaultLocation: typeof defaultLocation;
137
+ declare const location_pickupLandmark: typeof pickupLandmark;
127
138
  declare namespace location {
128
- export { type SafeCreate$4 as SafeCreate, type SafeGet$6 as SafeGet, type SafeUpdate$4 as SafeUpdate, create$4 as create, location_defaultLocation as defaultLocation, get$6 as get, update$4 as update };
139
+ export { type SafeCreate$4 as SafeCreate, type SafeGet$6 as SafeGet, type location_SafePickupLandmark as SafePickupLandmark, type SafeUpdate$4 as SafeUpdate, create$4 as create, location_defaultLocation as defaultLocation, get$6 as get, location_pickupLandmark as pickupLandmark, update$4 as update };
129
140
  }
130
141
 
131
142
  declare const time12h: z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>;
package/dist/index.cjs CHANGED
@@ -94,6 +94,7 @@ __export(location_exports2, {
94
94
  create: () => create2,
95
95
  defaultLocation: () => defaultLocation,
96
96
  get: () => get2,
97
+ pickupLandmark: () => pickupLandmark,
97
98
  update: () => update2
98
99
  });
99
100
  var import_zod3 = require("zod");
@@ -123,7 +124,8 @@ var locationDetails = import_zod2.default.object({
123
124
  id: import_zod2.default.string(),
124
125
  label: import_zod2.default.string(),
125
126
  type: import_zod2.default.string().optional().default(""),
126
- 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)
127
129
  }))
128
130
  });
129
131
  var autocompleteRequest = import_zod2.default.object({
@@ -135,6 +137,13 @@ var autocompleteRequest = import_zod2.default.object({
135
137
  var autocompleteResponse = import_zod2.default.array(locationDetails);
136
138
 
137
139
  // src/safari/location.ts
140
+ var pickupLandmark = import_zod3.z.object({
141
+ id: import_zod3.z.string().optional(),
142
+ label: import_zod3.z.string(),
143
+ type: import_zod3.z.string().optional(),
144
+ lat: import_zod3.z.coerce.number().min(-90).max(90),
145
+ lng: import_zod3.z.coerce.number().min(-180).max(180)
146
+ });
138
147
  var get2 = import_zod3.z.object({
139
148
  id: import_zod3.z.string(),
140
149
  location: locationDetails,
package/dist/index.d.cts CHANGED
@@ -1,3 +1,3 @@
1
- export { i as SafariOnboarding } from './index-CeScN1X7.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-CeScN1X7.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
@@ -63,6 +63,7 @@ __export(location_exports2, {
63
63
  create: () => create2,
64
64
  defaultLocation: () => defaultLocation,
65
65
  get: () => get2,
66
+ pickupLandmark: () => pickupLandmark,
66
67
  update: () => update2
67
68
  });
68
69
  import { z as z3 } from "zod";
@@ -92,7 +93,8 @@ var locationDetails = z2.object({
92
93
  id: z2.string(),
93
94
  label: z2.string(),
94
95
  type: z2.string().optional().default(""),
95
- distanceKm: z2.coerce.number()
96
+ lat: z2.coerce.number().min(-90).max(90),
97
+ lng: z2.coerce.number().min(-180).max(180)
96
98
  }))
97
99
  });
98
100
  var autocompleteRequest = z2.object({
@@ -104,6 +106,13 @@ var autocompleteRequest = z2.object({
104
106
  var autocompleteResponse = z2.array(locationDetails);
105
107
 
106
108
  // src/safari/location.ts
109
+ var pickupLandmark = z3.object({
110
+ id: z3.string().optional(),
111
+ label: z3.string(),
112
+ type: z3.string().optional(),
113
+ lat: z3.coerce.number().min(-90).max(90),
114
+ lng: z3.coerce.number().min(-180).max(180)
115
+ });
107
116
  var get2 = z3.object({
108
117
  id: z3.string(),
109
118
  location: locationDetails,
@@ -87,6 +87,7 @@ __export(location_exports, {
87
87
  create: () => create2,
88
88
  defaultLocation: () => defaultLocation,
89
89
  get: () => get2,
90
+ pickupLandmark: () => pickupLandmark,
90
91
  update: () => update2
91
92
  });
92
93
  var import_zod3 = require("zod");
@@ -110,7 +111,8 @@ var locationDetails = import_zod2.default.object({
110
111
  id: import_zod2.default.string(),
111
112
  label: import_zod2.default.string(),
112
113
  type: import_zod2.default.string().optional().default(""),
113
- 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)
114
116
  }))
115
117
  });
116
118
  var autocompleteRequest = import_zod2.default.object({
@@ -122,6 +124,13 @@ var autocompleteRequest = import_zod2.default.object({
122
124
  var autocompleteResponse = import_zod2.default.array(locationDetails);
123
125
 
124
126
  // src/safari/location.ts
127
+ var pickupLandmark = import_zod3.z.object({
128
+ id: import_zod3.z.string().optional(),
129
+ label: import_zod3.z.string(),
130
+ type: import_zod3.z.string().optional(),
131
+ lat: import_zod3.z.coerce.number().min(-90).max(90),
132
+ lng: import_zod3.z.coerce.number().min(-180).max(180)
133
+ });
125
134
  var get2 = import_zod3.z.object({
126
135
  id: import_zod3.z.string(),
127
136
  location: locationDetails,
@@ -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-CeScN1X7.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-CeScN1X7.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';
@@ -48,6 +48,7 @@ __export(location_exports, {
48
48
  create: () => create2,
49
49
  defaultLocation: () => defaultLocation,
50
50
  get: () => get2,
51
+ pickupLandmark: () => pickupLandmark,
51
52
  update: () => update2
52
53
  });
53
54
  import { z as z3 } from "zod";
@@ -71,7 +72,8 @@ var locationDetails = z2.object({
71
72
  id: z2.string(),
72
73
  label: z2.string(),
73
74
  type: z2.string().optional().default(""),
74
- distanceKm: z2.coerce.number()
75
+ lat: z2.coerce.number().min(-90).max(90),
76
+ lng: z2.coerce.number().min(-180).max(180)
75
77
  }))
76
78
  });
77
79
  var autocompleteRequest = z2.object({
@@ -83,6 +85,13 @@ var autocompleteRequest = z2.object({
83
85
  var autocompleteResponse = z2.array(locationDetails);
84
86
 
85
87
  // src/safari/location.ts
88
+ var pickupLandmark = z3.object({
89
+ id: z3.string().optional(),
90
+ label: z3.string(),
91
+ type: z3.string().optional(),
92
+ lat: z3.coerce.number().min(-90).max(90),
93
+ lng: z3.coerce.number().min(-180).max(180)
94
+ });
86
95
  var get2 = z3.object({
87
96
  id: z3.string(),
88
97
  location: locationDetails,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tripsam/onboarding",
3
- "version": "1.0.100",
3
+ "version": "1.0.101",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",