@tripsam/onboarding 1.0.86 → 1.0.88
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 +13 -0
- package/dist/common/index.d.cts +1 -1
- package/dist/common/index.d.ts +1 -1
- package/dist/common/index.js +13 -0
- package/dist/{index-CTMdFwCj.d.cts → index-B5uNTRoO.d.cts} +41 -1
- package/dist/{index-CTMdFwCj.d.ts → index-B5uNTRoO.d.ts} +41 -1
- package/dist/index.cjs +13 -0
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +13 -0
- package/package.json +1 -1
package/dist/common/index.cjs
CHANGED
|
@@ -62,13 +62,26 @@ __export(onboard_exports, {
|
|
|
62
62
|
list: () => list,
|
|
63
63
|
onboard: () => onboard,
|
|
64
64
|
onboardUser: () => onboardUser,
|
|
65
|
+
safariTypes: () => safariTypes,
|
|
66
|
+
safeSas: () => safeSas,
|
|
65
67
|
updateUser: () => updateUser
|
|
66
68
|
});
|
|
67
69
|
var import_zod2 = require("zod");
|
|
70
|
+
var safariTypes = {
|
|
71
|
+
leopard_safari: "leopardSafari",
|
|
72
|
+
tiger_safari: "tigerSafari",
|
|
73
|
+
bird_watching: "birdWatching",
|
|
74
|
+
village_safari: "villageSafari",
|
|
75
|
+
lion_safari: "lionSafari",
|
|
76
|
+
jungle_safari: "jungleSafari",
|
|
77
|
+
other: "other"
|
|
78
|
+
};
|
|
79
|
+
var safeSas = import_zod2.z.enum(Object.keys(safariTypes));
|
|
68
80
|
var onboard = import_zod2.z.object({
|
|
69
81
|
id: import_zod2.z.string(),
|
|
70
82
|
status: import_zod2.z.enum(["pending", "in_review", "approved", "rejected", "completed"]),
|
|
71
83
|
remark: import_zod2.z.string().optional().default(""),
|
|
84
|
+
type: safeSas,
|
|
72
85
|
currentStep: import_zod2.z.string().default("1.0")
|
|
73
86
|
});
|
|
74
87
|
var onboardUser = import_zod2.z.object({
|
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-B5uNTRoO.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-B5uNTRoO.js';
|
|
2
2
|
import 'zod';
|
package/dist/common/index.js
CHANGED
|
@@ -29,13 +29,26 @@ __export(onboard_exports, {
|
|
|
29
29
|
list: () => list,
|
|
30
30
|
onboard: () => onboard,
|
|
31
31
|
onboardUser: () => onboardUser,
|
|
32
|
+
safariTypes: () => safariTypes,
|
|
33
|
+
safeSas: () => safeSas,
|
|
32
34
|
updateUser: () => updateUser
|
|
33
35
|
});
|
|
34
36
|
import { z as z2 } from "zod";
|
|
37
|
+
var safariTypes = {
|
|
38
|
+
leopard_safari: "leopardSafari",
|
|
39
|
+
tiger_safari: "tigerSafari",
|
|
40
|
+
bird_watching: "birdWatching",
|
|
41
|
+
village_safari: "villageSafari",
|
|
42
|
+
lion_safari: "lionSafari",
|
|
43
|
+
jungle_safari: "jungleSafari",
|
|
44
|
+
other: "other"
|
|
45
|
+
};
|
|
46
|
+
var safeSas = z2.enum(Object.keys(safariTypes));
|
|
35
47
|
var onboard = z2.object({
|
|
36
48
|
id: z2.string(),
|
|
37
49
|
status: z2.enum(["pending", "in_review", "approved", "rejected", "completed"]),
|
|
38
50
|
remark: z2.string().optional().default(""),
|
|
51
|
+
type: safeSas,
|
|
39
52
|
currentStep: z2.string().default("1.0")
|
|
40
53
|
});
|
|
41
54
|
var onboardUser = z2.object({
|
|
@@ -24,6 +24,24 @@ declare namespace verifyEmail {
|
|
|
24
24
|
export { type verifyEmail_SafeSendOtp as SafeSendOtp, type verifyEmail_SafeVerifyOtp as SafeVerifyOtp, type verifyEmail_SafeVerifyOtpResponse as SafeVerifyOtpResponse, verifyEmail_sendOtp as sendOtp, verifyEmail_verifyOtp as verifyOtp, verifyEmail_verifyOtpResponse as verifyOtpResponse };
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
+
declare const safariTypes: {
|
|
28
|
+
readonly leopard_safari: "leopardSafari";
|
|
29
|
+
readonly tiger_safari: "tigerSafari";
|
|
30
|
+
readonly bird_watching: "birdWatching";
|
|
31
|
+
readonly village_safari: "villageSafari";
|
|
32
|
+
readonly lion_safari: "lionSafari";
|
|
33
|
+
readonly jungle_safari: "jungleSafari";
|
|
34
|
+
readonly other: "other";
|
|
35
|
+
};
|
|
36
|
+
declare const safeSas: z.ZodEnum<{
|
|
37
|
+
other: "other";
|
|
38
|
+
leopard_safari: "leopard_safari";
|
|
39
|
+
tiger_safari: "tiger_safari";
|
|
40
|
+
bird_watching: "bird_watching";
|
|
41
|
+
village_safari: "village_safari";
|
|
42
|
+
lion_safari: "lion_safari";
|
|
43
|
+
jungle_safari: "jungle_safari";
|
|
44
|
+
}>;
|
|
27
45
|
declare const onboard: z.ZodObject<{
|
|
28
46
|
id: z.ZodString;
|
|
29
47
|
status: z.ZodEnum<{
|
|
@@ -34,6 +52,15 @@ declare const onboard: z.ZodObject<{
|
|
|
34
52
|
completed: "completed";
|
|
35
53
|
}>;
|
|
36
54
|
remark: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
55
|
+
type: z.ZodEnum<{
|
|
56
|
+
other: "other";
|
|
57
|
+
leopard_safari: "leopard_safari";
|
|
58
|
+
tiger_safari: "tiger_safari";
|
|
59
|
+
bird_watching: "bird_watching";
|
|
60
|
+
village_safari: "village_safari";
|
|
61
|
+
lion_safari: "lion_safari";
|
|
62
|
+
jungle_safari: "jungle_safari";
|
|
63
|
+
}>;
|
|
37
64
|
currentStep: z.ZodDefault<z.ZodString>;
|
|
38
65
|
}, z.core.$strip>;
|
|
39
66
|
declare const onboardUser: z.ZodObject<{
|
|
@@ -59,13 +86,24 @@ declare const list: z.ZodArray<z.ZodObject<{
|
|
|
59
86
|
completed: "completed";
|
|
60
87
|
}>;
|
|
61
88
|
remark: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
89
|
+
type: z.ZodEnum<{
|
|
90
|
+
other: "other";
|
|
91
|
+
leopard_safari: "leopard_safari";
|
|
92
|
+
tiger_safari: "tiger_safari";
|
|
93
|
+
bird_watching: "bird_watching";
|
|
94
|
+
village_safari: "village_safari";
|
|
95
|
+
lion_safari: "lion_safari";
|
|
96
|
+
jungle_safari: "jungle_safari";
|
|
97
|
+
}>;
|
|
62
98
|
currentStep: z.ZodDefault<z.ZodString>;
|
|
63
99
|
}, z.core.$strip>>;
|
|
64
100
|
type SafeOnboard = z.output<typeof onboard>;
|
|
65
101
|
type SafeOnboardList = z.output<typeof list>;
|
|
66
102
|
type SafeUpdateUser = z.output<typeof updateUser>;
|
|
67
103
|
type SafeOnboardUser = z.output<typeof onboardUser>;
|
|
104
|
+
type SafariType = keyof typeof safariTypes;
|
|
68
105
|
|
|
106
|
+
type onboard$1_SafariType = SafariType;
|
|
69
107
|
type onboard$1_SafeOnboard = SafeOnboard;
|
|
70
108
|
type onboard$1_SafeOnboardList = SafeOnboardList;
|
|
71
109
|
type onboard$1_SafeOnboardUser = SafeOnboardUser;
|
|
@@ -73,9 +111,11 @@ type onboard$1_SafeUpdateUser = SafeUpdateUser;
|
|
|
73
111
|
declare const onboard$1_list: typeof list;
|
|
74
112
|
declare const onboard$1_onboard: typeof onboard;
|
|
75
113
|
declare const onboard$1_onboardUser: typeof onboardUser;
|
|
114
|
+
declare const onboard$1_safariTypes: typeof safariTypes;
|
|
115
|
+
declare const onboard$1_safeSas: typeof safeSas;
|
|
76
116
|
declare const onboard$1_updateUser: typeof updateUser;
|
|
77
117
|
declare namespace onboard$1 {
|
|
78
|
-
export { type onboard$1_SafeOnboard as SafeOnboard, type onboard$1_SafeOnboardList as SafeOnboardList, type onboard$1_SafeOnboardUser as SafeOnboardUser, type onboard$1_SafeUpdateUser as SafeUpdateUser, onboard$1_list as list, onboard$1_onboard as onboard, onboard$1_onboardUser as onboardUser, onboard$1_updateUser as updateUser };
|
|
118
|
+
export { type onboard$1_SafariType as SafariType, type onboard$1_SafeOnboard as SafeOnboard, type onboard$1_SafeOnboardList as SafeOnboardList, type onboard$1_SafeOnboardUser as SafeOnboardUser, type onboard$1_SafeUpdateUser as SafeUpdateUser, onboard$1_list as list, onboard$1_onboard as onboard, onboard$1_onboardUser as onboardUser, onboard$1_safariTypes as safariTypes, onboard$1_safeSas as safeSas, onboard$1_updateUser as updateUser };
|
|
79
119
|
}
|
|
80
120
|
|
|
81
121
|
declare const locationDetails: z$1.ZodObject<{
|
|
@@ -24,6 +24,24 @@ declare namespace verifyEmail {
|
|
|
24
24
|
export { type verifyEmail_SafeSendOtp as SafeSendOtp, type verifyEmail_SafeVerifyOtp as SafeVerifyOtp, type verifyEmail_SafeVerifyOtpResponse as SafeVerifyOtpResponse, verifyEmail_sendOtp as sendOtp, verifyEmail_verifyOtp as verifyOtp, verifyEmail_verifyOtpResponse as verifyOtpResponse };
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
+
declare const safariTypes: {
|
|
28
|
+
readonly leopard_safari: "leopardSafari";
|
|
29
|
+
readonly tiger_safari: "tigerSafari";
|
|
30
|
+
readonly bird_watching: "birdWatching";
|
|
31
|
+
readonly village_safari: "villageSafari";
|
|
32
|
+
readonly lion_safari: "lionSafari";
|
|
33
|
+
readonly jungle_safari: "jungleSafari";
|
|
34
|
+
readonly other: "other";
|
|
35
|
+
};
|
|
36
|
+
declare const safeSas: z.ZodEnum<{
|
|
37
|
+
other: "other";
|
|
38
|
+
leopard_safari: "leopard_safari";
|
|
39
|
+
tiger_safari: "tiger_safari";
|
|
40
|
+
bird_watching: "bird_watching";
|
|
41
|
+
village_safari: "village_safari";
|
|
42
|
+
lion_safari: "lion_safari";
|
|
43
|
+
jungle_safari: "jungle_safari";
|
|
44
|
+
}>;
|
|
27
45
|
declare const onboard: z.ZodObject<{
|
|
28
46
|
id: z.ZodString;
|
|
29
47
|
status: z.ZodEnum<{
|
|
@@ -34,6 +52,15 @@ declare const onboard: z.ZodObject<{
|
|
|
34
52
|
completed: "completed";
|
|
35
53
|
}>;
|
|
36
54
|
remark: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
55
|
+
type: z.ZodEnum<{
|
|
56
|
+
other: "other";
|
|
57
|
+
leopard_safari: "leopard_safari";
|
|
58
|
+
tiger_safari: "tiger_safari";
|
|
59
|
+
bird_watching: "bird_watching";
|
|
60
|
+
village_safari: "village_safari";
|
|
61
|
+
lion_safari: "lion_safari";
|
|
62
|
+
jungle_safari: "jungle_safari";
|
|
63
|
+
}>;
|
|
37
64
|
currentStep: z.ZodDefault<z.ZodString>;
|
|
38
65
|
}, z.core.$strip>;
|
|
39
66
|
declare const onboardUser: z.ZodObject<{
|
|
@@ -59,13 +86,24 @@ declare const list: z.ZodArray<z.ZodObject<{
|
|
|
59
86
|
completed: "completed";
|
|
60
87
|
}>;
|
|
61
88
|
remark: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
89
|
+
type: z.ZodEnum<{
|
|
90
|
+
other: "other";
|
|
91
|
+
leopard_safari: "leopard_safari";
|
|
92
|
+
tiger_safari: "tiger_safari";
|
|
93
|
+
bird_watching: "bird_watching";
|
|
94
|
+
village_safari: "village_safari";
|
|
95
|
+
lion_safari: "lion_safari";
|
|
96
|
+
jungle_safari: "jungle_safari";
|
|
97
|
+
}>;
|
|
62
98
|
currentStep: z.ZodDefault<z.ZodString>;
|
|
63
99
|
}, z.core.$strip>>;
|
|
64
100
|
type SafeOnboard = z.output<typeof onboard>;
|
|
65
101
|
type SafeOnboardList = z.output<typeof list>;
|
|
66
102
|
type SafeUpdateUser = z.output<typeof updateUser>;
|
|
67
103
|
type SafeOnboardUser = z.output<typeof onboardUser>;
|
|
104
|
+
type SafariType = keyof typeof safariTypes;
|
|
68
105
|
|
|
106
|
+
type onboard$1_SafariType = SafariType;
|
|
69
107
|
type onboard$1_SafeOnboard = SafeOnboard;
|
|
70
108
|
type onboard$1_SafeOnboardList = SafeOnboardList;
|
|
71
109
|
type onboard$1_SafeOnboardUser = SafeOnboardUser;
|
|
@@ -73,9 +111,11 @@ type onboard$1_SafeUpdateUser = SafeUpdateUser;
|
|
|
73
111
|
declare const onboard$1_list: typeof list;
|
|
74
112
|
declare const onboard$1_onboard: typeof onboard;
|
|
75
113
|
declare const onboard$1_onboardUser: typeof onboardUser;
|
|
114
|
+
declare const onboard$1_safariTypes: typeof safariTypes;
|
|
115
|
+
declare const onboard$1_safeSas: typeof safeSas;
|
|
76
116
|
declare const onboard$1_updateUser: typeof updateUser;
|
|
77
117
|
declare namespace onboard$1 {
|
|
78
|
-
export { type onboard$1_SafeOnboard as SafeOnboard, type onboard$1_SafeOnboardList as SafeOnboardList, type onboard$1_SafeOnboardUser as SafeOnboardUser, type onboard$1_SafeUpdateUser as SafeUpdateUser, onboard$1_list as list, onboard$1_onboard as onboard, onboard$1_onboardUser as onboardUser, onboard$1_updateUser as updateUser };
|
|
118
|
+
export { type onboard$1_SafariType as SafariType, type onboard$1_SafeOnboard as SafeOnboard, type onboard$1_SafeOnboardList as SafeOnboardList, type onboard$1_SafeOnboardUser as SafeOnboardUser, type onboard$1_SafeUpdateUser as SafeUpdateUser, onboard$1_list as list, onboard$1_onboard as onboard, onboard$1_onboardUser as onboardUser, onboard$1_safariTypes as safariTypes, onboard$1_safeSas as safeSas, onboard$1_updateUser as updateUser };
|
|
79
119
|
}
|
|
80
120
|
|
|
81
121
|
declare const locationDetails: z$1.ZodObject<{
|
package/dist/index.cjs
CHANGED
|
@@ -429,13 +429,26 @@ __export(onboard_exports, {
|
|
|
429
429
|
list: () => list3,
|
|
430
430
|
onboard: () => onboard,
|
|
431
431
|
onboardUser: () => onboardUser,
|
|
432
|
+
safariTypes: () => safariTypes2,
|
|
433
|
+
safeSas: () => safeSas2,
|
|
432
434
|
updateUser: () => updateUser
|
|
433
435
|
});
|
|
434
436
|
var import_zod13 = require("zod");
|
|
437
|
+
var safariTypes2 = {
|
|
438
|
+
leopard_safari: "leopardSafari",
|
|
439
|
+
tiger_safari: "tigerSafari",
|
|
440
|
+
bird_watching: "birdWatching",
|
|
441
|
+
village_safari: "villageSafari",
|
|
442
|
+
lion_safari: "lionSafari",
|
|
443
|
+
jungle_safari: "jungleSafari",
|
|
444
|
+
other: "other"
|
|
445
|
+
};
|
|
446
|
+
var safeSas2 = import_zod13.z.enum(Object.keys(safariTypes2));
|
|
435
447
|
var onboard = import_zod13.z.object({
|
|
436
448
|
id: import_zod13.z.string(),
|
|
437
449
|
status: import_zod13.z.enum(["pending", "in_review", "approved", "rejected", "completed"]),
|
|
438
450
|
remark: import_zod13.z.string().optional().default(""),
|
|
451
|
+
type: safeSas2,
|
|
439
452
|
currentStep: import_zod13.z.string().default("1.0")
|
|
440
453
|
});
|
|
441
454
|
var onboardUser = import_zod13.z.object({
|
package/dist/index.d.cts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -398,13 +398,26 @@ __export(onboard_exports, {
|
|
|
398
398
|
list: () => list3,
|
|
399
399
|
onboard: () => onboard,
|
|
400
400
|
onboardUser: () => onboardUser,
|
|
401
|
+
safariTypes: () => safariTypes2,
|
|
402
|
+
safeSas: () => safeSas2,
|
|
401
403
|
updateUser: () => updateUser
|
|
402
404
|
});
|
|
403
405
|
import { z as z13 } from "zod";
|
|
406
|
+
var safariTypes2 = {
|
|
407
|
+
leopard_safari: "leopardSafari",
|
|
408
|
+
tiger_safari: "tigerSafari",
|
|
409
|
+
bird_watching: "birdWatching",
|
|
410
|
+
village_safari: "villageSafari",
|
|
411
|
+
lion_safari: "lionSafari",
|
|
412
|
+
jungle_safari: "jungleSafari",
|
|
413
|
+
other: "other"
|
|
414
|
+
};
|
|
415
|
+
var safeSas2 = z13.enum(Object.keys(safariTypes2));
|
|
404
416
|
var onboard = z13.object({
|
|
405
417
|
id: z13.string(),
|
|
406
418
|
status: z13.enum(["pending", "in_review", "approved", "rejected", "completed"]),
|
|
407
419
|
remark: z13.string().optional().default(""),
|
|
420
|
+
type: safeSas2,
|
|
408
421
|
currentStep: z13.string().default("1.0")
|
|
409
422
|
});
|
|
410
423
|
var onboardUser = z13.object({
|