@reservamos/browser-analytics 0.3.1-alpha.2 → 0.3.1-alpha.3
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/browser-analytics.cjs +1 -1
- package/dist/browser-analytics.cjs.map +1 -1
- package/dist/browser-analytics.d.ts +16 -16
- package/dist/browser-analytics.esm.js +1 -1
- package/dist/browser-analytics.esm.js.map +1 -1
- package/dist/browser-analytics.iife.js +1 -1
- package/dist/browser-analytics.iife.js.map +1 -1
- package/package.json +1 -1
- package/src/events/sharedSchemas/passengerSchema.ts +2 -2
|
@@ -120,11 +120,11 @@ declare const passengersCreatedSchema: z.ZodObject<{
|
|
|
120
120
|
Passengers: z.ZodOptional<z.ZodArray<z.ZodType<{
|
|
121
121
|
"Passenger Name": string;
|
|
122
122
|
"Passenger Document Type": string;
|
|
123
|
-
"Passenger Document Id":
|
|
123
|
+
"Passenger Document Id": string;
|
|
124
124
|
}, z.ZodTypeDef, {
|
|
125
125
|
"Passenger Name": string;
|
|
126
126
|
"Passenger Document Type": string;
|
|
127
|
-
"Passenger Document Id":
|
|
127
|
+
"Passenger Document Id": string;
|
|
128
128
|
}>, "many">>;
|
|
129
129
|
}, "strict", z.ZodTypeAny, {
|
|
130
130
|
product: "web" | "web-mobile" | "ios" | "android" | "app";
|
|
@@ -162,7 +162,7 @@ declare const passengersCreatedSchema: z.ZodObject<{
|
|
|
162
162
|
Passengers?: {
|
|
163
163
|
"Passenger Name": string;
|
|
164
164
|
"Passenger Document Type": string;
|
|
165
|
-
"Passenger Document Id":
|
|
165
|
+
"Passenger Document Id": string;
|
|
166
166
|
}[] | undefined;
|
|
167
167
|
}, {
|
|
168
168
|
product: "web" | "web-mobile" | "ios" | "android" | "app";
|
|
@@ -200,7 +200,7 @@ declare const passengersCreatedSchema: z.ZodObject<{
|
|
|
200
200
|
Passengers?: {
|
|
201
201
|
"Passenger Name": string;
|
|
202
202
|
"Passenger Document Type": string;
|
|
203
|
-
"Passenger Document Id":
|
|
203
|
+
"Passenger Document Id": string;
|
|
204
204
|
}[] | undefined;
|
|
205
205
|
}>;
|
|
206
206
|
export type PassengersCreatedProps = z.infer<typeof passengersCreatedSchema>;
|
|
@@ -276,11 +276,11 @@ declare const paymentAttemptSchema: z.ZodObject<{
|
|
|
276
276
|
Passengers: z.ZodOptional<z.ZodArray<z.ZodType<{
|
|
277
277
|
"Passenger Name": string;
|
|
278
278
|
"Passenger Document Type": string;
|
|
279
|
-
"Passenger Document Id":
|
|
279
|
+
"Passenger Document Id": string;
|
|
280
280
|
}, z.ZodTypeDef, {
|
|
281
281
|
"Passenger Name": string;
|
|
282
282
|
"Passenger Document Type": string;
|
|
283
|
-
"Passenger Document Id":
|
|
283
|
+
"Passenger Document Id": string;
|
|
284
284
|
}>, "many">>;
|
|
285
285
|
}, "strict", z.ZodTypeAny, {
|
|
286
286
|
product: "web" | "web-mobile" | "ios" | "android" | "app";
|
|
@@ -319,7 +319,7 @@ declare const paymentAttemptSchema: z.ZodObject<{
|
|
|
319
319
|
Passengers?: {
|
|
320
320
|
"Passenger Name": string;
|
|
321
321
|
"Passenger Document Type": string;
|
|
322
|
-
"Passenger Document Id":
|
|
322
|
+
"Passenger Document Id": string;
|
|
323
323
|
}[] | undefined;
|
|
324
324
|
"Operation Id"?: string | undefined;
|
|
325
325
|
}, {
|
|
@@ -359,7 +359,7 @@ declare const paymentAttemptSchema: z.ZodObject<{
|
|
|
359
359
|
Passengers?: {
|
|
360
360
|
"Passenger Name": string;
|
|
361
361
|
"Passenger Document Type": string;
|
|
362
|
-
"Passenger Document Id":
|
|
362
|
+
"Passenger Document Id": string;
|
|
363
363
|
}[] | undefined;
|
|
364
364
|
"Operation Id"?: string | undefined;
|
|
365
365
|
}>;
|
|
@@ -494,11 +494,11 @@ declare const purchaseAttemptSchema: z.ZodObject<{
|
|
|
494
494
|
Passengers: z.ZodOptional<z.ZodArray<z.ZodType<{
|
|
495
495
|
"Passenger Name": string;
|
|
496
496
|
"Passenger Document Type": string;
|
|
497
|
-
"Passenger Document Id":
|
|
497
|
+
"Passenger Document Id": string;
|
|
498
498
|
}, z.ZodTypeDef, {
|
|
499
499
|
"Passenger Name": string;
|
|
500
500
|
"Passenger Document Type": string;
|
|
501
|
-
"Passenger Document Id":
|
|
501
|
+
"Passenger Document Id": string;
|
|
502
502
|
}>, "many">>;
|
|
503
503
|
}, "strict", z.ZodTypeAny, {
|
|
504
504
|
product: "web" | "web-mobile" | "ios" | "android" | "app";
|
|
@@ -536,7 +536,7 @@ declare const purchaseAttemptSchema: z.ZodObject<{
|
|
|
536
536
|
Passengers?: {
|
|
537
537
|
"Passenger Name": string;
|
|
538
538
|
"Passenger Document Type": string;
|
|
539
|
-
"Passenger Document Id":
|
|
539
|
+
"Passenger Document Id": string;
|
|
540
540
|
}[] | undefined;
|
|
541
541
|
"Operation Id"?: string | undefined;
|
|
542
542
|
}, {
|
|
@@ -575,7 +575,7 @@ declare const purchaseAttemptSchema: z.ZodObject<{
|
|
|
575
575
|
Passengers?: {
|
|
576
576
|
"Passenger Name": string;
|
|
577
577
|
"Passenger Document Type": string;
|
|
578
|
-
"Passenger Document Id":
|
|
578
|
+
"Passenger Document Id": string;
|
|
579
579
|
}[] | undefined;
|
|
580
580
|
"Operation Id"?: string | undefined;
|
|
581
581
|
}>;
|
|
@@ -651,11 +651,11 @@ declare const purchaseCanceledSchema: z.ZodObject<{
|
|
|
651
651
|
Passengers: z.ZodOptional<z.ZodArray<z.ZodType<{
|
|
652
652
|
"Passenger Name": string;
|
|
653
653
|
"Passenger Document Type": string;
|
|
654
|
-
"Passenger Document Id":
|
|
654
|
+
"Passenger Document Id": string;
|
|
655
655
|
}, z.ZodTypeDef, {
|
|
656
656
|
"Passenger Name": string;
|
|
657
657
|
"Passenger Document Type": string;
|
|
658
|
-
"Passenger Document Id":
|
|
658
|
+
"Passenger Document Id": string;
|
|
659
659
|
}>, "many">>;
|
|
660
660
|
}, "strip", z.ZodTypeAny, {
|
|
661
661
|
product: "web" | "web-mobile" | "ios" | "android" | "app";
|
|
@@ -694,7 +694,7 @@ declare const purchaseCanceledSchema: z.ZodObject<{
|
|
|
694
694
|
Passengers?: {
|
|
695
695
|
"Passenger Name": string;
|
|
696
696
|
"Passenger Document Type": string;
|
|
697
|
-
"Passenger Document Id":
|
|
697
|
+
"Passenger Document Id": string;
|
|
698
698
|
}[] | undefined;
|
|
699
699
|
}, {
|
|
700
700
|
product: "web" | "web-mobile" | "ios" | "android" | "app";
|
|
@@ -733,7 +733,7 @@ declare const purchaseCanceledSchema: z.ZodObject<{
|
|
|
733
733
|
Passengers?: {
|
|
734
734
|
"Passenger Name": string;
|
|
735
735
|
"Passenger Document Type": string;
|
|
736
|
-
"Passenger Document Id":
|
|
736
|
+
"Passenger Document Id": string;
|
|
737
737
|
}[] | undefined;
|
|
738
738
|
}>;
|
|
739
739
|
export type PurchaseCanceledProps = z.infer<typeof purchaseCanceledSchema>;
|
|
@@ -13127,7 +13127,7 @@ const arrayField = (schema, fieldName, minLength) => {
|
|
|
13127
13127
|
const passengerSchema = z.object({
|
|
13128
13128
|
"Passenger Name": stringField("Passenger Name"),
|
|
13129
13129
|
"Passenger Document Type": stringField("Document Type"),
|
|
13130
|
-
"Passenger Document Id":
|
|
13130
|
+
"Passenger Document Id": stringField("Document ID")
|
|
13131
13131
|
}).strict();
|
|
13132
13132
|
const tripSchema = z.object({
|
|
13133
13133
|
"Departure Arrival": dateField("Departure Arrival"),
|