@medipass/utils 11.74.1-chore-upgrade-react-18.0 → 11.74.1
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/CHANGELOG.md +8 -0
- package/constants.d.ts +0 -21
- package/constants.js +1 -27
- package/funders.d.ts +2 -4
- package/funders.js +1 -13
- package/intercom.d.ts +0 -1
- package/intercom.js +0 -4
- package/package.json +4 -4
- package/test-framework/fixtures/index.js +1 -1
- package/test-framework/fixtures/transactions.d.ts +0 -115
- package/test-framework/fixtures/transactions.js +1 -2
- package/transaction-details-by-funder.js +1 -4
- package/{transactions-4a08e450.js → transactions-de03f65c.js} +0 -126
- package/workflow-state-formatted.d.ts +0 -6
- package/workflow-state-formatted.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [11.74.1](https://github.com/medipass/web-medicules/compare/@medipass/utils@11.74.0...@medipass/utils@11.74.1) (2023-01-12)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @medipass/utils
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
# [11.74.0](https://github.com/medipass/web-medicules/compare/@medipass/utils@11.73.4...@medipass/utils@11.74.0) (2022-12-22)
|
|
7
15
|
|
|
8
16
|
|
package/constants.d.ts
CHANGED
|
@@ -64,11 +64,9 @@ export declare const FORM_APPLICATION_STATUSES: {
|
|
|
64
64
|
readonly CANCELLED: "cancelled";
|
|
65
65
|
};
|
|
66
66
|
export declare const FUNDERS: {
|
|
67
|
-
readonly ADF: "adf";
|
|
68
67
|
readonly COMCARE: "comcare";
|
|
69
68
|
readonly DVA: "dva";
|
|
70
69
|
readonly ECLIPSE: "eclipse";
|
|
71
|
-
readonly GARRISON: "ghs";
|
|
72
70
|
readonly HBF: "hbf";
|
|
73
71
|
readonly HEALTHPOINT: "healthpoint";
|
|
74
72
|
readonly HICAPS: "nab";
|
|
@@ -82,10 +80,8 @@ export declare const FUNDERS: {
|
|
|
82
80
|
readonly WSV: "wsv";
|
|
83
81
|
};
|
|
84
82
|
export declare const FUNDERS_FORMATTED: {
|
|
85
|
-
readonly adf: "Australian Defence Force";
|
|
86
83
|
readonly comcare: "Comcare";
|
|
87
84
|
readonly eclipse: "Eclipse";
|
|
88
|
-
readonly ghs: "Garrison";
|
|
89
85
|
readonly hbf: "HBF";
|
|
90
86
|
readonly healthpoint: "HEALTHPOINT";
|
|
91
87
|
readonly nab: "HICAPS";
|
|
@@ -116,16 +112,6 @@ export declare const FUTURE_LABELS: {
|
|
|
116
112
|
readonly subscription: "Subscription";
|
|
117
113
|
readonly 'instalment-plan': "Instalment plan";
|
|
118
114
|
};
|
|
119
|
-
export declare const EPISODE_INITIATOR_IDS: {
|
|
120
|
-
readonly COMMONWEALTH: "commonwealth";
|
|
121
|
-
readonly EMERGENCY: "emergency";
|
|
122
|
-
};
|
|
123
|
-
export declare const NO_EP_ID_REASON_IDS: {
|
|
124
|
-
readonly ENTITLED_FAMILY_MEMBER: "1";
|
|
125
|
-
readonly FOREIGN_MEMBER: "2";
|
|
126
|
-
readonly CIVIC_ASSISTANCE: "3";
|
|
127
|
-
readonly OTHER: "4";
|
|
128
|
-
};
|
|
129
115
|
export declare const GATEWAY_CODES: {
|
|
130
116
|
readonly HICAPS_ERROR: "12";
|
|
131
117
|
readonly HICAPS_DOWN: "91";
|
|
@@ -150,7 +136,6 @@ export declare const PRODUCT_FEATURES: {
|
|
|
150
136
|
readonly CLAIMING_ADFHS: "claiming:adfhs";
|
|
151
137
|
readonly CLAIMING_BRIDGE: "claiming:bridge";
|
|
152
138
|
readonly CLAIMING_COMCARE: "claiming:comcare";
|
|
153
|
-
readonly CLAIMING_GHS: "claiming:ghs";
|
|
154
139
|
readonly CLAIMING_ICARE: "claiming:icare";
|
|
155
140
|
readonly CLAIMING_MEDICARE: "claiming:medicare";
|
|
156
141
|
readonly CLAIMING_NDIS: "claiming:ndis";
|
|
@@ -256,12 +241,6 @@ export declare const WORKFLOW_STATES: {
|
|
|
256
241
|
readonly APPROVED: "approved";
|
|
257
242
|
readonly ACCEPTED: "accepted";
|
|
258
243
|
};
|
|
259
|
-
export declare const GARRISON_WORKFLOW_STATES_HUMANIZED: {
|
|
260
|
-
readonly SUBMITTED: "Submitted";
|
|
261
|
-
readonly UNDER_REVIEW: "Under review";
|
|
262
|
-
readonly ACCEPTED: "Accepted";
|
|
263
|
-
readonly COMPLETED: "Completed";
|
|
264
|
-
};
|
|
265
244
|
export declare const ICARE_WORKFLOW_STATES_HUMANIZED: {
|
|
266
245
|
readonly SUBMITTED: "Submitted";
|
|
267
246
|
readonly APPROVED: "Approved";
|
package/constants.js
CHANGED
|
@@ -88,11 +88,9 @@ var FORM_APPLICATION_STATUSES = {
|
|
|
88
88
|
|
|
89
89
|
var FUNDERS = {
|
|
90
90
|
// Note: maps to funder.code
|
|
91
|
-
ADF: 'adf',
|
|
92
91
|
COMCARE: 'comcare',
|
|
93
92
|
DVA: 'dva',
|
|
94
93
|
ECLIPSE: 'eclipse',
|
|
95
|
-
GARRISON: 'ghs',
|
|
96
94
|
HBF: 'hbf',
|
|
97
95
|
HEALTHPOINT: 'healthpoint',
|
|
98
96
|
HICAPS: 'nab',
|
|
@@ -105,7 +103,7 @@ var FUNDERS = {
|
|
|
105
103
|
WCQ: 'wcq',
|
|
106
104
|
WSV: 'wsv'
|
|
107
105
|
};
|
|
108
|
-
var FUNDERS_FORMATTED = (_FUNDERS_FORMATTED = {}, _FUNDERS_FORMATTED[FUNDERS.
|
|
106
|
+
var FUNDERS_FORMATTED = (_FUNDERS_FORMATTED = {}, _FUNDERS_FORMATTED[FUNDERS.COMCARE] = 'Comcare', _FUNDERS_FORMATTED[FUNDERS.ECLIPSE] = 'Eclipse', _FUNDERS_FORMATTED[FUNDERS.HBF] = 'HBF', _FUNDERS_FORMATTED[FUNDERS.HEALTHPOINT] = 'HEALTHPOINT', _FUNDERS_FORMATTED[FUNDERS.HICAPS] = 'HICAPS', _FUNDERS_FORMATTED[FUNDERS.ICARE] = 'icare', _FUNDERS_FORMATTED[FUNDERS.MEDICARE] = 'Medicare', _FUNDERS_FORMATTED[FUNDERS.NDIS] = 'NDIS', _FUNDERS_FORMATTED[FUNDERS.NIB] = 'NIB', _FUNDERS_FORMATTED[FUNDERS.OHC] = 'Overseas health cover', _FUNDERS_FORMATTED[FUNDERS.PATIENT] = 'Patient funded', _FUNDERS_FORMATTED[FUNDERS.WCQ] = 'Workcover Queensland', _FUNDERS_FORMATTED[FUNDERS.WSV] = 'WorkSafe Victoria', _FUNDERS_FORMATTED);
|
|
109
107
|
/* ====== END: FUNDERS ======= */
|
|
110
108
|
|
|
111
109
|
/* ====== START: FUTURES ======= */
|
|
@@ -130,20 +128,6 @@ var FUTURE_LABELS = {
|
|
|
130
128
|
};
|
|
131
129
|
/* ====== END: FUTURES ======= */
|
|
132
130
|
|
|
133
|
-
/* ====== START: GARRISON ======= */
|
|
134
|
-
|
|
135
|
-
var EPISODE_INITIATOR_IDS = {
|
|
136
|
-
COMMONWEALTH: 'commonwealth',
|
|
137
|
-
EMERGENCY: 'emergency'
|
|
138
|
-
};
|
|
139
|
-
var NO_EP_ID_REASON_IDS = {
|
|
140
|
-
ENTITLED_FAMILY_MEMBER: '1',
|
|
141
|
-
FOREIGN_MEMBER: '2',
|
|
142
|
-
CIVIC_ASSISTANCE: '3',
|
|
143
|
-
OTHER: '4'
|
|
144
|
-
};
|
|
145
|
-
/* ====== END: GARRISON ======= */
|
|
146
|
-
|
|
147
131
|
/* ====== START: GATEWAY ======= */
|
|
148
132
|
|
|
149
133
|
var GATEWAY_CODES = {
|
|
@@ -182,7 +166,6 @@ var PRODUCT_FEATURES = {
|
|
|
182
166
|
CLAIMING_ADFHS: 'claiming:adfhs',
|
|
183
167
|
CLAIMING_BRIDGE: 'claiming:bridge',
|
|
184
168
|
CLAIMING_COMCARE: 'claiming:comcare',
|
|
185
|
-
CLAIMING_GHS: 'claiming:ghs',
|
|
186
169
|
CLAIMING_ICARE: 'claiming:icare',
|
|
187
170
|
CLAIMING_MEDICARE: 'claiming:medicare',
|
|
188
171
|
CLAIMING_NDIS: 'claiming:ndis',
|
|
@@ -304,12 +287,6 @@ var WORKFLOW_STATES = {
|
|
|
304
287
|
APPROVED: 'approved',
|
|
305
288
|
ACCEPTED: 'accepted'
|
|
306
289
|
};
|
|
307
|
-
var GARRISON_WORKFLOW_STATES_HUMANIZED = {
|
|
308
|
-
SUBMITTED: 'Submitted',
|
|
309
|
-
UNDER_REVIEW: 'Under review',
|
|
310
|
-
ACCEPTED: 'Accepted',
|
|
311
|
-
COMPLETED: 'Completed'
|
|
312
|
-
};
|
|
313
290
|
var ICARE_WORKFLOW_STATES_HUMANIZED = {
|
|
314
291
|
SUBMITTED: 'Submitted',
|
|
315
292
|
APPROVED: 'Approved',
|
|
@@ -431,7 +408,6 @@ exports.ECLIPSE_IN_PATIENT_CLAIM_TYPES = ECLIPSE_IN_PATIENT_CLAIM_TYPES;
|
|
|
431
408
|
exports.ECLIPSE_ONLINE_ELIGIBILITY_CHECK_TYPES = ECLIPSE_ONLINE_ELIGIBILITY_CHECK_TYPES;
|
|
432
409
|
exports.ECLIPSE_OVERSEAS_CLAIM_TYPES = ECLIPSE_OVERSEAS_CLAIM_TYPES;
|
|
433
410
|
exports.ECLIPSE_SUB_TYPE = ECLIPSE_SUB_TYPE;
|
|
434
|
-
exports.EPISODE_INITIATOR_IDS = EPISODE_INITIATOR_IDS;
|
|
435
411
|
exports.ERROR_CODES = ERROR_CODES;
|
|
436
412
|
exports.ERROR_MESSAGES = ERROR_MESSAGES;
|
|
437
413
|
exports.FORM_APPLICATION_STATUSES = FORM_APPLICATION_STATUSES;
|
|
@@ -441,13 +417,11 @@ exports.FUNDERS_FORMATTED = FUNDERS_FORMATTED;
|
|
|
441
417
|
exports.FUTURE_LABELS = FUTURE_LABELS;
|
|
442
418
|
exports.FUTURE_STATUSES = FUTURE_STATUSES;
|
|
443
419
|
exports.FUTURE_TYPES = FUTURE_TYPES;
|
|
444
|
-
exports.GARRISON_WORKFLOW_STATES_HUMANIZED = GARRISON_WORKFLOW_STATES_HUMANIZED;
|
|
445
420
|
exports.GATEWAY_CODES = GATEWAY_CODES;
|
|
446
421
|
exports.HICAPS_FORMS = HICAPS_FORMS;
|
|
447
422
|
exports.ICARE_WORKFLOW_STATES_HUMANIZED = ICARE_WORKFLOW_STATES_HUMANIZED;
|
|
448
423
|
exports.INVOICE_ORIGINATING_FLOW = INVOICE_ORIGINATING_FLOW;
|
|
449
424
|
exports.MEDICARE_FORMS = MEDICARE_FORMS;
|
|
450
|
-
exports.NO_EP_ID_REASON_IDS = NO_EP_ID_REASON_IDS;
|
|
451
425
|
exports.OEC_MEDICARE_AND_PHI_PROCESSING_CLASSES = OEC_MEDICARE_AND_PHI_PROCESSING_CLASSES;
|
|
452
426
|
exports.OEC_OVERSEAS_PROCESSING_CLASSES = OEC_OVERSEAS_PROCESSING_CLASSES;
|
|
453
427
|
exports.PAYMENT_FACILITIES = PAYMENT_FACILITIES;
|
package/funders.d.ts
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
export declare const FUNDERS_WITH_ONBOARDING: readonly ["nab", "medicare", "icare", "wcq", "comcare", "wsv", "nib"];
|
|
2
|
-
export declare const CLAIMABLE_FUNDERS: readonly ["
|
|
3
|
-
export declare const getFunderCodeFromTransaction: (transaction: Record<string, any>, funderCode?: string) => "
|
|
4
|
-
export declare const isADF: (funderCode: string) => boolean;
|
|
2
|
+
export declare const CLAIMABLE_FUNDERS: readonly ["comcare", "dva", "eclipse", "healthpoint", "nab", "icare", "medicare", "nib", "ohc", "wcq", "wsv"];
|
|
3
|
+
export declare const getFunderCodeFromTransaction: (transaction: Record<string, any>, funderCode?: string) => "comcare" | "dva" | "eclipse" | "hbf" | "healthpoint" | "nab" | "icare" | "medicare" | "nib" | "ndis" | "ohc" | "patient-funded" | "wcq" | "wsv";
|
|
5
4
|
export declare const isComcare: (funderCode: string) => boolean;
|
|
6
5
|
export declare const isDVA: (funderCode: string) => boolean;
|
|
7
6
|
export declare const isEclipse: (funderCode: string) => boolean;
|
|
8
|
-
export declare const isGHS: (funderCode: string) => boolean;
|
|
9
7
|
export declare const isHBF: (funderCode: string) => boolean;
|
|
10
8
|
export declare const isHICAPS: (funderCode: string) => boolean;
|
|
11
9
|
export declare const isIcare: (funderCode: string) => boolean;
|
package/funders.js
CHANGED
|
@@ -8,16 +8,12 @@ var constants = require('./constants.js');
|
|
|
8
8
|
var _get = _interopDefault(require('lodash/get'));
|
|
9
9
|
|
|
10
10
|
var FUNDERS_WITH_ONBOARDING = [constants.FUNDERS.HICAPS, constants.FUNDERS.MEDICARE, constants.FUNDERS.ICARE, constants.FUNDERS.WCQ, constants.FUNDERS.COMCARE, constants.FUNDERS.WSV, constants.FUNDERS.NIB];
|
|
11
|
-
var CLAIMABLE_FUNDERS = [constants.FUNDERS.
|
|
11
|
+
var CLAIMABLE_FUNDERS = [constants.FUNDERS.COMCARE, constants.FUNDERS.DVA, constants.FUNDERS.ECLIPSE, constants.FUNDERS.HEALTHPOINT, constants.FUNDERS.HICAPS, constants.FUNDERS.ICARE, constants.FUNDERS.MEDICARE, constants.FUNDERS.NIB, constants.FUNDERS.OHC, constants.FUNDERS.WCQ, constants.FUNDERS.WSV];
|
|
12
12
|
var getFunderCodeFromTransaction = function getFunderCodeFromTransaction(transaction, funderCode) {
|
|
13
13
|
if (transaction.isPatientFunded || _get(transaction, 'claims[0].isPatientFunded')) {
|
|
14
14
|
return constants.FUNDERS.PATIENT;
|
|
15
15
|
} else if (funderCode === constants.FUNDERS.HICAPS) {
|
|
16
16
|
return constants.FUNDERS.HICAPS;
|
|
17
|
-
} else if (funderCode === constants.FUNDERS.ADF) {
|
|
18
|
-
return constants.FUNDERS.ADF;
|
|
19
|
-
} else if (funderCode === constants.FUNDERS.GARRISON) {
|
|
20
|
-
return constants.FUNDERS.GARRISON;
|
|
21
17
|
} else if (funderCode === constants.FUNDERS.PATIENT) {
|
|
22
18
|
return constants.FUNDERS.PATIENT;
|
|
23
19
|
} else if (funderCode === constants.FUNDERS.MEDICARE) {
|
|
@@ -48,9 +44,6 @@ var getFunderCodeFromTransaction = function getFunderCodeFromTransaction(transac
|
|
|
48
44
|
|
|
49
45
|
return constants.FUNDERS.PATIENT;
|
|
50
46
|
};
|
|
51
|
-
var isADF = function isADF(funderCode) {
|
|
52
|
-
return funderCode === constants.FUNDERS.ADF;
|
|
53
|
-
};
|
|
54
47
|
var isComcare = function isComcare(funderCode) {
|
|
55
48
|
return funderCode === constants.FUNDERS.COMCARE;
|
|
56
49
|
};
|
|
@@ -60,9 +53,6 @@ var isDVA = function isDVA(funderCode) {
|
|
|
60
53
|
var isEclipse = function isEclipse(funderCode) {
|
|
61
54
|
return funderCode === constants.FUNDERS.ECLIPSE;
|
|
62
55
|
};
|
|
63
|
-
var isGHS = function isGHS(funderCode) {
|
|
64
|
-
return funderCode === constants.FUNDERS.GARRISON;
|
|
65
|
-
};
|
|
66
56
|
var isHBF = function isHBF(funderCode) {
|
|
67
57
|
return funderCode === constants.FUNDERS.HBF;
|
|
68
58
|
};
|
|
@@ -104,12 +94,10 @@ var isFunderClaimable = function isFunderClaimable(funderCode) {
|
|
|
104
94
|
exports.CLAIMABLE_FUNDERS = CLAIMABLE_FUNDERS;
|
|
105
95
|
exports.FUNDERS_WITH_ONBOARDING = FUNDERS_WITH_ONBOARDING;
|
|
106
96
|
exports.getFunderCodeFromTransaction = getFunderCodeFromTransaction;
|
|
107
|
-
exports.isADF = isADF;
|
|
108
97
|
exports.isComcare = isComcare;
|
|
109
98
|
exports.isDVA = isDVA;
|
|
110
99
|
exports.isEclipse = isEclipse;
|
|
111
100
|
exports.isFunderClaimable = isFunderClaimable;
|
|
112
|
-
exports.isGHS = isGHS;
|
|
113
101
|
exports.isHBF = isHBF;
|
|
114
102
|
exports.isHICAPS = isHICAPS;
|
|
115
103
|
exports.isHealthPoint = isHealthPoint;
|
package/intercom.d.ts
CHANGED
|
@@ -4,7 +4,6 @@ export declare const shutdownIntercom: () => any;
|
|
|
4
4
|
export declare const trackEvent: (name: any, data: any) => any;
|
|
5
5
|
export declare const trackCreateDVAInvoice: (data: any) => any;
|
|
6
6
|
export declare const trackCreateHICAPSInvoice: (data: any) => any;
|
|
7
|
-
export declare const trackCreateGarrisonInvoice: (data: any) => any;
|
|
8
7
|
export declare const trackCreateMedicareInvoice: (data: any) => any;
|
|
9
8
|
export declare const trackCreatePatientFundedInvoice: (data: any) => any;
|
|
10
9
|
export declare const trackCreateNDISInvoice: (data: any) => any;
|
package/intercom.js
CHANGED
|
@@ -61,9 +61,6 @@ var trackCreateDVAInvoice = function trackCreateDVAInvoice(data) {
|
|
|
61
61
|
var trackCreateHICAPSInvoice = function trackCreateHICAPSInvoice(data) {
|
|
62
62
|
return trackEvent('created-hicaps-invoice', data);
|
|
63
63
|
};
|
|
64
|
-
var trackCreateGarrisonInvoice = function trackCreateGarrisonInvoice(data) {
|
|
65
|
-
return trackEvent('created-garrison-invoice', data);
|
|
66
|
-
};
|
|
67
64
|
var trackCreateMedicareInvoice = function trackCreateMedicareInvoice(data) {
|
|
68
65
|
return trackEvent('created-medicare-invoice', data);
|
|
69
66
|
};
|
|
@@ -94,7 +91,6 @@ exports.default = intercom;
|
|
|
94
91
|
exports.showNewMessage = showNewMessage;
|
|
95
92
|
exports.shutdownIntercom = shutdownIntercom;
|
|
96
93
|
exports.trackCreateDVAInvoice = trackCreateDVAInvoice;
|
|
97
|
-
exports.trackCreateGarrisonInvoice = trackCreateGarrisonInvoice;
|
|
98
94
|
exports.trackCreateHICAPSInvoice = trackCreateHICAPSInvoice;
|
|
99
95
|
exports.trackCreateMedicareInvoice = trackCreateMedicareInvoice;
|
|
100
96
|
exports.trackCreateNDISInvoice = trackCreateNDISInvoice;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@medipass/utils",
|
|
3
|
-
"version": "11.74.1
|
|
3
|
+
"version": "11.74.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
},
|
|
19
19
|
"author": "Jake Moxey",
|
|
20
20
|
"peerDependencies": {
|
|
21
|
-
"react": "
|
|
22
|
-
"react-dom": "
|
|
21
|
+
"react": ">=17.0.0",
|
|
22
|
+
"react-dom": ">=17.0.0"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@babel/runtime": "7.8.4",
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"rimraf": "^2.6.2",
|
|
52
52
|
"typescript": "4.8.4"
|
|
53
53
|
},
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "3f07483734d64a613167cae557f54a56a3732cf2"
|
|
55
55
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var transactions = require('../../transactions-
|
|
5
|
+
var transactions = require('../../transactions-de03f65c.js');
|
|
6
6
|
var subscriptions = require('../../subscriptions-aef302aa.js');
|
|
7
7
|
var staff = require('../../staff-646053b7.js');
|
|
8
8
|
var specialties = require('../../specialties-25fbb171.js');
|
|
@@ -1032,121 +1032,6 @@ export declare const transactionWithOtherItems: {
|
|
|
1032
1032
|
created: string;
|
|
1033
1033
|
modified: string;
|
|
1034
1034
|
};
|
|
1035
|
-
export declare const ghsTransactionCompleted: {
|
|
1036
|
-
_id: string;
|
|
1037
|
-
abn: string;
|
|
1038
|
-
organisationId: string;
|
|
1039
|
-
transactionId: string;
|
|
1040
|
-
businessId: string;
|
|
1041
|
-
funderId: string;
|
|
1042
|
-
healthFundId: string;
|
|
1043
|
-
externalReference: string;
|
|
1044
|
-
transactionType: string;
|
|
1045
|
-
currencyCode: string;
|
|
1046
|
-
amountBalance: number;
|
|
1047
|
-
amountFee: number;
|
|
1048
|
-
amountCharged: number;
|
|
1049
|
-
amountDiscount: number;
|
|
1050
|
-
amountClaimsFee: number;
|
|
1051
|
-
amountClaimsCharged: number;
|
|
1052
|
-
amountClaimsDiscount: number;
|
|
1053
|
-
amountClaimsBenefit: number;
|
|
1054
|
-
amountClaimsGap: number;
|
|
1055
|
-
amountOtherItemsFee: number;
|
|
1056
|
-
amountOtherItemsCharged: number;
|
|
1057
|
-
amountOtherItemsDiscount: number;
|
|
1058
|
-
amountShippingFee: number;
|
|
1059
|
-
amountShippingCharged: number;
|
|
1060
|
-
amountShippingDiscount: number;
|
|
1061
|
-
status: string;
|
|
1062
|
-
tags: {
|
|
1063
|
-
assignedByAccountId: any;
|
|
1064
|
-
assignedByUsername: string;
|
|
1065
|
-
notes: string;
|
|
1066
|
-
workflowException: {
|
|
1067
|
-
code: string;
|
|
1068
|
-
description: string;
|
|
1069
|
-
displayName: string;
|
|
1070
|
-
_id: string;
|
|
1071
|
-
};
|
|
1072
|
-
_id: string;
|
|
1073
|
-
}[];
|
|
1074
|
-
workflowState: string;
|
|
1075
|
-
workflowStateDateString: string;
|
|
1076
|
-
claimSettlementDueDate: string;
|
|
1077
|
-
claims: {
|
|
1078
|
-
status: string;
|
|
1079
|
-
providerNumber: string;
|
|
1080
|
-
claimType: string;
|
|
1081
|
-
claimId: string;
|
|
1082
|
-
claimDateString: string;
|
|
1083
|
-
claimSettlementDueDate: string;
|
|
1084
|
-
funder: {
|
|
1085
|
-
_id: string;
|
|
1086
|
-
code: string;
|
|
1087
|
-
displayName: string;
|
|
1088
|
-
logoUrl: string;
|
|
1089
|
-
};
|
|
1090
|
-
claimItems: {
|
|
1091
|
-
status: string;
|
|
1092
|
-
amountBenefit: number;
|
|
1093
|
-
amountDiscount: number;
|
|
1094
|
-
amountGap: number;
|
|
1095
|
-
amountCharged: number;
|
|
1096
|
-
amountFee: number;
|
|
1097
|
-
amountFeeUnit: number;
|
|
1098
|
-
amountFeeNet: number;
|
|
1099
|
-
amountFeeNetUnit: number;
|
|
1100
|
-
description: string;
|
|
1101
|
-
displayName: string;
|
|
1102
|
-
fullName: string;
|
|
1103
|
-
unit: string;
|
|
1104
|
-
quantity: number;
|
|
1105
|
-
isTaxable: boolean;
|
|
1106
|
-
serviceDateString: string;
|
|
1107
|
-
itemCode: string;
|
|
1108
|
-
}[];
|
|
1109
|
-
}[];
|
|
1110
|
-
createdByAccountUsername: string;
|
|
1111
|
-
vendor: {
|
|
1112
|
-
_id: string;
|
|
1113
|
-
vendorNumber: string;
|
|
1114
|
-
providerNumber: string;
|
|
1115
|
-
};
|
|
1116
|
-
rna: {
|
|
1117
|
-
_id: string;
|
|
1118
|
-
epId: string;
|
|
1119
|
-
dan: string;
|
|
1120
|
-
rnaNumber: string;
|
|
1121
|
-
rnaAppointment: {
|
|
1122
|
-
_id: string;
|
|
1123
|
-
appointmentDateString: string;
|
|
1124
|
-
rnaItemNumber: string;
|
|
1125
|
-
};
|
|
1126
|
-
};
|
|
1127
|
-
modality: {
|
|
1128
|
-
_id: string;
|
|
1129
|
-
displayName: string;
|
|
1130
|
-
};
|
|
1131
|
-
files: {
|
|
1132
|
-
fullName: string;
|
|
1133
|
-
displayName: string;
|
|
1134
|
-
s3Bucket: string;
|
|
1135
|
-
isAwsPrivate: boolean;
|
|
1136
|
-
contentType: string;
|
|
1137
|
-
s3Key: string;
|
|
1138
|
-
pages: {
|
|
1139
|
-
pageNumber: number;
|
|
1140
|
-
}[];
|
|
1141
|
-
url: string;
|
|
1142
|
-
}[];
|
|
1143
|
-
payments: any[];
|
|
1144
|
-
searchWords: string[];
|
|
1145
|
-
assignedToUsername: string;
|
|
1146
|
-
assignedToAccountId: string;
|
|
1147
|
-
created: string;
|
|
1148
|
-
modified: string;
|
|
1149
|
-
};
|
|
1150
1035
|
export declare const transactionQuoteDefault: {
|
|
1151
1036
|
_id: string;
|
|
1152
1037
|
abn: string;
|
|
@@ -2,12 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var transactions = require('../../transactions-
|
|
5
|
+
var transactions = require('../../transactions-de03f65c.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
exports.defaultTransaction = transactions.defaultTransaction;
|
|
10
|
-
exports.ghsTransactionCompleted = transactions.ghsTransactionCompleted;
|
|
11
10
|
exports.transactionForMemberRequestQuote = transactions.transactionForMemberRequestQuote;
|
|
12
11
|
exports.transactionForMemberRequestQuoteComplete = transactions.transactionForMemberRequestQuoteComplete;
|
|
13
12
|
exports.transactionQuoteDefault = transactions.transactionQuoteDefault;
|
|
@@ -27,11 +27,9 @@ var INVOICE_SECTION = Object.freeze({
|
|
|
27
27
|
TRANSACTION_REPORTS_BUTTONS: 'TransactionReportsButtons',
|
|
28
28
|
WSQ_TRANSACTION_DETAILS_MESSAGE: 'TransactionDetailsMessage'
|
|
29
29
|
});
|
|
30
|
-
var ADF_SECTIONS = Object.freeze([INVOICE_SECTION.BILLED_TO, INVOICE_SECTION.INSTALMENT_PLAN_SCHEDULE, INVOICE_SECTION.INVOICE_OVERVIEW, INVOICE_SECTION.MESSAGES, INVOICE_SECTION.PATIENT, INVOICE_SECTION.PAYEE_PROVIDER, INVOICE_SECTION.PAYMENTS, INVOICE_SECTION.PRACTICE, INVOICE_SECTION.PROVIDER, INVOICE_SECTION.SERVICE_ITEMS, INVOICE_SECTION.SERVICE_TOTALS, INVOICE_SECTION.TOP_ACTION, INVOICE_SECTION.TRANSACTION_PAYMENT_CARD_FORM]);
|
|
31
30
|
var COMCARE_SECTIONS = Object.freeze([INVOICE_SECTION.BILLED_TO, INVOICE_SECTION.DOCUMENTS, INVOICE_SECTION.INSTALMENT_PLAN_SCHEDULE, INVOICE_SECTION.INVOICE_OVERVIEW, INVOICE_SECTION.MESSAGES, INVOICE_SECTION.NOTES, INVOICE_SECTION.PATIENT, INVOICE_SECTION.PAYEE_PROVIDER, INVOICE_SECTION.PAYMENTS, INVOICE_SECTION.PRACTICE, INVOICE_SECTION.PROVIDER, INVOICE_SECTION.SERVICE_ITEMS, INVOICE_SECTION.SERVICE_TOTALS, INVOICE_SECTION.TOP_ACTION, INVOICE_SECTION.TRANSACTION_PAYMENT_CARD_FORM]);
|
|
32
31
|
var DVA_SECTIONS = Object.freeze([INVOICE_SECTION.BILLED_TO, INVOICE_SECTION.INSTALMENT_PLAN_SCHEDULE, INVOICE_SECTION.INVOICE_OVERVIEW, INVOICE_SECTION.MESSAGES, INVOICE_SECTION.PATIENT, INVOICE_SECTION.PAYEE_PROVIDER, INVOICE_SECTION.PAYMENTS, INVOICE_SECTION.PRACTICE, INVOICE_SECTION.PROVIDER, INVOICE_SECTION.REFERRAL, INVOICE_SECTION.SERVICE_ITEMS, INVOICE_SECTION.SERVICE_TOTALS, INVOICE_SECTION.STATEMENT, INVOICE_SECTION.TOP_ACTION, INVOICE_SECTION.TRANSACTION_PAYMENT_CARD_FORM, INVOICE_SECTION.TRANSACTION_REPORTS_BUTTONS]);
|
|
33
32
|
var ECLIPSE_SECTIONS = Object.freeze([INVOICE_SECTION.BILLED_TO, INVOICE_SECTION.INSTALMENT_PLAN_SCHEDULE, INVOICE_SECTION.INVOICE_OVERVIEW, INVOICE_SECTION.MESSAGES, INVOICE_SECTION.PATIENT, INVOICE_SECTION.PAYEE_PROVIDER, INVOICE_SECTION.PAYMENTS, INVOICE_SECTION.PRACTICE, INVOICE_SECTION.PROVIDER, INVOICE_SECTION.SERVICE_ITEMS, INVOICE_SECTION.SERVICE_TOTALS, INVOICE_SECTION.TOP_ACTION, INVOICE_SECTION.TRANSACTION_PAYMENT_CARD_FORM]);
|
|
34
|
-
var GARRISON_SECTIONS = Object.freeze([INVOICE_SECTION.BILLED_TO, INVOICE_SECTION.INSTALMENT_PLAN_SCHEDULE, INVOICE_SECTION.INVOICE_OVERVIEW, INVOICE_SECTION.MESSAGES, INVOICE_SECTION.PATIENT, INVOICE_SECTION.PAYEE_PROVIDER, INVOICE_SECTION.PAYMENTS, INVOICE_SECTION.PRACTICE, INVOICE_SECTION.PROVIDER, INVOICE_SECTION.SERVICE_ITEMS, INVOICE_SECTION.SERVICE_TOTALS, INVOICE_SECTION.TOP_ACTION, INVOICE_SECTION.TRANSACTION_PAYMENT_CARD_FORM]);
|
|
35
33
|
var HBF_SECTIONS = Object.freeze([INVOICE_SECTION.BILLED_TO, INVOICE_SECTION.INSTALMENT_PLAN_SCHEDULE, INVOICE_SECTION.INVOICE_OVERVIEW, INVOICE_SECTION.MESSAGES, INVOICE_SECTION.PATIENT, INVOICE_SECTION.PAYEE_PROVIDER, INVOICE_SECTION.PAYMENTS, INVOICE_SECTION.PRACTICE, INVOICE_SECTION.PROVIDER, INVOICE_SECTION.SERVICE_ITEMS, INVOICE_SECTION.SERVICE_TOTALS, INVOICE_SECTION.TOP_ACTION, INVOICE_SECTION.TRANSACTION_PAYMENT_CARD_FORM]);
|
|
36
34
|
var HEALTHPOINT_SECTIONS = Object.freeze([INVOICE_SECTION.BILLED_TO, INVOICE_SECTION.INSTALMENT_PLAN_SCHEDULE, INVOICE_SECTION.INVOICE_OVERVIEW, INVOICE_SECTION.MESSAGES, INVOICE_SECTION.PATIENT, INVOICE_SECTION.PAYEE_PROVIDER, INVOICE_SECTION.PAYMENTS, INVOICE_SECTION.PRACTICE, INVOICE_SECTION.PROVIDER, INVOICE_SECTION.SERVICE_ITEMS, INVOICE_SECTION.SERVICE_TOTALS, INVOICE_SECTION.TOP_ACTION, INVOICE_SECTION.TRANSACTION_PAYMENT_CARD_FORM]);
|
|
37
35
|
var HICAPS_SECTIONS = Object.freeze([INVOICE_SECTION.BILLED_TO, INVOICE_SECTION.INSTALMENT_PLAN_SCHEDULE, INVOICE_SECTION.INVOICE_OVERVIEW, INVOICE_SECTION.MESSAGES, INVOICE_SECTION.PATIENT, INVOICE_SECTION.PAYEE_PROVIDER, INVOICE_SECTION.PAYMENTS, INVOICE_SECTION.PRACTICE, INVOICE_SECTION.PROVIDER, INVOICE_SECTION.SERVICE_ITEMS, INVOICE_SECTION.SERVICE_TOTALS, INVOICE_SECTION.TOP_ACTION, INVOICE_SECTION.TRANSACTION_PAYMENT_CARD_FORM]);
|
|
@@ -44,11 +42,9 @@ var PATIENT_SECTIONS = Object.freeze([INVOICE_SECTION.BILLED_TO, INVOICE_SECTION
|
|
|
44
42
|
var WCQ_SECTIONS = Object.freeze([INVOICE_SECTION.BILLED_TO, INVOICE_SECTION.INSTALMENT_PLAN_SCHEDULE, INVOICE_SECTION.INVOICE_OVERVIEW, INVOICE_SECTION.MESSAGES, INVOICE_SECTION.PATIENT, INVOICE_SECTION.PAYEE_PROVIDER, INVOICE_SECTION.PAYMENTS, INVOICE_SECTION.PRACTICE, INVOICE_SECTION.PROVIDER, INVOICE_SECTION.SERVICE_ITEMS, INVOICE_SECTION.SERVICE_TOTALS, INVOICE_SECTION.TOP_ACTION, INVOICE_SECTION.TRANSACTION_PAYMENT_CARD_FORM, INVOICE_SECTION.WSQ_TRANSACTION_DETAILS_MESSAGE]);
|
|
45
43
|
var WSV_SECTIONS = Object.freeze([INVOICE_SECTION.BILLED_TO, INVOICE_SECTION.INSTALMENT_PLAN_SCHEDULE, INVOICE_SECTION.INVOICE_OVERVIEW, INVOICE_SECTION.MESSAGES, INVOICE_SECTION.PATIENT, INVOICE_SECTION.PAYEE_PROVIDER, INVOICE_SECTION.PAYMENTS, INVOICE_SECTION.PRACTICE, INVOICE_SECTION.PROVIDER, INVOICE_SECTION.SERVICE_ITEMS, INVOICE_SECTION.SERVICE_TOTALS, INVOICE_SECTION.TOP_ACTION, INVOICE_SECTION.TRANSACTION_PAYMENT_CARD_FORM]);
|
|
46
44
|
var funderSections = Object.freeze({
|
|
47
|
-
adf: ADF_SECTIONS,
|
|
48
45
|
comcare: COMCARE_SECTIONS,
|
|
49
46
|
dva: DVA_SECTIONS,
|
|
50
47
|
eclipse: ECLIPSE_SECTIONS,
|
|
51
|
-
ghs: GARRISON_SECTIONS,
|
|
52
48
|
hbf: HBF_SECTIONS,
|
|
53
49
|
healthpoint: HEALTHPOINT_SECTIONS,
|
|
54
50
|
nab: HICAPS_SECTIONS,
|
|
@@ -72,6 +68,7 @@ var funderSections = Object.freeze({
|
|
|
72
68
|
|
|
73
69
|
var isFunderSectionSupported = function isFunderSectionSupported(funderCode, section) {
|
|
74
70
|
if (!funderCode || !funderSections[funderCode]) {
|
|
71
|
+
// @ts-expect-error
|
|
75
72
|
return PATIENT_SECTIONS.includes(section);
|
|
76
73
|
}
|
|
77
74
|
|
|
@@ -1042,130 +1042,6 @@ var transactionWithOtherItems = {
|
|
|
1042
1042
|
created: new Date('2015-01-01T00:00:00').toISOString(),
|
|
1043
1043
|
modified: new Date('2015-01-02T00:00:00Z').toISOString()
|
|
1044
1044
|
};
|
|
1045
|
-
var ghsTransactionCompleted = {
|
|
1046
|
-
_id: 'transactionCompletedId',
|
|
1047
|
-
abn: 'mockABN',
|
|
1048
|
-
organisationId: 'organisationDefaultId',
|
|
1049
|
-
transactionId: '0000-0000-9782',
|
|
1050
|
-
businessId: 'businessDefaultId',
|
|
1051
|
-
funderId: 'funderDefaultId',
|
|
1052
|
-
healthFundId: 'healthFundDefaultId',
|
|
1053
|
-
externalReference: 'mockExternalReference',
|
|
1054
|
-
transactionType: 'invoice',
|
|
1055
|
-
currencyCode: 'AUD',
|
|
1056
|
-
amountBalance: 0,
|
|
1057
|
-
amountFee: 0,
|
|
1058
|
-
amountCharged: 0,
|
|
1059
|
-
amountDiscount: 0,
|
|
1060
|
-
amountClaimsFee: 0,
|
|
1061
|
-
amountClaimsCharged: 0,
|
|
1062
|
-
amountClaimsDiscount: 0,
|
|
1063
|
-
amountClaimsBenefit: 0,
|
|
1064
|
-
amountClaimsGap: 0,
|
|
1065
|
-
amountOtherItemsFee: 0,
|
|
1066
|
-
amountOtherItemsCharged: 0,
|
|
1067
|
-
amountOtherItemsDiscount: 0,
|
|
1068
|
-
amountShippingFee: 0,
|
|
1069
|
-
amountShippingCharged: 0,
|
|
1070
|
-
amountShippingDiscount: 0,
|
|
1071
|
-
status: 'completed',
|
|
1072
|
-
tags: [{
|
|
1073
|
-
assignedByAccountId: null,
|
|
1074
|
-
assignedByUsername: 'mockUsername',
|
|
1075
|
-
notes: 'mockNotes',
|
|
1076
|
-
workflowException: {
|
|
1077
|
-
code: 'mockCode',
|
|
1078
|
-
description: 'Mock description',
|
|
1079
|
-
displayName: 'Mock displayName',
|
|
1080
|
-
_id: 'exceptionDefaultId'
|
|
1081
|
-
},
|
|
1082
|
-
_id: 'mockID'
|
|
1083
|
-
}],
|
|
1084
|
-
workflowState: 'completed',
|
|
1085
|
-
workflowStateDateString: '2015-01-01',
|
|
1086
|
-
claimSettlementDueDate: new Date('2015-01-01T00:00:00').toISOString(),
|
|
1087
|
-
claims: [{
|
|
1088
|
-
status: 'requested',
|
|
1089
|
-
providerNumber: '11111111L',
|
|
1090
|
-
claimType: 'claim',
|
|
1091
|
-
claimId: 'mockClaimId',
|
|
1092
|
-
claimDateString: '2016-01-01',
|
|
1093
|
-
claimSettlementDueDate: new Date('2015-01-01T00:00:00').toISOString(),
|
|
1094
|
-
funder: {
|
|
1095
|
-
_id: 'funderDefaultId',
|
|
1096
|
-
code: 'ghs',
|
|
1097
|
-
displayName: 'Garrison',
|
|
1098
|
-
logoUrl: 'http://s3/hicapsLogo'
|
|
1099
|
-
},
|
|
1100
|
-
claimItems: [{
|
|
1101
|
-
status: 'requested',
|
|
1102
|
-
amountBenefit: 10000,
|
|
1103
|
-
amountDiscount: 0,
|
|
1104
|
-
amountGap: 0,
|
|
1105
|
-
amountCharged: 10000,
|
|
1106
|
-
amountFee: 10000,
|
|
1107
|
-
amountFeeUnit: 5000,
|
|
1108
|
-
amountFeeNet: 10000,
|
|
1109
|
-
amountFeeNetUnit: 5000,
|
|
1110
|
-
description: 'mockClaimItemDescription',
|
|
1111
|
-
displayName: 'mockClaimItemDisplayName',
|
|
1112
|
-
fullName: 'mockClaimItemFullName',
|
|
1113
|
-
unit: 'EA',
|
|
1114
|
-
quantity: 2,
|
|
1115
|
-
isTaxable: false,
|
|
1116
|
-
serviceDateString: '2015-01-01',
|
|
1117
|
-
itemCode: 'mockItemCode'
|
|
1118
|
-
}]
|
|
1119
|
-
}],
|
|
1120
|
-
createdByAccountUsername: 'mock@medipass.io',
|
|
1121
|
-
vendor: {
|
|
1122
|
-
_id: 'vendorDefaultId',
|
|
1123
|
-
vendorNumber: 'mockVendorNumber',
|
|
1124
|
-
providerNumber: '11111111L'
|
|
1125
|
-
},
|
|
1126
|
-
rna: {
|
|
1127
|
-
_id: 'rnaDefaultId',
|
|
1128
|
-
epId: '8619751',
|
|
1129
|
-
dan: 'J46640963',
|
|
1130
|
-
rnaNumber: '1001226910',
|
|
1131
|
-
rnaAppointment: {
|
|
1132
|
-
_id: 'rnaAppointmentDefaultId',
|
|
1133
|
-
appointmentDateString: '2018-04-02',
|
|
1134
|
-
rnaItemNumber: '40'
|
|
1135
|
-
}
|
|
1136
|
-
},
|
|
1137
|
-
modality: {
|
|
1138
|
-
_id: 'modalityDefaultId',
|
|
1139
|
-
displayName: 'mockDisplayName'
|
|
1140
|
-
},
|
|
1141
|
-
files: [{
|
|
1142
|
-
fullName: 'invoice-scan',
|
|
1143
|
-
displayName: 'Invoice',
|
|
1144
|
-
s3Bucket: 'mockS3Bucket',
|
|
1145
|
-
isAwsPrivate: true,
|
|
1146
|
-
contentType: 'application/pdf',
|
|
1147
|
-
s3Key: 'invoice-scans/2018-03-02/Scan_2018_10_13_05_15_22_258 32/Scan_2018_10_13_05_15_22_258 32_processed.pdf',
|
|
1148
|
-
pages: [{
|
|
1149
|
-
pageNumber: 1
|
|
1150
|
-
}],
|
|
1151
|
-
url: 'mockUrl'
|
|
1152
|
-
}, {
|
|
1153
|
-
fullName: 'invoice-scan-original',
|
|
1154
|
-
displayName: 'Invoice (original)',
|
|
1155
|
-
s3Bucket: 'mockS3Bucket',
|
|
1156
|
-
isAwsPrivate: true,
|
|
1157
|
-
contentType: 'application/pdf',
|
|
1158
|
-
s3Key: 'invoice-scans/2018-03-02/Scan_2018_10_13_05_15_22_258 32/Scan_2018_10_13_05_15_22_258 32.pdf',
|
|
1159
|
-
pages: [],
|
|
1160
|
-
url: 'mockUrl'
|
|
1161
|
-
}],
|
|
1162
|
-
payments: [],
|
|
1163
|
-
searchWords: ['0000-0000-9782', '9782', '11111111l', '8619751', 'j46640963', 'mockusername'],
|
|
1164
|
-
assignedToUsername: 'mockusername',
|
|
1165
|
-
assignedToAccountId: 'healthFundUserAccountDefaultId',
|
|
1166
|
-
created: new Date('2015-01-01T00:00:00').toISOString(),
|
|
1167
|
-
modified: new Date('2015-01-02T00:00:00Z').toISOString()
|
|
1168
|
-
};
|
|
1169
1045
|
var transactionQuoteDefault = {
|
|
1170
1046
|
_id: 'transactionQuoteDefaultId',
|
|
1171
1047
|
abn: 'mockABN',
|
|
@@ -1857,7 +1733,6 @@ var transactions = /*#__PURE__*/Object.freeze({
|
|
|
1857
1733
|
transactionWithRefundedPayment: transactionWithRefundedPayment,
|
|
1858
1734
|
transactionWithMultipleRefundedPayments: transactionWithMultipleRefundedPayments,
|
|
1859
1735
|
transactionWithOtherItems: transactionWithOtherItems,
|
|
1860
|
-
ghsTransactionCompleted: ghsTransactionCompleted,
|
|
1861
1736
|
transactionQuoteDefault: transactionQuoteDefault,
|
|
1862
1737
|
transactionForMemberRequestQuote: transactionForMemberRequestQuote,
|
|
1863
1738
|
transactionForMemberRequestQuoteComplete: transactionForMemberRequestQuoteComplete,
|
|
@@ -1867,7 +1742,6 @@ var transactions = /*#__PURE__*/Object.freeze({
|
|
|
1867
1742
|
});
|
|
1868
1743
|
|
|
1869
1744
|
exports.defaultTransaction = defaultTransaction;
|
|
1870
|
-
exports.ghsTransactionCompleted = ghsTransactionCompleted;
|
|
1871
1745
|
exports.transactionForMemberRequestQuote = transactionForMemberRequestQuote;
|
|
1872
1746
|
exports.transactionForMemberRequestQuoteComplete = transactionForMemberRequestQuoteComplete;
|
|
1873
1747
|
exports.transactionQuoteDefault = transactionQuoteDefault;
|
|
@@ -8,6 +8,6 @@ var constants = require('./constants.js');
|
|
|
8
8
|
var _capitalize = _interopDefault(require('lodash/capitalize'));
|
|
9
9
|
|
|
10
10
|
var _workflowStateFormatt;
|
|
11
|
-
var workflowStateFormatted = (_workflowStateFormatt = {}, _workflowStateFormatt[constants.WORKFLOW_STATES.
|
|
11
|
+
var workflowStateFormatted = (_workflowStateFormatt = {}, _workflowStateFormatt[constants.WORKFLOW_STATES.ERRORED] = _capitalize(constants.WORKFLOW_STATES.ERRORED), _workflowStateFormatt[constants.WORKFLOW_STATES.ARCHIVED] = _capitalize(constants.WORKFLOW_STATES.ARCHIVED), _workflowStateFormatt[constants.WORKFLOW_STATES.CANCELLED] = _capitalize(constants.WORKFLOW_STATES.CANCELLED), _workflowStateFormatt);
|
|
12
12
|
|
|
13
13
|
exports.default = workflowStateFormatted;
|