@tmlmobilidade/types 20250526.1908.32 → 20250528.1130.22
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/src/gtfs-validation-summary.d.ts +8 -8
- package/dist/src/gtfs-validation-summary.js +1 -1
- package/dist/src/pcgi/pcgi-apex-sale.d.ts +1 -1
- package/dist/src/simplified-apex/simplified-apex-location.d.ts +21 -64
- package/dist/src/simplified-apex/simplified-apex-location.js +1 -3
- package/dist/src/simplified-apex/simplified-apex-on-board-refund.d.ts +33 -92
- package/dist/src/simplified-apex/simplified-apex-on-board-refund.js +1 -20
- package/dist/src/simplified-apex/simplified-apex-on-board-sale.d.ts +32 -91
- package/dist/src/simplified-apex/simplified-apex-on-board-sale.js +1 -20
- package/dist/src/simplified-apex/simplified-apex-validation.d.ts +32 -95
- package/dist/src/simplified-apex/simplified-apex-validation.js +0 -15
- package/dist/src/validation.d.ts +21 -21
- package/package.json +1 -1
|
@@ -4,7 +4,7 @@ export declare const SeverityLevelSchema: z.ZodEnum<["error", "warning", "info"]
|
|
|
4
4
|
export type SeverityLevel = z.infer<typeof SeverityLevelSchema>;
|
|
5
5
|
export declare const GTFSValidatorMessageSchema: z.ZodObject<{
|
|
6
6
|
field: z.ZodString;
|
|
7
|
-
|
|
7
|
+
file_name: z.ZodString;
|
|
8
8
|
message: z.ZodString;
|
|
9
9
|
rows: z.ZodArray<z.ZodNumber, "many">;
|
|
10
10
|
severity: z.ZodEnum<["error", "warning", "info"]>;
|
|
@@ -12,14 +12,14 @@ export declare const GTFSValidatorMessageSchema: z.ZodObject<{
|
|
|
12
12
|
}, "strip", z.ZodTypeAny, {
|
|
13
13
|
message: string;
|
|
14
14
|
field: string;
|
|
15
|
-
|
|
15
|
+
file_name: string;
|
|
16
16
|
rows: number[];
|
|
17
17
|
severity: "error" | "warning" | "info";
|
|
18
18
|
validation_id: string;
|
|
19
19
|
}, {
|
|
20
20
|
message: string;
|
|
21
21
|
field: string;
|
|
22
|
-
|
|
22
|
+
file_name: string;
|
|
23
23
|
rows: number[];
|
|
24
24
|
severity: "error" | "warning" | "info";
|
|
25
25
|
validation_id: string;
|
|
@@ -27,7 +27,7 @@ export declare const GTFSValidatorMessageSchema: z.ZodObject<{
|
|
|
27
27
|
export declare const GTFSValidatorSummarySchema: z.ZodObject<{
|
|
28
28
|
messages: z.ZodArray<z.ZodObject<{
|
|
29
29
|
field: z.ZodString;
|
|
30
|
-
|
|
30
|
+
file_name: z.ZodString;
|
|
31
31
|
message: z.ZodString;
|
|
32
32
|
rows: z.ZodArray<z.ZodNumber, "many">;
|
|
33
33
|
severity: z.ZodEnum<["error", "warning", "info"]>;
|
|
@@ -35,14 +35,14 @@ export declare const GTFSValidatorSummarySchema: z.ZodObject<{
|
|
|
35
35
|
}, "strip", z.ZodTypeAny, {
|
|
36
36
|
message: string;
|
|
37
37
|
field: string;
|
|
38
|
-
|
|
38
|
+
file_name: string;
|
|
39
39
|
rows: number[];
|
|
40
40
|
severity: "error" | "warning" | "info";
|
|
41
41
|
validation_id: string;
|
|
42
42
|
}, {
|
|
43
43
|
message: string;
|
|
44
44
|
field: string;
|
|
45
|
-
|
|
45
|
+
file_name: string;
|
|
46
46
|
rows: number[];
|
|
47
47
|
severity: "error" | "warning" | "info";
|
|
48
48
|
validation_id: string;
|
|
@@ -54,7 +54,7 @@ export declare const GTFSValidatorSummarySchema: z.ZodObject<{
|
|
|
54
54
|
messages: {
|
|
55
55
|
message: string;
|
|
56
56
|
field: string;
|
|
57
|
-
|
|
57
|
+
file_name: string;
|
|
58
58
|
rows: number[];
|
|
59
59
|
severity: "error" | "warning" | "info";
|
|
60
60
|
validation_id: string;
|
|
@@ -66,7 +66,7 @@ export declare const GTFSValidatorSummarySchema: z.ZodObject<{
|
|
|
66
66
|
messages: {
|
|
67
67
|
message: string;
|
|
68
68
|
field: string;
|
|
69
|
-
|
|
69
|
+
file_name: string;
|
|
70
70
|
rows: number[];
|
|
71
71
|
severity: "error" | "warning" | "info";
|
|
72
72
|
validation_id: string;
|
|
@@ -5,7 +5,7 @@ export const SEVERITY_LEVELS = ['error', 'warning', 'info'];
|
|
|
5
5
|
export const SeverityLevelSchema = z.enum(SEVERITY_LEVELS);
|
|
6
6
|
export const GTFSValidatorMessageSchema = z.object({
|
|
7
7
|
field: z.string(),
|
|
8
|
-
|
|
8
|
+
file_name: z.string(),
|
|
9
9
|
message: z.string(),
|
|
10
10
|
rows: z.array(z.number()),
|
|
11
11
|
severity: SeverityLevelSchema,
|
|
@@ -1,64 +1,4 @@
|
|
|
1
1
|
import { type UnixTimestamp } from '../common/unix-timestamp.js';
|
|
2
|
-
import { z } from 'zod';
|
|
3
|
-
export declare const SimplifiedApexLocationSchema: z.ZodObject<{
|
|
4
|
-
_id: z.ZodString;
|
|
5
|
-
created_at: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodEffects<z.ZodNumber, UnixTimestamp, number>, "UnixTimestamp">>>;
|
|
6
|
-
updated_at: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodEffects<z.ZodNumber, UnixTimestamp, number>, "UnixTimestamp">>>;
|
|
7
|
-
} & {
|
|
8
|
-
agency_id: z.ZodString;
|
|
9
|
-
apex_transaction_type: z.ZodNumber;
|
|
10
|
-
apex_version: z.ZodString;
|
|
11
|
-
device_id: z.ZodString;
|
|
12
|
-
is_valid: z.ZodBoolean;
|
|
13
|
-
line_id: z.ZodString;
|
|
14
|
-
mac_ase_counter_value: z.ZodNumber;
|
|
15
|
-
mac_sam_serial_number: z.ZodNumber;
|
|
16
|
-
pattern_id: z.ZodString;
|
|
17
|
-
received_at: z.ZodBranded<z.ZodEffects<z.ZodNumber, UnixTimestamp, number>, "UnixTimestamp">;
|
|
18
|
-
stop_id: z.ZodString;
|
|
19
|
-
trip_id: z.ZodString;
|
|
20
|
-
vehicle_id: z.ZodString;
|
|
21
|
-
}, "strict", z.ZodTypeAny, {
|
|
22
|
-
_id: string;
|
|
23
|
-
agency_id: string;
|
|
24
|
-
apex_transaction_type: number;
|
|
25
|
-
apex_version: string;
|
|
26
|
-
device_id: string;
|
|
27
|
-
is_valid: boolean;
|
|
28
|
-
line_id: string;
|
|
29
|
-
mac_ase_counter_value: number;
|
|
30
|
-
mac_sam_serial_number: number;
|
|
31
|
-
pattern_id: string;
|
|
32
|
-
received_at: number & {
|
|
33
|
-
__brand: "UnixTimestamp";
|
|
34
|
-
} & z.BRAND<"UnixTimestamp">;
|
|
35
|
-
stop_id: string;
|
|
36
|
-
trip_id: string;
|
|
37
|
-
vehicle_id: string;
|
|
38
|
-
created_at?: (number & {
|
|
39
|
-
__brand: "UnixTimestamp";
|
|
40
|
-
} & z.BRAND<"UnixTimestamp">) | null | undefined;
|
|
41
|
-
updated_at?: (number & {
|
|
42
|
-
__brand: "UnixTimestamp";
|
|
43
|
-
} & z.BRAND<"UnixTimestamp">) | null | undefined;
|
|
44
|
-
}, {
|
|
45
|
-
_id: string;
|
|
46
|
-
agency_id: string;
|
|
47
|
-
apex_transaction_type: number;
|
|
48
|
-
apex_version: string;
|
|
49
|
-
device_id: string;
|
|
50
|
-
is_valid: boolean;
|
|
51
|
-
line_id: string;
|
|
52
|
-
mac_ase_counter_value: number;
|
|
53
|
-
mac_sam_serial_number: number;
|
|
54
|
-
pattern_id: string;
|
|
55
|
-
received_at: number;
|
|
56
|
-
stop_id: string;
|
|
57
|
-
trip_id: string;
|
|
58
|
-
vehicle_id: string;
|
|
59
|
-
created_at?: number | null | undefined;
|
|
60
|
-
updated_at?: number | null | undefined;
|
|
61
|
-
}>;
|
|
62
2
|
/**
|
|
63
3
|
* APEX Locations are APEX transactions of type 19 that are generated every time the
|
|
64
4
|
* setContext or setLocation functions are called. These functions are used to set
|
|
@@ -66,8 +6,25 @@ export declare const SimplifiedApexLocationSchema: z.ZodObject<{
|
|
|
66
6
|
* of products. In summary, these transactions are generated every time the vehicle has a change
|
|
67
7
|
* in the current stop ID, trip ID, route ID, pattern ID, etc.
|
|
68
8
|
*/
|
|
69
|
-
export interface SimplifiedApexLocation
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
9
|
+
export interface SimplifiedApexLocation {
|
|
10
|
+
_go_default__created_at: UnixTimestamp;
|
|
11
|
+
_go_default__updated_at: UnixTimestamp;
|
|
12
|
+
_id: string;
|
|
13
|
+
mac__ase_counter_value: number;
|
|
14
|
+
mac__sam_serial_number: number;
|
|
15
|
+
operator_info__operator_long_id: string;
|
|
16
|
+
transaction_info__apex_transaction_type: 6;
|
|
17
|
+
transaction_info__transaction_date: string;
|
|
18
|
+
validation_service_info__block_id: string;
|
|
19
|
+
validation_service_info__duty_id: string;
|
|
20
|
+
validation_service_info__journey_id: string;
|
|
21
|
+
validation_service_info__line_long_id: string;
|
|
22
|
+
validation_service_info__on_behalf_of_operator_long_id: string;
|
|
23
|
+
validation_service_info__operation_plan_id: string;
|
|
24
|
+
validation_service_info__out_of_bounds_type: number;
|
|
25
|
+
validation_service_info__pattern_long_id: string;
|
|
26
|
+
validation_service_info__stop_long_id: string;
|
|
27
|
+
validation_service_info__validator_id: number;
|
|
28
|
+
validation_service_info__vehicle_id: number;
|
|
29
|
+
version_info__apex_version: string;
|
|
73
30
|
}
|
|
@@ -1,98 +1,39 @@
|
|
|
1
1
|
import { type UnixTimestamp } from '../common/unix-timestamp.js';
|
|
2
|
-
import { z } from 'zod';
|
|
3
|
-
export declare const SimplifiedApexOnBoardRefundSchema: z.ZodObject<{
|
|
4
|
-
_id: z.ZodString;
|
|
5
|
-
created_at: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodEffects<z.ZodNumber, UnixTimestamp, number>, "UnixTimestamp">>>;
|
|
6
|
-
updated_at: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodEffects<z.ZodNumber, UnixTimestamp, number>, "UnixTimestamp">>>;
|
|
7
|
-
agency_id: z.ZodString;
|
|
8
|
-
apex_transaction_type: z.ZodNumber;
|
|
9
|
-
apex_version: z.ZodString;
|
|
10
|
-
device_id: z.ZodString;
|
|
11
|
-
is_valid: z.ZodBoolean;
|
|
12
|
-
mac_ase_counter_value: z.ZodNumber;
|
|
13
|
-
mac_sam_serial_number: z.ZodNumber;
|
|
14
|
-
received_at: z.ZodBranded<z.ZodEffects<z.ZodNumber, UnixTimestamp, number>, "UnixTimestamp">;
|
|
15
|
-
} & {
|
|
16
|
-
card_physical_type: z.ZodNumber;
|
|
17
|
-
card_serial_number: z.ZodString;
|
|
18
|
-
invoice_number: z.ZodOptional<z.ZodString>;
|
|
19
|
-
on_board_sale_transaction_id: z.ZodOptional<z.ZodString>;
|
|
20
|
-
payment_method: z.ZodNumber;
|
|
21
|
-
price: z.ZodNumber;
|
|
22
|
-
product_id: z.ZodString;
|
|
23
|
-
product_qty: z.ZodNumber;
|
|
24
|
-
validation_transaction_id: z.ZodOptional<z.ZodString>;
|
|
25
|
-
line_id: z.ZodOptional<z.ZodString>;
|
|
26
|
-
pattern_id: z.ZodOptional<z.ZodString>;
|
|
27
|
-
stop_id: z.ZodOptional<z.ZodString>;
|
|
28
|
-
trip_id: z.ZodOptional<z.ZodString>;
|
|
29
|
-
vehicle_id: z.ZodOptional<z.ZodString>;
|
|
30
|
-
}, "strict", z.ZodTypeAny, {
|
|
31
|
-
_id: string;
|
|
32
|
-
agency_id: string;
|
|
33
|
-
apex_transaction_type: number;
|
|
34
|
-
apex_version: string;
|
|
35
|
-
device_id: string;
|
|
36
|
-
is_valid: boolean;
|
|
37
|
-
mac_ase_counter_value: number;
|
|
38
|
-
mac_sam_serial_number: number;
|
|
39
|
-
received_at: number & {
|
|
40
|
-
__brand: "UnixTimestamp";
|
|
41
|
-
} & z.BRAND<"UnixTimestamp">;
|
|
42
|
-
card_serial_number: string;
|
|
43
|
-
product_id: string;
|
|
44
|
-
card_physical_type: number;
|
|
45
|
-
payment_method: number;
|
|
46
|
-
price: number;
|
|
47
|
-
product_qty: number;
|
|
48
|
-
created_at?: (number & {
|
|
49
|
-
__brand: "UnixTimestamp";
|
|
50
|
-
} & z.BRAND<"UnixTimestamp">) | null | undefined;
|
|
51
|
-
updated_at?: (number & {
|
|
52
|
-
__brand: "UnixTimestamp";
|
|
53
|
-
} & z.BRAND<"UnixTimestamp">) | null | undefined;
|
|
54
|
-
line_id?: string | undefined;
|
|
55
|
-
pattern_id?: string | undefined;
|
|
56
|
-
stop_id?: string | undefined;
|
|
57
|
-
trip_id?: string | undefined;
|
|
58
|
-
vehicle_id?: string | undefined;
|
|
59
|
-
invoice_number?: string | undefined;
|
|
60
|
-
on_board_sale_transaction_id?: string | undefined;
|
|
61
|
-
validation_transaction_id?: string | undefined;
|
|
62
|
-
}, {
|
|
63
|
-
_id: string;
|
|
64
|
-
agency_id: string;
|
|
65
|
-
apex_transaction_type: number;
|
|
66
|
-
apex_version: string;
|
|
67
|
-
device_id: string;
|
|
68
|
-
is_valid: boolean;
|
|
69
|
-
mac_ase_counter_value: number;
|
|
70
|
-
mac_sam_serial_number: number;
|
|
71
|
-
received_at: number;
|
|
72
|
-
card_serial_number: string;
|
|
73
|
-
product_id: string;
|
|
74
|
-
card_physical_type: number;
|
|
75
|
-
payment_method: number;
|
|
76
|
-
price: number;
|
|
77
|
-
product_qty: number;
|
|
78
|
-
created_at?: number | null | undefined;
|
|
79
|
-
updated_at?: number | null | undefined;
|
|
80
|
-
line_id?: string | undefined;
|
|
81
|
-
pattern_id?: string | undefined;
|
|
82
|
-
stop_id?: string | undefined;
|
|
83
|
-
trip_id?: string | undefined;
|
|
84
|
-
vehicle_id?: string | undefined;
|
|
85
|
-
invoice_number?: string | undefined;
|
|
86
|
-
on_board_sale_transaction_id?: string | undefined;
|
|
87
|
-
validation_transaction_id?: string | undefined;
|
|
88
|
-
}>;
|
|
89
2
|
/**
|
|
90
|
-
* APEX OnBoard Refunds are APEX transactions of type
|
|
3
|
+
* APEX OnBoard Refunds are APEX transactions of type 6 that are generated whenever a refund
|
|
91
4
|
* of an on-board ticket occurs. Even though refunds can be generated for any sale, here they are already filtered
|
|
92
5
|
* for on-board ticket refunds inside vehicles only. Refunds are always associated with an on-board sale transaction.
|
|
93
6
|
*/
|
|
94
|
-
export interface SimplifiedApexOnBoardRefund
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
7
|
+
export interface SimplifiedApexOnBoardRefund {
|
|
8
|
+
_go_correlation__on_board_sale_id: string;
|
|
9
|
+
_go_correlation__validation_id: string;
|
|
10
|
+
_go_default__created_at: UnixTimestamp;
|
|
11
|
+
_go_default__updated_at: UnixTimestamp;
|
|
12
|
+
_go_enriched__block_id: string;
|
|
13
|
+
_go_enriched__duty_id: string;
|
|
14
|
+
_go_enriched__is_valid: boolean;
|
|
15
|
+
_go_enriched__journey_id: string;
|
|
16
|
+
_go_enriched__line_long_id: string;
|
|
17
|
+
_go_enriched__pattern_long_id: string;
|
|
18
|
+
_go_enriched__stop_long_id: string;
|
|
19
|
+
_go_enriched__vehicle_id: string;
|
|
20
|
+
_id: string;
|
|
21
|
+
card_info__card_number: string;
|
|
22
|
+
card_info__card_physical_type: number;
|
|
23
|
+
card_info__card_serial_number: string;
|
|
24
|
+
card_info__card_type_id: string;
|
|
25
|
+
mac__ase_counter_value: number;
|
|
26
|
+
mac__sam_serial_number: number;
|
|
27
|
+
operator_info__operator_long_id: string;
|
|
28
|
+
payment_info__currency: number;
|
|
29
|
+
payment_info__invoice_number: string;
|
|
30
|
+
payment_info__payment_method: number;
|
|
31
|
+
payment_info__price: number;
|
|
32
|
+
payment_info__vat_number: number;
|
|
33
|
+
sale_load_info__product_long_id: string;
|
|
34
|
+
sale_load_info__product_quantity: number;
|
|
35
|
+
sale_load_info__units_quantity: number;
|
|
36
|
+
transaction_info__apex_transaction_type: 6;
|
|
37
|
+
transaction_info__transaction_date: string;
|
|
38
|
+
version_info__apex_version: string;
|
|
98
39
|
}
|
|
@@ -1,21 +1,2 @@
|
|
|
1
1
|
/* * */
|
|
2
|
-
|
|
3
|
-
import { z } from 'zod';
|
|
4
|
-
/* * */
|
|
5
|
-
export const SimplifiedApexOnBoardRefundSchema = SimplifiedApexBaseSchema.extend({
|
|
6
|
-
card_physical_type: z.number(),
|
|
7
|
-
card_serial_number: z.string(),
|
|
8
|
-
invoice_number: z.string().optional(),
|
|
9
|
-
on_board_sale_transaction_id: z.string().optional(),
|
|
10
|
-
payment_method: z.number(),
|
|
11
|
-
price: z.number(),
|
|
12
|
-
product_id: z.string(),
|
|
13
|
-
product_qty: z.number(),
|
|
14
|
-
validation_transaction_id: z.string().optional(),
|
|
15
|
-
// Overrides
|
|
16
|
-
line_id: z.string().optional(),
|
|
17
|
-
pattern_id: z.string().optional(),
|
|
18
|
-
stop_id: z.string().optional(),
|
|
19
|
-
trip_id: z.string().optional(),
|
|
20
|
-
vehicle_id: z.string().optional(),
|
|
21
|
-
}).strict();
|
|
2
|
+
export {};
|
|
@@ -1,91 +1,4 @@
|
|
|
1
1
|
import { type UnixTimestamp } from '../common/unix-timestamp.js';
|
|
2
|
-
import { z } from 'zod';
|
|
3
|
-
export declare const SimplifiedApexOnBoardSaleSchema: z.ZodObject<{
|
|
4
|
-
_id: z.ZodString;
|
|
5
|
-
created_at: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodEffects<z.ZodNumber, UnixTimestamp, number>, "UnixTimestamp">>>;
|
|
6
|
-
updated_at: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodEffects<z.ZodNumber, UnixTimestamp, number>, "UnixTimestamp">>>;
|
|
7
|
-
agency_id: z.ZodString;
|
|
8
|
-
apex_transaction_type: z.ZodNumber;
|
|
9
|
-
apex_version: z.ZodString;
|
|
10
|
-
device_id: z.ZodString;
|
|
11
|
-
is_valid: z.ZodBoolean;
|
|
12
|
-
mac_ase_counter_value: z.ZodNumber;
|
|
13
|
-
mac_sam_serial_number: z.ZodNumber;
|
|
14
|
-
received_at: z.ZodBranded<z.ZodEffects<z.ZodNumber, UnixTimestamp, number>, "UnixTimestamp">;
|
|
15
|
-
} & {
|
|
16
|
-
card_physical_type: z.ZodNumber;
|
|
17
|
-
card_serial_number: z.ZodString;
|
|
18
|
-
invoice_number: z.ZodOptional<z.ZodString>;
|
|
19
|
-
payment_method: z.ZodNumber;
|
|
20
|
-
price: z.ZodNumber;
|
|
21
|
-
product_id: z.ZodString;
|
|
22
|
-
product_qty: z.ZodNumber;
|
|
23
|
-
refund_transaction_id: z.ZodOptional<z.ZodString>;
|
|
24
|
-
validation_transaction_id: z.ZodOptional<z.ZodString>;
|
|
25
|
-
line_id: z.ZodOptional<z.ZodString>;
|
|
26
|
-
pattern_id: z.ZodOptional<z.ZodString>;
|
|
27
|
-
stop_id: z.ZodOptional<z.ZodString>;
|
|
28
|
-
trip_id: z.ZodOptional<z.ZodString>;
|
|
29
|
-
vehicle_id: z.ZodOptional<z.ZodString>;
|
|
30
|
-
}, "strict", z.ZodTypeAny, {
|
|
31
|
-
_id: string;
|
|
32
|
-
agency_id: string;
|
|
33
|
-
apex_transaction_type: number;
|
|
34
|
-
apex_version: string;
|
|
35
|
-
device_id: string;
|
|
36
|
-
is_valid: boolean;
|
|
37
|
-
mac_ase_counter_value: number;
|
|
38
|
-
mac_sam_serial_number: number;
|
|
39
|
-
received_at: number & {
|
|
40
|
-
__brand: "UnixTimestamp";
|
|
41
|
-
} & z.BRAND<"UnixTimestamp">;
|
|
42
|
-
card_serial_number: string;
|
|
43
|
-
product_id: string;
|
|
44
|
-
card_physical_type: number;
|
|
45
|
-
payment_method: number;
|
|
46
|
-
price: number;
|
|
47
|
-
product_qty: number;
|
|
48
|
-
created_at?: (number & {
|
|
49
|
-
__brand: "UnixTimestamp";
|
|
50
|
-
} & z.BRAND<"UnixTimestamp">) | null | undefined;
|
|
51
|
-
updated_at?: (number & {
|
|
52
|
-
__brand: "UnixTimestamp";
|
|
53
|
-
} & z.BRAND<"UnixTimestamp">) | null | undefined;
|
|
54
|
-
line_id?: string | undefined;
|
|
55
|
-
pattern_id?: string | undefined;
|
|
56
|
-
stop_id?: string | undefined;
|
|
57
|
-
trip_id?: string | undefined;
|
|
58
|
-
vehicle_id?: string | undefined;
|
|
59
|
-
invoice_number?: string | undefined;
|
|
60
|
-
validation_transaction_id?: string | undefined;
|
|
61
|
-
refund_transaction_id?: string | undefined;
|
|
62
|
-
}, {
|
|
63
|
-
_id: string;
|
|
64
|
-
agency_id: string;
|
|
65
|
-
apex_transaction_type: number;
|
|
66
|
-
apex_version: string;
|
|
67
|
-
device_id: string;
|
|
68
|
-
is_valid: boolean;
|
|
69
|
-
mac_ase_counter_value: number;
|
|
70
|
-
mac_sam_serial_number: number;
|
|
71
|
-
received_at: number;
|
|
72
|
-
card_serial_number: string;
|
|
73
|
-
product_id: string;
|
|
74
|
-
card_physical_type: number;
|
|
75
|
-
payment_method: number;
|
|
76
|
-
price: number;
|
|
77
|
-
product_qty: number;
|
|
78
|
-
created_at?: number | null | undefined;
|
|
79
|
-
updated_at?: number | null | undefined;
|
|
80
|
-
line_id?: string | undefined;
|
|
81
|
-
pattern_id?: string | undefined;
|
|
82
|
-
stop_id?: string | undefined;
|
|
83
|
-
trip_id?: string | undefined;
|
|
84
|
-
vehicle_id?: string | undefined;
|
|
85
|
-
invoice_number?: string | undefined;
|
|
86
|
-
validation_transaction_id?: string | undefined;
|
|
87
|
-
refund_transaction_id?: string | undefined;
|
|
88
|
-
}>;
|
|
89
2
|
/**
|
|
90
3
|
* APEX OnBoard Sales are APEX transactions of type 3 that are generated whenever a sale
|
|
91
4
|
* of an on-board ticket occurs. Even though sales can be of anything (tickets, cards, contracts, merchandising items)
|
|
@@ -93,8 +6,36 @@ export declare const SimplifiedApexOnBoardSaleSchema: z.ZodObject<{
|
|
|
93
6
|
* for on-board ticket sales inside vehicles only. Sales of tickets when inside vehicles also generate a validation transaction.
|
|
94
7
|
* Sales can be refunded, and refunds are also APEX transactions of type 3.
|
|
95
8
|
*/
|
|
96
|
-
export interface SimplifiedApexOnBoardSale
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
9
|
+
export interface SimplifiedApexOnBoardSale {
|
|
10
|
+
_go_correlation__on_board_refund_id: string;
|
|
11
|
+
_go_correlation__validation_id: string;
|
|
12
|
+
_go_default__created_at: UnixTimestamp;
|
|
13
|
+
_go_default__updated_at: UnixTimestamp;
|
|
14
|
+
_go_enriched__block_id: string;
|
|
15
|
+
_go_enriched__duty_id: string;
|
|
16
|
+
_go_enriched__is_valid: boolean;
|
|
17
|
+
_go_enriched__journey_id: string;
|
|
18
|
+
_go_enriched__line_long_id: string;
|
|
19
|
+
_go_enriched__pattern_long_id: string;
|
|
20
|
+
_go_enriched__stop_long_id: string;
|
|
21
|
+
_go_enriched__vehicle_id: string;
|
|
22
|
+
_id: string;
|
|
23
|
+
card_info__card_number: string;
|
|
24
|
+
card_info__card_physical_type: number;
|
|
25
|
+
card_info__card_serial_number: string;
|
|
26
|
+
card_info__card_type_id: string;
|
|
27
|
+
mac__ase_counter_value: number;
|
|
28
|
+
mac__sam_serial_number: number;
|
|
29
|
+
operator_info__operator_long_id: string;
|
|
30
|
+
payment_info__currency: number;
|
|
31
|
+
payment_info__invoice_number: string;
|
|
32
|
+
payment_info__payment_method: number;
|
|
33
|
+
payment_info__price: number;
|
|
34
|
+
payment_info__vat_number: number;
|
|
35
|
+
sale_load_info__product_long_id: string;
|
|
36
|
+
sale_load_info__product_quantity: number;
|
|
37
|
+
sale_load_info__units_quantity: number;
|
|
38
|
+
transaction_info__apex_transaction_type: 3;
|
|
39
|
+
transaction_info__transaction_date: string;
|
|
40
|
+
version_info__apex_version: string;
|
|
100
41
|
}
|
|
@@ -1,21 +1,2 @@
|
|
|
1
1
|
/* * */
|
|
2
|
-
|
|
3
|
-
import { z } from 'zod';
|
|
4
|
-
/* * */
|
|
5
|
-
export const SimplifiedApexOnBoardSaleSchema = SimplifiedApexBaseSchema.extend({
|
|
6
|
-
card_physical_type: z.number(),
|
|
7
|
-
card_serial_number: z.string(),
|
|
8
|
-
invoice_number: z.string().optional(),
|
|
9
|
-
payment_method: z.number(),
|
|
10
|
-
price: z.number(),
|
|
11
|
-
product_id: z.string(),
|
|
12
|
-
product_qty: z.number(),
|
|
13
|
-
refund_transaction_id: z.string().optional(),
|
|
14
|
-
validation_transaction_id: z.string().optional(),
|
|
15
|
-
// Overrides
|
|
16
|
-
line_id: z.string().optional(),
|
|
17
|
-
pattern_id: z.string().optional(),
|
|
18
|
-
stop_id: z.string().optional(),
|
|
19
|
-
trip_id: z.string().optional(),
|
|
20
|
-
vehicle_id: z.string().optional(),
|
|
21
|
-
}).strict();
|
|
2
|
+
export {};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { type UnixTimestamp } from '../common/unix-timestamp.js';
|
|
2
|
-
import { z } from 'zod';
|
|
3
2
|
export declare enum ApexValidationStatus {
|
|
4
3
|
/**
|
|
5
4
|
* VALID:
|
|
@@ -72,96 +71,6 @@ export declare enum ApexValidationStatus {
|
|
|
72
71
|
*/
|
|
73
72
|
_13_MaxValue = 13
|
|
74
73
|
}
|
|
75
|
-
export declare const SimplifiedApexValidationSchema: z.ZodObject<{
|
|
76
|
-
_id: z.ZodString;
|
|
77
|
-
created_at: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodEffects<z.ZodNumber, UnixTimestamp, number>, "UnixTimestamp">>>;
|
|
78
|
-
updated_at: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodEffects<z.ZodNumber, UnixTimestamp, number>, "UnixTimestamp">>>;
|
|
79
|
-
} & {
|
|
80
|
-
agency_id: z.ZodString;
|
|
81
|
-
apex_transaction_type: z.ZodNumber;
|
|
82
|
-
apex_version: z.ZodString;
|
|
83
|
-
device_id: z.ZodString;
|
|
84
|
-
is_valid: z.ZodBoolean;
|
|
85
|
-
line_id: z.ZodString;
|
|
86
|
-
mac_ase_counter_value: z.ZodNumber;
|
|
87
|
-
mac_sam_serial_number: z.ZodNumber;
|
|
88
|
-
pattern_id: z.ZodString;
|
|
89
|
-
received_at: z.ZodBranded<z.ZodEffects<z.ZodNumber, UnixTimestamp, number>, "UnixTimestamp">;
|
|
90
|
-
stop_id: z.ZodString;
|
|
91
|
-
trip_id: z.ZodString;
|
|
92
|
-
vehicle_id: z.ZodString;
|
|
93
|
-
} & {
|
|
94
|
-
card_physical_type: z.ZodNumber;
|
|
95
|
-
card_serial_number: z.ZodString;
|
|
96
|
-
card_type_id: z.ZodString;
|
|
97
|
-
event_type: z.ZodNumber;
|
|
98
|
-
on_board_sale_transaction_id: z.ZodOptional<z.ZodString>;
|
|
99
|
-
product_id: z.ZodString;
|
|
100
|
-
product_type: z.ZodEnum<["monthly", "on-board-sale", "prepaid"]>;
|
|
101
|
-
refund_transaction_id: z.ZodOptional<z.ZodString>;
|
|
102
|
-
units_qty: z.ZodOptional<z.ZodNumber>;
|
|
103
|
-
validation_status: z.ZodNativeEnum<typeof ApexValidationStatus>;
|
|
104
|
-
}, "strict", z.ZodTypeAny, {
|
|
105
|
-
_id: string;
|
|
106
|
-
agency_id: string;
|
|
107
|
-
apex_transaction_type: number;
|
|
108
|
-
apex_version: string;
|
|
109
|
-
device_id: string;
|
|
110
|
-
is_valid: boolean;
|
|
111
|
-
line_id: string;
|
|
112
|
-
mac_ase_counter_value: number;
|
|
113
|
-
mac_sam_serial_number: number;
|
|
114
|
-
pattern_id: string;
|
|
115
|
-
received_at: number & {
|
|
116
|
-
__brand: "UnixTimestamp";
|
|
117
|
-
} & z.BRAND<"UnixTimestamp">;
|
|
118
|
-
stop_id: string;
|
|
119
|
-
trip_id: string;
|
|
120
|
-
vehicle_id: string;
|
|
121
|
-
card_serial_number: string;
|
|
122
|
-
product_id: string;
|
|
123
|
-
card_physical_type: number;
|
|
124
|
-
card_type_id: string;
|
|
125
|
-
event_type: number;
|
|
126
|
-
product_type: "monthly" | "on-board-sale" | "prepaid";
|
|
127
|
-
validation_status: ApexValidationStatus;
|
|
128
|
-
created_at?: (number & {
|
|
129
|
-
__brand: "UnixTimestamp";
|
|
130
|
-
} & z.BRAND<"UnixTimestamp">) | null | undefined;
|
|
131
|
-
updated_at?: (number & {
|
|
132
|
-
__brand: "UnixTimestamp";
|
|
133
|
-
} & z.BRAND<"UnixTimestamp">) | null | undefined;
|
|
134
|
-
on_board_sale_transaction_id?: string | undefined;
|
|
135
|
-
refund_transaction_id?: string | undefined;
|
|
136
|
-
units_qty?: number | undefined;
|
|
137
|
-
}, {
|
|
138
|
-
_id: string;
|
|
139
|
-
agency_id: string;
|
|
140
|
-
apex_transaction_type: number;
|
|
141
|
-
apex_version: string;
|
|
142
|
-
device_id: string;
|
|
143
|
-
is_valid: boolean;
|
|
144
|
-
line_id: string;
|
|
145
|
-
mac_ase_counter_value: number;
|
|
146
|
-
mac_sam_serial_number: number;
|
|
147
|
-
pattern_id: string;
|
|
148
|
-
received_at: number;
|
|
149
|
-
stop_id: string;
|
|
150
|
-
trip_id: string;
|
|
151
|
-
vehicle_id: string;
|
|
152
|
-
card_serial_number: string;
|
|
153
|
-
product_id: string;
|
|
154
|
-
card_physical_type: number;
|
|
155
|
-
card_type_id: string;
|
|
156
|
-
event_type: number;
|
|
157
|
-
product_type: "monthly" | "on-board-sale" | "prepaid";
|
|
158
|
-
validation_status: ApexValidationStatus;
|
|
159
|
-
created_at?: number | null | undefined;
|
|
160
|
-
updated_at?: number | null | undefined;
|
|
161
|
-
on_board_sale_transaction_id?: string | undefined;
|
|
162
|
-
refund_transaction_id?: string | undefined;
|
|
163
|
-
units_qty?: number | undefined;
|
|
164
|
-
}>;
|
|
165
74
|
/**
|
|
166
75
|
* APEX Validations are APEX transactions of type 11 that are generated when a card holder touches a validator
|
|
167
76
|
* reader (ex: bus validator, subway gate). These validation transactions represent the card holder's right to travel
|
|
@@ -169,10 +78,38 @@ export declare const SimplifiedApexValidationSchema: z.ZodObject<{
|
|
|
169
78
|
* or not, and with which conditions. A validation also contains information about the card holder's card, the vehicle,
|
|
170
79
|
* the validator machine, the route, and the time and location of the validation.
|
|
171
80
|
*/
|
|
172
|
-
export interface SimplifiedApexValidation
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
81
|
+
export interface SimplifiedApexValidation {
|
|
82
|
+
_go_correlation__on_board_refund_id: string;
|
|
83
|
+
_go_correlation__on_board_sale_id: string;
|
|
84
|
+
_go_default__created_at: UnixTimestamp;
|
|
85
|
+
_go_default__updated_at: UnixTimestamp;
|
|
86
|
+
_go_enriched__is_valid: boolean;
|
|
87
|
+
_id: string;
|
|
88
|
+
card_info__card_number: string;
|
|
89
|
+
card_info__card_physical_type: number;
|
|
90
|
+
card_info__card_serial_number: string;
|
|
91
|
+
card_info__card_type_id: string;
|
|
92
|
+
mac__ase_counter_value: number;
|
|
93
|
+
mac__sam_serial_number: number;
|
|
94
|
+
operator_info__operator_long_id: string;
|
|
95
|
+
service_info__block_id: string;
|
|
96
|
+
service_info__duty_id: string;
|
|
97
|
+
service_info__journey_id: string;
|
|
98
|
+
service_info__line_long_id: string;
|
|
99
|
+
service_info__on_behalf_of_operator_long_id: string;
|
|
100
|
+
service_info__out_of_bounds_type: number;
|
|
101
|
+
service_info__pattern_long_id: string;
|
|
102
|
+
service_info__stop_long_id: string;
|
|
103
|
+
service_info__validator_id: number;
|
|
104
|
+
service_info__vehicle_id: number;
|
|
105
|
+
transaction_info__apex_transaction_type: 11;
|
|
106
|
+
transaction_info__transaction_date: string;
|
|
107
|
+
validation_info__event_type: number;
|
|
108
|
+
validation_info__product_long_id: string;
|
|
109
|
+
validation_info__units_remaining: null | number;
|
|
110
|
+
validation_info__validation_status: ApexValidationStatus;
|
|
111
|
+
validation_info__validation_type: number;
|
|
112
|
+
version_info__apex_version: string;
|
|
176
113
|
}
|
|
177
114
|
/**
|
|
178
115
|
* Validation statuses that are considered valid for the card holder to travel.
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
/* * */
|
|
2
|
-
import { SimplifiedApexBaseSchema } from './simplified-apex-base.js';
|
|
3
|
-
import { z } from 'zod';
|
|
4
2
|
/* * */
|
|
5
3
|
export var ApexValidationStatus;
|
|
6
4
|
(function (ApexValidationStatus) {
|
|
@@ -75,19 +73,6 @@ export var ApexValidationStatus;
|
|
|
75
73
|
*/
|
|
76
74
|
ApexValidationStatus[ApexValidationStatus["_13_MaxValue"] = 13] = "_13_MaxValue";
|
|
77
75
|
})(ApexValidationStatus || (ApexValidationStatus = {}));
|
|
78
|
-
/* * */
|
|
79
|
-
export const SimplifiedApexValidationSchema = SimplifiedApexBaseSchema.extend({
|
|
80
|
-
card_physical_type: z.number(),
|
|
81
|
-
card_serial_number: z.string(),
|
|
82
|
-
card_type_id: z.string(),
|
|
83
|
-
event_type: z.number(),
|
|
84
|
-
on_board_sale_transaction_id: z.string().optional(),
|
|
85
|
-
product_id: z.string(),
|
|
86
|
-
product_type: z.enum(['monthly', 'on-board-sale', 'prepaid']),
|
|
87
|
-
refund_transaction_id: z.string().optional(),
|
|
88
|
-
units_qty: z.number().optional(),
|
|
89
|
-
validation_status: z.nativeEnum(ApexValidationStatus),
|
|
90
|
-
}).strict();
|
|
91
76
|
/**
|
|
92
77
|
* Validation statuses that are considered valid for the card holder to travel.
|
|
93
78
|
*/
|
package/dist/src/validation.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ export declare const ValidationSchema: z.ZodObject<{
|
|
|
13
13
|
summary: z.ZodOptional<z.ZodObject<{
|
|
14
14
|
messages: z.ZodArray<z.ZodObject<{
|
|
15
15
|
field: z.ZodString;
|
|
16
|
-
|
|
16
|
+
file_name: z.ZodString;
|
|
17
17
|
message: z.ZodString;
|
|
18
18
|
rows: z.ZodArray<z.ZodNumber, "many">;
|
|
19
19
|
severity: z.ZodEnum<["error", "warning", "info"]>;
|
|
@@ -21,14 +21,14 @@ export declare const ValidationSchema: z.ZodObject<{
|
|
|
21
21
|
}, "strip", z.ZodTypeAny, {
|
|
22
22
|
message: string;
|
|
23
23
|
field: string;
|
|
24
|
-
|
|
24
|
+
file_name: string;
|
|
25
25
|
rows: number[];
|
|
26
26
|
severity: "error" | "warning" | "info";
|
|
27
27
|
validation_id: string;
|
|
28
28
|
}, {
|
|
29
29
|
message: string;
|
|
30
30
|
field: string;
|
|
31
|
-
|
|
31
|
+
file_name: string;
|
|
32
32
|
rows: number[];
|
|
33
33
|
severity: "error" | "warning" | "info";
|
|
34
34
|
validation_id: string;
|
|
@@ -40,7 +40,7 @@ export declare const ValidationSchema: z.ZodObject<{
|
|
|
40
40
|
messages: {
|
|
41
41
|
message: string;
|
|
42
42
|
field: string;
|
|
43
|
-
|
|
43
|
+
file_name: string;
|
|
44
44
|
rows: number[];
|
|
45
45
|
severity: "error" | "warning" | "info";
|
|
46
46
|
validation_id: string;
|
|
@@ -52,7 +52,7 @@ export declare const ValidationSchema: z.ZodObject<{
|
|
|
52
52
|
messages: {
|
|
53
53
|
message: string;
|
|
54
54
|
field: string;
|
|
55
|
-
|
|
55
|
+
file_name: string;
|
|
56
56
|
rows: number[];
|
|
57
57
|
severity: "error" | "warning" | "info";
|
|
58
58
|
validation_id: string;
|
|
@@ -85,7 +85,7 @@ export declare const ValidationSchema: z.ZodObject<{
|
|
|
85
85
|
messages: {
|
|
86
86
|
message: string;
|
|
87
87
|
field: string;
|
|
88
|
-
|
|
88
|
+
file_name: string;
|
|
89
89
|
rows: number[];
|
|
90
90
|
severity: "error" | "warning" | "info";
|
|
91
91
|
validation_id: string;
|
|
@@ -108,7 +108,7 @@ export declare const ValidationSchema: z.ZodObject<{
|
|
|
108
108
|
messages: {
|
|
109
109
|
message: string;
|
|
110
110
|
field: string;
|
|
111
|
-
|
|
111
|
+
file_name: string;
|
|
112
112
|
rows: number[];
|
|
113
113
|
severity: "error" | "warning" | "info";
|
|
114
114
|
validation_id: string;
|
|
@@ -130,7 +130,7 @@ export declare const CreateValidationSchema: z.ZodObject<Omit<{
|
|
|
130
130
|
summary: z.ZodOptional<z.ZodObject<{
|
|
131
131
|
messages: z.ZodArray<z.ZodObject<{
|
|
132
132
|
field: z.ZodString;
|
|
133
|
-
|
|
133
|
+
file_name: z.ZodString;
|
|
134
134
|
message: z.ZodString;
|
|
135
135
|
rows: z.ZodArray<z.ZodNumber, "many">;
|
|
136
136
|
severity: z.ZodEnum<["error", "warning", "info"]>;
|
|
@@ -138,14 +138,14 @@ export declare const CreateValidationSchema: z.ZodObject<Omit<{
|
|
|
138
138
|
}, "strip", z.ZodTypeAny, {
|
|
139
139
|
message: string;
|
|
140
140
|
field: string;
|
|
141
|
-
|
|
141
|
+
file_name: string;
|
|
142
142
|
rows: number[];
|
|
143
143
|
severity: "error" | "warning" | "info";
|
|
144
144
|
validation_id: string;
|
|
145
145
|
}, {
|
|
146
146
|
message: string;
|
|
147
147
|
field: string;
|
|
148
|
-
|
|
148
|
+
file_name: string;
|
|
149
149
|
rows: number[];
|
|
150
150
|
severity: "error" | "warning" | "info";
|
|
151
151
|
validation_id: string;
|
|
@@ -157,7 +157,7 @@ export declare const CreateValidationSchema: z.ZodObject<Omit<{
|
|
|
157
157
|
messages: {
|
|
158
158
|
message: string;
|
|
159
159
|
field: string;
|
|
160
|
-
|
|
160
|
+
file_name: string;
|
|
161
161
|
rows: number[];
|
|
162
162
|
severity: "error" | "warning" | "info";
|
|
163
163
|
validation_id: string;
|
|
@@ -169,7 +169,7 @@ export declare const CreateValidationSchema: z.ZodObject<Omit<{
|
|
|
169
169
|
messages: {
|
|
170
170
|
message: string;
|
|
171
171
|
field: string;
|
|
172
|
-
|
|
172
|
+
file_name: string;
|
|
173
173
|
rows: number[];
|
|
174
174
|
severity: "error" | "warning" | "info";
|
|
175
175
|
validation_id: string;
|
|
@@ -195,7 +195,7 @@ export declare const CreateValidationSchema: z.ZodObject<Omit<{
|
|
|
195
195
|
messages: {
|
|
196
196
|
message: string;
|
|
197
197
|
field: string;
|
|
198
|
-
|
|
198
|
+
file_name: string;
|
|
199
199
|
rows: number[];
|
|
200
200
|
severity: "error" | "warning" | "info";
|
|
201
201
|
validation_id: string;
|
|
@@ -215,7 +215,7 @@ export declare const CreateValidationSchema: z.ZodObject<Omit<{
|
|
|
215
215
|
messages: {
|
|
216
216
|
message: string;
|
|
217
217
|
field: string;
|
|
218
|
-
|
|
218
|
+
file_name: string;
|
|
219
219
|
rows: number[];
|
|
220
220
|
severity: "error" | "warning" | "info";
|
|
221
221
|
validation_id: string;
|
|
@@ -235,7 +235,7 @@ export declare const UpdateValidationSchema: z.ZodObject<{
|
|
|
235
235
|
summary: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
236
236
|
messages: z.ZodArray<z.ZodObject<{
|
|
237
237
|
field: z.ZodString;
|
|
238
|
-
|
|
238
|
+
file_name: z.ZodString;
|
|
239
239
|
message: z.ZodString;
|
|
240
240
|
rows: z.ZodArray<z.ZodNumber, "many">;
|
|
241
241
|
severity: z.ZodEnum<["error", "warning", "info"]>;
|
|
@@ -243,14 +243,14 @@ export declare const UpdateValidationSchema: z.ZodObject<{
|
|
|
243
243
|
}, "strip", z.ZodTypeAny, {
|
|
244
244
|
message: string;
|
|
245
245
|
field: string;
|
|
246
|
-
|
|
246
|
+
file_name: string;
|
|
247
247
|
rows: number[];
|
|
248
248
|
severity: "error" | "warning" | "info";
|
|
249
249
|
validation_id: string;
|
|
250
250
|
}, {
|
|
251
251
|
message: string;
|
|
252
252
|
field: string;
|
|
253
|
-
|
|
253
|
+
file_name: string;
|
|
254
254
|
rows: number[];
|
|
255
255
|
severity: "error" | "warning" | "info";
|
|
256
256
|
validation_id: string;
|
|
@@ -262,7 +262,7 @@ export declare const UpdateValidationSchema: z.ZodObject<{
|
|
|
262
262
|
messages: {
|
|
263
263
|
message: string;
|
|
264
264
|
field: string;
|
|
265
|
-
|
|
265
|
+
file_name: string;
|
|
266
266
|
rows: number[];
|
|
267
267
|
severity: "error" | "warning" | "info";
|
|
268
268
|
validation_id: string;
|
|
@@ -274,7 +274,7 @@ export declare const UpdateValidationSchema: z.ZodObject<{
|
|
|
274
274
|
messages: {
|
|
275
275
|
message: string;
|
|
276
276
|
field: string;
|
|
277
|
-
|
|
277
|
+
file_name: string;
|
|
278
278
|
rows: number[];
|
|
279
279
|
severity: "error" | "warning" | "info";
|
|
280
280
|
validation_id: string;
|
|
@@ -298,7 +298,7 @@ export declare const UpdateValidationSchema: z.ZodObject<{
|
|
|
298
298
|
messages: {
|
|
299
299
|
message: string;
|
|
300
300
|
field: string;
|
|
301
|
-
|
|
301
|
+
file_name: string;
|
|
302
302
|
rows: number[];
|
|
303
303
|
severity: "error" | "warning" | "info";
|
|
304
304
|
validation_id: string;
|
|
@@ -318,7 +318,7 @@ export declare const UpdateValidationSchema: z.ZodObject<{
|
|
|
318
318
|
messages: {
|
|
319
319
|
message: string;
|
|
320
320
|
field: string;
|
|
321
|
-
|
|
321
|
+
file_name: string;
|
|
322
322
|
rows: number[];
|
|
323
323
|
severity: "error" | "warning" | "info";
|
|
324
324
|
validation_id: string;
|
package/package.json
CHANGED