@pulsecharterconnect/types 0.2.82 → 0.2.84
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.
- package/dist/types/Analytics.d.ts +13 -5
- package/dist/types/Analytics.js +4 -0
- package/package.json +1 -1
|
@@ -1,11 +1,15 @@
|
|
|
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 {
|
|
7
7
|
CaseDetails = "Case Details",
|
|
8
|
-
CaseSummary = "Case Summary"
|
|
8
|
+
CaseSummary = "Case Summary",
|
|
9
|
+
CaseDetailsForTransplantCenter = "Case Details for Transplant Center",
|
|
10
|
+
CaseSummaryForTransplantCenter = "Case Summary for Transplant Center",
|
|
11
|
+
CaseDetailsForTransportationOperator = "Case Details for Transportation Operator",
|
|
12
|
+
CaseSummaryForTransportationOperator = "Case Summary for Transportation Operator"
|
|
9
13
|
}
|
|
10
14
|
export interface ICaseAnalyticsDetails {
|
|
11
15
|
caseData: {
|
|
@@ -15,7 +19,8 @@ export interface ICaseAnalyticsDetails {
|
|
|
15
19
|
transportationOperator?: IOrganization;
|
|
16
20
|
rfps: IRequestForProposal[];
|
|
17
21
|
proposals: IProposal[];
|
|
18
|
-
|
|
22
|
+
allRfps: IRequestForProposal[];
|
|
23
|
+
allProposals: IProposal[];
|
|
19
24
|
averageResponseTime?: number;
|
|
20
25
|
}[];
|
|
21
26
|
}
|
|
@@ -42,6 +47,7 @@ export interface IAnalyticsFilterOptions {
|
|
|
42
47
|
transplantCenterId?: string;
|
|
43
48
|
transportationRequestType?: TransportRequestType;
|
|
44
49
|
transportationOperatorId?: string;
|
|
50
|
+
transportationRequestStatus?: TransportationRequestStatus;
|
|
45
51
|
}
|
|
46
52
|
export declare class AnalyticsRequestDto {
|
|
47
53
|
requestType: AnalyticsRequestType;
|
|
@@ -55,8 +61,9 @@ export declare class CaseAnalyticsDetailsResponseDto implements ICaseAnalyticsDe
|
|
|
55
61
|
transportationOperator?: IOrganization;
|
|
56
62
|
trip: ITrip;
|
|
57
63
|
rfps: IRequestForProposal[];
|
|
64
|
+
allRfps: IRequestForProposal[];
|
|
58
65
|
proposals: IProposal[];
|
|
59
|
-
allProposals
|
|
66
|
+
allProposals: IProposal[];
|
|
60
67
|
averageResponseTime?: number;
|
|
61
68
|
}[];
|
|
62
69
|
constructor(caseData: {
|
|
@@ -65,8 +72,9 @@ export declare class CaseAnalyticsDetailsResponseDto implements ICaseAnalyticsDe
|
|
|
65
72
|
transportationOperator?: IOrganization;
|
|
66
73
|
trip: ITrip;
|
|
67
74
|
rfps: IRequestForProposal[];
|
|
75
|
+
allRfps: IRequestForProposal[];
|
|
68
76
|
proposals: IProposal[];
|
|
69
|
-
allProposals
|
|
77
|
+
allProposals: IProposal[];
|
|
70
78
|
averageResponseTime?: number;
|
|
71
79
|
}[]);
|
|
72
80
|
}
|
package/dist/types/Analytics.js
CHANGED
|
@@ -5,6 +5,10 @@ var AnalyticsRequestType;
|
|
|
5
5
|
(function (AnalyticsRequestType) {
|
|
6
6
|
AnalyticsRequestType["CaseDetails"] = "Case Details";
|
|
7
7
|
AnalyticsRequestType["CaseSummary"] = "Case Summary";
|
|
8
|
+
AnalyticsRequestType["CaseDetailsForTransplantCenter"] = "Case Details for Transplant Center";
|
|
9
|
+
AnalyticsRequestType["CaseSummaryForTransplantCenter"] = "Case Summary for Transplant Center";
|
|
10
|
+
AnalyticsRequestType["CaseDetailsForTransportationOperator"] = "Case Details for Transportation Operator";
|
|
11
|
+
AnalyticsRequestType["CaseSummaryForTransportationOperator"] = "Case Summary for Transportation Operator";
|
|
8
12
|
})(AnalyticsRequestType = exports.AnalyticsRequestType || (exports.AnalyticsRequestType = {}));
|
|
9
13
|
class AnalyticsRequestDto {
|
|
10
14
|
constructor(requestType) {
|