@tripsam/onboarding 1.0.44 → 1.0.45

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.
@@ -20,6 +20,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
20
20
  // src/common/index.ts
21
21
  var common_exports = {};
22
22
  __export(common_exports, {
23
+ Onboard: () => onboard_exports,
23
24
  VerifyEmail: () => verify_email_exports
24
25
  });
25
26
  module.exports = __toCommonJS(common_exports);
@@ -42,7 +43,21 @@ var verifyOtp = import_zod.z.object({
42
43
  var verifyOtpResponse = import_zod.z.object({
43
44
  id: import_zod.z.string()
44
45
  });
46
+
47
+ // src/common/onboard.ts
48
+ var onboard_exports = {};
49
+ __export(onboard_exports, {
50
+ onboard: () => onboard
51
+ });
52
+ var import_zod2 = require("zod");
53
+ var onboard = import_zod2.z.object({
54
+ id: import_zod2.z.string(),
55
+ status: import_zod2.z.enum(["pending", "in_review", "approved", "rejected", "completed"]),
56
+ remark: import_zod2.z.string().optional().default(""),
57
+ currentStep: import_zod2.z.number().default(1)
58
+ });
45
59
  // Annotate the CommonJS export names for ESM import in node:
46
60
  0 && (module.exports = {
61
+ Onboard,
47
62
  VerifyEmail
48
63
  });
@@ -1,2 +1,2 @@
1
- export { v as VerifyEmail } from '../index-Bv8ss_jR.cjs';
1
+ export { o as Onboard, v as VerifyEmail } from '../index-yNp2Ga82.cjs';
2
2
  import 'zod';
@@ -1,2 +1,2 @@
1
- export { v as VerifyEmail } from '../index-Bv8ss_jR.js';
1
+ export { o as Onboard, v as VerifyEmail } from '../index-yNp2Ga82.js';
2
2
  import 'zod';
@@ -22,6 +22,20 @@ var verifyOtp = z.object({
22
22
  var verifyOtpResponse = z.object({
23
23
  id: z.string()
24
24
  });
25
+
26
+ // src/common/onboard.ts
27
+ var onboard_exports = {};
28
+ __export(onboard_exports, {
29
+ onboard: () => onboard
30
+ });
31
+ import { z as z2 } from "zod";
32
+ var onboard = z2.object({
33
+ id: z2.string(),
34
+ status: z2.enum(["pending", "in_review", "approved", "rejected", "completed"]),
35
+ remark: z2.string().optional().default(""),
36
+ currentStep: z2.number().default(1)
37
+ });
25
38
  export {
39
+ onboard_exports as Onboard,
26
40
  verify_email_exports as VerifyEmail
27
41
  };
@@ -24,8 +24,28 @@ 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 onboard: z.ZodObject<{
28
+ id: z.ZodString;
29
+ status: z.ZodEnum<{
30
+ pending: "pending";
31
+ in_review: "in_review";
32
+ approved: "approved";
33
+ rejected: "rejected";
34
+ completed: "completed";
35
+ }>;
36
+ remark: z.ZodDefault<z.ZodOptional<z.ZodString>>;
37
+ currentStep: z.ZodDefault<z.ZodNumber>;
38
+ }, z.core.$strip>;
39
+ type SafeOnboard = z.output<typeof onboard>;
40
+
41
+ type onboard$1_SafeOnboard = SafeOnboard;
42
+ declare const onboard$1_onboard: typeof onboard;
43
+ declare namespace onboard$1 {
44
+ export { type onboard$1_SafeOnboard as SafeOnboard, onboard$1_onboard as onboard };
45
+ }
46
+
27
47
  declare namespace index {
28
- export { verifyEmail as VerifyEmail };
48
+ export { onboard$1 as Onboard, verifyEmail as VerifyEmail };
29
49
  }
30
50
 
31
- export { index as i, verifyEmail as v };
51
+ export { index as i, onboard$1 as o, verifyEmail as v };
@@ -24,8 +24,28 @@ 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 onboard: z.ZodObject<{
28
+ id: z.ZodString;
29
+ status: z.ZodEnum<{
30
+ pending: "pending";
31
+ in_review: "in_review";
32
+ approved: "approved";
33
+ rejected: "rejected";
34
+ completed: "completed";
35
+ }>;
36
+ remark: z.ZodDefault<z.ZodOptional<z.ZodString>>;
37
+ currentStep: z.ZodDefault<z.ZodNumber>;
38
+ }, z.core.$strip>;
39
+ type SafeOnboard = z.output<typeof onboard>;
40
+
41
+ type onboard$1_SafeOnboard = SafeOnboard;
42
+ declare const onboard$1_onboard: typeof onboard;
43
+ declare namespace onboard$1 {
44
+ export { type onboard$1_SafeOnboard as SafeOnboard, onboard$1_onboard as onboard };
45
+ }
46
+
27
47
  declare namespace index {
28
- export { verifyEmail as VerifyEmail };
48
+ export { onboard$1 as Onboard, verifyEmail as VerifyEmail };
29
49
  }
30
50
 
31
- export { index as i, verifyEmail as v };
51
+ export { index as i, onboard$1 as o, verifyEmail as v };
package/dist/index.cjs CHANGED
@@ -295,6 +295,7 @@ var me9 = import_zod9.z.object({
295
295
  // src/common/index.ts
296
296
  var common_exports = {};
297
297
  __export(common_exports, {
298
+ Onboard: () => onboard_exports,
298
299
  VerifyEmail: () => verify_email_exports
299
300
  });
300
301
 
@@ -316,6 +317,19 @@ var verifyOtp = import_zod10.z.object({
316
317
  var verifyOtpResponse = import_zod10.z.object({
317
318
  id: import_zod10.z.string()
318
319
  });
320
+
321
+ // src/common/onboard.ts
322
+ var onboard_exports = {};
323
+ __export(onboard_exports, {
324
+ onboard: () => onboard
325
+ });
326
+ var import_zod11 = require("zod");
327
+ var onboard = import_zod11.z.object({
328
+ id: import_zod11.z.string(),
329
+ status: import_zod11.z.enum(["pending", "in_review", "approved", "rejected", "completed"]),
330
+ remark: import_zod11.z.string().optional().default(""),
331
+ currentStep: import_zod11.z.number().default(1)
332
+ });
319
333
  // Annotate the CommonJS export names for ESM import in node:
320
334
  0 && (module.exports = {
321
335
  CommonOnboarding,
package/dist/index.d.cts CHANGED
@@ -1,3 +1,3 @@
1
1
  export { i as SafariOnboarding } from './index-Wj1jWQ1j.cjs';
2
- export { i as CommonOnboarding } from './index-Bv8ss_jR.cjs';
2
+ export { i as CommonOnboarding } from './index-yNp2Ga82.cjs';
3
3
  import 'zod';
package/dist/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  export { i as SafariOnboarding } from './index-Wj1jWQ1j.js';
2
- export { i as CommonOnboarding } from './index-Bv8ss_jR.js';
2
+ export { i as CommonOnboarding } from './index-yNp2Ga82.js';
3
3
  import 'zod';
package/dist/index.js CHANGED
@@ -274,6 +274,7 @@ var me9 = z9.object({
274
274
  // src/common/index.ts
275
275
  var common_exports = {};
276
276
  __export(common_exports, {
277
+ Onboard: () => onboard_exports,
277
278
  VerifyEmail: () => verify_email_exports
278
279
  });
279
280
 
@@ -295,6 +296,19 @@ var verifyOtp = z10.object({
295
296
  var verifyOtpResponse = z10.object({
296
297
  id: z10.string()
297
298
  });
299
+
300
+ // src/common/onboard.ts
301
+ var onboard_exports = {};
302
+ __export(onboard_exports, {
303
+ onboard: () => onboard
304
+ });
305
+ import { z as z11 } from "zod";
306
+ var onboard = z11.object({
307
+ id: z11.string(),
308
+ status: z11.enum(["pending", "in_review", "approved", "rejected", "completed"]),
309
+ remark: z11.string().optional().default(""),
310
+ currentStep: z11.number().default(1)
311
+ });
298
312
  export {
299
313
  common_exports as CommonOnboarding,
300
314
  safari_exports as SafariOnboarding
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tripsam/onboarding",
3
- "version": "1.0.44",
3
+ "version": "1.0.45",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",