@tripsam/main 2.0.15 → 2.0.16
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/index.cjs +9 -1
- package/dist/index.d.cts +12 -1
- package/dist/index.d.ts +12 -1
- package/dist/index.js +9 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -239,6 +239,7 @@ var safariDetails = import_zod6.default.object({
|
|
|
239
239
|
var safariBooking_exports = {};
|
|
240
240
|
__export(safariBooking_exports, {
|
|
241
241
|
createBooking: () => createBooking,
|
|
242
|
+
paymentType: () => paymentType,
|
|
242
243
|
safariType: () => safariType
|
|
243
244
|
});
|
|
244
245
|
var import_zod7 = __toESM(require("zod"), 1);
|
|
@@ -250,6 +251,10 @@ var safariType = import_zod7.default.enum([
|
|
|
250
251
|
"JUNGLE_SAFARI",
|
|
251
252
|
"VILLAGE_SAFARI"
|
|
252
253
|
]);
|
|
254
|
+
var paymentType = import_zod7.default.enum([
|
|
255
|
+
"FULL_PAYMENT",
|
|
256
|
+
"PAY_TO_VENDOR"
|
|
257
|
+
]);
|
|
253
258
|
var createBooking = import_zod7.default.object({
|
|
254
259
|
safariId: import_zod7.default.string().min(1),
|
|
255
260
|
slotId: import_zod7.default.string().min(1),
|
|
@@ -261,7 +266,10 @@ var createBooking = import_zod7.default.object({
|
|
|
261
266
|
discount: import_zod7.default.coerce.number().int().min(0).default(0),
|
|
262
267
|
finalPrice: import_zod7.default.coerce.number().int().min(0),
|
|
263
268
|
commission: import_zod7.default.coerce.number().int().min(0),
|
|
264
|
-
safariType: safariType.default("LEOPARD_SAFARI")
|
|
269
|
+
safariType: safariType.default("LEOPARD_SAFARI"),
|
|
270
|
+
paymentType: paymentType.default("FULL_PAYMENT"),
|
|
271
|
+
postPaymentCharge: import_zod7.default.coerce.number().int().min(0).default(0),
|
|
272
|
+
paytoVendorAmount: import_zod7.default.coerce.number().int().min(0).default(0)
|
|
265
273
|
});
|
|
266
274
|
// Annotate the CommonJS export names for ESM import in node:
|
|
267
275
|
0 && (module.exports = {
|
package/dist/index.d.cts
CHANGED
|
@@ -295,6 +295,10 @@ declare const safariType: z$1.ZodEnum<{
|
|
|
295
295
|
JUNGLE_SAFARI: "JUNGLE_SAFARI";
|
|
296
296
|
VILLAGE_SAFARI: "VILLAGE_SAFARI";
|
|
297
297
|
}>;
|
|
298
|
+
declare const paymentType: z$1.ZodEnum<{
|
|
299
|
+
FULL_PAYMENT: "FULL_PAYMENT";
|
|
300
|
+
PAY_TO_VENDOR: "PAY_TO_VENDOR";
|
|
301
|
+
}>;
|
|
298
302
|
declare const createBooking: z$1.ZodObject<{
|
|
299
303
|
safariId: z$1.ZodString;
|
|
300
304
|
slotId: z$1.ZodString;
|
|
@@ -314,14 +318,21 @@ declare const createBooking: z$1.ZodObject<{
|
|
|
314
318
|
JUNGLE_SAFARI: "JUNGLE_SAFARI";
|
|
315
319
|
VILLAGE_SAFARI: "VILLAGE_SAFARI";
|
|
316
320
|
}>>;
|
|
321
|
+
paymentType: z$1.ZodDefault<z$1.ZodEnum<{
|
|
322
|
+
FULL_PAYMENT: "FULL_PAYMENT";
|
|
323
|
+
PAY_TO_VENDOR: "PAY_TO_VENDOR";
|
|
324
|
+
}>>;
|
|
325
|
+
postPaymentCharge: z$1.ZodDefault<z$1.ZodCoercedNumber<unknown>>;
|
|
326
|
+
paytoVendorAmount: z$1.ZodDefault<z$1.ZodCoercedNumber<unknown>>;
|
|
317
327
|
}, z$1.core.$strip>;
|
|
318
328
|
type SafeCreateBooking = z$1.output<typeof createBooking>;
|
|
319
329
|
|
|
320
330
|
type safariBooking_SafeCreateBooking = SafeCreateBooking;
|
|
321
331
|
declare const safariBooking_createBooking: typeof createBooking;
|
|
332
|
+
declare const safariBooking_paymentType: typeof paymentType;
|
|
322
333
|
declare const safariBooking_safariType: typeof safariType;
|
|
323
334
|
declare namespace safariBooking {
|
|
324
|
-
export { type safariBooking_SafeCreateBooking as SafeCreateBooking, safariBooking_createBooking as createBooking, safariBooking_safariType as safariType };
|
|
335
|
+
export { type safariBooking_SafeCreateBooking as SafeCreateBooking, safariBooking_createBooking as createBooking, safariBooking_paymentType as paymentType, safariBooking_safariType as safariType };
|
|
325
336
|
}
|
|
326
337
|
|
|
327
338
|
export { auth as Auth, location$2 as Location, resetPassword as ResetPassword, safari as Safari, safariBooking as SafariBooking, signup as Signup, user as User };
|
package/dist/index.d.ts
CHANGED
|
@@ -295,6 +295,10 @@ declare const safariType: z$1.ZodEnum<{
|
|
|
295
295
|
JUNGLE_SAFARI: "JUNGLE_SAFARI";
|
|
296
296
|
VILLAGE_SAFARI: "VILLAGE_SAFARI";
|
|
297
297
|
}>;
|
|
298
|
+
declare const paymentType: z$1.ZodEnum<{
|
|
299
|
+
FULL_PAYMENT: "FULL_PAYMENT";
|
|
300
|
+
PAY_TO_VENDOR: "PAY_TO_VENDOR";
|
|
301
|
+
}>;
|
|
298
302
|
declare const createBooking: z$1.ZodObject<{
|
|
299
303
|
safariId: z$1.ZodString;
|
|
300
304
|
slotId: z$1.ZodString;
|
|
@@ -314,14 +318,21 @@ declare const createBooking: z$1.ZodObject<{
|
|
|
314
318
|
JUNGLE_SAFARI: "JUNGLE_SAFARI";
|
|
315
319
|
VILLAGE_SAFARI: "VILLAGE_SAFARI";
|
|
316
320
|
}>>;
|
|
321
|
+
paymentType: z$1.ZodDefault<z$1.ZodEnum<{
|
|
322
|
+
FULL_PAYMENT: "FULL_PAYMENT";
|
|
323
|
+
PAY_TO_VENDOR: "PAY_TO_VENDOR";
|
|
324
|
+
}>>;
|
|
325
|
+
postPaymentCharge: z$1.ZodDefault<z$1.ZodCoercedNumber<unknown>>;
|
|
326
|
+
paytoVendorAmount: z$1.ZodDefault<z$1.ZodCoercedNumber<unknown>>;
|
|
317
327
|
}, z$1.core.$strip>;
|
|
318
328
|
type SafeCreateBooking = z$1.output<typeof createBooking>;
|
|
319
329
|
|
|
320
330
|
type safariBooking_SafeCreateBooking = SafeCreateBooking;
|
|
321
331
|
declare const safariBooking_createBooking: typeof createBooking;
|
|
332
|
+
declare const safariBooking_paymentType: typeof paymentType;
|
|
322
333
|
declare const safariBooking_safariType: typeof safariType;
|
|
323
334
|
declare namespace safariBooking {
|
|
324
|
-
export { type safariBooking_SafeCreateBooking as SafeCreateBooking, safariBooking_createBooking as createBooking, safariBooking_safariType as safariType };
|
|
335
|
+
export { type safariBooking_SafeCreateBooking as SafeCreateBooking, safariBooking_createBooking as createBooking, safariBooking_paymentType as paymentType, safariBooking_safariType as safariType };
|
|
325
336
|
}
|
|
326
337
|
|
|
327
338
|
export { auth as Auth, location$2 as Location, resetPassword as ResetPassword, safari as Safari, safariBooking as SafariBooking, signup as Signup, user as User };
|
package/dist/index.js
CHANGED
|
@@ -203,6 +203,7 @@ var safariDetails = z6.object({
|
|
|
203
203
|
var safariBooking_exports = {};
|
|
204
204
|
__export(safariBooking_exports, {
|
|
205
205
|
createBooking: () => createBooking,
|
|
206
|
+
paymentType: () => paymentType,
|
|
206
207
|
safariType: () => safariType
|
|
207
208
|
});
|
|
208
209
|
import z7 from "zod";
|
|
@@ -214,6 +215,10 @@ var safariType = z7.enum([
|
|
|
214
215
|
"JUNGLE_SAFARI",
|
|
215
216
|
"VILLAGE_SAFARI"
|
|
216
217
|
]);
|
|
218
|
+
var paymentType = z7.enum([
|
|
219
|
+
"FULL_PAYMENT",
|
|
220
|
+
"PAY_TO_VENDOR"
|
|
221
|
+
]);
|
|
217
222
|
var createBooking = z7.object({
|
|
218
223
|
safariId: z7.string().min(1),
|
|
219
224
|
slotId: z7.string().min(1),
|
|
@@ -225,7 +230,10 @@ var createBooking = z7.object({
|
|
|
225
230
|
discount: z7.coerce.number().int().min(0).default(0),
|
|
226
231
|
finalPrice: z7.coerce.number().int().min(0),
|
|
227
232
|
commission: z7.coerce.number().int().min(0),
|
|
228
|
-
safariType: safariType.default("LEOPARD_SAFARI")
|
|
233
|
+
safariType: safariType.default("LEOPARD_SAFARI"),
|
|
234
|
+
paymentType: paymentType.default("FULL_PAYMENT"),
|
|
235
|
+
postPaymentCharge: z7.coerce.number().int().min(0).default(0),
|
|
236
|
+
paytoVendorAmount: z7.coerce.number().int().min(0).default(0)
|
|
229
237
|
});
|
|
230
238
|
export {
|
|
231
239
|
auth_exports as Auth,
|