@tripsam/onboarding 1.0.99 → 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,13 +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
- lat: z.ZodCoercedNumber<unknown>;
78
- lng: z.ZodCoercedNumber<unknown>;
79
- }, z.core.$strip>;
80
73
  declare const get$6: z.ZodObject<{
81
74
  id: z.ZodString;
82
75
  location: z.ZodObject<{
@@ -105,13 +98,6 @@ declare const get$6: z.ZodObject<{
105
98
  safariLocationLng: z.ZodCoercedNumber<unknown>;
106
99
  pickupLocationLat: z.ZodCoercedNumber<unknown>;
107
100
  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
101
  }, z.core.$strip>;
116
102
  declare const create$4: z.ZodObject<{
117
103
  locationId: z.ZodString;
@@ -121,13 +107,6 @@ declare const create$4: z.ZodObject<{
121
107
  safariLocationLng: z.ZodCoercedNumber<unknown>;
122
108
  pickupLocationLat: z.ZodCoercedNumber<unknown>;
123
109
  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
110
  }, z.core.$strip>;
132
111
  declare const update$4: z.ZodObject<{
133
112
  locationId: z.ZodString;
@@ -137,26 +116,16 @@ declare const update$4: z.ZodObject<{
137
116
  safariLocationLng: z.ZodCoercedNumber<unknown>;
138
117
  pickupLocationLat: z.ZodCoercedNumber<unknown>;
139
118
  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
119
  id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
148
120
  }, z.core.$strip>;
149
121
  type SafeGet$6 = z.output<typeof get$6>;
150
122
  type SafeCreate$4 = z.output<typeof create$4>;
151
123
  type SafeUpdate$4 = z.output<typeof update$4>;
152
- type SafePickupLandmark = z.output<typeof pickupLandmark>;
153
124
  declare const defaultLocation: SafeGet$6;
154
125
 
155
- type location_SafePickupLandmark = SafePickupLandmark;
156
126
  declare const location_defaultLocation: typeof defaultLocation;
157
- declare const location_pickupLandmark: typeof pickupLandmark;
158
127
  declare namespace location {
159
- 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 };
160
129
  }
161
130
 
162
131
  declare const time12h: z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>;
@@ -70,13 +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
- lat: z.ZodCoercedNumber<unknown>;
78
- lng: z.ZodCoercedNumber<unknown>;
79
- }, z.core.$strip>;
80
73
  declare const get$6: z.ZodObject<{
81
74
  id: z.ZodString;
82
75
  location: z.ZodObject<{
@@ -105,13 +98,6 @@ declare const get$6: z.ZodObject<{
105
98
  safariLocationLng: z.ZodCoercedNumber<unknown>;
106
99
  pickupLocationLat: z.ZodCoercedNumber<unknown>;
107
100
  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
101
  }, z.core.$strip>;
116
102
  declare const create$4: z.ZodObject<{
117
103
  locationId: z.ZodString;
@@ -121,13 +107,6 @@ declare const create$4: z.ZodObject<{
121
107
  safariLocationLng: z.ZodCoercedNumber<unknown>;
122
108
  pickupLocationLat: z.ZodCoercedNumber<unknown>;
123
109
  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
110
  }, z.core.$strip>;
132
111
  declare const update$4: z.ZodObject<{
133
112
  locationId: z.ZodString;
@@ -137,26 +116,16 @@ declare const update$4: z.ZodObject<{
137
116
  safariLocationLng: z.ZodCoercedNumber<unknown>;
138
117
  pickupLocationLat: z.ZodCoercedNumber<unknown>;
139
118
  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
119
  id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
148
120
  }, z.core.$strip>;
149
121
  type SafeGet$6 = z.output<typeof get$6>;
150
122
  type SafeCreate$4 = z.output<typeof create$4>;
151
123
  type SafeUpdate$4 = z.output<typeof update$4>;
152
- type SafePickupLandmark = z.output<typeof pickupLandmark>;
153
124
  declare const defaultLocation: SafeGet$6;
154
125
 
155
- type location_SafePickupLandmark = SafePickupLandmark;
156
126
  declare const location_defaultLocation: typeof defaultLocation;
157
- declare const location_pickupLandmark: typeof pickupLandmark;
158
127
  declare namespace location {
159
- 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 };
160
129
  }
161
130
 
162
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,13 +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
- lat: import_zod3.z.coerce.number().min(-90).max(90),
144
- lng: import_zod3.z.coerce.number().min(-180).max(180)
145
- });
146
138
  var get2 = import_zod3.z.object({
147
139
  id: import_zod3.z.string(),
148
140
  location: locationDetails,
@@ -151,8 +143,7 @@ var get2 = import_zod3.z.object({
151
143
  safariLocationLat: import_zod3.z.coerce.number().min(-90).max(90),
152
144
  safariLocationLng: import_zod3.z.coerce.number().min(-180).max(180),
153
145
  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)
146
+ pickupLocationLng: import_zod3.z.coerce.number().min(-180).max(180)
156
147
  });
157
148
  var create2 = import_zod3.z.object({
158
149
  locationId: import_zod3.z.string().trim().nonempty("required"),
@@ -161,8 +152,7 @@ var create2 = import_zod3.z.object({
161
152
  safariLocationLat: import_zod3.z.coerce.number().min(-90).max(90),
162
153
  safariLocationLng: import_zod3.z.coerce.number().min(-180).max(180),
163
154
  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)
155
+ pickupLocationLng: import_zod3.z.coerce.number().min(-180).max(180)
166
156
  });
167
157
  var update2 = import_zod3.z.object({
168
158
  id: import_zod3.z.string().optional().default(""),
@@ -176,8 +166,7 @@ var defaultLocation = {
176
166
  safariLocationLat: 1,
177
167
  safariLocationLng: 2,
178
168
  pickupLocationLat: 1,
179
- pickupLocationLng: 1,
180
- pickupLandmarks: []
169
+ pickupLocationLng: 1
181
170
  };
182
171
 
183
172
  // src/safari/slot.ts
package/dist/index.d.cts CHANGED
@@ -1,3 +1,3 @@
1
- export { i as SafariOnboarding } from './index-BUwSHmS_.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-BUwSHmS_.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,13 +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
- lat: z3.coerce.number().min(-90).max(90),
113
- lng: z3.coerce.number().min(-180).max(180)
114
- });
115
107
  var get2 = z3.object({
116
108
  id: z3.string(),
117
109
  location: locationDetails,
@@ -120,8 +112,7 @@ var get2 = z3.object({
120
112
  safariLocationLat: z3.coerce.number().min(-90).max(90),
121
113
  safariLocationLng: z3.coerce.number().min(-180).max(180),
122
114
  pickupLocationLat: z3.coerce.number().min(-90).max(90),
123
- pickupLocationLng: z3.coerce.number().min(-180).max(180),
124
- pickupLandmarks: z3.array(pickupLandmark)
115
+ pickupLocationLng: z3.coerce.number().min(-180).max(180)
125
116
  });
126
117
  var create2 = z3.object({
127
118
  locationId: z3.string().trim().nonempty("required"),
@@ -130,8 +121,7 @@ var create2 = z3.object({
130
121
  safariLocationLat: z3.coerce.number().min(-90).max(90),
131
122
  safariLocationLng: z3.coerce.number().min(-180).max(180),
132
123
  pickupLocationLat: z3.coerce.number().min(-90).max(90),
133
- pickupLocationLng: z3.coerce.number().min(-180).max(180),
134
- pickupLandmarks: z3.array(pickupLandmark)
124
+ pickupLocationLng: z3.coerce.number().min(-180).max(180)
135
125
  });
136
126
  var update2 = z3.object({
137
127
  id: z3.string().optional().default(""),
@@ -145,8 +135,7 @@ var defaultLocation = {
145
135
  safariLocationLat: 1,
146
136
  safariLocationLng: 2,
147
137
  pickupLocationLat: 1,
148
- pickupLocationLng: 1,
149
- pickupLandmarks: []
138
+ pickupLocationLng: 1
150
139
  };
151
140
 
152
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,13 +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
- lat: import_zod3.z.coerce.number().min(-90).max(90),
131
- lng: import_zod3.z.coerce.number().min(-180).max(180)
132
- });
133
125
  var get2 = import_zod3.z.object({
134
126
  id: import_zod3.z.string(),
135
127
  location: locationDetails,
@@ -138,8 +130,7 @@ var get2 = import_zod3.z.object({
138
130
  safariLocationLat: import_zod3.z.coerce.number().min(-90).max(90),
139
131
  safariLocationLng: import_zod3.z.coerce.number().min(-180).max(180),
140
132
  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)
133
+ pickupLocationLng: import_zod3.z.coerce.number().min(-180).max(180)
143
134
  });
144
135
  var create2 = import_zod3.z.object({
145
136
  locationId: import_zod3.z.string().trim().nonempty("required"),
@@ -148,8 +139,7 @@ var create2 = import_zod3.z.object({
148
139
  safariLocationLat: import_zod3.z.coerce.number().min(-90).max(90),
149
140
  safariLocationLng: import_zod3.z.coerce.number().min(-180).max(180),
150
141
  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)
142
+ pickupLocationLng: import_zod3.z.coerce.number().min(-180).max(180)
153
143
  });
154
144
  var update2 = import_zod3.z.object({
155
145
  id: import_zod3.z.string().optional().default(""),
@@ -163,8 +153,7 @@ var defaultLocation = {
163
153
  safariLocationLat: 1,
164
154
  safariLocationLng: 2,
165
155
  pickupLocationLat: 1,
166
- pickupLocationLng: 1,
167
- pickupLandmarks: []
156
+ pickupLocationLng: 1
168
157
  };
169
158
 
170
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-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-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-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-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,13 +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
- lat: z3.coerce.number().min(-90).max(90),
92
- lng: z3.coerce.number().min(-180).max(180)
93
- });
94
86
  var get2 = z3.object({
95
87
  id: z3.string(),
96
88
  location: locationDetails,
@@ -99,8 +91,7 @@ var get2 = z3.object({
99
91
  safariLocationLat: z3.coerce.number().min(-90).max(90),
100
92
  safariLocationLng: z3.coerce.number().min(-180).max(180),
101
93
  pickupLocationLat: z3.coerce.number().min(-90).max(90),
102
- pickupLocationLng: z3.coerce.number().min(-180).max(180),
103
- pickupLandmarks: z3.array(pickupLandmark)
94
+ pickupLocationLng: z3.coerce.number().min(-180).max(180)
104
95
  });
105
96
  var create2 = z3.object({
106
97
  locationId: z3.string().trim().nonempty("required"),
@@ -109,8 +100,7 @@ var create2 = z3.object({
109
100
  safariLocationLat: z3.coerce.number().min(-90).max(90),
110
101
  safariLocationLng: z3.coerce.number().min(-180).max(180),
111
102
  pickupLocationLat: z3.coerce.number().min(-90).max(90),
112
- pickupLocationLng: z3.coerce.number().min(-180).max(180),
113
- pickupLandmarks: z3.array(pickupLandmark)
103
+ pickupLocationLng: z3.coerce.number().min(-180).max(180)
114
104
  });
115
105
  var update2 = z3.object({
116
106
  id: z3.string().optional().default(""),
@@ -124,8 +114,7 @@ var defaultLocation = {
124
114
  safariLocationLat: 1,
125
115
  safariLocationLng: 2,
126
116
  pickupLocationLat: 1,
127
- pickupLocationLng: 1,
128
- pickupLandmarks: []
117
+ pickupLocationLng: 1
129
118
  };
130
119
 
131
120
  // 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.100",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",