@tmlmobilidade/types 20250526.1903.18 → 20250526.1908.32

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.
@@ -33,37 +33,18 @@ export interface PCGI_ApexTransaction_Validation_V3 {
33
33
  networkID: string;
34
34
  operatorLongID: string;
35
35
  };
36
- paymentInfo: {
37
- currency: number;
38
- invoiceNumber: string;
39
- paymentMethod: number;
40
- price: number;
41
- usageDays: number;
42
- usageValue: number;
43
- vatNumber: number;
44
- };
45
- saleLoadInfo: {
46
- contractNumber: number;
47
- greenlistItemID: string;
48
- greylistItemID: string;
49
- productLongID: string;
50
- productQuantity: number;
51
- profilesUsedCount: number;
52
- profilesUsedData: {
53
- profileLongID: string;
54
- }[];
55
- salesPackageID: string;
56
- SpatialValidityCount: number;
57
- spatialValidityDetail: {
58
- productMatrixElementID: string;
59
- spatialValidityLongID: string;
60
- zonesCount: number;
61
- }[];
62
- tickLoadDate: string;
63
- tickLoadMachCode: number;
64
- tickLoadNumbDaily: number;
65
- unitsQuantity: number;
66
- voucherNr: string;
36
+ serviceInfo: {
37
+ blockID: string;
38
+ dutyID: string;
39
+ journeyID: string;
40
+ lineLongID: string;
41
+ onBehalfOfOperatorLongID: string;
42
+ outOfBoundsType: number;
43
+ patternLongID: string;
44
+ stopLongID: string;
45
+ validatorID: number;
46
+ vehicleID: number;
47
+ zoneLongID: string;
67
48
  };
68
49
  signedData: {
69
50
  contractBinaryRead: string;
@@ -78,6 +59,24 @@ export interface PCGI_ApexTransaction_Validation_V3 {
78
59
  transactionGroupId: string;
79
60
  transactionId: string;
80
61
  };
62
+ validationInfo: {
63
+ calendarID: string;
64
+ contractNumber: number;
65
+ eventType: number;
66
+ greylistItemsData: [];
67
+ productLongID: string;
68
+ profilesUsedData: {
69
+ profileLongID: string;
70
+ }[];
71
+ spatialValidityLongID: string;
72
+ tickLoadDate: string;
73
+ tickLoadMachCode: number;
74
+ tickLoadNumbDaily: number;
75
+ unitsRemaining: number;
76
+ validationStatus: number;
77
+ validationType: number;
78
+ validityPeriodID: string;
79
+ };
81
80
  versionInfo: {
82
81
  actionListsVersion: string;
83
82
  apexVersion: string;
@@ -91,7 +91,7 @@ export declare const SimplifiedApexValidationSchema: z.ZodObject<{
91
91
  trip_id: z.ZodString;
92
92
  vehicle_id: z.ZodString;
93
93
  } & {
94
- card_physical_type: z.ZodString;
94
+ card_physical_type: z.ZodNumber;
95
95
  card_serial_number: z.ZodString;
96
96
  card_type_id: z.ZodString;
97
97
  event_type: z.ZodNumber;
@@ -120,7 +120,7 @@ export declare const SimplifiedApexValidationSchema: z.ZodObject<{
120
120
  vehicle_id: string;
121
121
  card_serial_number: string;
122
122
  product_id: string;
123
- card_physical_type: string;
123
+ card_physical_type: number;
124
124
  card_type_id: string;
125
125
  event_type: number;
126
126
  product_type: "monthly" | "on-board-sale" | "prepaid";
@@ -151,7 +151,7 @@ export declare const SimplifiedApexValidationSchema: z.ZodObject<{
151
151
  vehicle_id: string;
152
152
  card_serial_number: string;
153
153
  product_id: string;
154
- card_physical_type: string;
154
+ card_physical_type: number;
155
155
  card_type_id: string;
156
156
  event_type: number;
157
157
  product_type: "monthly" | "on-board-sale" | "prepaid";
@@ -77,7 +77,7 @@ export var ApexValidationStatus;
77
77
  })(ApexValidationStatus || (ApexValidationStatus = {}));
78
78
  /* * */
79
79
  export const SimplifiedApexValidationSchema = SimplifiedApexBaseSchema.extend({
80
- card_physical_type: z.string(),
80
+ card_physical_type: z.number(),
81
81
  card_serial_number: z.string(),
82
82
  card_type_id: z.string(),
83
83
  event_type: z.number(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tmlmobilidade/types",
3
- "version": "20250526.1903.18",
3
+ "version": "20250526.1908.32",
4
4
  "author": "João de Vasconcelos & Jusi Monteiro",
5
5
  "license": "AGPL-3.0-or-later",
6
6
  "homepage": "https://github.com/tmlmobilidade/services#readme",