@pulsecharterconnect/types 0.2.83 → 0.2.85
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IProposal } from "./Proposal";
|
|
2
2
|
import { IRequestForProposal } from "./RequestForProposal";
|
|
3
|
-
import { ITransportationRequest, TransportRequestType } from "./TransportationRequest";
|
|
3
|
+
import { ITransportationRequest, TransportationRequestStatus, TransportRequestType } from "./TransportationRequest";
|
|
4
4
|
import { ITrip } from "./Trip";
|
|
5
5
|
import { IOrganization } from "./Organization";
|
|
6
6
|
export declare enum AnalyticsRequestType {
|
|
@@ -47,6 +47,7 @@ export interface IAnalyticsFilterOptions {
|
|
|
47
47
|
transplantCenterId?: string;
|
|
48
48
|
transportationRequestType?: TransportRequestType;
|
|
49
49
|
transportationOperatorId?: string;
|
|
50
|
+
transportationRequestStatus?: TransportationRequestStatus;
|
|
50
51
|
}
|
|
51
52
|
export declare class AnalyticsRequestDto {
|
|
52
53
|
requestType: AnalyticsRequestType;
|
package/dist/types/Proposal.d.ts
CHANGED
|
@@ -29,6 +29,17 @@ export interface IAirTransportationService {
|
|
|
29
29
|
tailNumber: string;
|
|
30
30
|
crew: ICrewMember[];
|
|
31
31
|
}
|
|
32
|
+
export declare enum ProposalLocationProxmityAssociationType {
|
|
33
|
+
RECIPIENT_FACILITY = "Recipient Facility",
|
|
34
|
+
RECOVERY_LOCATION = "Recovery Location",
|
|
35
|
+
NONE = "None"
|
|
36
|
+
}
|
|
37
|
+
export interface IProposalLocationProximity {
|
|
38
|
+
distanceInMilesToRecipientFacility: number;
|
|
39
|
+
distanceInMilesToRecoveryLocation: number;
|
|
40
|
+
proximityThresholdInMilesUsed: number;
|
|
41
|
+
associatedWithLocation: ProposalLocationProxmityAssociationType;
|
|
42
|
+
}
|
|
32
43
|
export interface IProposalAirSegment extends IProposalSegment {
|
|
33
44
|
scheduledDepartureAirportCode: string;
|
|
34
45
|
scheduledDepartureAirportLocation: {
|
|
@@ -36,17 +47,19 @@ export interface IProposalAirSegment extends IProposalSegment {
|
|
|
36
47
|
lng: number;
|
|
37
48
|
};
|
|
38
49
|
scheduledDepartureFBO?: Facility;
|
|
50
|
+
scheduledDepartureProximity?: IProposalLocationProximity;
|
|
39
51
|
scheduledArrivalAirportCode: string;
|
|
40
52
|
scheduledArrivalAirportLocation: {
|
|
41
53
|
lat: number;
|
|
42
54
|
lng: number;
|
|
43
55
|
};
|
|
44
56
|
scheduledArrivalFBO?: Facility;
|
|
57
|
+
scheduledArrivalProximity?: IProposalLocationProximity;
|
|
45
58
|
airTransportationServices?: IAirTransportationService;
|
|
46
59
|
}
|
|
47
60
|
export interface IGroundTransportationService {
|
|
48
61
|
groundService: GroundService;
|
|
49
|
-
|
|
62
|
+
vehicleId?: string;
|
|
50
63
|
driver?: {
|
|
51
64
|
firstName: string;
|
|
52
65
|
lastName: string;
|
|
@@ -62,7 +75,7 @@ export interface IProposalGroundSegment extends IProposalSegment {
|
|
|
62
75
|
groundSegmentLocationType: GroundSegmentLocationType;
|
|
63
76
|
scheduledDepartureLocation: Facility;
|
|
64
77
|
scheduledArrivalLocation: Facility;
|
|
65
|
-
|
|
78
|
+
groundTransportationServices?: IGroundTransportationService[];
|
|
66
79
|
}
|
|
67
80
|
export declare enum ProposalStatus {
|
|
68
81
|
CREATED = "created",
|
package/dist/types/Proposal.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Proposal = exports.ProposalStatus = exports.GroundSegmentLocationType = exports.CrewMemberTypes = exports.TypeOfService = void 0;
|
|
3
|
+
exports.Proposal = exports.ProposalStatus = exports.GroundSegmentLocationType = exports.ProposalLocationProxmityAssociationType = exports.CrewMemberTypes = exports.TypeOfService = void 0;
|
|
4
4
|
const _1 = require("./");
|
|
5
5
|
var TypeOfService;
|
|
6
6
|
(function (TypeOfService) {
|
|
@@ -14,6 +14,12 @@ var CrewMemberTypes;
|
|
|
14
14
|
CrewMemberTypes["COPILOT"] = "copilot";
|
|
15
15
|
CrewMemberTypes["FLIGHT_ATTENDANT"] = "flight-attendant";
|
|
16
16
|
})(CrewMemberTypes = exports.CrewMemberTypes || (exports.CrewMemberTypes = {}));
|
|
17
|
+
var ProposalLocationProxmityAssociationType;
|
|
18
|
+
(function (ProposalLocationProxmityAssociationType) {
|
|
19
|
+
ProposalLocationProxmityAssociationType["RECIPIENT_FACILITY"] = "Recipient Facility";
|
|
20
|
+
ProposalLocationProxmityAssociationType["RECOVERY_LOCATION"] = "Recovery Location";
|
|
21
|
+
ProposalLocationProxmityAssociationType["NONE"] = "None";
|
|
22
|
+
})(ProposalLocationProxmityAssociationType = exports.ProposalLocationProxmityAssociationType || (exports.ProposalLocationProxmityAssociationType = {}));
|
|
17
23
|
var GroundSegmentLocationType;
|
|
18
24
|
(function (GroundSegmentLocationType) {
|
|
19
25
|
GroundSegmentLocationType["LOCAL"] = "Local";
|