@tripsam/onboarding 1.0.50 → 1.0.51

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.
@@ -1,2 +1,2 @@
1
- export { l as LocationAutoSuggest, o as Onboard, v as VerifyEmail } from '../index-CU85kS3x.cjs';
1
+ export { l as LocationAutoSuggest, o as Onboard, v as VerifyEmail } from '../index-DNcx8rxs.cjs';
2
2
  import 'zod';
@@ -1,2 +1,2 @@
1
- export { l as LocationAutoSuggest, o as Onboard, v as VerifyEmail } from '../index-CU85kS3x.js';
1
+ export { l as LocationAutoSuggest, o as Onboard, v as VerifyEmail } from '../index-DNcx8rxs.js';
2
2
  import 'zod';
@@ -67,17 +67,6 @@ declare const pickupLandmark: z.ZodObject<{
67
67
  type: z.ZodOptional<z.ZodString>;
68
68
  distanceKm: z.ZodCoercedNumber<unknown>;
69
69
  }, z.core.$strip>;
70
- declare const create$3: z.ZodObject<{
71
- locationId: z.ZodString;
72
- safariLocation: z.ZodString;
73
- pickupLocation: z.ZodString;
74
- pickupLandmarks: z.ZodArray<z.ZodObject<{
75
- id: z.ZodOptional<z.ZodString>;
76
- label: z.ZodString;
77
- type: z.ZodOptional<z.ZodString>;
78
- distanceKm: z.ZodCoercedNumber<unknown>;
79
- }, z.core.$strip>>;
80
- }, z.core.$strip>;
81
70
  declare const get: z.ZodObject<{
82
71
  location: z.ZodObject<{
83
72
  id: z.ZodString;
@@ -107,7 +96,17 @@ declare const get: z.ZodObject<{
107
96
  type: z.ZodOptional<z.ZodString>;
108
97
  distanceKm: z.ZodCoercedNumber<unknown>;
109
98
  }, z.core.$strip>>;
110
- completed: z.ZodBoolean;
99
+ }, z.core.$strip>;
100
+ declare const create$3: z.ZodObject<{
101
+ locationId: z.ZodString;
102
+ safariLocation: z.ZodString;
103
+ pickupLocation: z.ZodString;
104
+ pickupLandmarks: z.ZodArray<z.ZodObject<{
105
+ id: z.ZodOptional<z.ZodString>;
106
+ label: z.ZodString;
107
+ type: z.ZodOptional<z.ZodString>;
108
+ distanceKm: z.ZodCoercedNumber<unknown>;
109
+ }, z.core.$strip>>;
111
110
  }, z.core.$strip>;
112
111
  declare const update$1: z.ZodObject<{
113
112
  id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
@@ -125,13 +124,15 @@ type SafeGet = z.output<typeof get>;
125
124
  type SafeCreate$3 = z.output<typeof create$3>;
126
125
  type SafeUpdate$1 = z.output<typeof update$1>;
127
126
  type SafePickupLandmark = z.output<typeof pickupLandmark>;
127
+ declare const defaultLocation: SafeGet;
128
128
 
129
129
  type location_SafeGet = SafeGet;
130
130
  type location_SafePickupLandmark = SafePickupLandmark;
131
+ declare const location_defaultLocation: typeof defaultLocation;
131
132
  declare const location_get: typeof get;
132
133
  declare const location_pickupLandmark: typeof pickupLandmark;
133
134
  declare namespace location {
134
- export { type SafeCreate$3 as SafeCreate, type location_SafeGet as SafeGet, type location_SafePickupLandmark as SafePickupLandmark, type SafeUpdate$1 as SafeUpdate, create$3 as create, location_get as get, location_pickupLandmark as pickupLandmark, update$1 as update };
135
+ export { type SafeCreate$3 as SafeCreate, type location_SafeGet as SafeGet, type location_SafePickupLandmark as SafePickupLandmark, type SafeUpdate$1 as SafeUpdate, create$3 as create, location_defaultLocation as defaultLocation, location_get as get, location_pickupLandmark as pickupLandmark, update$1 as update };
135
136
  }
136
137
 
137
138
  declare const time12h: z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>;
@@ -67,17 +67,6 @@ declare const pickupLandmark: z.ZodObject<{
67
67
  type: z.ZodOptional<z.ZodString>;
68
68
  distanceKm: z.ZodCoercedNumber<unknown>;
69
69
  }, z.core.$strip>;
70
- declare const create$3: z.ZodObject<{
71
- locationId: z.ZodString;
72
- safariLocation: z.ZodString;
73
- pickupLocation: z.ZodString;
74
- pickupLandmarks: z.ZodArray<z.ZodObject<{
75
- id: z.ZodOptional<z.ZodString>;
76
- label: z.ZodString;
77
- type: z.ZodOptional<z.ZodString>;
78
- distanceKm: z.ZodCoercedNumber<unknown>;
79
- }, z.core.$strip>>;
80
- }, z.core.$strip>;
81
70
  declare const get: z.ZodObject<{
82
71
  location: z.ZodObject<{
83
72
  id: z.ZodString;
@@ -107,7 +96,17 @@ declare const get: z.ZodObject<{
107
96
  type: z.ZodOptional<z.ZodString>;
108
97
  distanceKm: z.ZodCoercedNumber<unknown>;
109
98
  }, z.core.$strip>>;
110
- completed: z.ZodBoolean;
99
+ }, z.core.$strip>;
100
+ declare const create$3: z.ZodObject<{
101
+ locationId: z.ZodString;
102
+ safariLocation: z.ZodString;
103
+ pickupLocation: z.ZodString;
104
+ pickupLandmarks: z.ZodArray<z.ZodObject<{
105
+ id: z.ZodOptional<z.ZodString>;
106
+ label: z.ZodString;
107
+ type: z.ZodOptional<z.ZodString>;
108
+ distanceKm: z.ZodCoercedNumber<unknown>;
109
+ }, z.core.$strip>>;
111
110
  }, z.core.$strip>;
112
111
  declare const update$1: z.ZodObject<{
113
112
  id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
@@ -125,13 +124,15 @@ type SafeGet = z.output<typeof get>;
125
124
  type SafeCreate$3 = z.output<typeof create$3>;
126
125
  type SafeUpdate$1 = z.output<typeof update$1>;
127
126
  type SafePickupLandmark = z.output<typeof pickupLandmark>;
127
+ declare const defaultLocation: SafeGet;
128
128
 
129
129
  type location_SafeGet = SafeGet;
130
130
  type location_SafePickupLandmark = SafePickupLandmark;
131
+ declare const location_defaultLocation: typeof defaultLocation;
131
132
  declare const location_get: typeof get;
132
133
  declare const location_pickupLandmark: typeof pickupLandmark;
133
134
  declare namespace location {
134
- export { type SafeCreate$3 as SafeCreate, type location_SafeGet as SafeGet, type location_SafePickupLandmark as SafePickupLandmark, type SafeUpdate$1 as SafeUpdate, create$3 as create, location_get as get, location_pickupLandmark as pickupLandmark, update$1 as update };
135
+ export { type SafeCreate$3 as SafeCreate, type location_SafeGet as SafeGet, type location_SafePickupLandmark as SafePickupLandmark, type SafeUpdate$1 as SafeUpdate, create$3 as create, location_defaultLocation as defaultLocation, location_get as get, location_pickupLandmark as pickupLandmark, update$1 as update };
135
136
  }
136
137
 
137
138
  declare const time12h: z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>;
package/dist/index.cjs CHANGED
@@ -104,6 +104,7 @@ var defaultBasicDetails = {
104
104
  var location_exports2 = {};
105
105
  __export(location_exports2, {
106
106
  create: () => create2,
107
+ defaultLocation: () => defaultLocation,
107
108
  get: () => get2,
108
109
  pickupLandmark: () => pickupLandmark,
109
110
  update: () => update2
@@ -153,19 +154,18 @@ var pickupLandmark = import_zod3.z.object({
153
154
  type: import_zod3.z.string().optional(),
154
155
  distanceKm: import_zod3.z.coerce.number()
155
156
  });
157
+ var get2 = import_zod3.z.object({
158
+ location: locationDetails,
159
+ safariLocation: import_zod3.z.string(),
160
+ pickupLocation: import_zod3.z.string(),
161
+ pickupLandmarks: import_zod3.z.array(pickupLandmark)
162
+ });
156
163
  var create2 = import_zod3.z.object({
157
164
  locationId: import_zod3.z.string().trim().nonempty("required"),
158
165
  safariLocation: import_zod3.z.string().trim().nonempty("required"),
159
166
  pickupLocation: import_zod3.z.string().trim().nonempty("required"),
160
167
  pickupLandmarks: import_zod3.z.array(pickupLandmark)
161
168
  });
162
- var get2 = import_zod3.z.object({
163
- location: locationDetails,
164
- safariLocation: import_zod3.z.string(),
165
- pickupLocation: import_zod3.z.string(),
166
- pickupLandmarks: import_zod3.z.array(pickupLandmark),
167
- completed: import_zod3.z.boolean()
168
- });
169
169
  var update2 = import_zod3.z.object({
170
170
  id: import_zod3.z.string().optional().default(""),
171
171
  locationId: import_zod3.z.string().trim().nonempty("required"),
@@ -173,6 +173,12 @@ var update2 = import_zod3.z.object({
173
173
  pickupLocation: import_zod3.z.string().trim().nonempty("required"),
174
174
  pickupLandmarks: import_zod3.z.array(pickupLandmark)
175
175
  });
176
+ var defaultLocation = {
177
+ location: null,
178
+ safariLocation: "",
179
+ pickupLocation: "",
180
+ pickupLandmarks: []
181
+ };
176
182
 
177
183
  // src/safari/slot.ts
178
184
  var slot_exports = {};
package/dist/index.d.cts CHANGED
@@ -1,3 +1,3 @@
1
- export { i as SafariOnboarding } from './index-B5G8saI_.cjs';
2
- export { i as CommonOnboarding } from './index-CU85kS3x.cjs';
1
+ export { i as SafariOnboarding } from './index-EotV0cTk.cjs';
2
+ export { i as CommonOnboarding } from './index-DNcx8rxs.cjs';
3
3
  import 'zod';
package/dist/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- export { i as SafariOnboarding } from './index-B5G8saI_.js';
2
- export { i as CommonOnboarding } from './index-CU85kS3x.js';
1
+ export { i as SafariOnboarding } from './index-EotV0cTk.js';
2
+ export { i as CommonOnboarding } from './index-DNcx8rxs.js';
3
3
  import 'zod';
package/dist/index.js CHANGED
@@ -73,6 +73,7 @@ var defaultBasicDetails = {
73
73
  var location_exports2 = {};
74
74
  __export(location_exports2, {
75
75
  create: () => create2,
76
+ defaultLocation: () => defaultLocation,
76
77
  get: () => get2,
77
78
  pickupLandmark: () => pickupLandmark,
78
79
  update: () => update2
@@ -122,19 +123,18 @@ var pickupLandmark = z3.object({
122
123
  type: z3.string().optional(),
123
124
  distanceKm: z3.coerce.number()
124
125
  });
126
+ var get2 = z3.object({
127
+ location: locationDetails,
128
+ safariLocation: z3.string(),
129
+ pickupLocation: z3.string(),
130
+ pickupLandmarks: z3.array(pickupLandmark)
131
+ });
125
132
  var create2 = z3.object({
126
133
  locationId: z3.string().trim().nonempty("required"),
127
134
  safariLocation: z3.string().trim().nonempty("required"),
128
135
  pickupLocation: z3.string().trim().nonempty("required"),
129
136
  pickupLandmarks: z3.array(pickupLandmark)
130
137
  });
131
- var get2 = z3.object({
132
- location: locationDetails,
133
- safariLocation: z3.string(),
134
- pickupLocation: z3.string(),
135
- pickupLandmarks: z3.array(pickupLandmark),
136
- completed: z3.boolean()
137
- });
138
138
  var update2 = z3.object({
139
139
  id: z3.string().optional().default(""),
140
140
  locationId: z3.string().trim().nonempty("required"),
@@ -142,6 +142,12 @@ var update2 = z3.object({
142
142
  pickupLocation: z3.string().trim().nonempty("required"),
143
143
  pickupLandmarks: z3.array(pickupLandmark)
144
144
  });
145
+ var defaultLocation = {
146
+ location: null,
147
+ safariLocation: "",
148
+ pickupLocation: "",
149
+ pickupLandmarks: []
150
+ };
145
151
 
146
152
  // src/safari/slot.ts
147
153
  var slot_exports = {};
@@ -97,6 +97,7 @@ var defaultBasicDetails = {
97
97
  var location_exports = {};
98
98
  __export(location_exports, {
99
99
  create: () => create2,
100
+ defaultLocation: () => defaultLocation,
100
101
  get: () => get2,
101
102
  pickupLandmark: () => pickupLandmark,
102
103
  update: () => update2
@@ -140,19 +141,18 @@ var pickupLandmark = import_zod3.z.object({
140
141
  type: import_zod3.z.string().optional(),
141
142
  distanceKm: import_zod3.z.coerce.number()
142
143
  });
144
+ var get2 = import_zod3.z.object({
145
+ location: locationDetails,
146
+ safariLocation: import_zod3.z.string(),
147
+ pickupLocation: import_zod3.z.string(),
148
+ pickupLandmarks: import_zod3.z.array(pickupLandmark)
149
+ });
143
150
  var create2 = import_zod3.z.object({
144
151
  locationId: import_zod3.z.string().trim().nonempty("required"),
145
152
  safariLocation: import_zod3.z.string().trim().nonempty("required"),
146
153
  pickupLocation: import_zod3.z.string().trim().nonempty("required"),
147
154
  pickupLandmarks: import_zod3.z.array(pickupLandmark)
148
155
  });
149
- var get2 = import_zod3.z.object({
150
- location: locationDetails,
151
- safariLocation: import_zod3.z.string(),
152
- pickupLocation: import_zod3.z.string(),
153
- pickupLandmarks: import_zod3.z.array(pickupLandmark),
154
- completed: import_zod3.z.boolean()
155
- });
156
156
  var update2 = import_zod3.z.object({
157
157
  id: import_zod3.z.string().optional().default(""),
158
158
  locationId: import_zod3.z.string().trim().nonempty("required"),
@@ -160,6 +160,12 @@ var update2 = import_zod3.z.object({
160
160
  pickupLocation: import_zod3.z.string().trim().nonempty("required"),
161
161
  pickupLandmarks: import_zod3.z.array(pickupLandmark)
162
162
  });
163
+ var defaultLocation = {
164
+ location: null,
165
+ safariLocation: "",
166
+ pickupLocation: "",
167
+ pickupLandmarks: []
168
+ };
163
169
 
164
170
  // src/safari/slot.ts
165
171
  var slot_exports = {};
@@ -1,2 +1,2 @@
1
- export { b as BasicDetails, a as BusinessDetails, d as DriverDetails, l as Location, o as OperationalDays, p as PersonalDetails, s as Slot, c as Step, v as VehicleDetails } from '../index-B5G8saI_.cjs';
1
+ export { b as BasicDetails, a as BusinessDetails, d as DriverDetails, l as Location, o as OperationalDays, p as PersonalDetails, s as Slot, c as Step, v as VehicleDetails } from '../index-EotV0cTk.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, s as Slot, c as Step, v as VehicleDetails } from '../index-B5G8saI_.js';
1
+ export { b as BasicDetails, a as BusinessDetails, d as DriverDetails, l as Location, o as OperationalDays, p as PersonalDetails, s as Slot, c as Step, v as VehicleDetails } from '../index-EotV0cTk.js';
2
2
  import 'zod';
@@ -59,6 +59,7 @@ var defaultBasicDetails = {
59
59
  var location_exports = {};
60
60
  __export(location_exports, {
61
61
  create: () => create2,
62
+ defaultLocation: () => defaultLocation,
62
63
  get: () => get2,
63
64
  pickupLandmark: () => pickupLandmark,
64
65
  update: () => update2
@@ -102,19 +103,18 @@ var pickupLandmark = z3.object({
102
103
  type: z3.string().optional(),
103
104
  distanceKm: z3.coerce.number()
104
105
  });
106
+ var get2 = z3.object({
107
+ location: locationDetails,
108
+ safariLocation: z3.string(),
109
+ pickupLocation: z3.string(),
110
+ pickupLandmarks: z3.array(pickupLandmark)
111
+ });
105
112
  var create2 = z3.object({
106
113
  locationId: z3.string().trim().nonempty("required"),
107
114
  safariLocation: z3.string().trim().nonempty("required"),
108
115
  pickupLocation: z3.string().trim().nonempty("required"),
109
116
  pickupLandmarks: z3.array(pickupLandmark)
110
117
  });
111
- var get2 = z3.object({
112
- location: locationDetails,
113
- safariLocation: z3.string(),
114
- pickupLocation: z3.string(),
115
- pickupLandmarks: z3.array(pickupLandmark),
116
- completed: z3.boolean()
117
- });
118
118
  var update2 = z3.object({
119
119
  id: z3.string().optional().default(""),
120
120
  locationId: z3.string().trim().nonempty("required"),
@@ -122,6 +122,12 @@ var update2 = z3.object({
122
122
  pickupLocation: z3.string().trim().nonempty("required"),
123
123
  pickupLandmarks: z3.array(pickupLandmark)
124
124
  });
125
+ var defaultLocation = {
126
+ location: null,
127
+ safariLocation: "",
128
+ pickupLocation: "",
129
+ pickupLandmarks: []
130
+ };
125
131
 
126
132
  // src/safari/slot.ts
127
133
  var slot_exports = {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tripsam/onboarding",
3
- "version": "1.0.50",
3
+ "version": "1.0.51",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",
@@ -27,11 +27,11 @@ declare namespace verifyEmail {
27
27
  declare const onboard: z.ZodObject<{
28
28
  id: z.ZodString;
29
29
  status: z.ZodEnum<{
30
- completed: "completed";
31
30
  pending: "pending";
32
31
  in_review: "in_review";
33
32
  approved: "approved";
34
33
  rejected: "rejected";
34
+ completed: "completed";
35
35
  }>;
36
36
  remark: z.ZodDefault<z.ZodOptional<z.ZodString>>;
37
37
  currentStep: z.ZodDefault<z.ZodNumber>;
@@ -27,11 +27,11 @@ declare namespace verifyEmail {
27
27
  declare const onboard: z.ZodObject<{
28
28
  id: z.ZodString;
29
29
  status: z.ZodEnum<{
30
- completed: "completed";
31
30
  pending: "pending";
32
31
  in_review: "in_review";
33
32
  approved: "approved";
34
33
  rejected: "rejected";
34
+ completed: "completed";
35
35
  }>;
36
36
  remark: z.ZodDefault<z.ZodOptional<z.ZodString>>;
37
37
  currentStep: z.ZodDefault<z.ZodNumber>;