@tmlmobilidade/types 20250828.1000.31 → 20250828.1338.25

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.
@@ -152,6 +152,7 @@ export declare const SimplifiedApexValidationSchema: z.ZodObject<{
152
152
  agency_id: z.ZodString;
153
153
  apex_version: z.ZodString;
154
154
  card_serial_number: z.ZodString;
155
+ category: z.ZodEnum<["prepaid", "subscription", "on_board_sale"]>;
155
156
  device_id: z.ZodString;
156
157
  event_type: z.ZodNumber;
157
158
  is_passenger: z.ZodBoolean;
@@ -258,6 +259,7 @@ export declare const SimplifiedApexValidationSchema: z.ZodObject<{
258
259
  on_board_sale_id: string | null;
259
260
  is_passenger: boolean;
260
261
  on_board_refund_id: string | null;
262
+ category: "prepaid" | "subscription" | "on_board_sale";
261
263
  event_type: number;
262
264
  product_id: string;
263
265
  units_qty: number | null;
@@ -285,6 +287,7 @@ export declare const SimplifiedApexValidationSchema: z.ZodObject<{
285
287
  on_board_sale_id: string | null;
286
288
  is_passenger: boolean;
287
289
  on_board_refund_id: string | null;
290
+ category: "prepaid" | "subscription" | "on_board_sale";
288
291
  event_type: number;
289
292
  product_id: string;
290
293
  units_qty: number | null;
@@ -299,6 +302,7 @@ export declare const UpdateSimplifiedApexValidationSchema: z.ZodObject<{
299
302
  agency_id: z.ZodOptional<z.ZodString>;
300
303
  apex_version: z.ZodOptional<z.ZodString>;
301
304
  card_serial_number: z.ZodOptional<z.ZodString>;
305
+ category: z.ZodOptional<z.ZodEnum<["prepaid", "subscription", "on_board_sale"]>>;
302
306
  device_id: z.ZodOptional<z.ZodString>;
303
307
  event_type: z.ZodOptional<z.ZodNumber>;
304
308
  is_passenger: z.ZodOptional<z.ZodBoolean>;
@@ -411,6 +415,7 @@ export declare const UpdateSimplifiedApexValidationSchema: z.ZodObject<{
411
415
  on_board_sale_id?: string | null | undefined;
412
416
  is_passenger?: boolean | undefined;
413
417
  on_board_refund_id?: string | null | undefined;
418
+ category?: "prepaid" | "subscription" | "on_board_sale" | undefined;
414
419
  event_type?: number | undefined;
415
420
  product_id?: string | undefined;
416
421
  units_qty?: number | null | undefined;
@@ -434,6 +439,7 @@ export declare const UpdateSimplifiedApexValidationSchema: z.ZodObject<{
434
439
  on_board_sale_id?: string | null | undefined;
435
440
  is_passenger?: boolean | undefined;
436
441
  on_board_refund_id?: string | null | undefined;
442
+ category?: "prepaid" | "subscription" | "on_board_sale" | undefined;
437
443
  event_type?: number | undefined;
438
444
  product_id?: string | undefined;
439
445
  units_qty?: number | null | undefined;
@@ -81,6 +81,7 @@ export const SimplifiedApexValidationSchema = DocumentSchema.extend({
81
81
  agency_id: z.string(),
82
82
  apex_version: z.string(),
83
83
  card_serial_number: z.string(),
84
+ category: z.enum(['prepaid', 'subscription', 'on_board_sale']),
84
85
  device_id: z.string(),
85
86
  event_type: z.number(),
86
87
  is_passenger: z.boolean(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tmlmobilidade/types",
3
- "version": "20250828.1000.31",
3
+ "version": "20250828.1338.25",
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",