@tmlmobilidade/go-types-apex 20260722.1043.2 → 20260723.1350.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/raw/banking-taps/banking-tap-v40.d.ts +4 -4
- package/dist/raw/banking-taps/banking-tap.d.ts +4 -4
- package/dist/raw/inspection-decisions/inspection-decision-v20.d.ts +4 -4
- package/dist/raw/inspection-decisions/inspection-decision.d.ts +4 -4
- package/dist/raw/inspections/inspection-v20.d.ts +4 -4
- package/dist/raw/inspections/inspection.d.ts +4 -4
- package/dist/raw/locations/location-v30.d.ts +4 -4
- package/dist/raw/locations/location.d.ts +4 -4
- package/dist/raw/raw-apex-transaction-base.d.ts +4 -4
- package/dist/raw/raw-apex-transaction.d.ts +40 -40
- package/dist/raw/refunds/refund-v30.d.ts +4 -4
- package/dist/raw/refunds/refund.d.ts +4 -4
- package/dist/raw/sales/sale-v30.d.ts +4 -4
- package/dist/raw/sales/sale.d.ts +4 -4
- package/dist/raw/validations/validation-v20.d.ts +4 -4
- package/dist/raw/validations/validation-v30.d.ts +4 -4
- package/dist/raw/validations/validation-v40.d.ts +4 -4
- package/dist/raw/validations/validation-v50.d.ts +4 -4
- package/dist/raw/validations/validation.d.ts +16 -16
- package/dist/simplified/simplified-apex-banking-taps.d.ts +17 -17
- package/dist/simplified/simplified-apex-banking-taps.js +1 -1
- package/dist/simplified/simplified-apex-inspection-decision.d.ts +12 -12
- package/dist/simplified/simplified-apex-inspection.d.ts +17 -17
- package/dist/simplified/simplified-apex-inspection.js +1 -1
- package/dist/simplified/simplified-apex-location.d.ts +17 -17
- package/dist/simplified/simplified-apex-location.js +1 -1
- package/dist/simplified/simplified-apex-refund.d.ts +17 -17
- package/dist/simplified/simplified-apex-refund.js +1 -1
- package/dist/simplified/simplified-apex-sale.d.ts +17 -17
- package/dist/simplified/simplified-apex-sale.js +1 -1
- package/dist/simplified/simplified-apex-validation.d.ts +29 -29
- package/dist/simplified/simplified-apex-validation.js +2 -2
- package/package.json +1 -1
|
@@ -265,9 +265,9 @@ export type RawApexTransactionBankingTapV40Payload = z.infer<typeof RawApexTrans
|
|
|
265
265
|
export declare const RawApexTransactionBankingTapV40Schema: z.ZodObject<{
|
|
266
266
|
_id: z.ZodString;
|
|
267
267
|
agency_id: z.ZodString;
|
|
268
|
-
created_at: z.ZodEffects<z.
|
|
268
|
+
created_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
|
|
269
269
|
is_ok: z.ZodBoolean;
|
|
270
|
-
received_at: z.ZodEffects<z.
|
|
270
|
+
received_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
|
|
271
271
|
} & {
|
|
272
272
|
payload: z.ZodObject<{
|
|
273
273
|
mac: z.ZodObject<{
|
|
@@ -602,9 +602,9 @@ export declare const RawApexTransactionBankingTapV40Schema: z.ZodObject<{
|
|
|
602
602
|
}, {
|
|
603
603
|
_id: string;
|
|
604
604
|
agency_id: string;
|
|
605
|
-
created_at: number;
|
|
605
|
+
created_at: string | number;
|
|
606
606
|
is_ok: boolean;
|
|
607
|
-
received_at: number;
|
|
607
|
+
received_at: string | number;
|
|
608
608
|
version: "banking-tap-4.0";
|
|
609
609
|
payload: {
|
|
610
610
|
mac: {
|
|
@@ -2,9 +2,9 @@ import { z } from 'zod';
|
|
|
2
2
|
export declare const RawApexTransactionBankingTapSchema: z.ZodDiscriminatedUnion<"version", [z.ZodObject<{
|
|
3
3
|
_id: z.ZodString;
|
|
4
4
|
agency_id: z.ZodString;
|
|
5
|
-
created_at: z.ZodEffects<z.
|
|
5
|
+
created_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
|
|
6
6
|
is_ok: z.ZodBoolean;
|
|
7
|
-
received_at: z.ZodEffects<z.
|
|
7
|
+
received_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
|
|
8
8
|
} & {
|
|
9
9
|
payload: z.ZodObject<{
|
|
10
10
|
mac: z.ZodObject<{
|
|
@@ -339,9 +339,9 @@ export declare const RawApexTransactionBankingTapSchema: z.ZodDiscriminatedUnion
|
|
|
339
339
|
}, {
|
|
340
340
|
_id: string;
|
|
341
341
|
agency_id: string;
|
|
342
|
-
created_at: number;
|
|
342
|
+
created_at: string | number;
|
|
343
343
|
is_ok: boolean;
|
|
344
|
-
received_at: number;
|
|
344
|
+
received_at: string | number;
|
|
345
345
|
version: "banking-tap-4.0";
|
|
346
346
|
payload: {
|
|
347
347
|
mac: {
|
|
@@ -187,9 +187,9 @@ export type RawApexTransactionInspectionDecisionV20Payload = z.infer<typeof RawA
|
|
|
187
187
|
export declare const RawApexTransactionInspectionDecisionV20Schema: z.ZodObject<{
|
|
188
188
|
_id: z.ZodString;
|
|
189
189
|
agency_id: z.ZodString;
|
|
190
|
-
created_at: z.ZodEffects<z.
|
|
190
|
+
created_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
|
|
191
191
|
is_ok: z.ZodBoolean;
|
|
192
|
-
received_at: z.ZodEffects<z.
|
|
192
|
+
received_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
|
|
193
193
|
} & {
|
|
194
194
|
payload: z.ZodObject<{
|
|
195
195
|
controlAckInfo: z.ZodObject<{
|
|
@@ -430,9 +430,9 @@ export declare const RawApexTransactionInspectionDecisionV20Schema: z.ZodObject<
|
|
|
430
430
|
}, {
|
|
431
431
|
_id: string;
|
|
432
432
|
agency_id: string;
|
|
433
|
-
created_at: number;
|
|
433
|
+
created_at: string | number;
|
|
434
434
|
is_ok: boolean;
|
|
435
|
-
received_at: number;
|
|
435
|
+
received_at: string | number;
|
|
436
436
|
version: "inspection-decision-2.0";
|
|
437
437
|
payload: {
|
|
438
438
|
mac: {
|
|
@@ -2,9 +2,9 @@ import { z } from 'zod';
|
|
|
2
2
|
export declare const RawApexTransactionInspectionDecisionSchema: z.ZodDiscriminatedUnion<"version", [z.ZodObject<{
|
|
3
3
|
_id: z.ZodString;
|
|
4
4
|
agency_id: z.ZodString;
|
|
5
|
-
created_at: z.ZodEffects<z.
|
|
5
|
+
created_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
|
|
6
6
|
is_ok: z.ZodBoolean;
|
|
7
|
-
received_at: z.ZodEffects<z.
|
|
7
|
+
received_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
|
|
8
8
|
} & {
|
|
9
9
|
payload: z.ZodObject<{
|
|
10
10
|
controlAckInfo: z.ZodObject<{
|
|
@@ -245,9 +245,9 @@ export declare const RawApexTransactionInspectionDecisionSchema: z.ZodDiscrimina
|
|
|
245
245
|
}, {
|
|
246
246
|
_id: string;
|
|
247
247
|
agency_id: string;
|
|
248
|
-
created_at: number;
|
|
248
|
+
created_at: string | number;
|
|
249
249
|
is_ok: boolean;
|
|
250
|
-
received_at: number;
|
|
250
|
+
received_at: string | number;
|
|
251
251
|
version: "inspection-decision-2.0";
|
|
252
252
|
payload: {
|
|
253
253
|
mac: {
|
|
@@ -387,9 +387,9 @@ export type RawApexTransactionInspectionV20Payload = z.infer<typeof RawApexTrans
|
|
|
387
387
|
export declare const RawApexTransactionInspectionV20Schema: z.ZodObject<{
|
|
388
388
|
_id: z.ZodString;
|
|
389
389
|
agency_id: z.ZodString;
|
|
390
|
-
created_at: z.ZodEffects<z.
|
|
390
|
+
created_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
|
|
391
391
|
is_ok: z.ZodBoolean;
|
|
392
|
-
received_at: z.ZodEffects<z.
|
|
392
|
+
received_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
|
|
393
393
|
} & {
|
|
394
394
|
payload: z.ZodObject<{
|
|
395
395
|
cardInfo: z.ZodObject<{
|
|
@@ -870,9 +870,9 @@ export declare const RawApexTransactionInspectionV20Schema: z.ZodObject<{
|
|
|
870
870
|
}, {
|
|
871
871
|
_id: string;
|
|
872
872
|
agency_id: string;
|
|
873
|
-
created_at: number;
|
|
873
|
+
created_at: string | number;
|
|
874
874
|
is_ok: boolean;
|
|
875
|
-
received_at: number;
|
|
875
|
+
received_at: string | number;
|
|
876
876
|
version: "inspection-2.0";
|
|
877
877
|
payload: {
|
|
878
878
|
mac: {
|
|
@@ -2,9 +2,9 @@ import { z } from 'zod';
|
|
|
2
2
|
export declare const RawApexTransactionInspectionSchema: z.ZodDiscriminatedUnion<"version", [z.ZodObject<{
|
|
3
3
|
_id: z.ZodString;
|
|
4
4
|
agency_id: z.ZodString;
|
|
5
|
-
created_at: z.ZodEffects<z.
|
|
5
|
+
created_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
|
|
6
6
|
is_ok: z.ZodBoolean;
|
|
7
|
-
received_at: z.ZodEffects<z.
|
|
7
|
+
received_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
|
|
8
8
|
} & {
|
|
9
9
|
payload: z.ZodObject<{
|
|
10
10
|
cardInfo: z.ZodObject<{
|
|
@@ -485,9 +485,9 @@ export declare const RawApexTransactionInspectionSchema: z.ZodDiscriminatedUnion
|
|
|
485
485
|
}, {
|
|
486
486
|
_id: string;
|
|
487
487
|
agency_id: string;
|
|
488
|
-
created_at: number;
|
|
488
|
+
created_at: string | number;
|
|
489
489
|
is_ok: boolean;
|
|
490
|
-
received_at: number;
|
|
490
|
+
received_at: string | number;
|
|
491
491
|
version: "inspection-2.0";
|
|
492
492
|
payload: {
|
|
493
493
|
mac: {
|
|
@@ -255,9 +255,9 @@ export type RawApexTransactionLocationV30Payload = z.infer<typeof RawApexTransac
|
|
|
255
255
|
export declare const RawApexTransactionLocationV30Schema: z.ZodObject<{
|
|
256
256
|
_id: z.ZodString;
|
|
257
257
|
agency_id: z.ZodString;
|
|
258
|
-
created_at: z.ZodEffects<z.
|
|
258
|
+
created_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
|
|
259
259
|
is_ok: z.ZodBoolean;
|
|
260
|
-
received_at: z.ZodEffects<z.
|
|
260
|
+
received_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
|
|
261
261
|
} & {
|
|
262
262
|
payload: z.ZodObject<{
|
|
263
263
|
countersInfo: z.ZodObject<{
|
|
@@ -580,9 +580,9 @@ export declare const RawApexTransactionLocationV30Schema: z.ZodObject<{
|
|
|
580
580
|
}, {
|
|
581
581
|
_id: string;
|
|
582
582
|
agency_id: string;
|
|
583
|
-
created_at: number;
|
|
583
|
+
created_at: string | number;
|
|
584
584
|
is_ok: boolean;
|
|
585
|
-
received_at: number;
|
|
585
|
+
received_at: string | number;
|
|
586
586
|
version: "location-3.0";
|
|
587
587
|
payload: {
|
|
588
588
|
mac: {
|
|
@@ -2,9 +2,9 @@ import { z } from 'zod';
|
|
|
2
2
|
export declare const RawApexTransactionLocationSchema: z.ZodDiscriminatedUnion<"version", [z.ZodObject<{
|
|
3
3
|
_id: z.ZodString;
|
|
4
4
|
agency_id: z.ZodString;
|
|
5
|
-
created_at: z.ZodEffects<z.
|
|
5
|
+
created_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
|
|
6
6
|
is_ok: z.ZodBoolean;
|
|
7
|
-
received_at: z.ZodEffects<z.
|
|
7
|
+
received_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
|
|
8
8
|
} & {
|
|
9
9
|
payload: z.ZodObject<{
|
|
10
10
|
countersInfo: z.ZodObject<{
|
|
@@ -327,9 +327,9 @@ export declare const RawApexTransactionLocationSchema: z.ZodDiscriminatedUnion<"
|
|
|
327
327
|
}, {
|
|
328
328
|
_id: string;
|
|
329
329
|
agency_id: string;
|
|
330
|
-
created_at: number;
|
|
330
|
+
created_at: string | number;
|
|
331
331
|
is_ok: boolean;
|
|
332
|
-
received_at: number;
|
|
332
|
+
received_at: string | number;
|
|
333
333
|
version: "location-3.0";
|
|
334
334
|
payload: {
|
|
335
335
|
mac: {
|
|
@@ -2,9 +2,9 @@ import { z } from 'zod';
|
|
|
2
2
|
export declare const RawApexTransactionBaseSchema: z.ZodObject<{
|
|
3
3
|
_id: z.ZodString;
|
|
4
4
|
agency_id: z.ZodString;
|
|
5
|
-
created_at: z.ZodEffects<z.
|
|
5
|
+
created_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
|
|
6
6
|
is_ok: z.ZodBoolean;
|
|
7
|
-
received_at: z.ZodEffects<z.
|
|
7
|
+
received_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
|
|
8
8
|
version: z.ZodString;
|
|
9
9
|
}, "strip", z.ZodTypeAny, {
|
|
10
10
|
_id: string;
|
|
@@ -20,8 +20,8 @@ export declare const RawApexTransactionBaseSchema: z.ZodObject<{
|
|
|
20
20
|
}, {
|
|
21
21
|
_id: string;
|
|
22
22
|
agency_id: string;
|
|
23
|
-
created_at: number;
|
|
23
|
+
created_at: string | number;
|
|
24
24
|
is_ok: boolean;
|
|
25
|
-
received_at: number;
|
|
25
|
+
received_at: string | number;
|
|
26
26
|
version: string;
|
|
27
27
|
}>;
|
|
@@ -2,9 +2,9 @@ import { z } from 'zod';
|
|
|
2
2
|
export declare const RawApexTransactionSchema: z.ZodDiscriminatedUnion<"version", [z.ZodObject<{
|
|
3
3
|
_id: z.ZodString;
|
|
4
4
|
agency_id: z.ZodString;
|
|
5
|
-
created_at: z.ZodEffects<z.
|
|
5
|
+
created_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
|
|
6
6
|
is_ok: z.ZodBoolean;
|
|
7
|
-
received_at: z.ZodEffects<z.
|
|
7
|
+
received_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
|
|
8
8
|
} & {
|
|
9
9
|
payload: z.ZodObject<{
|
|
10
10
|
mac: z.ZodObject<{
|
|
@@ -339,9 +339,9 @@ export declare const RawApexTransactionSchema: z.ZodDiscriminatedUnion<"version"
|
|
|
339
339
|
}, {
|
|
340
340
|
_id: string;
|
|
341
341
|
agency_id: string;
|
|
342
|
-
created_at: number;
|
|
342
|
+
created_at: string | number;
|
|
343
343
|
is_ok: boolean;
|
|
344
|
-
received_at: number;
|
|
344
|
+
received_at: string | number;
|
|
345
345
|
version: "banking-tap-4.0";
|
|
346
346
|
payload: {
|
|
347
347
|
mac: {
|
|
@@ -402,9 +402,9 @@ export declare const RawApexTransactionSchema: z.ZodDiscriminatedUnion<"version"
|
|
|
402
402
|
}>, z.ZodObject<{
|
|
403
403
|
_id: z.ZodString;
|
|
404
404
|
agency_id: z.ZodString;
|
|
405
|
-
created_at: z.ZodEffects<z.
|
|
405
|
+
created_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
|
|
406
406
|
is_ok: z.ZodBoolean;
|
|
407
|
-
received_at: z.ZodEffects<z.
|
|
407
|
+
received_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
|
|
408
408
|
} & {
|
|
409
409
|
payload: z.ZodObject<{
|
|
410
410
|
controlAckInfo: z.ZodObject<{
|
|
@@ -645,9 +645,9 @@ export declare const RawApexTransactionSchema: z.ZodDiscriminatedUnion<"version"
|
|
|
645
645
|
}, {
|
|
646
646
|
_id: string;
|
|
647
647
|
agency_id: string;
|
|
648
|
-
created_at: number;
|
|
648
|
+
created_at: string | number;
|
|
649
649
|
is_ok: boolean;
|
|
650
|
-
received_at: number;
|
|
650
|
+
received_at: string | number;
|
|
651
651
|
version: "inspection-decision-2.0";
|
|
652
652
|
payload: {
|
|
653
653
|
mac: {
|
|
@@ -692,9 +692,9 @@ export declare const RawApexTransactionSchema: z.ZodDiscriminatedUnion<"version"
|
|
|
692
692
|
}>, z.ZodObject<{
|
|
693
693
|
_id: z.ZodString;
|
|
694
694
|
agency_id: z.ZodString;
|
|
695
|
-
created_at: z.ZodEffects<z.
|
|
695
|
+
created_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
|
|
696
696
|
is_ok: z.ZodBoolean;
|
|
697
|
-
received_at: z.ZodEffects<z.
|
|
697
|
+
received_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
|
|
698
698
|
} & {
|
|
699
699
|
payload: z.ZodObject<{
|
|
700
700
|
cardInfo: z.ZodObject<{
|
|
@@ -1175,9 +1175,9 @@ export declare const RawApexTransactionSchema: z.ZodDiscriminatedUnion<"version"
|
|
|
1175
1175
|
}, {
|
|
1176
1176
|
_id: string;
|
|
1177
1177
|
agency_id: string;
|
|
1178
|
-
created_at: number;
|
|
1178
|
+
created_at: string | number;
|
|
1179
1179
|
is_ok: boolean;
|
|
1180
|
-
received_at: number;
|
|
1180
|
+
received_at: string | number;
|
|
1181
1181
|
version: "inspection-2.0";
|
|
1182
1182
|
payload: {
|
|
1183
1183
|
mac: {
|
|
@@ -1262,9 +1262,9 @@ export declare const RawApexTransactionSchema: z.ZodDiscriminatedUnion<"version"
|
|
|
1262
1262
|
}>, z.ZodObject<{
|
|
1263
1263
|
_id: z.ZodString;
|
|
1264
1264
|
agency_id: z.ZodString;
|
|
1265
|
-
created_at: z.ZodEffects<z.
|
|
1265
|
+
created_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
|
|
1266
1266
|
is_ok: z.ZodBoolean;
|
|
1267
|
-
received_at: z.ZodEffects<z.
|
|
1267
|
+
received_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
|
|
1268
1268
|
} & {
|
|
1269
1269
|
payload: z.ZodObject<{
|
|
1270
1270
|
countersInfo: z.ZodObject<{
|
|
@@ -1587,9 +1587,9 @@ export declare const RawApexTransactionSchema: z.ZodDiscriminatedUnion<"version"
|
|
|
1587
1587
|
}, {
|
|
1588
1588
|
_id: string;
|
|
1589
1589
|
agency_id: string;
|
|
1590
|
-
created_at: number;
|
|
1590
|
+
created_at: string | number;
|
|
1591
1591
|
is_ok: boolean;
|
|
1592
|
-
received_at: number;
|
|
1592
|
+
received_at: string | number;
|
|
1593
1593
|
version: "location-3.0";
|
|
1594
1594
|
payload: {
|
|
1595
1595
|
mac: {
|
|
@@ -1648,9 +1648,9 @@ export declare const RawApexTransactionSchema: z.ZodDiscriminatedUnion<"version"
|
|
|
1648
1648
|
}>, z.ZodObject<{
|
|
1649
1649
|
_id: z.ZodString;
|
|
1650
1650
|
agency_id: z.ZodString;
|
|
1651
|
-
created_at: z.ZodEffects<z.
|
|
1651
|
+
created_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
|
|
1652
1652
|
is_ok: z.ZodBoolean;
|
|
1653
|
-
received_at: z.ZodEffects<z.
|
|
1653
|
+
received_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
|
|
1654
1654
|
} & {
|
|
1655
1655
|
payload: z.ZodObject<{
|
|
1656
1656
|
cardInfo: z.ZodObject<{
|
|
@@ -2035,9 +2035,9 @@ export declare const RawApexTransactionSchema: z.ZodDiscriminatedUnion<"version"
|
|
|
2035
2035
|
}, {
|
|
2036
2036
|
_id: string;
|
|
2037
2037
|
agency_id: string;
|
|
2038
|
-
created_at: number;
|
|
2038
|
+
created_at: string | number;
|
|
2039
2039
|
is_ok: boolean;
|
|
2040
|
-
received_at: number;
|
|
2040
|
+
received_at: string | number;
|
|
2041
2041
|
version: "refund-3.0";
|
|
2042
2042
|
payload: {
|
|
2043
2043
|
mac: {
|
|
@@ -2107,9 +2107,9 @@ export declare const RawApexTransactionSchema: z.ZodDiscriminatedUnion<"version"
|
|
|
2107
2107
|
}>, z.ZodObject<{
|
|
2108
2108
|
_id: z.ZodString;
|
|
2109
2109
|
agency_id: z.ZodString;
|
|
2110
|
-
created_at: z.ZodEffects<z.
|
|
2110
|
+
created_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
|
|
2111
2111
|
is_ok: z.ZodBoolean;
|
|
2112
|
-
received_at: z.ZodEffects<z.
|
|
2112
|
+
received_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
|
|
2113
2113
|
} & {
|
|
2114
2114
|
payload: z.ZodObject<{
|
|
2115
2115
|
cardInfo: z.ZodObject<{
|
|
@@ -2488,9 +2488,9 @@ export declare const RawApexTransactionSchema: z.ZodDiscriminatedUnion<"version"
|
|
|
2488
2488
|
}, {
|
|
2489
2489
|
_id: string;
|
|
2490
2490
|
agency_id: string;
|
|
2491
|
-
created_at: number;
|
|
2491
|
+
created_at: string | number;
|
|
2492
2492
|
is_ok: boolean;
|
|
2493
|
-
received_at: number;
|
|
2493
|
+
received_at: string | number;
|
|
2494
2494
|
version: "sale-3.0";
|
|
2495
2495
|
payload: {
|
|
2496
2496
|
mac: {
|
|
@@ -2559,9 +2559,9 @@ export declare const RawApexTransactionSchema: z.ZodDiscriminatedUnion<"version"
|
|
|
2559
2559
|
}>, z.ZodObject<{
|
|
2560
2560
|
_id: z.ZodString;
|
|
2561
2561
|
agency_id: z.ZodString;
|
|
2562
|
-
created_at: z.ZodEffects<z.
|
|
2562
|
+
created_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
|
|
2563
2563
|
is_ok: z.ZodBoolean;
|
|
2564
|
-
received_at: z.ZodEffects<z.
|
|
2564
|
+
received_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
|
|
2565
2565
|
} & {
|
|
2566
2566
|
payload: z.ZodObject<{
|
|
2567
2567
|
cardInfo: z.ZodObject<{
|
|
@@ -3012,9 +3012,9 @@ export declare const RawApexTransactionSchema: z.ZodDiscriminatedUnion<"version"
|
|
|
3012
3012
|
}, {
|
|
3013
3013
|
_id: string;
|
|
3014
3014
|
agency_id: string;
|
|
3015
|
-
created_at: number;
|
|
3015
|
+
created_at: string | number;
|
|
3016
3016
|
is_ok: boolean;
|
|
3017
|
-
received_at: number;
|
|
3017
|
+
received_at: string | number;
|
|
3018
3018
|
version: "validation-2.0";
|
|
3019
3019
|
payload: {
|
|
3020
3020
|
mac: {
|
|
@@ -3095,9 +3095,9 @@ export declare const RawApexTransactionSchema: z.ZodDiscriminatedUnion<"version"
|
|
|
3095
3095
|
}>, z.ZodObject<{
|
|
3096
3096
|
_id: z.ZodString;
|
|
3097
3097
|
agency_id: z.ZodString;
|
|
3098
|
-
created_at: z.ZodEffects<z.
|
|
3098
|
+
created_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
|
|
3099
3099
|
is_ok: z.ZodBoolean;
|
|
3100
|
-
received_at: z.ZodEffects<z.
|
|
3100
|
+
received_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
|
|
3101
3101
|
} & {
|
|
3102
3102
|
payload: z.ZodObject<{
|
|
3103
3103
|
cardInfo: z.ZodObject<{
|
|
@@ -3554,9 +3554,9 @@ export declare const RawApexTransactionSchema: z.ZodDiscriminatedUnion<"version"
|
|
|
3554
3554
|
}, {
|
|
3555
3555
|
_id: string;
|
|
3556
3556
|
agency_id: string;
|
|
3557
|
-
created_at: number;
|
|
3557
|
+
created_at: string | number;
|
|
3558
3558
|
is_ok: boolean;
|
|
3559
|
-
received_at: number;
|
|
3559
|
+
received_at: string | number;
|
|
3560
3560
|
version: "validation-3.0";
|
|
3561
3561
|
payload: {
|
|
3562
3562
|
mac: {
|
|
@@ -3638,9 +3638,9 @@ export declare const RawApexTransactionSchema: z.ZodDiscriminatedUnion<"version"
|
|
|
3638
3638
|
}>, z.ZodObject<{
|
|
3639
3639
|
_id: z.ZodString;
|
|
3640
3640
|
agency_id: z.ZodString;
|
|
3641
|
-
created_at: z.ZodEffects<z.
|
|
3641
|
+
created_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
|
|
3642
3642
|
is_ok: z.ZodBoolean;
|
|
3643
|
-
received_at: z.ZodEffects<z.
|
|
3643
|
+
received_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
|
|
3644
3644
|
} & {
|
|
3645
3645
|
payload: z.ZodObject<{
|
|
3646
3646
|
cardInfo: z.ZodObject<{
|
|
@@ -4097,9 +4097,9 @@ export declare const RawApexTransactionSchema: z.ZodDiscriminatedUnion<"version"
|
|
|
4097
4097
|
}, {
|
|
4098
4098
|
_id: string;
|
|
4099
4099
|
agency_id: string;
|
|
4100
|
-
created_at: number;
|
|
4100
|
+
created_at: string | number;
|
|
4101
4101
|
is_ok: boolean;
|
|
4102
|
-
received_at: number;
|
|
4102
|
+
received_at: string | number;
|
|
4103
4103
|
version: "validation-4.0";
|
|
4104
4104
|
payload: {
|
|
4105
4105
|
mac: {
|
|
@@ -4181,9 +4181,9 @@ export declare const RawApexTransactionSchema: z.ZodDiscriminatedUnion<"version"
|
|
|
4181
4181
|
}>, z.ZodObject<{
|
|
4182
4182
|
_id: z.ZodString;
|
|
4183
4183
|
agency_id: z.ZodString;
|
|
4184
|
-
created_at: z.ZodEffects<z.
|
|
4184
|
+
created_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
|
|
4185
4185
|
is_ok: z.ZodBoolean;
|
|
4186
|
-
received_at: z.ZodEffects<z.
|
|
4186
|
+
received_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
|
|
4187
4187
|
} & {
|
|
4188
4188
|
payload: z.ZodObject<{
|
|
4189
4189
|
cardInfo: z.ZodObject<{
|
|
@@ -4640,9 +4640,9 @@ export declare const RawApexTransactionSchema: z.ZodDiscriminatedUnion<"version"
|
|
|
4640
4640
|
}, {
|
|
4641
4641
|
_id: string;
|
|
4642
4642
|
agency_id: string;
|
|
4643
|
-
created_at: number;
|
|
4643
|
+
created_at: string | number;
|
|
4644
4644
|
is_ok: boolean;
|
|
4645
|
-
received_at: number;
|
|
4645
|
+
received_at: string | number;
|
|
4646
4646
|
version: "validation-5.0";
|
|
4647
4647
|
payload: {
|
|
4648
4648
|
mac: {
|
|
@@ -306,9 +306,9 @@ export type RawApexTransactionRefundV30Payload = z.infer<typeof RawApexTransacti
|
|
|
306
306
|
export declare const RawApexTransactionRefundV30Schema: z.ZodObject<{
|
|
307
307
|
_id: z.ZodString;
|
|
308
308
|
agency_id: z.ZodString;
|
|
309
|
-
created_at: z.ZodEffects<z.
|
|
309
|
+
created_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
|
|
310
310
|
is_ok: z.ZodBoolean;
|
|
311
|
-
received_at: z.ZodEffects<z.
|
|
311
|
+
received_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
|
|
312
312
|
} & {
|
|
313
313
|
payload: z.ZodObject<{
|
|
314
314
|
cardInfo: z.ZodObject<{
|
|
@@ -693,9 +693,9 @@ export declare const RawApexTransactionRefundV30Schema: z.ZodObject<{
|
|
|
693
693
|
}, {
|
|
694
694
|
_id: string;
|
|
695
695
|
agency_id: string;
|
|
696
|
-
created_at: number;
|
|
696
|
+
created_at: string | number;
|
|
697
697
|
is_ok: boolean;
|
|
698
|
-
received_at: number;
|
|
698
|
+
received_at: string | number;
|
|
699
699
|
version: "refund-3.0";
|
|
700
700
|
payload: {
|
|
701
701
|
mac: {
|
|
@@ -2,9 +2,9 @@ import { z } from 'zod';
|
|
|
2
2
|
export declare const RawApexTransactionRefundSchema: z.ZodDiscriminatedUnion<"version", [z.ZodObject<{
|
|
3
3
|
_id: z.ZodString;
|
|
4
4
|
agency_id: z.ZodString;
|
|
5
|
-
created_at: z.ZodEffects<z.
|
|
5
|
+
created_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
|
|
6
6
|
is_ok: z.ZodBoolean;
|
|
7
|
-
received_at: z.ZodEffects<z.
|
|
7
|
+
received_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
|
|
8
8
|
} & {
|
|
9
9
|
payload: z.ZodObject<{
|
|
10
10
|
cardInfo: z.ZodObject<{
|
|
@@ -389,9 +389,9 @@ export declare const RawApexTransactionRefundSchema: z.ZodDiscriminatedUnion<"ve
|
|
|
389
389
|
}, {
|
|
390
390
|
_id: string;
|
|
391
391
|
agency_id: string;
|
|
392
|
-
created_at: number;
|
|
392
|
+
created_at: string | number;
|
|
393
393
|
is_ok: boolean;
|
|
394
|
-
received_at: number;
|
|
394
|
+
received_at: string | number;
|
|
395
395
|
version: "refund-3.0";
|
|
396
396
|
payload: {
|
|
397
397
|
mac: {
|
|
@@ -301,9 +301,9 @@ export type RawApexTransactionSaleV30Payload = z.infer<typeof RawApexTransaction
|
|
|
301
301
|
export declare const RawApexTransactionSaleV30Schema: z.ZodObject<{
|
|
302
302
|
_id: z.ZodString;
|
|
303
303
|
agency_id: z.ZodString;
|
|
304
|
-
created_at: z.ZodEffects<z.
|
|
304
|
+
created_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
|
|
305
305
|
is_ok: z.ZodBoolean;
|
|
306
|
-
received_at: z.ZodEffects<z.
|
|
306
|
+
received_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
|
|
307
307
|
} & {
|
|
308
308
|
payload: z.ZodObject<{
|
|
309
309
|
cardInfo: z.ZodObject<{
|
|
@@ -682,9 +682,9 @@ export declare const RawApexTransactionSaleV30Schema: z.ZodObject<{
|
|
|
682
682
|
}, {
|
|
683
683
|
_id: string;
|
|
684
684
|
agency_id: string;
|
|
685
|
-
created_at: number;
|
|
685
|
+
created_at: string | number;
|
|
686
686
|
is_ok: boolean;
|
|
687
|
-
received_at: number;
|
|
687
|
+
received_at: string | number;
|
|
688
688
|
version: "sale-3.0";
|
|
689
689
|
payload: {
|
|
690
690
|
mac: {
|
package/dist/raw/sales/sale.d.ts
CHANGED
|
@@ -2,9 +2,9 @@ import { z } from 'zod';
|
|
|
2
2
|
export declare const RawApexTransactionSaleSchema: z.ZodDiscriminatedUnion<"version", [z.ZodObject<{
|
|
3
3
|
_id: z.ZodString;
|
|
4
4
|
agency_id: z.ZodString;
|
|
5
|
-
created_at: z.ZodEffects<z.
|
|
5
|
+
created_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
|
|
6
6
|
is_ok: z.ZodBoolean;
|
|
7
|
-
received_at: z.ZodEffects<z.
|
|
7
|
+
received_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
|
|
8
8
|
} & {
|
|
9
9
|
payload: z.ZodObject<{
|
|
10
10
|
cardInfo: z.ZodObject<{
|
|
@@ -383,9 +383,9 @@ export declare const RawApexTransactionSaleSchema: z.ZodDiscriminatedUnion<"vers
|
|
|
383
383
|
}, {
|
|
384
384
|
_id: string;
|
|
385
385
|
agency_id: string;
|
|
386
|
-
created_at: number;
|
|
386
|
+
created_at: string | number;
|
|
387
387
|
is_ok: boolean;
|
|
388
|
-
received_at: number;
|
|
388
|
+
received_at: string | number;
|
|
389
389
|
version: "sale-3.0";
|
|
390
390
|
payload: {
|
|
391
391
|
mac: {
|
|
@@ -361,9 +361,9 @@ export type RawApexTransactionValidationV20Payload = z.infer<typeof RawApexTrans
|
|
|
361
361
|
export declare const RawApexTransactionValidationV20Schema: z.ZodObject<{
|
|
362
362
|
_id: z.ZodString;
|
|
363
363
|
agency_id: z.ZodString;
|
|
364
|
-
created_at: z.ZodEffects<z.
|
|
364
|
+
created_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
|
|
365
365
|
is_ok: z.ZodBoolean;
|
|
366
|
-
received_at: z.ZodEffects<z.
|
|
366
|
+
received_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
|
|
367
367
|
} & {
|
|
368
368
|
payload: z.ZodObject<{
|
|
369
369
|
cardInfo: z.ZodObject<{
|
|
@@ -814,9 +814,9 @@ export declare const RawApexTransactionValidationV20Schema: z.ZodObject<{
|
|
|
814
814
|
}, {
|
|
815
815
|
_id: string;
|
|
816
816
|
agency_id: string;
|
|
817
|
-
created_at: number;
|
|
817
|
+
created_at: string | number;
|
|
818
818
|
is_ok: boolean;
|
|
819
|
-
received_at: number;
|
|
819
|
+
received_at: string | number;
|
|
820
820
|
version: "validation-2.0";
|
|
821
821
|
payload: {
|
|
822
822
|
mac: {
|
|
@@ -366,9 +366,9 @@ export type RawApexTransactionValidationV30Payload = z.infer<typeof RawApexTrans
|
|
|
366
366
|
export declare const RawApexTransactionValidationV30Schema: z.ZodObject<{
|
|
367
367
|
_id: z.ZodString;
|
|
368
368
|
agency_id: z.ZodString;
|
|
369
|
-
created_at: z.ZodEffects<z.
|
|
369
|
+
created_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
|
|
370
370
|
is_ok: z.ZodBoolean;
|
|
371
|
-
received_at: z.ZodEffects<z.
|
|
371
|
+
received_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
|
|
372
372
|
} & {
|
|
373
373
|
payload: z.ZodObject<{
|
|
374
374
|
cardInfo: z.ZodObject<{
|
|
@@ -825,9 +825,9 @@ export declare const RawApexTransactionValidationV30Schema: z.ZodObject<{
|
|
|
825
825
|
}, {
|
|
826
826
|
_id: string;
|
|
827
827
|
agency_id: string;
|
|
828
|
-
created_at: number;
|
|
828
|
+
created_at: string | number;
|
|
829
829
|
is_ok: boolean;
|
|
830
|
-
received_at: number;
|
|
830
|
+
received_at: string | number;
|
|
831
831
|
version: "validation-3.0";
|
|
832
832
|
payload: {
|
|
833
833
|
mac: {
|
|
@@ -366,9 +366,9 @@ export type RawApexTransactionValidationV40Payload = z.infer<typeof RawApexTrans
|
|
|
366
366
|
export declare const RawApexTransactionValidationV40Schema: z.ZodObject<{
|
|
367
367
|
_id: z.ZodString;
|
|
368
368
|
agency_id: z.ZodString;
|
|
369
|
-
created_at: z.ZodEffects<z.
|
|
369
|
+
created_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
|
|
370
370
|
is_ok: z.ZodBoolean;
|
|
371
|
-
received_at: z.ZodEffects<z.
|
|
371
|
+
received_at: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("@tmlmobilidade/go-types-shared").UnixTimestamp, string | number>;
|
|
372
372
|
} & {
|
|
373
373
|
payload: z.ZodObject<{
|
|
374
374
|
cardInfo: z.ZodObject<{
|
|
@@ -825,9 +825,9 @@ export declare const RawApexTransactionValidationV40Schema: z.ZodObject<{
|
|
|
825
825
|
}, {
|
|
826
826
|
_id: string;
|
|
827
827
|
agency_id: string;
|
|
828
|
-
created_at: number;
|
|
828
|
+
created_at: string | number;
|
|
829
829
|
is_ok: boolean;
|
|
830
|
-
received_at: number;
|
|
830
|
+
received_at: string | number;
|
|
831
831
|
version: "validation-4.0";
|
|
832
832
|
payload: {
|
|
833
833
|
mac: {
|