@pulsecharterconnect/types 0.2.89 → 0.2.91

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.
@@ -37,7 +37,7 @@ export declare enum ProposalLocationProxmityAssociationType {
37
37
  export declare enum ProposalAirSegmentType {
38
38
  REPOSITIONING_ROUND_TRIP = "Repositioning Round Trip",
39
39
  REPOSITIONING_ONE_WAY = "Repositioning One Way",
40
- OUTBOUND_FROM_RECIPIENT_FACILITY_ONE_WAY = "Outbound from Recipient Facility One Way",
40
+ OUTBOUND_FROM_RECIPIENT_FACILITY_ROUND_TRIP = "Outbound from Recipient Facility",
41
41
  INBOUND_TO_RECOVERY_LOCATION = "Inbound to Recovery Location",
42
42
  INBOUND_TO_RECIPIENT_LOCATION = "Inbound to Recipient Location",
43
43
  EQUIPMENT_RETURN = "Equipment Return",
@@ -24,7 +24,7 @@ var ProposalAirSegmentType;
24
24
  (function (ProposalAirSegmentType) {
25
25
  ProposalAirSegmentType["REPOSITIONING_ROUND_TRIP"] = "Repositioning Round Trip";
26
26
  ProposalAirSegmentType["REPOSITIONING_ONE_WAY"] = "Repositioning One Way";
27
- ProposalAirSegmentType["OUTBOUND_FROM_RECIPIENT_FACILITY_ONE_WAY"] = "Outbound from Recipient Facility One Way";
27
+ ProposalAirSegmentType["OUTBOUND_FROM_RECIPIENT_FACILITY_ROUND_TRIP"] = "Outbound from Recipient Facility";
28
28
  ProposalAirSegmentType["INBOUND_TO_RECOVERY_LOCATION"] = "Inbound to Recovery Location";
29
29
  ProposalAirSegmentType["INBOUND_TO_RECIPIENT_LOCATION"] = "Inbound to Recipient Location";
30
30
  ProposalAirSegmentType["EQUIPMENT_RETURN"] = "Equipment Return";
@@ -73,6 +73,7 @@ class Proposal {
73
73
  var _a;
74
74
  const tripAirSegment = {
75
75
  segmentNumber: 0,
76
+ airSegmentType: proposalSegment.airSegmentType || ProposalAirSegmentType.OTHER,
76
77
  segmentType: _1.SegmentType.AIR_TRANSPORTATION,
77
78
  segmentStatus: _1.SegmentStatus.NOT_STARTED,
78
79
  additionalInformation: this.additionalInformation,
@@ -1,7 +1,7 @@
1
1
  import { ICommunicationsChannel } from "./Communications";
2
2
  import { IFlightTrackingLocation } from "./FlightTracking";
3
3
  import { Facility, GroundService } from "./Organization";
4
- import { IProposalSegment, TypeOfService } from "./Proposal";
4
+ import { IProposalSegment, ProposalAirSegmentType, TypeOfService } from "./Proposal";
5
5
  import { OrganType, RecoveryType } from "./TransportationRequest";
6
6
  export declare enum TripStatus {
7
7
  PREPARATION = "preparation",
@@ -95,6 +95,7 @@ export interface ITripGroundSegment extends ITripSegment {
95
95
  groundTransportationServices: ITripGroundTransportationService[];
96
96
  }
97
97
  export interface ITripAirSegment extends ITripSegment {
98
+ airSegmentType?: ProposalAirSegmentType;
98
99
  transportationOperatorId: string;
99
100
  scheduledDepartureAirportCode: string;
100
101
  scheduledDepartureAirportLocation: {
@@ -181,6 +182,12 @@ export declare class Participant implements IParticipant {
181
182
  updatedAt?: number;
182
183
  constructor(participant: IParticipant);
183
184
  }
185
+ export interface IParticipantGroup {
186
+ name: string;
187
+ description?: string;
188
+ organizationid: string;
189
+ participantIds: string[];
190
+ }
184
191
  export interface ITripParticipant {
185
192
  participantRole: TripParticipantRole;
186
193
  participant: IParticipant;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulsecharterconnect/types",
3
- "version": "0.2.89",
3
+ "version": "0.2.91",
4
4
  "description": "A TypeScript library for enhanced type safety.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",