@tripsam/onboarding 1.0.98 → 1.0.100

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.
@@ -70,12 +70,6 @@ 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
- distanceKm: z.ZodCoercedNumber<unknown>;
78
- }, z.core.$strip>;
79
73
  declare const get$6: z.ZodObject<{
80
74
  id: z.ZodString;
81
75
  location: z.ZodObject<{
@@ -104,12 +98,6 @@ declare const get$6: z.ZodObject<{
104
98
  safariLocationLng: z.ZodCoercedNumber<unknown>;
105
99
  pickupLocationLat: z.ZodCoercedNumber<unknown>;
106
100
  pickupLocationLng: z.ZodCoercedNumber<unknown>;
107
- pickupLandmarks: z.ZodArray<z.ZodObject<{
108
- id: z.ZodOptional<z.ZodString>;
109
- label: z.ZodString;
110
- type: z.ZodOptional<z.ZodString>;
111
- distanceKm: z.ZodCoercedNumber<unknown>;
112
- }, z.core.$strip>>;
113
101
  }, z.core.$strip>;
114
102
  declare const create$4: z.ZodObject<{
115
103
  locationId: z.ZodString;
@@ -119,12 +107,6 @@ declare const create$4: z.ZodObject<{
119
107
  safariLocationLng: z.ZodCoercedNumber<unknown>;
120
108
  pickupLocationLat: z.ZodCoercedNumber<unknown>;
121
109
  pickupLocationLng: z.ZodCoercedNumber<unknown>;
122
- pickupLandmarks: z.ZodArray<z.ZodObject<{
123
- id: z.ZodOptional<z.ZodString>;
124
- label: z.ZodString;
125
- type: z.ZodOptional<z.ZodString>;
126
- distanceKm: z.ZodCoercedNumber<unknown>;
127
- }, z.core.$strip>>;
128
110
  }, z.core.$strip>;
129
111
  declare const update$4: z.ZodObject<{
130
112
  locationId: z.ZodString;
@@ -134,25 +116,16 @@ declare const update$4: z.ZodObject<{
134
116
  safariLocationLng: z.ZodCoercedNumber<unknown>;
135
117
  pickupLocationLat: z.ZodCoercedNumber<unknown>;
136
118
  pickupLocationLng: z.ZodCoercedNumber<unknown>;
137
- pickupLandmarks: z.ZodArray<z.ZodObject<{
138
- id: z.ZodOptional<z.ZodString>;
139
- label: z.ZodString;
140
- type: z.ZodOptional<z.ZodString>;
141
- distanceKm: z.ZodCoercedNumber<unknown>;
142
- }, z.core.$strip>>;
143
119
  id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
144
120
  }, z.core.$strip>;
145
121
  type SafeGet$6 = z.output<typeof get$6>;
146
122
  type SafeCreate$4 = z.output<typeof create$4>;
147
123
  type SafeUpdate$4 = z.output<typeof update$4>;
148
- type SafePickupLandmark = z.output<typeof pickupLandmark>;
149
124
  declare const defaultLocation: SafeGet$6;
150
125
 
151
- type location_SafePickupLandmark = SafePickupLandmark;
152
126
  declare const location_defaultLocation: typeof defaultLocation;
153
- declare const location_pickupLandmark: typeof pickupLandmark;
154
127
  declare namespace location {
155
- 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 };
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 };
156
129
  }
157
130
 
158
131
  declare const time12h: z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>;
@@ -70,12 +70,6 @@ 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
- distanceKm: z.ZodCoercedNumber<unknown>;
78
- }, z.core.$strip>;
79
73
  declare const get$6: z.ZodObject<{
80
74
  id: z.ZodString;
81
75
  location: z.ZodObject<{
@@ -104,12 +98,6 @@ declare const get$6: z.ZodObject<{
104
98
  safariLocationLng: z.ZodCoercedNumber<unknown>;
105
99
  pickupLocationLat: z.ZodCoercedNumber<unknown>;
106
100
  pickupLocationLng: z.ZodCoercedNumber<unknown>;
107
- pickupLandmarks: z.ZodArray<z.ZodObject<{
108
- id: z.ZodOptional<z.ZodString>;
109
- label: z.ZodString;
110
- type: z.ZodOptional<z.ZodString>;
111
- distanceKm: z.ZodCoercedNumber<unknown>;
112
- }, z.core.$strip>>;
113
101
  }, z.core.$strip>;
114
102
  declare const create$4: z.ZodObject<{
115
103
  locationId: z.ZodString;
@@ -119,12 +107,6 @@ declare const create$4: z.ZodObject<{
119
107
  safariLocationLng: z.ZodCoercedNumber<unknown>;
120
108
  pickupLocationLat: z.ZodCoercedNumber<unknown>;
121
109
  pickupLocationLng: z.ZodCoercedNumber<unknown>;
122
- pickupLandmarks: z.ZodArray<z.ZodObject<{
123
- id: z.ZodOptional<z.ZodString>;
124
- label: z.ZodString;
125
- type: z.ZodOptional<z.ZodString>;
126
- distanceKm: z.ZodCoercedNumber<unknown>;
127
- }, z.core.$strip>>;
128
110
  }, z.core.$strip>;
129
111
  declare const update$4: z.ZodObject<{
130
112
  locationId: z.ZodString;
@@ -134,25 +116,16 @@ declare const update$4: z.ZodObject<{
134
116
  safariLocationLng: z.ZodCoercedNumber<unknown>;
135
117
  pickupLocationLat: z.ZodCoercedNumber<unknown>;
136
118
  pickupLocationLng: z.ZodCoercedNumber<unknown>;
137
- pickupLandmarks: z.ZodArray<z.ZodObject<{
138
- id: z.ZodOptional<z.ZodString>;
139
- label: z.ZodString;
140
- type: z.ZodOptional<z.ZodString>;
141
- distanceKm: z.ZodCoercedNumber<unknown>;
142
- }, z.core.$strip>>;
143
119
  id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
144
120
  }, z.core.$strip>;
145
121
  type SafeGet$6 = z.output<typeof get$6>;
146
122
  type SafeCreate$4 = z.output<typeof create$4>;
147
123
  type SafeUpdate$4 = z.output<typeof update$4>;
148
- type SafePickupLandmark = z.output<typeof pickupLandmark>;
149
124
  declare const defaultLocation: SafeGet$6;
150
125
 
151
- type location_SafePickupLandmark = SafePickupLandmark;
152
126
  declare const location_defaultLocation: typeof defaultLocation;
153
- declare const location_pickupLandmark: typeof pickupLandmark;
154
127
  declare namespace location {
155
- 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 };
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 };
156
129
  }
157
130
 
158
131
  declare const time12h: z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>;
package/dist/index.cjs CHANGED
@@ -94,7 +94,6 @@ __export(location_exports2, {
94
94
  create: () => create2,
95
95
  defaultLocation: () => defaultLocation,
96
96
  get: () => get2,
97
- pickupLandmark: () => pickupLandmark,
98
97
  update: () => update2
99
98
  });
100
99
  var import_zod3 = require("zod");
@@ -136,12 +135,6 @@ var autocompleteRequest = import_zod2.default.object({
136
135
  var autocompleteResponse = import_zod2.default.array(locationDetails);
137
136
 
138
137
  // src/safari/location.ts
139
- var pickupLandmark = import_zod3.z.object({
140
- id: import_zod3.z.string().optional(),
141
- label: import_zod3.z.string(),
142
- type: import_zod3.z.string().optional(),
143
- distanceKm: import_zod3.z.coerce.number()
144
- });
145
138
  var get2 = import_zod3.z.object({
146
139
  id: import_zod3.z.string(),
147
140
  location: locationDetails,
@@ -150,8 +143,7 @@ var get2 = import_zod3.z.object({
150
143
  safariLocationLat: import_zod3.z.coerce.number().min(-90).max(90),
151
144
  safariLocationLng: import_zod3.z.coerce.number().min(-180).max(180),
152
145
  pickupLocationLat: import_zod3.z.coerce.number().min(-90).max(90),
153
- pickupLocationLng: import_zod3.z.coerce.number().min(-180).max(180),
154
- pickupLandmarks: import_zod3.z.array(pickupLandmark)
146
+ pickupLocationLng: import_zod3.z.coerce.number().min(-180).max(180)
155
147
  });
156
148
  var create2 = import_zod3.z.object({
157
149
  locationId: import_zod3.z.string().trim().nonempty("required"),
@@ -160,8 +152,7 @@ var create2 = import_zod3.z.object({
160
152
  safariLocationLat: import_zod3.z.coerce.number().min(-90).max(90),
161
153
  safariLocationLng: import_zod3.z.coerce.number().min(-180).max(180),
162
154
  pickupLocationLat: import_zod3.z.coerce.number().min(-90).max(90),
163
- pickupLocationLng: import_zod3.z.coerce.number().min(-180).max(180),
164
- pickupLandmarks: import_zod3.z.array(pickupLandmark)
155
+ pickupLocationLng: import_zod3.z.coerce.number().min(-180).max(180)
165
156
  });
166
157
  var update2 = import_zod3.z.object({
167
158
  id: import_zod3.z.string().optional().default(""),
@@ -175,8 +166,7 @@ var defaultLocation = {
175
166
  safariLocationLat: 1,
176
167
  safariLocationLng: 2,
177
168
  pickupLocationLat: 1,
178
- pickupLocationLng: 1,
179
- pickupLandmarks: []
169
+ pickupLocationLng: 1
180
170
  };
181
171
 
182
172
  // src/safari/slot.ts
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-CeScN1X7.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-CeScN1X7.js';
2
2
  export { i as CommonOnboarding } from './index-BJuwZblE.js';
3
3
  import 'zod';
package/dist/index.js CHANGED
@@ -63,7 +63,6 @@ __export(location_exports2, {
63
63
  create: () => create2,
64
64
  defaultLocation: () => defaultLocation,
65
65
  get: () => get2,
66
- pickupLandmark: () => pickupLandmark,
67
66
  update: () => update2
68
67
  });
69
68
  import { z as z3 } from "zod";
@@ -105,12 +104,6 @@ var autocompleteRequest = z2.object({
105
104
  var autocompleteResponse = z2.array(locationDetails);
106
105
 
107
106
  // src/safari/location.ts
108
- var pickupLandmark = z3.object({
109
- id: z3.string().optional(),
110
- label: z3.string(),
111
- type: z3.string().optional(),
112
- distanceKm: z3.coerce.number()
113
- });
114
107
  var get2 = z3.object({
115
108
  id: z3.string(),
116
109
  location: locationDetails,
@@ -119,8 +112,7 @@ var get2 = z3.object({
119
112
  safariLocationLat: z3.coerce.number().min(-90).max(90),
120
113
  safariLocationLng: z3.coerce.number().min(-180).max(180),
121
114
  pickupLocationLat: z3.coerce.number().min(-90).max(90),
122
- pickupLocationLng: z3.coerce.number().min(-180).max(180),
123
- pickupLandmarks: z3.array(pickupLandmark)
115
+ pickupLocationLng: z3.coerce.number().min(-180).max(180)
124
116
  });
125
117
  var create2 = z3.object({
126
118
  locationId: z3.string().trim().nonempty("required"),
@@ -129,8 +121,7 @@ var create2 = z3.object({
129
121
  safariLocationLat: z3.coerce.number().min(-90).max(90),
130
122
  safariLocationLng: z3.coerce.number().min(-180).max(180),
131
123
  pickupLocationLat: z3.coerce.number().min(-90).max(90),
132
- pickupLocationLng: z3.coerce.number().min(-180).max(180),
133
- pickupLandmarks: z3.array(pickupLandmark)
124
+ pickupLocationLng: z3.coerce.number().min(-180).max(180)
134
125
  });
135
126
  var update2 = z3.object({
136
127
  id: z3.string().optional().default(""),
@@ -144,8 +135,7 @@ var defaultLocation = {
144
135
  safariLocationLat: 1,
145
136
  safariLocationLng: 2,
146
137
  pickupLocationLat: 1,
147
- pickupLocationLng: 1,
148
- pickupLandmarks: []
138
+ pickupLocationLng: 1
149
139
  };
150
140
 
151
141
  // src/safari/slot.ts
@@ -87,7 +87,6 @@ __export(location_exports, {
87
87
  create: () => create2,
88
88
  defaultLocation: () => defaultLocation,
89
89
  get: () => get2,
90
- pickupLandmark: () => pickupLandmark,
91
90
  update: () => update2
92
91
  });
93
92
  var import_zod3 = require("zod");
@@ -123,12 +122,6 @@ var autocompleteRequest = import_zod2.default.object({
123
122
  var autocompleteResponse = import_zod2.default.array(locationDetails);
124
123
 
125
124
  // src/safari/location.ts
126
- var pickupLandmark = import_zod3.z.object({
127
- id: import_zod3.z.string().optional(),
128
- label: import_zod3.z.string(),
129
- type: import_zod3.z.string().optional(),
130
- distanceKm: import_zod3.z.coerce.number()
131
- });
132
125
  var get2 = import_zod3.z.object({
133
126
  id: import_zod3.z.string(),
134
127
  location: locationDetails,
@@ -137,8 +130,7 @@ var get2 = import_zod3.z.object({
137
130
  safariLocationLat: import_zod3.z.coerce.number().min(-90).max(90),
138
131
  safariLocationLng: import_zod3.z.coerce.number().min(-180).max(180),
139
132
  pickupLocationLat: import_zod3.z.coerce.number().min(-90).max(90),
140
- pickupLocationLng: import_zod3.z.coerce.number().min(-180).max(180),
141
- pickupLandmarks: import_zod3.z.array(pickupLandmark)
133
+ pickupLocationLng: import_zod3.z.coerce.number().min(-180).max(180)
142
134
  });
143
135
  var create2 = import_zod3.z.object({
144
136
  locationId: import_zod3.z.string().trim().nonempty("required"),
@@ -147,8 +139,7 @@ var create2 = import_zod3.z.object({
147
139
  safariLocationLat: import_zod3.z.coerce.number().min(-90).max(90),
148
140
  safariLocationLng: import_zod3.z.coerce.number().min(-180).max(180),
149
141
  pickupLocationLat: import_zod3.z.coerce.number().min(-90).max(90),
150
- pickupLocationLng: import_zod3.z.coerce.number().min(-180).max(180),
151
- pickupLandmarks: import_zod3.z.array(pickupLandmark)
142
+ pickupLocationLng: import_zod3.z.coerce.number().min(-180).max(180)
152
143
  });
153
144
  var update2 = import_zod3.z.object({
154
145
  id: import_zod3.z.string().optional().default(""),
@@ -162,8 +153,7 @@ var defaultLocation = {
162
153
  safariLocationLat: 1,
163
154
  safariLocationLng: 2,
164
155
  pickupLocationLat: 1,
165
- pickupLocationLng: 1,
166
- pickupLandmarks: []
156
+ pickupLocationLng: 1
167
157
  };
168
158
 
169
159
  // 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-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-CeScN1X7.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-CeScN1X7.js';
2
2
  import 'zod';
@@ -48,7 +48,6 @@ __export(location_exports, {
48
48
  create: () => create2,
49
49
  defaultLocation: () => defaultLocation,
50
50
  get: () => get2,
51
- pickupLandmark: () => pickupLandmark,
52
51
  update: () => update2
53
52
  });
54
53
  import { z as z3 } from "zod";
@@ -84,12 +83,6 @@ var autocompleteRequest = z2.object({
84
83
  var autocompleteResponse = z2.array(locationDetails);
85
84
 
86
85
  // src/safari/location.ts
87
- var pickupLandmark = z3.object({
88
- id: z3.string().optional(),
89
- label: z3.string(),
90
- type: z3.string().optional(),
91
- distanceKm: z3.coerce.number()
92
- });
93
86
  var get2 = z3.object({
94
87
  id: z3.string(),
95
88
  location: locationDetails,
@@ -98,8 +91,7 @@ var get2 = z3.object({
98
91
  safariLocationLat: z3.coerce.number().min(-90).max(90),
99
92
  safariLocationLng: z3.coerce.number().min(-180).max(180),
100
93
  pickupLocationLat: z3.coerce.number().min(-90).max(90),
101
- pickupLocationLng: z3.coerce.number().min(-180).max(180),
102
- pickupLandmarks: z3.array(pickupLandmark)
94
+ pickupLocationLng: z3.coerce.number().min(-180).max(180)
103
95
  });
104
96
  var create2 = z3.object({
105
97
  locationId: z3.string().trim().nonempty("required"),
@@ -108,8 +100,7 @@ var create2 = z3.object({
108
100
  safariLocationLat: z3.coerce.number().min(-90).max(90),
109
101
  safariLocationLng: z3.coerce.number().min(-180).max(180),
110
102
  pickupLocationLat: z3.coerce.number().min(-90).max(90),
111
- pickupLocationLng: z3.coerce.number().min(-180).max(180),
112
- pickupLandmarks: z3.array(pickupLandmark)
103
+ pickupLocationLng: z3.coerce.number().min(-180).max(180)
113
104
  });
114
105
  var update2 = z3.object({
115
106
  id: z3.string().optional().default(""),
@@ -123,8 +114,7 @@ var defaultLocation = {
123
114
  safariLocationLat: 1,
124
115
  safariLocationLng: 2,
125
116
  pickupLocationLat: 1,
126
- pickupLocationLng: 1,
127
- pickupLandmarks: []
117
+ pickupLocationLng: 1
128
118
  };
129
119
 
130
120
  // src/safari/slot.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tripsam/onboarding",
3
- "version": "1.0.98",
3
+ "version": "1.0.100",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",