@tripsam/onboarding 1.0.95 → 1.0.96

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.
@@ -81,7 +81,8 @@ var onboard = import_zod2.z.object({
81
81
  id: import_zod2.z.string(),
82
82
  status: import_zod2.z.enum(["pending", "in_review", "approved", "rejected", "completed"]),
83
83
  remark: import_zod2.z.string().optional().default(""),
84
- type: safeSas,
84
+ type: safeSas.array().default([]),
85
+ safariName: import_zod2.z.string().trim().nonempty("required"),
85
86
  currentStep: import_zod2.z.string().default("1.0")
86
87
  });
87
88
  var onboardUser = import_zod2.z.object({
@@ -1,2 +1,2 @@
1
- export { d as DocumentType, l as LocationAutoSuggest, o as Onboard, s as Support, v as VerifyEmail } from '../index-D1jB_U2u.cjs';
1
+ export { d as DocumentType, l as LocationAutoSuggest, o as Onboard, s as Support, v as VerifyEmail } from '../index-BJuwZblE.cjs';
2
2
  import 'zod';
@@ -1,2 +1,2 @@
1
- export { d as DocumentType, l as LocationAutoSuggest, o as Onboard, s as Support, v as VerifyEmail } from '../index-D1jB_U2u.js';
1
+ export { d as DocumentType, l as LocationAutoSuggest, o as Onboard, s as Support, v as VerifyEmail } from '../index-BJuwZblE.js';
2
2
  import 'zod';
@@ -47,7 +47,8 @@ var onboard = z2.object({
47
47
  id: z2.string(),
48
48
  status: z2.enum(["pending", "in_review", "approved", "rejected", "completed"]),
49
49
  remark: z2.string().optional().default(""),
50
- type: safeSas,
50
+ type: safeSas.array().default([]),
51
+ safariName: z2.string().trim().nonempty("required"),
51
52
  currentStep: z2.string().default("1.0")
52
53
  });
53
54
  var onboardUser = z2.object({
@@ -50,14 +50,15 @@ declare const onboard: z.ZodObject<{
50
50
  completed: "completed";
51
51
  }>;
52
52
  remark: z.ZodDefault<z.ZodOptional<z.ZodString>>;
53
- type: z.ZodEnum<{
53
+ type: z.ZodDefault<z.ZodArray<z.ZodEnum<{
54
54
  LEOPARD_SAFARI: "LEOPARD_SAFARI";
55
55
  TIGER_SAFARI: "TIGER_SAFARI";
56
56
  BIRD_WATCHING_SAFARI: "BIRD_WATCHING_SAFARI";
57
57
  VILLAGE_SAFARI: "VILLAGE_SAFARI";
58
58
  LION_SAFARI: "LION_SAFARI";
59
59
  JUNGLE_SAFARI: "JUNGLE_SAFARI";
60
- }>;
60
+ }>>>;
61
+ safariName: z.ZodString;
61
62
  currentStep: z.ZodDefault<z.ZodString>;
62
63
  }, z.core.$strip>;
63
64
  declare const onboardUser: z.ZodObject<{
@@ -83,14 +84,15 @@ declare const list: z.ZodArray<z.ZodObject<{
83
84
  completed: "completed";
84
85
  }>;
85
86
  remark: z.ZodDefault<z.ZodOptional<z.ZodString>>;
86
- type: z.ZodEnum<{
87
+ type: z.ZodDefault<z.ZodArray<z.ZodEnum<{
87
88
  LEOPARD_SAFARI: "LEOPARD_SAFARI";
88
89
  TIGER_SAFARI: "TIGER_SAFARI";
89
90
  BIRD_WATCHING_SAFARI: "BIRD_WATCHING_SAFARI";
90
91
  VILLAGE_SAFARI: "VILLAGE_SAFARI";
91
92
  LION_SAFARI: "LION_SAFARI";
92
93
  JUNGLE_SAFARI: "JUNGLE_SAFARI";
93
- }>;
94
+ }>>>;
95
+ safariName: z.ZodString;
94
96
  currentStep: z.ZodDefault<z.ZodString>;
95
97
  }, z.core.$strip>>;
96
98
  type SafeOnboard = z.output<typeof onboard>;
@@ -50,14 +50,15 @@ declare const onboard: z.ZodObject<{
50
50
  completed: "completed";
51
51
  }>;
52
52
  remark: z.ZodDefault<z.ZodOptional<z.ZodString>>;
53
- type: z.ZodEnum<{
53
+ type: z.ZodDefault<z.ZodArray<z.ZodEnum<{
54
54
  LEOPARD_SAFARI: "LEOPARD_SAFARI";
55
55
  TIGER_SAFARI: "TIGER_SAFARI";
56
56
  BIRD_WATCHING_SAFARI: "BIRD_WATCHING_SAFARI";
57
57
  VILLAGE_SAFARI: "VILLAGE_SAFARI";
58
58
  LION_SAFARI: "LION_SAFARI";
59
59
  JUNGLE_SAFARI: "JUNGLE_SAFARI";
60
- }>;
60
+ }>>>;
61
+ safariName: z.ZodString;
61
62
  currentStep: z.ZodDefault<z.ZodString>;
62
63
  }, z.core.$strip>;
63
64
  declare const onboardUser: z.ZodObject<{
@@ -83,14 +84,15 @@ declare const list: z.ZodArray<z.ZodObject<{
83
84
  completed: "completed";
84
85
  }>;
85
86
  remark: z.ZodDefault<z.ZodOptional<z.ZodString>>;
86
- type: z.ZodEnum<{
87
+ type: z.ZodDefault<z.ZodArray<z.ZodEnum<{
87
88
  LEOPARD_SAFARI: "LEOPARD_SAFARI";
88
89
  TIGER_SAFARI: "TIGER_SAFARI";
89
90
  BIRD_WATCHING_SAFARI: "BIRD_WATCHING_SAFARI";
90
91
  VILLAGE_SAFARI: "VILLAGE_SAFARI";
91
92
  LION_SAFARI: "LION_SAFARI";
92
93
  JUNGLE_SAFARI: "JUNGLE_SAFARI";
93
- }>;
94
+ }>>>;
95
+ safariName: z.ZodString;
94
96
  currentStep: z.ZodDefault<z.ZodString>;
95
97
  }, z.core.$strip>>;
96
98
  type SafeOnboard = z.output<typeof onboard>;
package/dist/index.cjs CHANGED
@@ -458,7 +458,8 @@ var onboard = import_zod13.z.object({
458
458
  id: import_zod13.z.string(),
459
459
  status: import_zod13.z.enum(["pending", "in_review", "approved", "rejected", "completed"]),
460
460
  remark: import_zod13.z.string().optional().default(""),
461
- type: safeSas2,
461
+ type: safeSas2.array().default([]),
462
+ safariName: import_zod13.z.string().trim().nonempty("required"),
462
463
  currentStep: import_zod13.z.string().default("1.0")
463
464
  });
464
465
  var onboardUser = import_zod13.z.object({
package/dist/index.d.cts CHANGED
@@ -1,3 +1,3 @@
1
1
  export { i as SafariOnboarding } from './index-DqgzmWv0.cjs';
2
- export { i as CommonOnboarding } from './index-D1jB_U2u.cjs';
2
+ export { i as CommonOnboarding } from './index-BJuwZblE.cjs';
3
3
  import 'zod';
package/dist/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  export { i as SafariOnboarding } from './index-DqgzmWv0.js';
2
- export { i as CommonOnboarding } from './index-D1jB_U2u.js';
2
+ export { i as CommonOnboarding } from './index-BJuwZblE.js';
3
3
  import 'zod';
package/dist/index.js CHANGED
@@ -427,7 +427,8 @@ var onboard = z13.object({
427
427
  id: z13.string(),
428
428
  status: z13.enum(["pending", "in_review", "approved", "rejected", "completed"]),
429
429
  remark: z13.string().optional().default(""),
430
- type: safeSas2,
430
+ type: safeSas2.array().default([]),
431
+ safariName: z13.string().trim().nonempty("required"),
431
432
  currentStep: z13.string().default("1.0")
432
433
  });
433
434
  var onboardUser = z13.object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tripsam/onboarding",
3
- "version": "1.0.95",
3
+ "version": "1.0.96",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",