@tripsam/onboarding 1.0.81 → 1.0.83
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/common/index.cjs +2 -0
- package/dist/common/index.d.cts +1 -1
- package/dist/common/index.d.ts +1 -1
- package/dist/common/index.js +2 -0
- package/dist/{index-DUc45QO9.d.cts → index-DWRF0MBf.d.cts} +7 -7
- package/dist/{index-DUc45QO9.d.ts → index-DWRF0MBf.d.ts} +7 -7
- package/dist/{index-Jx3GSscX.d.cts → index-DrycT1zt.d.cts} +16 -1
- package/dist/{index-Jx3GSscX.d.ts → index-DrycT1zt.d.ts} +16 -1
- package/dist/index.cjs +6 -4
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +6 -4
- package/dist/safari/index.cjs +4 -4
- package/dist/safari/index.d.cts +1 -1
- package/dist/safari/index.d.ts +1 -1
- package/dist/safari/index.js +4 -4
- package/package.json +1 -1
package/dist/common/index.cjs
CHANGED
|
@@ -59,6 +59,7 @@ var verifyOtpResponse = import_zod.z.object({
|
|
|
59
59
|
// src/common/onboard.ts
|
|
60
60
|
var onboard_exports = {};
|
|
61
61
|
__export(onboard_exports, {
|
|
62
|
+
list: () => list,
|
|
62
63
|
onboard: () => onboard
|
|
63
64
|
});
|
|
64
65
|
var import_zod2 = require("zod");
|
|
@@ -68,6 +69,7 @@ var onboard = import_zod2.z.object({
|
|
|
68
69
|
remark: import_zod2.z.string().optional().default(""),
|
|
69
70
|
currentStep: import_zod2.z.string().default("1.0")
|
|
70
71
|
});
|
|
72
|
+
var list = import_zod2.z.array(onboard);
|
|
71
73
|
|
|
72
74
|
// src/common/location.ts
|
|
73
75
|
var location_exports = {};
|
package/dist/common/index.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { d as DocumentType, l as LocationAutoSuggest, o as Onboard, v as VerifyEmail } from '../index-
|
|
1
|
+
export { d as DocumentType, l as LocationAutoSuggest, o as Onboard, v as VerifyEmail } from '../index-DrycT1zt.cjs';
|
|
2
2
|
import 'zod';
|
package/dist/common/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { d as DocumentType, l as LocationAutoSuggest, o as Onboard, v as VerifyEmail } from '../index-
|
|
1
|
+
export { d as DocumentType, l as LocationAutoSuggest, o as Onboard, v as VerifyEmail } from '../index-DrycT1zt.js';
|
|
2
2
|
import 'zod';
|
package/dist/common/index.js
CHANGED
|
@@ -26,6 +26,7 @@ var verifyOtpResponse = z.object({
|
|
|
26
26
|
// src/common/onboard.ts
|
|
27
27
|
var onboard_exports = {};
|
|
28
28
|
__export(onboard_exports, {
|
|
29
|
+
list: () => list,
|
|
29
30
|
onboard: () => onboard
|
|
30
31
|
});
|
|
31
32
|
import { z as z2 } from "zod";
|
|
@@ -35,6 +36,7 @@ var onboard = z2.object({
|
|
|
35
36
|
remark: z2.string().optional().default(""),
|
|
36
37
|
currentStep: z2.string().default("1.0")
|
|
37
38
|
});
|
|
39
|
+
var list = z2.array(onboard);
|
|
38
40
|
|
|
39
41
|
// src/common/location.ts
|
|
40
42
|
var location_exports = {};
|
|
@@ -153,14 +153,14 @@ declare namespace location {
|
|
|
153
153
|
declare const time12h: z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>;
|
|
154
154
|
declare const create$3: z.ZodObject<{
|
|
155
155
|
name: z.ZodString;
|
|
156
|
-
description: z.
|
|
156
|
+
description: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
157
157
|
startTime: z.ZodCoercedNumber<unknown>;
|
|
158
158
|
endTime: z.ZodCoercedNumber<unknown>;
|
|
159
159
|
minHour: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
160
160
|
}, z.core.$strip>;
|
|
161
161
|
declare const update$3: z.ZodObject<{
|
|
162
162
|
name: z.ZodString;
|
|
163
|
-
description: z.
|
|
163
|
+
description: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
164
164
|
startTime: z.ZodCoercedNumber<unknown>;
|
|
165
165
|
endTime: z.ZodCoercedNumber<unknown>;
|
|
166
166
|
minHour: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
@@ -344,7 +344,7 @@ declare const get$1: z.ZodObject<{
|
|
|
344
344
|
accountHolderName: z.ZodString;
|
|
345
345
|
bankIFSCCode: z.ZodString;
|
|
346
346
|
adhaarNumber: z.ZodString;
|
|
347
|
-
|
|
347
|
+
gstNumber: z.ZodOptional<z.ZodString>;
|
|
348
348
|
businessIdNumber: z.ZodOptional<z.ZodString>;
|
|
349
349
|
}, z.core.$strip>;
|
|
350
350
|
declare const create$1: z.ZodObject<{
|
|
@@ -353,8 +353,8 @@ declare const create$1: z.ZodObject<{
|
|
|
353
353
|
bankName: z.ZodString;
|
|
354
354
|
bankIFSCCode: z.ZodString;
|
|
355
355
|
adhaarNumber: z.ZodString;
|
|
356
|
-
|
|
357
|
-
businessIdNumber: z.
|
|
356
|
+
gstNumber: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
357
|
+
businessIdNumber: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
358
358
|
}, z.core.$strip>;
|
|
359
359
|
declare const update$1: z.ZodObject<{
|
|
360
360
|
id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -363,8 +363,8 @@ declare const update$1: z.ZodObject<{
|
|
|
363
363
|
bankName: z.ZodString;
|
|
364
364
|
bankIFSCCode: z.ZodString;
|
|
365
365
|
adhaarNumber: z.ZodString;
|
|
366
|
-
|
|
367
|
-
businessIdNumber: z.
|
|
366
|
+
gstNumber: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
367
|
+
businessIdNumber: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
368
368
|
}, z.core.$strip>;
|
|
369
369
|
type SafeGet$1 = z.infer<typeof get$1>;
|
|
370
370
|
type SafeCreate$1 = z.output<typeof create$1>;
|
|
@@ -153,14 +153,14 @@ declare namespace location {
|
|
|
153
153
|
declare const time12h: z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>;
|
|
154
154
|
declare const create$3: z.ZodObject<{
|
|
155
155
|
name: z.ZodString;
|
|
156
|
-
description: z.
|
|
156
|
+
description: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
157
157
|
startTime: z.ZodCoercedNumber<unknown>;
|
|
158
158
|
endTime: z.ZodCoercedNumber<unknown>;
|
|
159
159
|
minHour: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
160
160
|
}, z.core.$strip>;
|
|
161
161
|
declare const update$3: z.ZodObject<{
|
|
162
162
|
name: z.ZodString;
|
|
163
|
-
description: z.
|
|
163
|
+
description: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
164
164
|
startTime: z.ZodCoercedNumber<unknown>;
|
|
165
165
|
endTime: z.ZodCoercedNumber<unknown>;
|
|
166
166
|
minHour: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
@@ -344,7 +344,7 @@ declare const get$1: z.ZodObject<{
|
|
|
344
344
|
accountHolderName: z.ZodString;
|
|
345
345
|
bankIFSCCode: z.ZodString;
|
|
346
346
|
adhaarNumber: z.ZodString;
|
|
347
|
-
|
|
347
|
+
gstNumber: z.ZodOptional<z.ZodString>;
|
|
348
348
|
businessIdNumber: z.ZodOptional<z.ZodString>;
|
|
349
349
|
}, z.core.$strip>;
|
|
350
350
|
declare const create$1: z.ZodObject<{
|
|
@@ -353,8 +353,8 @@ declare const create$1: z.ZodObject<{
|
|
|
353
353
|
bankName: z.ZodString;
|
|
354
354
|
bankIFSCCode: z.ZodString;
|
|
355
355
|
adhaarNumber: z.ZodString;
|
|
356
|
-
|
|
357
|
-
businessIdNumber: z.
|
|
356
|
+
gstNumber: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
357
|
+
businessIdNumber: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
358
358
|
}, z.core.$strip>;
|
|
359
359
|
declare const update$1: z.ZodObject<{
|
|
360
360
|
id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -363,8 +363,8 @@ declare const update$1: z.ZodObject<{
|
|
|
363
363
|
bankName: z.ZodString;
|
|
364
364
|
bankIFSCCode: z.ZodString;
|
|
365
365
|
adhaarNumber: z.ZodString;
|
|
366
|
-
|
|
367
|
-
businessIdNumber: z.
|
|
366
|
+
gstNumber: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
367
|
+
businessIdNumber: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
368
368
|
}, z.core.$strip>;
|
|
369
369
|
type SafeGet$1 = z.infer<typeof get$1>;
|
|
370
370
|
type SafeCreate$1 = z.output<typeof create$1>;
|
|
@@ -36,12 +36,27 @@ declare const onboard: z.ZodObject<{
|
|
|
36
36
|
remark: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
37
37
|
currentStep: z.ZodDefault<z.ZodString>;
|
|
38
38
|
}, z.core.$strip>;
|
|
39
|
+
declare const list: z.ZodArray<z.ZodObject<{
|
|
40
|
+
id: z.ZodString;
|
|
41
|
+
status: z.ZodEnum<{
|
|
42
|
+
pending: "pending";
|
|
43
|
+
in_review: "in_review";
|
|
44
|
+
approved: "approved";
|
|
45
|
+
rejected: "rejected";
|
|
46
|
+
completed: "completed";
|
|
47
|
+
}>;
|
|
48
|
+
remark: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
49
|
+
currentStep: z.ZodDefault<z.ZodString>;
|
|
50
|
+
}, z.core.$strip>>;
|
|
39
51
|
type SafeOnboard = z.output<typeof onboard>;
|
|
52
|
+
type SafeOnboardList = z.output<typeof list>;
|
|
40
53
|
|
|
41
54
|
type onboard$1_SafeOnboard = SafeOnboard;
|
|
55
|
+
type onboard$1_SafeOnboardList = SafeOnboardList;
|
|
56
|
+
declare const onboard$1_list: typeof list;
|
|
42
57
|
declare const onboard$1_onboard: typeof onboard;
|
|
43
58
|
declare namespace onboard$1 {
|
|
44
|
-
export { type onboard$1_SafeOnboard as SafeOnboard, onboard$1_onboard as onboard };
|
|
59
|
+
export { type onboard$1_SafeOnboard as SafeOnboard, type onboard$1_SafeOnboardList as SafeOnboardList, onboard$1_list as list, onboard$1_onboard as onboard };
|
|
45
60
|
}
|
|
46
61
|
|
|
47
62
|
declare const locationDetails: z$1.ZodObject<{
|
|
@@ -36,12 +36,27 @@ declare const onboard: z.ZodObject<{
|
|
|
36
36
|
remark: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
37
37
|
currentStep: z.ZodDefault<z.ZodString>;
|
|
38
38
|
}, z.core.$strip>;
|
|
39
|
+
declare const list: z.ZodArray<z.ZodObject<{
|
|
40
|
+
id: z.ZodString;
|
|
41
|
+
status: z.ZodEnum<{
|
|
42
|
+
pending: "pending";
|
|
43
|
+
in_review: "in_review";
|
|
44
|
+
approved: "approved";
|
|
45
|
+
rejected: "rejected";
|
|
46
|
+
completed: "completed";
|
|
47
|
+
}>;
|
|
48
|
+
remark: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
49
|
+
currentStep: z.ZodDefault<z.ZodString>;
|
|
50
|
+
}, z.core.$strip>>;
|
|
39
51
|
type SafeOnboard = z.output<typeof onboard>;
|
|
52
|
+
type SafeOnboardList = z.output<typeof list>;
|
|
40
53
|
|
|
41
54
|
type onboard$1_SafeOnboard = SafeOnboard;
|
|
55
|
+
type onboard$1_SafeOnboardList = SafeOnboardList;
|
|
56
|
+
declare const onboard$1_list: typeof list;
|
|
42
57
|
declare const onboard$1_onboard: typeof onboard;
|
|
43
58
|
declare namespace onboard$1 {
|
|
44
|
-
export { type onboard$1_SafeOnboard as SafeOnboard, onboard$1_onboard as onboard };
|
|
59
|
+
export { type onboard$1_SafeOnboard as SafeOnboard, type onboard$1_SafeOnboardList as SafeOnboardList, onboard$1_list as list, onboard$1_onboard as onboard };
|
|
45
60
|
}
|
|
46
61
|
|
|
47
62
|
declare const locationDetails: z$1.ZodObject<{
|
package/dist/index.cjs
CHANGED
|
@@ -200,7 +200,7 @@ var time12h = import_zod4.z.string().trim().regex(TIME_12H, "Use format hh:mm AM
|
|
|
200
200
|
});
|
|
201
201
|
var create3 = import_zod4.z.object({
|
|
202
202
|
name: import_zod4.z.string().trim().nonempty("required"),
|
|
203
|
-
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("")),
|
|
204
204
|
startTime: import_zod4.z.coerce.number().min(0, "invalid").max(1439, "invalid"),
|
|
205
205
|
endTime: import_zod4.z.coerce.number().min(0, "invalid").max(1439, "invalid"),
|
|
206
206
|
minHour: import_zod4.z.coerce.number().min(1, "minNumber").max(24, "maxNumber").optional().default(3)
|
|
@@ -320,7 +320,7 @@ var get7 = import_zod8.z.object({
|
|
|
320
320
|
accountHolderName: import_zod8.z.string().trim().toUpperCase(),
|
|
321
321
|
bankIFSCCode: import_zod8.z.string().trim().toUpperCase(),
|
|
322
322
|
adhaarNumber: import_zod8.z.string().trim(),
|
|
323
|
-
|
|
323
|
+
gstNumber: import_zod8.z.string().trim().optional(),
|
|
324
324
|
businessIdNumber: import_zod8.z.string().trim().optional()
|
|
325
325
|
});
|
|
326
326
|
var create5 = import_zod8.z.object({
|
|
@@ -329,8 +329,8 @@ var create5 = import_zod8.z.object({
|
|
|
329
329
|
bankName: import_zod8.z.string().trim().toUpperCase().nonempty("required").min(3, "min").max(50, "max"),
|
|
330
330
|
bankIFSCCode: import_zod8.z.string().trim().nonempty("required").min(7, "min").max(11, "max").toUpperCase(),
|
|
331
331
|
adhaarNumber: import_zod8.z.string().trim().nonempty("required").min(12, "min").max(20, "max"),
|
|
332
|
-
|
|
333
|
-
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(""))
|
|
334
334
|
});
|
|
335
335
|
var update5 = import_zod8.z.object({
|
|
336
336
|
...create5.shape,
|
|
@@ -426,6 +426,7 @@ var verifyOtpResponse = import_zod12.z.object({
|
|
|
426
426
|
// src/common/onboard.ts
|
|
427
427
|
var onboard_exports = {};
|
|
428
428
|
__export(onboard_exports, {
|
|
429
|
+
list: () => list3,
|
|
429
430
|
onboard: () => onboard
|
|
430
431
|
});
|
|
431
432
|
var import_zod13 = require("zod");
|
|
@@ -435,6 +436,7 @@ var onboard = import_zod13.z.object({
|
|
|
435
436
|
remark: import_zod13.z.string().optional().default(""),
|
|
436
437
|
currentStep: import_zod13.z.string().default("1.0")
|
|
437
438
|
});
|
|
439
|
+
var list3 = import_zod13.z.array(onboard);
|
|
438
440
|
|
|
439
441
|
// src/common/document.ts
|
|
440
442
|
var document_exports = {};
|
package/dist/index.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { i as SafariOnboarding } from './index-
|
|
2
|
-
export { i as CommonOnboarding } from './index-
|
|
1
|
+
export { i as SafariOnboarding } from './index-DWRF0MBf.cjs';
|
|
2
|
+
export { i as CommonOnboarding } from './index-DrycT1zt.cjs';
|
|
3
3
|
import 'zod';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { i as SafariOnboarding } from './index-
|
|
2
|
-
export { i as CommonOnboarding } from './index-
|
|
1
|
+
export { i as SafariOnboarding } from './index-DWRF0MBf.js';
|
|
2
|
+
export { i as CommonOnboarding } from './index-DrycT1zt.js';
|
|
3
3
|
import 'zod';
|
package/dist/index.js
CHANGED
|
@@ -169,7 +169,7 @@ var time12h = z4.string().trim().regex(TIME_12H, "Use format hh:mm AM/PM").trans
|
|
|
169
169
|
});
|
|
170
170
|
var create3 = z4.object({
|
|
171
171
|
name: z4.string().trim().nonempty("required"),
|
|
172
|
-
description: z4.string().trim().optional().
|
|
172
|
+
description: z4.string().trim().min(3, "min").max(200, "max").optional().or(z4.literal("")),
|
|
173
173
|
startTime: z4.coerce.number().min(0, "invalid").max(1439, "invalid"),
|
|
174
174
|
endTime: z4.coerce.number().min(0, "invalid").max(1439, "invalid"),
|
|
175
175
|
minHour: z4.coerce.number().min(1, "minNumber").max(24, "maxNumber").optional().default(3)
|
|
@@ -289,7 +289,7 @@ var get7 = z8.object({
|
|
|
289
289
|
accountHolderName: z8.string().trim().toUpperCase(),
|
|
290
290
|
bankIFSCCode: z8.string().trim().toUpperCase(),
|
|
291
291
|
adhaarNumber: z8.string().trim(),
|
|
292
|
-
|
|
292
|
+
gstNumber: z8.string().trim().optional(),
|
|
293
293
|
businessIdNumber: z8.string().trim().optional()
|
|
294
294
|
});
|
|
295
295
|
var create5 = z8.object({
|
|
@@ -298,8 +298,8 @@ var create5 = z8.object({
|
|
|
298
298
|
bankName: z8.string().trim().toUpperCase().nonempty("required").min(3, "min").max(50, "max"),
|
|
299
299
|
bankIFSCCode: z8.string().trim().nonempty("required").min(7, "min").max(11, "max").toUpperCase(),
|
|
300
300
|
adhaarNumber: z8.string().trim().nonempty("required").min(12, "min").max(20, "max"),
|
|
301
|
-
|
|
302
|
-
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(""))
|
|
303
303
|
});
|
|
304
304
|
var update5 = z8.object({
|
|
305
305
|
...create5.shape,
|
|
@@ -395,6 +395,7 @@ var verifyOtpResponse = z12.object({
|
|
|
395
395
|
// src/common/onboard.ts
|
|
396
396
|
var onboard_exports = {};
|
|
397
397
|
__export(onboard_exports, {
|
|
398
|
+
list: () => list3,
|
|
398
399
|
onboard: () => onboard
|
|
399
400
|
});
|
|
400
401
|
import { z as z13 } from "zod";
|
|
@@ -404,6 +405,7 @@ var onboard = z13.object({
|
|
|
404
405
|
remark: z13.string().optional().default(""),
|
|
405
406
|
currentStep: z13.string().default("1.0")
|
|
406
407
|
});
|
|
408
|
+
var list3 = z13.array(onboard);
|
|
407
409
|
|
|
408
410
|
// src/common/document.ts
|
|
409
411
|
var document_exports = {};
|
package/dist/safari/index.cjs
CHANGED
|
@@ -187,7 +187,7 @@ var time12h = import_zod4.z.string().trim().regex(TIME_12H, "Use format hh:mm AM
|
|
|
187
187
|
});
|
|
188
188
|
var create3 = import_zod4.z.object({
|
|
189
189
|
name: import_zod4.z.string().trim().nonempty("required"),
|
|
190
|
-
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("")),
|
|
191
191
|
startTime: import_zod4.z.coerce.number().min(0, "invalid").max(1439, "invalid"),
|
|
192
192
|
endTime: import_zod4.z.coerce.number().min(0, "invalid").max(1439, "invalid"),
|
|
193
193
|
minHour: import_zod4.z.coerce.number().min(1, "minNumber").max(24, "maxNumber").optional().default(3)
|
|
@@ -307,7 +307,7 @@ var get7 = import_zod8.z.object({
|
|
|
307
307
|
accountHolderName: import_zod8.z.string().trim().toUpperCase(),
|
|
308
308
|
bankIFSCCode: import_zod8.z.string().trim().toUpperCase(),
|
|
309
309
|
adhaarNumber: import_zod8.z.string().trim(),
|
|
310
|
-
|
|
310
|
+
gstNumber: import_zod8.z.string().trim().optional(),
|
|
311
311
|
businessIdNumber: import_zod8.z.string().trim().optional()
|
|
312
312
|
});
|
|
313
313
|
var create5 = import_zod8.z.object({
|
|
@@ -316,8 +316,8 @@ var create5 = import_zod8.z.object({
|
|
|
316
316
|
bankName: import_zod8.z.string().trim().toUpperCase().nonempty("required").min(3, "min").max(50, "max"),
|
|
317
317
|
bankIFSCCode: import_zod8.z.string().trim().nonempty("required").min(7, "min").max(11, "max").toUpperCase(),
|
|
318
318
|
adhaarNumber: import_zod8.z.string().trim().nonempty("required").min(12, "min").max(20, "max"),
|
|
319
|
-
|
|
320
|
-
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(""))
|
|
321
321
|
});
|
|
322
322
|
var update5 = import_zod8.z.object({
|
|
323
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
|
@@ -148,7 +148,7 @@ var time12h = z4.string().trim().regex(TIME_12H, "Use format hh:mm AM/PM").trans
|
|
|
148
148
|
});
|
|
149
149
|
var create3 = z4.object({
|
|
150
150
|
name: z4.string().trim().nonempty("required"),
|
|
151
|
-
description: z4.string().trim().optional().
|
|
151
|
+
description: z4.string().trim().min(3, "min").max(200, "max").optional().or(z4.literal("")),
|
|
152
152
|
startTime: z4.coerce.number().min(0, "invalid").max(1439, "invalid"),
|
|
153
153
|
endTime: z4.coerce.number().min(0, "invalid").max(1439, "invalid"),
|
|
154
154
|
minHour: z4.coerce.number().min(1, "minNumber").max(24, "maxNumber").optional().default(3)
|
|
@@ -268,7 +268,7 @@ var get7 = z8.object({
|
|
|
268
268
|
accountHolderName: z8.string().trim().toUpperCase(),
|
|
269
269
|
bankIFSCCode: z8.string().trim().toUpperCase(),
|
|
270
270
|
adhaarNumber: z8.string().trim(),
|
|
271
|
-
|
|
271
|
+
gstNumber: z8.string().trim().optional(),
|
|
272
272
|
businessIdNumber: z8.string().trim().optional()
|
|
273
273
|
});
|
|
274
274
|
var create5 = z8.object({
|
|
@@ -277,8 +277,8 @@ var create5 = z8.object({
|
|
|
277
277
|
bankName: z8.string().trim().toUpperCase().nonempty("required").min(3, "min").max(50, "max"),
|
|
278
278
|
bankIFSCCode: z8.string().trim().nonempty("required").min(7, "min").max(11, "max").toUpperCase(),
|
|
279
279
|
adhaarNumber: z8.string().trim().nonempty("required").min(12, "min").max(20, "max"),
|
|
280
|
-
|
|
281
|
-
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(""))
|
|
282
282
|
});
|
|
283
283
|
var update5 = z8.object({
|
|
284
284
|
...create5.shape,
|