alliance-shared-types 1.0.3 → 1.0.4

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.
@@ -5,6 +5,8 @@ export type BookingStatus = 'pending' | 'confirmed' | 'ticketed' | 'cancelled' |
5
5
  export type PaymentStatus = 'pending' | 'paid' | 'refunded' | 'partial';
6
6
  export type PassengerType = 'adult' | 'child' | 'infant';
7
7
  export type CabinClass = 'economy' | 'premium_economy' | 'business' | 'first';
8
+ export declare const BOOKING_STATUSES: BookingStatus[];
9
+ export declare const PAYMENT_STATUSES: PaymentStatus[];
8
10
  /**
9
11
  * Flight Passenger interface
10
12
  */
@@ -3,3 +3,7 @@
3
3
  * Booking-related types for the Alliance B2B Travel Portal
4
4
  */
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.PAYMENT_STATUSES = exports.BOOKING_STATUSES = void 0;
7
+ // Constant arrays for dropdowns
8
+ exports.BOOKING_STATUSES = ['pending', 'confirmed', 'ticketed', 'cancelled', 'failed'];
9
+ exports.PAYMENT_STATUSES = ['pending', 'paid', 'refunded', 'partial'];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "alliance-shared-types",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "Shared TypeScript types for Alliance B2B Travel Portal",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",