@tripsam/onboarding 1.0.76 → 1.0.78

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.
@@ -108,7 +108,8 @@ var autocompleteResponse = import_zod3.default.array(locationDetails);
108
108
  // src/common/document.ts
109
109
  var document_exports = {};
110
110
  __export(document_exports, {
111
- SafariDocuments: () => SafariDocuments
111
+ SafariDocuments: () => SafariDocuments,
112
+ get: () => get
112
113
  });
113
114
  var import_zod4 = __toESM(require("zod"), 1);
114
115
  var SafariDocuments = import_zod4.default.enum(
@@ -121,6 +122,11 @@ var SafariDocuments = import_zod4.default.enum(
121
122
  "pan_card"
122
123
  ]
123
124
  );
125
+ var get = import_zod4.default.object({
126
+ id: import_zod4.default.string(),
127
+ type: SafariDocuments,
128
+ url: import_zod4.default.string()
129
+ });
124
130
  // Annotate the CommonJS export names for ESM import in node:
125
131
  0 && (module.exports = {
126
132
  DocumentType,
@@ -1,2 +1,2 @@
1
- export { d as DocumentType, l as LocationAutoSuggest, o as Onboard, v as VerifyEmail } from '../index-B-IQiM4C.cjs';
1
+ export { d as DocumentType, l as LocationAutoSuggest, o as Onboard, v as VerifyEmail } from '../index-Jx3GSscX.cjs';
2
2
  import 'zod';
@@ -1,2 +1,2 @@
1
- export { d as DocumentType, l as LocationAutoSuggest, o as Onboard, v as VerifyEmail } from '../index-B-IQiM4C.js';
1
+ export { d as DocumentType, l as LocationAutoSuggest, o as Onboard, v as VerifyEmail } from '../index-Jx3GSscX.js';
2
2
  import 'zod';
@@ -75,7 +75,8 @@ var autocompleteResponse = z3.array(locationDetails);
75
75
  // src/common/document.ts
76
76
  var document_exports = {};
77
77
  __export(document_exports, {
78
- SafariDocuments: () => SafariDocuments
78
+ SafariDocuments: () => SafariDocuments,
79
+ get: () => get
79
80
  });
80
81
  import z4 from "zod";
81
82
  var SafariDocuments = z4.enum(
@@ -88,6 +89,11 @@ var SafariDocuments = z4.enum(
88
89
  "pan_card"
89
90
  ]
90
91
  );
92
+ var get = z4.object({
93
+ id: z4.string(),
94
+ type: SafariDocuments,
95
+ url: z4.string()
96
+ });
91
97
  export {
92
98
  document_exports as DocumentType,
93
99
  location_exports as LocationAutoSuggest,
@@ -272,7 +272,7 @@ declare namespace vehicleDetails {
272
272
  declare const languageKnownEnum: z.ZodEnum<{
273
273
  english: "english";
274
274
  hindi: "hindi";
275
- gujurati: "gujurati";
275
+ gujarati: "gujarati";
276
276
  marathi: "marathi";
277
277
  }>;
278
278
  declare const get$2: z.ZodObject<{
@@ -283,7 +283,7 @@ declare const get$2: z.ZodObject<{
283
283
  languagesKnown: z.ZodArray<z.ZodEnum<{
284
284
  english: "english";
285
285
  hindi: "hindi";
286
- gujurati: "gujurati";
286
+ gujarati: "gujarati";
287
287
  marathi: "marathi";
288
288
  }>>;
289
289
  }, z.core.$strip>;
@@ -294,7 +294,7 @@ declare const save$1: z.ZodObject<{
294
294
  languagesKnown: z.ZodArray<z.ZodEnum<{
295
295
  english: "english";
296
296
  hindi: "hindi";
297
- gujurati: "gujurati";
297
+ gujarati: "gujarati";
298
298
  marathi: "marathi";
299
299
  }>>;
300
300
  }, z.core.$strip>;
@@ -306,7 +306,7 @@ declare const getList: z.ZodArray<z.ZodObject<{
306
306
  languagesKnown: z.ZodArray<z.ZodEnum<{
307
307
  english: "english";
308
308
  hindi: "hindi";
309
- gujurati: "gujurati";
309
+ gujarati: "gujarati";
310
310
  marathi: "marathi";
311
311
  }>>;
312
312
  }, z.core.$strip>>;
@@ -272,7 +272,7 @@ declare namespace vehicleDetails {
272
272
  declare const languageKnownEnum: z.ZodEnum<{
273
273
  english: "english";
274
274
  hindi: "hindi";
275
- gujurati: "gujurati";
275
+ gujarati: "gujarati";
276
276
  marathi: "marathi";
277
277
  }>;
278
278
  declare const get$2: z.ZodObject<{
@@ -283,7 +283,7 @@ declare const get$2: z.ZodObject<{
283
283
  languagesKnown: z.ZodArray<z.ZodEnum<{
284
284
  english: "english";
285
285
  hindi: "hindi";
286
- gujurati: "gujurati";
286
+ gujarati: "gujarati";
287
287
  marathi: "marathi";
288
288
  }>>;
289
289
  }, z.core.$strip>;
@@ -294,7 +294,7 @@ declare const save$1: z.ZodObject<{
294
294
  languagesKnown: z.ZodArray<z.ZodEnum<{
295
295
  english: "english";
296
296
  hindi: "hindi";
297
- gujurati: "gujurati";
297
+ gujarati: "gujarati";
298
298
  marathi: "marathi";
299
299
  }>>;
300
300
  }, z.core.$strip>;
@@ -306,7 +306,7 @@ declare const getList: z.ZodArray<z.ZodObject<{
306
306
  languagesKnown: z.ZodArray<z.ZodEnum<{
307
307
  english: "english";
308
308
  hindi: "hindi";
309
- gujurati: "gujurati";
309
+ gujarati: "gujarati";
310
310
  marathi: "marathi";
311
311
  }>>;
312
312
  }, z.core.$strip>>;
@@ -113,11 +113,26 @@ declare const SafariDocuments: z$1.ZodEnum<{
113
113
  pan_card: "pan_card";
114
114
  }>;
115
115
  type SafeSafariDocuments = z$1.infer<typeof SafariDocuments>;
116
+ declare const get: z$1.ZodObject<{
117
+ id: z$1.ZodString;
118
+ type: z$1.ZodEnum<{
119
+ aadhaar_front: "aadhaar_front";
120
+ aadhaar_back: "aadhaar_back";
121
+ driving_license_front: "driving_license_front";
122
+ driving_license_back: "driving_license_back";
123
+ vehicle_rc: "vehicle_rc";
124
+ pan_card: "pan_card";
125
+ }>;
126
+ url: z$1.ZodString;
127
+ }, z$1.core.$strip>;
128
+ type SafeGet = z$1.infer<typeof get>;
116
129
 
117
130
  declare const document_SafariDocuments: typeof SafariDocuments;
131
+ type document_SafeGet = SafeGet;
118
132
  type document_SafeSafariDocuments = SafeSafariDocuments;
133
+ declare const document_get: typeof get;
119
134
  declare namespace document {
120
- export { document_SafariDocuments as SafariDocuments, type document_SafeSafariDocuments as SafeSafariDocuments };
135
+ export { document_SafariDocuments as SafariDocuments, type document_SafeGet as SafeGet, type document_SafeSafariDocuments as SafeSafariDocuments, document_get as get };
121
136
  }
122
137
 
123
138
  declare namespace index {
@@ -113,11 +113,26 @@ declare const SafariDocuments: z$1.ZodEnum<{
113
113
  pan_card: "pan_card";
114
114
  }>;
115
115
  type SafeSafariDocuments = z$1.infer<typeof SafariDocuments>;
116
+ declare const get: z$1.ZodObject<{
117
+ id: z$1.ZodString;
118
+ type: z$1.ZodEnum<{
119
+ aadhaar_front: "aadhaar_front";
120
+ aadhaar_back: "aadhaar_back";
121
+ driving_license_front: "driving_license_front";
122
+ driving_license_back: "driving_license_back";
123
+ vehicle_rc: "vehicle_rc";
124
+ pan_card: "pan_card";
125
+ }>;
126
+ url: z$1.ZodString;
127
+ }, z$1.core.$strip>;
128
+ type SafeGet = z$1.infer<typeof get>;
116
129
 
117
130
  declare const document_SafariDocuments: typeof SafariDocuments;
131
+ type document_SafeGet = SafeGet;
118
132
  type document_SafeSafariDocuments = SafeSafariDocuments;
133
+ declare const document_get: typeof get;
119
134
  declare namespace document {
120
- export { document_SafariDocuments as SafariDocuments, type document_SafeSafariDocuments as SafeSafariDocuments };
135
+ export { document_SafariDocuments as SafariDocuments, type document_SafeGet as SafeGet, type document_SafeSafariDocuments as SafeSafariDocuments, document_get as get };
121
136
  }
122
137
 
123
138
  declare namespace index {
package/dist/index.cjs CHANGED
@@ -286,7 +286,7 @@ __export(driver_details_exports, {
286
286
  save: () => save2
287
287
  });
288
288
  var import_zod7 = require("zod");
289
- var languageKnownEnum = import_zod7.z.enum(["english", "hindi", "gujurati", "marathi"]);
289
+ var languageKnownEnum = import_zod7.z.enum(["english", "hindi", "gujarati", "marathi"]);
290
290
  var get6 = import_zod7.z.object({
291
291
  id: import_zod7.z.string(),
292
292
  driverName: import_zod7.z.string().trim(),
@@ -436,7 +436,8 @@ var onboard = import_zod13.z.object({
436
436
  // src/common/document.ts
437
437
  var document_exports = {};
438
438
  __export(document_exports, {
439
- SafariDocuments: () => SafariDocuments
439
+ SafariDocuments: () => SafariDocuments,
440
+ get: () => get9
440
441
  });
441
442
  var import_zod14 = __toESM(require("zod"), 1);
442
443
  var SafariDocuments = import_zod14.default.enum(
@@ -449,6 +450,11 @@ var SafariDocuments = import_zod14.default.enum(
449
450
  "pan_card"
450
451
  ]
451
452
  );
453
+ var get9 = import_zod14.default.object({
454
+ id: import_zod14.default.string(),
455
+ type: SafariDocuments,
456
+ url: import_zod14.default.string()
457
+ });
452
458
  // Annotate the CommonJS export names for ESM import in node:
453
459
  0 && (module.exports = {
454
460
  CommonOnboarding,
package/dist/index.d.cts CHANGED
@@ -1,3 +1,3 @@
1
- export { i as SafariOnboarding } from './index-D3emHNio.cjs';
2
- export { i as CommonOnboarding } from './index-B-IQiM4C.cjs';
1
+ export { i as SafariOnboarding } from './index-Bs4807wa.cjs';
2
+ export { i as CommonOnboarding } from './index-Jx3GSscX.cjs';
3
3
  import 'zod';
package/dist/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- export { i as SafariOnboarding } from './index-D3emHNio.js';
2
- export { i as CommonOnboarding } from './index-B-IQiM4C.js';
1
+ export { i as SafariOnboarding } from './index-Bs4807wa.js';
2
+ export { i as CommonOnboarding } from './index-Jx3GSscX.js';
3
3
  import 'zod';
package/dist/index.js CHANGED
@@ -255,7 +255,7 @@ __export(driver_details_exports, {
255
255
  save: () => save2
256
256
  });
257
257
  import { z as z7 } from "zod";
258
- var languageKnownEnum = z7.enum(["english", "hindi", "gujurati", "marathi"]);
258
+ var languageKnownEnum = z7.enum(["english", "hindi", "gujarati", "marathi"]);
259
259
  var get6 = z7.object({
260
260
  id: z7.string(),
261
261
  driverName: z7.string().trim(),
@@ -405,7 +405,8 @@ var onboard = z13.object({
405
405
  // src/common/document.ts
406
406
  var document_exports = {};
407
407
  __export(document_exports, {
408
- SafariDocuments: () => SafariDocuments
408
+ SafariDocuments: () => SafariDocuments,
409
+ get: () => get9
409
410
  });
410
411
  import z14 from "zod";
411
412
  var SafariDocuments = z14.enum(
@@ -418,6 +419,11 @@ var SafariDocuments = z14.enum(
418
419
  "pan_card"
419
420
  ]
420
421
  );
422
+ var get9 = z14.object({
423
+ id: z14.string(),
424
+ type: SafariDocuments,
425
+ url: z14.string()
426
+ });
421
427
  export {
422
428
  common_exports as CommonOnboarding,
423
429
  safari_exports as SafariOnboarding
@@ -273,7 +273,7 @@ __export(driver_details_exports, {
273
273
  save: () => save2
274
274
  });
275
275
  var import_zod7 = require("zod");
276
- var languageKnownEnum = import_zod7.z.enum(["english", "hindi", "gujurati", "marathi"]);
276
+ var languageKnownEnum = import_zod7.z.enum(["english", "hindi", "gujarati", "marathi"]);
277
277
  var get6 = import_zod7.z.object({
278
278
  id: import_zod7.z.string(),
279
279
  driverName: import_zod7.z.string().trim(),
@@ -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-D3emHNio.cjs';
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-Bs4807wa.cjs';
2
2
  import 'zod';
@@ -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-D3emHNio.js';
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-Bs4807wa.js';
2
2
  import 'zod';
@@ -234,7 +234,7 @@ __export(driver_details_exports, {
234
234
  save: () => save2
235
235
  });
236
236
  import { z as z7 } from "zod";
237
- var languageKnownEnum = z7.enum(["english", "hindi", "gujurati", "marathi"]);
237
+ var languageKnownEnum = z7.enum(["english", "hindi", "gujarati", "marathi"]);
238
238
  var get6 = z7.object({
239
239
  id: z7.string(),
240
240
  driverName: z7.string().trim(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tripsam/onboarding",
3
- "version": "1.0.76",
3
+ "version": "1.0.78",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",