@tripsam/onboarding 1.0.80 → 1.0.82
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.
- package/dist/{index-fJoZ6_LA.d.cts → index-DWRF0MBf.d.cts} +13 -9
- package/dist/{index-fJoZ6_LA.d.ts → index-DWRF0MBf.d.ts} +13 -9
- package/dist/index.cjs +7 -6
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +7 -6
- package/dist/safari/index.cjs +7 -6
- package/dist/safari/index.d.cts +1 -1
- package/dist/safari/index.d.ts +1 -1
- package/dist/safari/index.js +7 -6
- package/package.json +1 -1
|
@@ -81,6 +81,7 @@ declare const pickupLandmark: z.ZodObject<{
|
|
|
81
81
|
id: z.ZodOptional<z.ZodString>;
|
|
82
82
|
label: z.ZodString;
|
|
83
83
|
type: z.ZodOptional<z.ZodString>;
|
|
84
|
+
distanceKm: z.ZodCoercedNumber<unknown>;
|
|
84
85
|
}, z.core.$strip>;
|
|
85
86
|
declare const get$6: z.ZodObject<{
|
|
86
87
|
id: z.ZodString;
|
|
@@ -110,6 +111,7 @@ declare const get$6: z.ZodObject<{
|
|
|
110
111
|
id: z.ZodOptional<z.ZodString>;
|
|
111
112
|
label: z.ZodString;
|
|
112
113
|
type: z.ZodOptional<z.ZodString>;
|
|
114
|
+
distanceKm: z.ZodCoercedNumber<unknown>;
|
|
113
115
|
}, z.core.$strip>>;
|
|
114
116
|
}, z.core.$strip>;
|
|
115
117
|
declare const create$4: z.ZodObject<{
|
|
@@ -120,6 +122,7 @@ declare const create$4: z.ZodObject<{
|
|
|
120
122
|
id: z.ZodOptional<z.ZodString>;
|
|
121
123
|
label: z.ZodString;
|
|
122
124
|
type: z.ZodOptional<z.ZodString>;
|
|
125
|
+
distanceKm: z.ZodCoercedNumber<unknown>;
|
|
123
126
|
}, z.core.$strip>>;
|
|
124
127
|
}, z.core.$strip>;
|
|
125
128
|
declare const update$4: z.ZodObject<{
|
|
@@ -130,6 +133,7 @@ declare const update$4: z.ZodObject<{
|
|
|
130
133
|
id: z.ZodOptional<z.ZodString>;
|
|
131
134
|
label: z.ZodString;
|
|
132
135
|
type: z.ZodOptional<z.ZodString>;
|
|
136
|
+
distanceKm: z.ZodCoercedNumber<unknown>;
|
|
133
137
|
}, z.core.$strip>>;
|
|
134
138
|
id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
135
139
|
}, z.core.$strip>;
|
|
@@ -149,14 +153,14 @@ declare namespace location {
|
|
|
149
153
|
declare const time12h: z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>;
|
|
150
154
|
declare const create$3: z.ZodObject<{
|
|
151
155
|
name: z.ZodString;
|
|
152
|
-
description: z.
|
|
156
|
+
description: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
153
157
|
startTime: z.ZodCoercedNumber<unknown>;
|
|
154
158
|
endTime: z.ZodCoercedNumber<unknown>;
|
|
155
159
|
minHour: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
156
160
|
}, z.core.$strip>;
|
|
157
161
|
declare const update$3: z.ZodObject<{
|
|
158
162
|
name: z.ZodString;
|
|
159
|
-
description: z.
|
|
163
|
+
description: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
160
164
|
startTime: z.ZodCoercedNumber<unknown>;
|
|
161
165
|
endTime: z.ZodCoercedNumber<unknown>;
|
|
162
166
|
minHour: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
@@ -340,27 +344,27 @@ declare const get$1: z.ZodObject<{
|
|
|
340
344
|
accountHolderName: z.ZodString;
|
|
341
345
|
bankIFSCCode: z.ZodString;
|
|
342
346
|
adhaarNumber: z.ZodString;
|
|
343
|
-
|
|
347
|
+
gstNumber: z.ZodOptional<z.ZodString>;
|
|
344
348
|
businessIdNumber: z.ZodOptional<z.ZodString>;
|
|
345
349
|
}, z.core.$strip>;
|
|
346
350
|
declare const create$1: z.ZodObject<{
|
|
347
351
|
bankAccountNumber: z.ZodString;
|
|
348
|
-
bankName: z.ZodString;
|
|
349
352
|
accountHolderName: z.ZodString;
|
|
353
|
+
bankName: z.ZodString;
|
|
350
354
|
bankIFSCCode: z.ZodString;
|
|
351
355
|
adhaarNumber: z.ZodString;
|
|
352
|
-
|
|
353
|
-
businessIdNumber: z.
|
|
356
|
+
gstNumber: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
357
|
+
businessIdNumber: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
354
358
|
}, z.core.$strip>;
|
|
355
359
|
declare const update$1: z.ZodObject<{
|
|
356
360
|
id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
357
361
|
bankAccountNumber: z.ZodString;
|
|
358
|
-
bankName: z.ZodString;
|
|
359
362
|
accountHolderName: z.ZodString;
|
|
363
|
+
bankName: z.ZodString;
|
|
360
364
|
bankIFSCCode: z.ZodString;
|
|
361
365
|
adhaarNumber: z.ZodString;
|
|
362
|
-
|
|
363
|
-
businessIdNumber: z.
|
|
366
|
+
gstNumber: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
367
|
+
businessIdNumber: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
364
368
|
}, z.core.$strip>;
|
|
365
369
|
type SafeGet$1 = z.infer<typeof get$1>;
|
|
366
370
|
type SafeCreate$1 = z.output<typeof create$1>;
|
|
@@ -81,6 +81,7 @@ declare const pickupLandmark: z.ZodObject<{
|
|
|
81
81
|
id: z.ZodOptional<z.ZodString>;
|
|
82
82
|
label: z.ZodString;
|
|
83
83
|
type: z.ZodOptional<z.ZodString>;
|
|
84
|
+
distanceKm: z.ZodCoercedNumber<unknown>;
|
|
84
85
|
}, z.core.$strip>;
|
|
85
86
|
declare const get$6: z.ZodObject<{
|
|
86
87
|
id: z.ZodString;
|
|
@@ -110,6 +111,7 @@ declare const get$6: z.ZodObject<{
|
|
|
110
111
|
id: z.ZodOptional<z.ZodString>;
|
|
111
112
|
label: z.ZodString;
|
|
112
113
|
type: z.ZodOptional<z.ZodString>;
|
|
114
|
+
distanceKm: z.ZodCoercedNumber<unknown>;
|
|
113
115
|
}, z.core.$strip>>;
|
|
114
116
|
}, z.core.$strip>;
|
|
115
117
|
declare const create$4: z.ZodObject<{
|
|
@@ -120,6 +122,7 @@ declare const create$4: z.ZodObject<{
|
|
|
120
122
|
id: z.ZodOptional<z.ZodString>;
|
|
121
123
|
label: z.ZodString;
|
|
122
124
|
type: z.ZodOptional<z.ZodString>;
|
|
125
|
+
distanceKm: z.ZodCoercedNumber<unknown>;
|
|
123
126
|
}, z.core.$strip>>;
|
|
124
127
|
}, z.core.$strip>;
|
|
125
128
|
declare const update$4: z.ZodObject<{
|
|
@@ -130,6 +133,7 @@ declare const update$4: z.ZodObject<{
|
|
|
130
133
|
id: z.ZodOptional<z.ZodString>;
|
|
131
134
|
label: z.ZodString;
|
|
132
135
|
type: z.ZodOptional<z.ZodString>;
|
|
136
|
+
distanceKm: z.ZodCoercedNumber<unknown>;
|
|
133
137
|
}, z.core.$strip>>;
|
|
134
138
|
id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
135
139
|
}, z.core.$strip>;
|
|
@@ -149,14 +153,14 @@ declare namespace location {
|
|
|
149
153
|
declare const time12h: z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>;
|
|
150
154
|
declare const create$3: z.ZodObject<{
|
|
151
155
|
name: z.ZodString;
|
|
152
|
-
description: z.
|
|
156
|
+
description: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
153
157
|
startTime: z.ZodCoercedNumber<unknown>;
|
|
154
158
|
endTime: z.ZodCoercedNumber<unknown>;
|
|
155
159
|
minHour: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
156
160
|
}, z.core.$strip>;
|
|
157
161
|
declare const update$3: z.ZodObject<{
|
|
158
162
|
name: z.ZodString;
|
|
159
|
-
description: z.
|
|
163
|
+
description: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
160
164
|
startTime: z.ZodCoercedNumber<unknown>;
|
|
161
165
|
endTime: z.ZodCoercedNumber<unknown>;
|
|
162
166
|
minHour: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
@@ -340,27 +344,27 @@ declare const get$1: z.ZodObject<{
|
|
|
340
344
|
accountHolderName: z.ZodString;
|
|
341
345
|
bankIFSCCode: z.ZodString;
|
|
342
346
|
adhaarNumber: z.ZodString;
|
|
343
|
-
|
|
347
|
+
gstNumber: z.ZodOptional<z.ZodString>;
|
|
344
348
|
businessIdNumber: z.ZodOptional<z.ZodString>;
|
|
345
349
|
}, z.core.$strip>;
|
|
346
350
|
declare const create$1: z.ZodObject<{
|
|
347
351
|
bankAccountNumber: z.ZodString;
|
|
348
|
-
bankName: z.ZodString;
|
|
349
352
|
accountHolderName: z.ZodString;
|
|
353
|
+
bankName: z.ZodString;
|
|
350
354
|
bankIFSCCode: z.ZodString;
|
|
351
355
|
adhaarNumber: z.ZodString;
|
|
352
|
-
|
|
353
|
-
businessIdNumber: z.
|
|
356
|
+
gstNumber: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
357
|
+
businessIdNumber: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
354
358
|
}, z.core.$strip>;
|
|
355
359
|
declare const update$1: z.ZodObject<{
|
|
356
360
|
id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
357
361
|
bankAccountNumber: z.ZodString;
|
|
358
|
-
bankName: z.ZodString;
|
|
359
362
|
accountHolderName: z.ZodString;
|
|
363
|
+
bankName: z.ZodString;
|
|
360
364
|
bankIFSCCode: z.ZodString;
|
|
361
365
|
adhaarNumber: z.ZodString;
|
|
362
|
-
|
|
363
|
-
businessIdNumber: z.
|
|
366
|
+
gstNumber: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
367
|
+
businessIdNumber: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
364
368
|
}, z.core.$strip>;
|
|
365
369
|
type SafeGet$1 = z.infer<typeof get$1>;
|
|
366
370
|
type SafeCreate$1 = z.output<typeof create$1>;
|
package/dist/index.cjs
CHANGED
|
@@ -149,7 +149,8 @@ var autocompleteResponse = import_zod2.default.array(locationDetails);
|
|
|
149
149
|
var pickupLandmark = import_zod3.z.object({
|
|
150
150
|
id: import_zod3.z.string().optional(),
|
|
151
151
|
label: import_zod3.z.string(),
|
|
152
|
-
type: import_zod3.z.string().optional()
|
|
152
|
+
type: import_zod3.z.string().optional(),
|
|
153
|
+
distanceKm: import_zod3.z.coerce.number()
|
|
153
154
|
});
|
|
154
155
|
var get2 = import_zod3.z.object({
|
|
155
156
|
id: import_zod3.z.string(),
|
|
@@ -199,7 +200,7 @@ var time12h = import_zod4.z.string().trim().regex(TIME_12H, "Use format hh:mm AM
|
|
|
199
200
|
});
|
|
200
201
|
var create3 = import_zod4.z.object({
|
|
201
202
|
name: import_zod4.z.string().trim().nonempty("required"),
|
|
202
|
-
description: import_zod4.z.string().trim().optional().
|
|
203
|
+
description: import_zod4.z.string().trim().min(3, "min").max(200, "max").optional().or(import_zod4.z.literal("")),
|
|
203
204
|
startTime: import_zod4.z.coerce.number().min(0, "invalid").max(1439, "invalid"),
|
|
204
205
|
endTime: import_zod4.z.coerce.number().min(0, "invalid").max(1439, "invalid"),
|
|
205
206
|
minHour: import_zod4.z.coerce.number().min(1, "minNumber").max(24, "maxNumber").optional().default(3)
|
|
@@ -319,17 +320,17 @@ var get7 = import_zod8.z.object({
|
|
|
319
320
|
accountHolderName: import_zod8.z.string().trim().toUpperCase(),
|
|
320
321
|
bankIFSCCode: import_zod8.z.string().trim().toUpperCase(),
|
|
321
322
|
adhaarNumber: import_zod8.z.string().trim(),
|
|
322
|
-
|
|
323
|
+
gstNumber: import_zod8.z.string().trim().optional(),
|
|
323
324
|
businessIdNumber: import_zod8.z.string().trim().optional()
|
|
324
325
|
});
|
|
325
326
|
var create5 = import_zod8.z.object({
|
|
326
327
|
bankAccountNumber: import_zod8.z.string().trim().nonempty("required").min(6, "min").max(20, "max"),
|
|
327
|
-
bankName: import_zod8.z.string().trim().toUpperCase().nonempty("required").min(3, "min").max(50, "max"),
|
|
328
328
|
accountHolderName: import_zod8.z.string().trim().nonempty("required").min(2, "min").max(50, "max").toUpperCase(),
|
|
329
|
+
bankName: import_zod8.z.string().trim().toUpperCase().nonempty("required").min(3, "min").max(50, "max"),
|
|
329
330
|
bankIFSCCode: import_zod8.z.string().trim().nonempty("required").min(7, "min").max(11, "max").toUpperCase(),
|
|
330
331
|
adhaarNumber: import_zod8.z.string().trim().nonempty("required").min(12, "min").max(20, "max"),
|
|
331
|
-
|
|
332
|
-
businessIdNumber: import_zod8.z.string().trim().min(8, "min").max(20, "max").optional().
|
|
332
|
+
gstNumber: import_zod8.z.string().trim().min(8, "min").max(20, "max").optional().or(import_zod8.z.literal("")),
|
|
333
|
+
businessIdNumber: import_zod8.z.string().trim().min(8, "min").max(20, "max").optional().or(import_zod8.z.literal(""))
|
|
333
334
|
});
|
|
334
335
|
var update5 = import_zod8.z.object({
|
|
335
336
|
...create5.shape,
|
package/dist/index.d.cts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -118,7 +118,8 @@ var autocompleteResponse = z2.array(locationDetails);
|
|
|
118
118
|
var pickupLandmark = z3.object({
|
|
119
119
|
id: z3.string().optional(),
|
|
120
120
|
label: z3.string(),
|
|
121
|
-
type: z3.string().optional()
|
|
121
|
+
type: z3.string().optional(),
|
|
122
|
+
distanceKm: z3.coerce.number()
|
|
122
123
|
});
|
|
123
124
|
var get2 = z3.object({
|
|
124
125
|
id: z3.string(),
|
|
@@ -168,7 +169,7 @@ var time12h = z4.string().trim().regex(TIME_12H, "Use format hh:mm AM/PM").trans
|
|
|
168
169
|
});
|
|
169
170
|
var create3 = z4.object({
|
|
170
171
|
name: z4.string().trim().nonempty("required"),
|
|
171
|
-
description: z4.string().trim().optional().
|
|
172
|
+
description: z4.string().trim().min(3, "min").max(200, "max").optional().or(z4.literal("")),
|
|
172
173
|
startTime: z4.coerce.number().min(0, "invalid").max(1439, "invalid"),
|
|
173
174
|
endTime: z4.coerce.number().min(0, "invalid").max(1439, "invalid"),
|
|
174
175
|
minHour: z4.coerce.number().min(1, "minNumber").max(24, "maxNumber").optional().default(3)
|
|
@@ -288,17 +289,17 @@ var get7 = z8.object({
|
|
|
288
289
|
accountHolderName: z8.string().trim().toUpperCase(),
|
|
289
290
|
bankIFSCCode: z8.string().trim().toUpperCase(),
|
|
290
291
|
adhaarNumber: z8.string().trim(),
|
|
291
|
-
|
|
292
|
+
gstNumber: z8.string().trim().optional(),
|
|
292
293
|
businessIdNumber: z8.string().trim().optional()
|
|
293
294
|
});
|
|
294
295
|
var create5 = z8.object({
|
|
295
296
|
bankAccountNumber: z8.string().trim().nonempty("required").min(6, "min").max(20, "max"),
|
|
296
|
-
bankName: z8.string().trim().toUpperCase().nonempty("required").min(3, "min").max(50, "max"),
|
|
297
297
|
accountHolderName: z8.string().trim().nonempty("required").min(2, "min").max(50, "max").toUpperCase(),
|
|
298
|
+
bankName: z8.string().trim().toUpperCase().nonempty("required").min(3, "min").max(50, "max"),
|
|
298
299
|
bankIFSCCode: z8.string().trim().nonempty("required").min(7, "min").max(11, "max").toUpperCase(),
|
|
299
300
|
adhaarNumber: z8.string().trim().nonempty("required").min(12, "min").max(20, "max"),
|
|
300
|
-
|
|
301
|
-
businessIdNumber: z8.string().trim().min(8, "min").max(20, "max").optional().
|
|
301
|
+
gstNumber: z8.string().trim().min(8, "min").max(20, "max").optional().or(z8.literal("")),
|
|
302
|
+
businessIdNumber: z8.string().trim().min(8, "min").max(20, "max").optional().or(z8.literal(""))
|
|
302
303
|
});
|
|
303
304
|
var update5 = z8.object({
|
|
304
305
|
...create5.shape,
|
package/dist/safari/index.cjs
CHANGED
|
@@ -136,7 +136,8 @@ var autocompleteResponse = import_zod2.default.array(locationDetails);
|
|
|
136
136
|
var pickupLandmark = import_zod3.z.object({
|
|
137
137
|
id: import_zod3.z.string().optional(),
|
|
138
138
|
label: import_zod3.z.string(),
|
|
139
|
-
type: import_zod3.z.string().optional()
|
|
139
|
+
type: import_zod3.z.string().optional(),
|
|
140
|
+
distanceKm: import_zod3.z.coerce.number()
|
|
140
141
|
});
|
|
141
142
|
var get2 = import_zod3.z.object({
|
|
142
143
|
id: import_zod3.z.string(),
|
|
@@ -186,7 +187,7 @@ var time12h = import_zod4.z.string().trim().regex(TIME_12H, "Use format hh:mm AM
|
|
|
186
187
|
});
|
|
187
188
|
var create3 = import_zod4.z.object({
|
|
188
189
|
name: import_zod4.z.string().trim().nonempty("required"),
|
|
189
|
-
description: import_zod4.z.string().trim().optional().
|
|
190
|
+
description: import_zod4.z.string().trim().min(3, "min").max(200, "max").optional().or(import_zod4.z.literal("")),
|
|
190
191
|
startTime: import_zod4.z.coerce.number().min(0, "invalid").max(1439, "invalid"),
|
|
191
192
|
endTime: import_zod4.z.coerce.number().min(0, "invalid").max(1439, "invalid"),
|
|
192
193
|
minHour: import_zod4.z.coerce.number().min(1, "minNumber").max(24, "maxNumber").optional().default(3)
|
|
@@ -306,17 +307,17 @@ var get7 = import_zod8.z.object({
|
|
|
306
307
|
accountHolderName: import_zod8.z.string().trim().toUpperCase(),
|
|
307
308
|
bankIFSCCode: import_zod8.z.string().trim().toUpperCase(),
|
|
308
309
|
adhaarNumber: import_zod8.z.string().trim(),
|
|
309
|
-
|
|
310
|
+
gstNumber: import_zod8.z.string().trim().optional(),
|
|
310
311
|
businessIdNumber: import_zod8.z.string().trim().optional()
|
|
311
312
|
});
|
|
312
313
|
var create5 = import_zod8.z.object({
|
|
313
314
|
bankAccountNumber: import_zod8.z.string().trim().nonempty("required").min(6, "min").max(20, "max"),
|
|
314
|
-
bankName: import_zod8.z.string().trim().toUpperCase().nonempty("required").min(3, "min").max(50, "max"),
|
|
315
315
|
accountHolderName: import_zod8.z.string().trim().nonempty("required").min(2, "min").max(50, "max").toUpperCase(),
|
|
316
|
+
bankName: import_zod8.z.string().trim().toUpperCase().nonempty("required").min(3, "min").max(50, "max"),
|
|
316
317
|
bankIFSCCode: import_zod8.z.string().trim().nonempty("required").min(7, "min").max(11, "max").toUpperCase(),
|
|
317
318
|
adhaarNumber: import_zod8.z.string().trim().nonempty("required").min(12, "min").max(20, "max"),
|
|
318
|
-
|
|
319
|
-
businessIdNumber: import_zod8.z.string().trim().min(8, "min").max(20, "max").optional().
|
|
319
|
+
gstNumber: import_zod8.z.string().trim().min(8, "min").max(20, "max").optional().or(import_zod8.z.literal("")),
|
|
320
|
+
businessIdNumber: import_zod8.z.string().trim().min(8, "min").max(20, "max").optional().or(import_zod8.z.literal(""))
|
|
320
321
|
});
|
|
321
322
|
var update5 = import_zod8.z.object({
|
|
322
323
|
...create5.shape,
|
package/dist/safari/index.d.cts
CHANGED
|
@@ -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-
|
|
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-DWRF0MBf.cjs';
|
|
2
2
|
import 'zod';
|
package/dist/safari/index.d.ts
CHANGED
|
@@ -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-
|
|
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-DWRF0MBf.js';
|
|
2
2
|
import 'zod';
|
package/dist/safari/index.js
CHANGED
|
@@ -97,7 +97,8 @@ var autocompleteResponse = z2.array(locationDetails);
|
|
|
97
97
|
var pickupLandmark = z3.object({
|
|
98
98
|
id: z3.string().optional(),
|
|
99
99
|
label: z3.string(),
|
|
100
|
-
type: z3.string().optional()
|
|
100
|
+
type: z3.string().optional(),
|
|
101
|
+
distanceKm: z3.coerce.number()
|
|
101
102
|
});
|
|
102
103
|
var get2 = z3.object({
|
|
103
104
|
id: z3.string(),
|
|
@@ -147,7 +148,7 @@ var time12h = z4.string().trim().regex(TIME_12H, "Use format hh:mm AM/PM").trans
|
|
|
147
148
|
});
|
|
148
149
|
var create3 = z4.object({
|
|
149
150
|
name: z4.string().trim().nonempty("required"),
|
|
150
|
-
description: z4.string().trim().optional().
|
|
151
|
+
description: z4.string().trim().min(3, "min").max(200, "max").optional().or(z4.literal("")),
|
|
151
152
|
startTime: z4.coerce.number().min(0, "invalid").max(1439, "invalid"),
|
|
152
153
|
endTime: z4.coerce.number().min(0, "invalid").max(1439, "invalid"),
|
|
153
154
|
minHour: z4.coerce.number().min(1, "minNumber").max(24, "maxNumber").optional().default(3)
|
|
@@ -267,17 +268,17 @@ var get7 = z8.object({
|
|
|
267
268
|
accountHolderName: z8.string().trim().toUpperCase(),
|
|
268
269
|
bankIFSCCode: z8.string().trim().toUpperCase(),
|
|
269
270
|
adhaarNumber: z8.string().trim(),
|
|
270
|
-
|
|
271
|
+
gstNumber: z8.string().trim().optional(),
|
|
271
272
|
businessIdNumber: z8.string().trim().optional()
|
|
272
273
|
});
|
|
273
274
|
var create5 = z8.object({
|
|
274
275
|
bankAccountNumber: z8.string().trim().nonempty("required").min(6, "min").max(20, "max"),
|
|
275
|
-
bankName: z8.string().trim().toUpperCase().nonempty("required").min(3, "min").max(50, "max"),
|
|
276
276
|
accountHolderName: z8.string().trim().nonempty("required").min(2, "min").max(50, "max").toUpperCase(),
|
|
277
|
+
bankName: z8.string().trim().toUpperCase().nonempty("required").min(3, "min").max(50, "max"),
|
|
277
278
|
bankIFSCCode: z8.string().trim().nonempty("required").min(7, "min").max(11, "max").toUpperCase(),
|
|
278
279
|
adhaarNumber: z8.string().trim().nonempty("required").min(12, "min").max(20, "max"),
|
|
279
|
-
|
|
280
|
-
businessIdNumber: z8.string().trim().min(8, "min").max(20, "max").optional().
|
|
280
|
+
gstNumber: z8.string().trim().min(8, "min").max(20, "max").optional().or(z8.literal("")),
|
|
281
|
+
businessIdNumber: z8.string().trim().min(8, "min").max(20, "max").optional().or(z8.literal(""))
|
|
281
282
|
});
|
|
282
283
|
var update5 = z8.object({
|
|
283
284
|
...create5.shape,
|