@tripsam/onboarding 1.0.51 → 1.0.53

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.
@@ -23,7 +23,7 @@ declare const get$1: z.ZodObject<{
23
23
  id: z.ZodString;
24
24
  name: z.ZodDefault<z.ZodOptional<z.ZodString>>;
25
25
  countryCode: z.ZodDefault<z.ZodOptional<z.ZodString>>;
26
- phoneNumber: z.ZodDefault<z.ZodOptional<z.ZodString>>;
26
+ phone: z.ZodDefault<z.ZodOptional<z.ZodString>>;
27
27
  isPhoneVerified: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
28
28
  type: z.ZodEnum<{
29
29
  other: "other";
@@ -38,14 +38,14 @@ declare const get$1: z.ZodObject<{
38
38
  declare const create$4: z.ZodObject<{
39
39
  name: z.ZodString;
40
40
  countryCode: z.ZodDefault<z.ZodOptional<z.ZodString>>;
41
- phoneNumber: z.ZodString;
41
+ phone: z.ZodString;
42
42
  type: z.ZodString;
43
43
  }, z.core.$strip>;
44
44
  declare const update$2: z.ZodObject<{
45
45
  id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
46
46
  name: z.ZodString;
47
47
  countryCode: z.ZodDefault<z.ZodOptional<z.ZodString>>;
48
- phoneNumber: z.ZodString;
48
+ phone: z.ZodString;
49
49
  type: z.ZodString;
50
50
  }, z.core.$strip>;
51
51
  type SafeGet$1 = z.infer<typeof get$1>;
@@ -68,6 +68,7 @@ declare const pickupLandmark: z.ZodObject<{
68
68
  distanceKm: z.ZodCoercedNumber<unknown>;
69
69
  }, z.core.$strip>;
70
70
  declare const get: z.ZodObject<{
71
+ id: z.ZodString;
71
72
  location: z.ZodObject<{
72
73
  id: z.ZodString;
73
74
  name: z.ZodString;
@@ -23,7 +23,7 @@ declare const get$1: z.ZodObject<{
23
23
  id: z.ZodString;
24
24
  name: z.ZodDefault<z.ZodOptional<z.ZodString>>;
25
25
  countryCode: z.ZodDefault<z.ZodOptional<z.ZodString>>;
26
- phoneNumber: z.ZodDefault<z.ZodOptional<z.ZodString>>;
26
+ phone: z.ZodDefault<z.ZodOptional<z.ZodString>>;
27
27
  isPhoneVerified: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
28
28
  type: z.ZodEnum<{
29
29
  other: "other";
@@ -38,14 +38,14 @@ declare const get$1: z.ZodObject<{
38
38
  declare const create$4: z.ZodObject<{
39
39
  name: z.ZodString;
40
40
  countryCode: z.ZodDefault<z.ZodOptional<z.ZodString>>;
41
- phoneNumber: z.ZodString;
41
+ phone: z.ZodString;
42
42
  type: z.ZodString;
43
43
  }, z.core.$strip>;
44
44
  declare const update$2: z.ZodObject<{
45
45
  id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
46
46
  name: z.ZodString;
47
47
  countryCode: z.ZodDefault<z.ZodOptional<z.ZodString>>;
48
- phoneNumber: z.ZodString;
48
+ phone: z.ZodString;
49
49
  type: z.ZodString;
50
50
  }, z.core.$strip>;
51
51
  type SafeGet$1 = z.infer<typeof get$1>;
@@ -68,6 +68,7 @@ declare const pickupLandmark: z.ZodObject<{
68
68
  distanceKm: z.ZodCoercedNumber<unknown>;
69
69
  }, z.core.$strip>;
70
70
  declare const get: z.ZodObject<{
71
+ id: z.ZodString;
71
72
  location: z.ZodObject<{
72
73
  id: z.ZodString;
73
74
  name: z.ZodString;
package/dist/index.cjs CHANGED
@@ -74,28 +74,28 @@ var get = import_zod.z.object({
74
74
  id: import_zod.z.string(),
75
75
  name: import_zod.z.string().trim().optional().default(""),
76
76
  countryCode: import_zod.z.string().optional().default("+91"),
77
- phoneNumber: import_zod.z.string().optional().default(""),
77
+ phone: import_zod.z.string().optional().default(""),
78
78
  isPhoneVerified: import_zod.z.boolean().optional().default(false),
79
79
  type: safeSas
80
80
  });
81
81
  var create = import_zod.z.object({
82
82
  name: import_zod.z.string().nonempty("required").trim(),
83
83
  countryCode: import_zod.z.string().optional().default("+91"),
84
- phoneNumber: import_zod.z.string().nonempty("required"),
84
+ phone: import_zod.z.string().nonempty("required"),
85
85
  type: import_zod.z.string().nonempty("required")
86
86
  });
87
87
  var update = import_zod.z.object({
88
88
  id: import_zod.z.string().optional().default(""),
89
89
  name: import_zod.z.string().nonempty("required").trim(),
90
90
  countryCode: import_zod.z.string().optional().default("+91"),
91
- phoneNumber: import_zod.z.string().nonempty("required"),
91
+ phone: import_zod.z.string().nonempty("required"),
92
92
  type: import_zod.z.string().nonempty("required")
93
93
  });
94
94
  var defaultBasicDetails = {
95
95
  id: "",
96
96
  name: "",
97
97
  countryCode: "+91",
98
- phoneNumber: "",
98
+ phone: "",
99
99
  isPhoneVerified: false,
100
100
  type: "leopard_safari"
101
101
  };
@@ -155,6 +155,7 @@ var pickupLandmark = import_zod3.z.object({
155
155
  distanceKm: import_zod3.z.coerce.number()
156
156
  });
157
157
  var get2 = import_zod3.z.object({
158
+ id: import_zod3.z.string(),
158
159
  location: locationDetails,
159
160
  safariLocation: import_zod3.z.string(),
160
161
  pickupLocation: import_zod3.z.string(),
@@ -174,6 +175,7 @@ var update2 = import_zod3.z.object({
174
175
  pickupLandmarks: import_zod3.z.array(pickupLandmark)
175
176
  });
176
177
  var defaultLocation = {
178
+ id: "",
177
179
  location: null,
178
180
  safariLocation: "",
179
181
  pickupLocation: "",
package/dist/index.d.cts CHANGED
@@ -1,3 +1,3 @@
1
- export { i as SafariOnboarding } from './index-EotV0cTk.cjs';
1
+ export { i as SafariOnboarding } from './index-BGZmUfqH.cjs';
2
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-EotV0cTk.js';
1
+ export { i as SafariOnboarding } from './index-BGZmUfqH.js';
2
2
  export { i as CommonOnboarding } from './index-DNcx8rxs.js';
3
3
  import 'zod';
package/dist/index.js CHANGED
@@ -43,28 +43,28 @@ var get = z.object({
43
43
  id: z.string(),
44
44
  name: z.string().trim().optional().default(""),
45
45
  countryCode: z.string().optional().default("+91"),
46
- phoneNumber: z.string().optional().default(""),
46
+ phone: z.string().optional().default(""),
47
47
  isPhoneVerified: z.boolean().optional().default(false),
48
48
  type: safeSas
49
49
  });
50
50
  var create = z.object({
51
51
  name: z.string().nonempty("required").trim(),
52
52
  countryCode: z.string().optional().default("+91"),
53
- phoneNumber: z.string().nonempty("required"),
53
+ phone: z.string().nonempty("required"),
54
54
  type: z.string().nonempty("required")
55
55
  });
56
56
  var update = z.object({
57
57
  id: z.string().optional().default(""),
58
58
  name: z.string().nonempty("required").trim(),
59
59
  countryCode: z.string().optional().default("+91"),
60
- phoneNumber: z.string().nonempty("required"),
60
+ phone: z.string().nonempty("required"),
61
61
  type: z.string().nonempty("required")
62
62
  });
63
63
  var defaultBasicDetails = {
64
64
  id: "",
65
65
  name: "",
66
66
  countryCode: "+91",
67
- phoneNumber: "",
67
+ phone: "",
68
68
  isPhoneVerified: false,
69
69
  type: "leopard_safari"
70
70
  };
@@ -124,6 +124,7 @@ var pickupLandmark = z3.object({
124
124
  distanceKm: z3.coerce.number()
125
125
  });
126
126
  var get2 = z3.object({
127
+ id: z3.string(),
127
128
  location: locationDetails,
128
129
  safariLocation: z3.string(),
129
130
  pickupLocation: z3.string(),
@@ -143,6 +144,7 @@ var update2 = z3.object({
143
144
  pickupLandmarks: z3.array(pickupLandmark)
144
145
  });
145
146
  var defaultLocation = {
147
+ id: "",
146
148
  location: null,
147
149
  safariLocation: "",
148
150
  pickupLocation: "",
@@ -67,28 +67,28 @@ var get = import_zod.z.object({
67
67
  id: import_zod.z.string(),
68
68
  name: import_zod.z.string().trim().optional().default(""),
69
69
  countryCode: import_zod.z.string().optional().default("+91"),
70
- phoneNumber: import_zod.z.string().optional().default(""),
70
+ phone: import_zod.z.string().optional().default(""),
71
71
  isPhoneVerified: import_zod.z.boolean().optional().default(false),
72
72
  type: safeSas
73
73
  });
74
74
  var create = import_zod.z.object({
75
75
  name: import_zod.z.string().nonempty("required").trim(),
76
76
  countryCode: import_zod.z.string().optional().default("+91"),
77
- phoneNumber: import_zod.z.string().nonempty("required"),
77
+ phone: import_zod.z.string().nonempty("required"),
78
78
  type: import_zod.z.string().nonempty("required")
79
79
  });
80
80
  var update = import_zod.z.object({
81
81
  id: import_zod.z.string().optional().default(""),
82
82
  name: import_zod.z.string().nonempty("required").trim(),
83
83
  countryCode: import_zod.z.string().optional().default("+91"),
84
- phoneNumber: import_zod.z.string().nonempty("required"),
84
+ phone: import_zod.z.string().nonempty("required"),
85
85
  type: import_zod.z.string().nonempty("required")
86
86
  });
87
87
  var defaultBasicDetails = {
88
88
  id: "",
89
89
  name: "",
90
90
  countryCode: "+91",
91
- phoneNumber: "",
91
+ phone: "",
92
92
  isPhoneVerified: false,
93
93
  type: "leopard_safari"
94
94
  };
@@ -142,6 +142,7 @@ var pickupLandmark = import_zod3.z.object({
142
142
  distanceKm: import_zod3.z.coerce.number()
143
143
  });
144
144
  var get2 = import_zod3.z.object({
145
+ id: import_zod3.z.string(),
145
146
  location: locationDetails,
146
147
  safariLocation: import_zod3.z.string(),
147
148
  pickupLocation: import_zod3.z.string(),
@@ -161,6 +162,7 @@ var update2 = import_zod3.z.object({
161
162
  pickupLandmarks: import_zod3.z.array(pickupLandmark)
162
163
  });
163
164
  var defaultLocation = {
165
+ id: "",
164
166
  location: null,
165
167
  safariLocation: "",
166
168
  pickupLocation: "",
@@ -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-EotV0cTk.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-BGZmUfqH.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-EotV0cTk.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-BGZmUfqH.js';
2
2
  import 'zod';
@@ -29,28 +29,28 @@ var get = z.object({
29
29
  id: z.string(),
30
30
  name: z.string().trim().optional().default(""),
31
31
  countryCode: z.string().optional().default("+91"),
32
- phoneNumber: z.string().optional().default(""),
32
+ phone: z.string().optional().default(""),
33
33
  isPhoneVerified: z.boolean().optional().default(false),
34
34
  type: safeSas
35
35
  });
36
36
  var create = z.object({
37
37
  name: z.string().nonempty("required").trim(),
38
38
  countryCode: z.string().optional().default("+91"),
39
- phoneNumber: z.string().nonempty("required"),
39
+ phone: z.string().nonempty("required"),
40
40
  type: z.string().nonempty("required")
41
41
  });
42
42
  var update = z.object({
43
43
  id: z.string().optional().default(""),
44
44
  name: z.string().nonempty("required").trim(),
45
45
  countryCode: z.string().optional().default("+91"),
46
- phoneNumber: z.string().nonempty("required"),
46
+ phone: z.string().nonempty("required"),
47
47
  type: z.string().nonempty("required")
48
48
  });
49
49
  var defaultBasicDetails = {
50
50
  id: "",
51
51
  name: "",
52
52
  countryCode: "+91",
53
- phoneNumber: "",
53
+ phone: "",
54
54
  isPhoneVerified: false,
55
55
  type: "leopard_safari"
56
56
  };
@@ -104,6 +104,7 @@ var pickupLandmark = z3.object({
104
104
  distanceKm: z3.coerce.number()
105
105
  });
106
106
  var get2 = z3.object({
107
+ id: z3.string(),
107
108
  location: locationDetails,
108
109
  safariLocation: z3.string(),
109
110
  pickupLocation: z3.string(),
@@ -123,6 +124,7 @@ var update2 = z3.object({
123
124
  pickupLandmarks: z3.array(pickupLandmark)
124
125
  });
125
126
  var defaultLocation = {
127
+ id: "",
126
128
  location: null,
127
129
  safariLocation: "",
128
130
  pickupLocation: "",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tripsam/onboarding",
3
- "version": "1.0.51",
3
+ "version": "1.0.53",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",