pha-hermes 1.26.0 → 1.27.0
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/api/salesforce/accounts/accounts.d.ts +1 -2
- package/dist/index.d.ts +1 -0
- package/dist/models/regions.d.ts +165 -0
- package/dist/pha-hermes.cjs.development.js +242 -52
- package/dist/pha-hermes.cjs.development.js.map +1 -1
- package/dist/pha-hermes.cjs.production.min.js +1 -1
- package/dist/pha-hermes.cjs.production.min.js.map +1 -1
- package/dist/pha-hermes.esm.js +246 -53
- package/dist/pha-hermes.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/api/salesforce/accounts/accounts.ts +25 -21
- package/src/api/salesforce/practitioner/practitionerClient.ts +13 -6
- package/src/index.ts +1 -0
- package/src/models/regions.ts +168 -0
|
@@ -29,8 +29,7 @@ export declare class SFAccounts {
|
|
|
29
29
|
constructor(axiosInstance: AxiosInstance);
|
|
30
30
|
fetchAccounts<T extends Account>(type: AccountType, options?: {
|
|
31
31
|
parentId?: string;
|
|
32
|
-
|
|
33
|
-
pageNumber?: number;
|
|
32
|
+
active?: boolean;
|
|
34
33
|
failfast?: boolean;
|
|
35
34
|
}): Promise<T[]>;
|
|
36
35
|
private buildAccount;
|
package/dist/index.d.ts
CHANGED
|
@@ -9,3 +9,4 @@ export { LipheApiClient } from './api/liphe_legacy/lipheApiClient';
|
|
|
9
9
|
export { LipheAuthenticator } from './api/liphe_legacy/auth/authClient';
|
|
10
10
|
export { LiphePractitionerClient } from './api/liphe_legacy/practitioner/practitionerClient';
|
|
11
11
|
export { Practitioner, Role, TimesheetDayEntry, Workorder, Agency, Period } from './models';
|
|
12
|
+
export { LipheRegion, Province, LipheGeographicalArea } from './models/regions';
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
export declare enum LipheRegion {
|
|
2
|
+
'Abitibi-Témiscaminque' = 0,
|
|
3
|
+
'Alberta' = 1,
|
|
4
|
+
'Autre' = 2,
|
|
5
|
+
'Baie d\'Hudson' = 3,
|
|
6
|
+
'Baie James' = 4,
|
|
7
|
+
'Bas St-Laurent' = 5,
|
|
8
|
+
'British Columbia' = 6,
|
|
9
|
+
'Charlevoix' = 7,
|
|
10
|
+
'Estrie' = 8,
|
|
11
|
+
'Gaspésie' = 9,
|
|
12
|
+
'Haut St-Maurice' = 10,
|
|
13
|
+
'Iles de la Madeleine' = 11,
|
|
14
|
+
'Lanaudière' = 12,
|
|
15
|
+
'Laurentides' = 13,
|
|
16
|
+
'Laval' = 14,
|
|
17
|
+
'Manitoba' = 15,
|
|
18
|
+
'Mauricie' = 16,
|
|
19
|
+
'Montérégie' = 17,
|
|
20
|
+
'Montréal' = 18,
|
|
21
|
+
'New Brunswick' = 19,
|
|
22
|
+
'Newfoundland and Labrador' = 20,
|
|
23
|
+
'Northwest Territories' = 21,
|
|
24
|
+
'Nova Scotia' = 22,
|
|
25
|
+
'Nunavut' = 23,
|
|
26
|
+
'Ontario' = 24,
|
|
27
|
+
'Outaouais' = 25,
|
|
28
|
+
'Prince Edward Island' = 26,
|
|
29
|
+
'Québec' = 27,
|
|
30
|
+
'Rivière du Loup / Matane' = 28,
|
|
31
|
+
'Saguenay' = 29,
|
|
32
|
+
'Saskatchewan' = 30,
|
|
33
|
+
'Sept-Iles / Côte-Nord' = 31,
|
|
34
|
+
'Thetford Mines' = 32,
|
|
35
|
+
'Ungava' = 33,
|
|
36
|
+
'Yukon' = 34
|
|
37
|
+
}
|
|
38
|
+
export declare enum LipheGeographicalArea {
|
|
39
|
+
'Berthierville' = 0,
|
|
40
|
+
'Bordeaux-Cartierville' = 1,
|
|
41
|
+
'Labelle' = 2,
|
|
42
|
+
'Laval' = 3,
|
|
43
|
+
'Le Gardeur' = 4,
|
|
44
|
+
'Lindsay - Gingras' = 5,
|
|
45
|
+
'Montréal' = 6,
|
|
46
|
+
'Montréal - Est' = 7,
|
|
47
|
+
'Montréal - Ouest' = 8,
|
|
48
|
+
'Outaouais' = 9,
|
|
49
|
+
'Rive - Sud' = 10,
|
|
50
|
+
'Ste - Adèle' = 11,
|
|
51
|
+
'Ste - Agathe' = 12,
|
|
52
|
+
'St - Eustache' = 13,
|
|
53
|
+
'St - Jérôme' = 14,
|
|
54
|
+
'Verdun' = 15,
|
|
55
|
+
'Mont - Tremblant' = 16,
|
|
56
|
+
'Montréal(centre - ville)' = 17,
|
|
57
|
+
'Basses Laurentides' = 18,
|
|
58
|
+
'Valleyfield' = 19,
|
|
59
|
+
'Argenteuil' = 20,
|
|
60
|
+
'Lachute' = 21,
|
|
61
|
+
'Lanaudière SUD' = 22,
|
|
62
|
+
'Lanaudière NORD' = 23,
|
|
63
|
+
'Granby' = 24,
|
|
64
|
+
'Sorel' = 25,
|
|
65
|
+
'Longueuil' = 26,
|
|
66
|
+
'Châteauguay' = 27,
|
|
67
|
+
'St - Jean sur Richelieu' = 28,
|
|
68
|
+
'St - Hyacinthe' = 29,
|
|
69
|
+
'Drummondville' = 30,
|
|
70
|
+
'Blainville' = 31,
|
|
71
|
+
'La Prairie' = 32,
|
|
72
|
+
'Mont - Laurier' = 33,
|
|
73
|
+
'Pierre - Boucher' = 34,
|
|
74
|
+
'Berthiaume du Tremblay' = 35,
|
|
75
|
+
'Grand Nord' = 36,
|
|
76
|
+
'Montréal Nord' = 37,
|
|
77
|
+
'Rouyn Noranda' = 38,
|
|
78
|
+
'Chicoutimi' = 39,
|
|
79
|
+
'Québec' = 40,
|
|
80
|
+
'Sherbrooke' = 41,
|
|
81
|
+
'Trois - Rivières' = 42,
|
|
82
|
+
'Gaspésie' = 43,
|
|
83
|
+
'Côte - Nord' = 44,
|
|
84
|
+
'Abitibi - Témiscamingue' = 45,
|
|
85
|
+
'Portneuf' = 46,
|
|
86
|
+
'Charlevoix' = 47,
|
|
87
|
+
'CHUQ' = 48,
|
|
88
|
+
'Thetford Mines' = 49,
|
|
89
|
+
'Chaudière - Appalaches' = 50,
|
|
90
|
+
'Saint - Raymond' = 51,
|
|
91
|
+
'Limoilou' = 52,
|
|
92
|
+
'Ancienne - Lorette' = 53,
|
|
93
|
+
'Malbaie' = 54,
|
|
94
|
+
'Baie - Saint - Paul' = 55,
|
|
95
|
+
'St - Anne de Beaupré' = 56,
|
|
96
|
+
'Loretteville' = 57,
|
|
97
|
+
'Valcartier' = 58,
|
|
98
|
+
'Rivière - du - Loup' = 59,
|
|
99
|
+
'Maria' = 60,
|
|
100
|
+
'Manicouagan' = 61,
|
|
101
|
+
'Sept - Iles' = 62,
|
|
102
|
+
'Basse - Côte - Nord' = 63,
|
|
103
|
+
'Port - Cartier' = 64,
|
|
104
|
+
'Sherfferville' = 65,
|
|
105
|
+
'Minganie' = 66,
|
|
106
|
+
'Natashquan' = 67,
|
|
107
|
+
'Chibougamau' = 68,
|
|
108
|
+
'Mauricie' = 69,
|
|
109
|
+
'Maskinongé' = 70,
|
|
110
|
+
'Parent' = 71,
|
|
111
|
+
'Mémphrémagog' = 72,
|
|
112
|
+
'Coaticook' = 73,
|
|
113
|
+
'Victoriaville' = 74,
|
|
114
|
+
'Rimouski' = 75,
|
|
115
|
+
'Shawinigan' = 76,
|
|
116
|
+
'Matane' = 77,
|
|
117
|
+
'Santa - Cabrini' = 78,
|
|
118
|
+
'Marie - Clarac' = 79,
|
|
119
|
+
'Hôpital lachine' = 80,
|
|
120
|
+
'Rivière - Rouge' = 81,
|
|
121
|
+
'Jeanne - Mance' = 82,
|
|
122
|
+
'Le Repair' = 83,
|
|
123
|
+
'Montérégie' = 84,
|
|
124
|
+
'Estrie' = 85,
|
|
125
|
+
'Villa - Medica' = 86,
|
|
126
|
+
'Laurentides' = 87,
|
|
127
|
+
'Hors - Qc' = 88,
|
|
128
|
+
'Hors - Can' = 89,
|
|
129
|
+
'Hors Pays' = 90,
|
|
130
|
+
'Hors Province' = 91,
|
|
131
|
+
'Baie James' = 92,
|
|
132
|
+
'Nunavut' = 93,
|
|
133
|
+
'Ungava' = 94,
|
|
134
|
+
'Inuulitsivik' = 95,
|
|
135
|
+
'Bas Saint - Laurent' = 96,
|
|
136
|
+
'Lévis' = 97,
|
|
137
|
+
'Îles de la Madeleine' = 98,
|
|
138
|
+
'Saguenay' = 99,
|
|
139
|
+
'Alberta' = 100,
|
|
140
|
+
'British Columbia' = 101,
|
|
141
|
+
'Yukon' = 102,
|
|
142
|
+
'Northwest Territories' = 103,
|
|
143
|
+
'Saskatchewan' = 104,
|
|
144
|
+
'Manitoba' = 105,
|
|
145
|
+
'Ontario' = 106,
|
|
146
|
+
'New Brunswick' = 107,
|
|
147
|
+
'Newfoundland and Labrador' = 108,
|
|
148
|
+
'Prince Edward Island' = 109,
|
|
149
|
+
'Nova Scotia' = 110
|
|
150
|
+
}
|
|
151
|
+
export declare enum Province {
|
|
152
|
+
AB = "AB",
|
|
153
|
+
BC = "BC",
|
|
154
|
+
MB = "MB",
|
|
155
|
+
NB = "NB",
|
|
156
|
+
NL = "NL",
|
|
157
|
+
NS = "NS",
|
|
158
|
+
NT = "NT",
|
|
159
|
+
NU = "NU",
|
|
160
|
+
ON = "ON",
|
|
161
|
+
PE = "PE",
|
|
162
|
+
QC = "QC",
|
|
163
|
+
SK = "SK",
|
|
164
|
+
YT = "YT"
|
|
165
|
+
}
|
|
@@ -851,7 +851,7 @@ var SFPractitionerClient = /*#__PURE__*/function () {
|
|
|
851
851
|
var _proto = SFPractitionerClient.prototype;
|
|
852
852
|
_proto.fetchPractitioners = /*#__PURE__*/function () {
|
|
853
853
|
var _fetchPractitioners = /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(options) {
|
|
854
|
-
var conditions, whereClause, limitClause, url, fields, query, _yield$this$axiosInst,
|
|
854
|
+
var conditions, whereClause, limitClause, url, fields, query, records, done, _yield$this$axiosInst, _yield$this$axiosInst2, pageRecords, nextRecordsUrl, isDone;
|
|
855
855
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
856
856
|
while (1) switch (_context.prev = _context.next) {
|
|
857
857
|
case 0:
|
|
@@ -865,26 +865,41 @@ var SFPractitionerClient = /*#__PURE__*/function () {
|
|
|
865
865
|
url = "/services/data/" + SF_API_VERSION$1 + "/query";
|
|
866
866
|
fields = (options != null && options.forExport ? this.PRACTITIONER_FIELDS["export"] : this.PRACTITIONER_FIELDS["default"]).join(', ');
|
|
867
867
|
query = "\n SELECT " + fields + "\n FROM Personnel__c\n " + whereClause + "\n ORDER BY CreatedDate ASC, StaffID__c ASC\n " + limitClause + "\n ";
|
|
868
|
-
|
|
868
|
+
records = [];
|
|
869
|
+
done = false;
|
|
870
|
+
case 10:
|
|
871
|
+
_context.next = 12;
|
|
869
872
|
return this.axiosInstance.get(url, {
|
|
870
873
|
params: {
|
|
871
874
|
q: query
|
|
872
875
|
}
|
|
873
876
|
});
|
|
874
|
-
case
|
|
877
|
+
case 12:
|
|
875
878
|
_yield$this$axiosInst = _context.sent;
|
|
876
|
-
|
|
879
|
+
_yield$this$axiosInst2 = _yield$this$axiosInst.data;
|
|
880
|
+
pageRecords = _yield$this$axiosInst2.records;
|
|
881
|
+
nextRecordsUrl = _yield$this$axiosInst2.nextRecordsUrl;
|
|
882
|
+
isDone = _yield$this$axiosInst2.done;
|
|
883
|
+
records.push.apply(records, pageRecords);
|
|
884
|
+
done = isDone;
|
|
885
|
+
url = nextRecordsUrl;
|
|
886
|
+
case 20:
|
|
887
|
+
if (!done) {
|
|
888
|
+
_context.next = 10;
|
|
889
|
+
break;
|
|
890
|
+
}
|
|
891
|
+
case 21:
|
|
877
892
|
return _context.abrupt("return", options != null && options.forExport ? records.map(toPractitionerExport) : records.map(toPractitioner));
|
|
878
|
-
case
|
|
879
|
-
_context.prev =
|
|
893
|
+
case 24:
|
|
894
|
+
_context.prev = 24;
|
|
880
895
|
_context.t0 = _context["catch"](0);
|
|
881
896
|
console.error('Error fetching practitioners: ', _context.t0.message);
|
|
882
897
|
throw _context.t0;
|
|
883
|
-
case
|
|
898
|
+
case 28:
|
|
884
899
|
case "end":
|
|
885
900
|
return _context.stop();
|
|
886
901
|
}
|
|
887
|
-
}, _callee, this, [[0,
|
|
902
|
+
}, _callee, this, [[0, 24]]);
|
|
888
903
|
}));
|
|
889
904
|
function fetchPractitioners(_x) {
|
|
890
905
|
return _fetchPractitioners.apply(this, arguments);
|
|
@@ -893,7 +908,7 @@ var SFPractitionerClient = /*#__PURE__*/function () {
|
|
|
893
908
|
}();
|
|
894
909
|
_proto.fetchPractitionerByEmail = /*#__PURE__*/function () {
|
|
895
910
|
var _fetchPractitionerByEmail = /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(email) {
|
|
896
|
-
var url, query, _yield$this$
|
|
911
|
+
var url, query, _yield$this$axiosInst3, records;
|
|
897
912
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
898
913
|
while (1) switch (_context2.prev = _context2.next) {
|
|
899
914
|
case 0:
|
|
@@ -907,8 +922,8 @@ var SFPractitionerClient = /*#__PURE__*/function () {
|
|
|
907
922
|
}
|
|
908
923
|
});
|
|
909
924
|
case 5:
|
|
910
|
-
_yield$this$
|
|
911
|
-
records = _yield$this$
|
|
925
|
+
_yield$this$axiosInst3 = _context2.sent;
|
|
926
|
+
records = _yield$this$axiosInst3.data.records;
|
|
912
927
|
if (!(records.length === 0)) {
|
|
913
928
|
_context2.next = 9;
|
|
914
929
|
break;
|
|
@@ -1369,7 +1384,7 @@ var SFAccounts = /*#__PURE__*/function () {
|
|
|
1369
1384
|
_proto.fetchAccounts = /*#__PURE__*/function () {
|
|
1370
1385
|
var _fetchAccounts = /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(type, options) {
|
|
1371
1386
|
var _this = this;
|
|
1372
|
-
var accountType, query,
|
|
1387
|
+
var accountType, query, records, done, url, _yield$this$axiosInst, _yield$this$axiosInst2, pageRecords, nextRecordsUrl, isDone, accounts, i;
|
|
1373
1388
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
1374
1389
|
while (1) switch (_context.prev = _context.next) {
|
|
1375
1390
|
case 0:
|
|
@@ -1385,70 +1400,74 @@ var SFAccounts = /*#__PURE__*/function () {
|
|
|
1385
1400
|
case 7:
|
|
1386
1401
|
query = "SELECT " + ACCOUNT_FIELDS.join(',') + " FROM Account WHERE Type = '" + accountType + "'";
|
|
1387
1402
|
if (options != null && options.parentId) query += " AND ParentId = '" + options.parentId + "'";
|
|
1388
|
-
if (options != null && options.
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1403
|
+
if (options != null && options.active) query += " AND Active__c = true";
|
|
1404
|
+
records = [];
|
|
1405
|
+
done = false;
|
|
1406
|
+
url = "/services/data/v57.0/query";
|
|
1392
1407
|
case 13:
|
|
1393
|
-
|
|
1394
|
-
|
|
1408
|
+
_context.next = 15;
|
|
1409
|
+
return this.axiosInstance.get(url, {
|
|
1410
|
+
params: {
|
|
1411
|
+
q: query
|
|
1412
|
+
}
|
|
1413
|
+
});
|
|
1414
|
+
case 15:
|
|
1415
|
+
_yield$this$axiosInst = _context.sent;
|
|
1416
|
+
_yield$this$axiosInst2 = _yield$this$axiosInst.data;
|
|
1417
|
+
pageRecords = _yield$this$axiosInst2.records;
|
|
1418
|
+
nextRecordsUrl = _yield$this$axiosInst2.nextRecordsUrl;
|
|
1419
|
+
isDone = _yield$this$axiosInst2.done;
|
|
1420
|
+
records.push.apply(records, pageRecords);
|
|
1421
|
+
done = isDone;
|
|
1422
|
+
url = nextRecordsUrl;
|
|
1423
|
+
case 23:
|
|
1424
|
+
if (!done) {
|
|
1425
|
+
_context.next = 13;
|
|
1426
|
+
break;
|
|
1427
|
+
}
|
|
1428
|
+
case 24:
|
|
1429
|
+
accounts = records.map(function (record) {
|
|
1395
1430
|
return _this.buildAccount(record);
|
|
1396
1431
|
});
|
|
1397
1432
|
_context.t1 = _regeneratorRuntime().keys(accounts);
|
|
1398
|
-
case
|
|
1433
|
+
case 26:
|
|
1399
1434
|
if ((_context.t2 = _context.t1()).done) {
|
|
1400
|
-
_context.next =
|
|
1435
|
+
_context.next = 34;
|
|
1401
1436
|
break;
|
|
1402
1437
|
}
|
|
1403
1438
|
i = _context.t2.value;
|
|
1404
1439
|
if (!(accounts[i].accountTypeName === 'healthAuthority')) {
|
|
1405
|
-
_context.next =
|
|
1440
|
+
_context.next = 32;
|
|
1406
1441
|
break;
|
|
1407
1442
|
}
|
|
1408
|
-
|
|
1409
|
-
childAccounts = [];
|
|
1410
|
-
returnedPageSize = 0;
|
|
1411
|
-
case 22:
|
|
1412
|
-
_context.next = 24;
|
|
1443
|
+
_context.next = 31;
|
|
1413
1444
|
return this.fetchAccounts('establishment', {
|
|
1414
1445
|
parentId: accounts[i].id,
|
|
1415
|
-
|
|
1416
|
-
pageNumber: pageNumber,
|
|
1417
|
-
failfast: options == null ? void 0 : options.failfast
|
|
1446
|
+
active: options == null ? void 0 : options.active
|
|
1418
1447
|
});
|
|
1419
|
-
case
|
|
1420
|
-
|
|
1421
|
-
childAccounts.push.apply(childAccounts, pageAccounts);
|
|
1422
|
-
returnedPageSize = pageAccounts.length;
|
|
1423
|
-
pageNumber++;
|
|
1424
|
-
case 28:
|
|
1425
|
-
if (returnedPageSize > 0) {
|
|
1426
|
-
_context.next = 22;
|
|
1427
|
-
break;
|
|
1428
|
-
}
|
|
1429
|
-
case 29:
|
|
1430
|
-
accounts[i].children = childAccounts;
|
|
1431
|
-
case 30:
|
|
1432
|
-
_context.next = 16;
|
|
1433
|
-
break;
|
|
1448
|
+
case 31:
|
|
1449
|
+
accounts[i].children = _context.sent;
|
|
1434
1450
|
case 32:
|
|
1451
|
+
_context.next = 26;
|
|
1452
|
+
break;
|
|
1453
|
+
case 34:
|
|
1435
1454
|
return _context.abrupt("return", accounts);
|
|
1436
|
-
case
|
|
1437
|
-
_context.prev =
|
|
1455
|
+
case 37:
|
|
1456
|
+
_context.prev = 37;
|
|
1438
1457
|
_context.t3 = _context["catch"](0);
|
|
1439
|
-
console.error("Error fetching " + type + "
|
|
1458
|
+
console.error("Error fetching " + type + " accounts: ", _context.t3.message);
|
|
1440
1459
|
if (!(options != null && options.failfast)) {
|
|
1441
|
-
_context.next =
|
|
1460
|
+
_context.next = 42;
|
|
1442
1461
|
break;
|
|
1443
1462
|
}
|
|
1444
1463
|
throw _context.t3;
|
|
1445
|
-
case
|
|
1464
|
+
case 42:
|
|
1446
1465
|
return _context.abrupt("return", []);
|
|
1447
|
-
case
|
|
1466
|
+
case 43:
|
|
1448
1467
|
case "end":
|
|
1449
1468
|
return _context.stop();
|
|
1450
1469
|
}
|
|
1451
|
-
}, _callee, this, [[0,
|
|
1470
|
+
}, _callee, this, [[0, 37]]);
|
|
1452
1471
|
}));
|
|
1453
1472
|
function fetchAccounts(_x, _x2) {
|
|
1454
1473
|
return _fetchAccounts.apply(this, arguments);
|
|
@@ -1464,10 +1483,15 @@ var SFAccounts = /*#__PURE__*/function () {
|
|
|
1464
1483
|
case 'Hospital':
|
|
1465
1484
|
accountType = 'establishment';
|
|
1466
1485
|
}
|
|
1486
|
+
var fields = ['street', 'city', 'state', 'country', 'postalCode'];
|
|
1487
|
+
var address = fields.map(function (field) {
|
|
1488
|
+
var _record$BillingAddres, _record$BillingAddres2;
|
|
1489
|
+
return (_record$BillingAddres = (_record$BillingAddres2 = record.BillingAddress) == null || (_record$BillingAddres2 = _record$BillingAddres2[field]) == null ? void 0 : _record$BillingAddres2.trim()) != null ? _record$BillingAddres : '';
|
|
1490
|
+
}).filter(Boolean).join('\n');
|
|
1467
1491
|
return {
|
|
1468
1492
|
id: record.Id,
|
|
1469
1493
|
name: record.Name,
|
|
1470
|
-
address:
|
|
1494
|
+
address: address,
|
|
1471
1495
|
city: record.BillingCity,
|
|
1472
1496
|
province: record.BillingState,
|
|
1473
1497
|
postalCode: record.BillingPostalCode,
|
|
@@ -2037,6 +2061,172 @@ var LipheApiClient = /*#__PURE__*/function () {
|
|
|
2037
2061
|
Agency["SSI"] = "99";
|
|
2038
2062
|
})(exports.Agency || (exports.Agency = {}));
|
|
2039
2063
|
|
|
2064
|
+
(function (LipheRegion) {
|
|
2065
|
+
LipheRegion[LipheRegion["Abitibi-T\xE9miscaminque"] = 0] = "Abitibi-T\xE9miscaminque";
|
|
2066
|
+
LipheRegion[LipheRegion["Alberta"] = 1] = "Alberta";
|
|
2067
|
+
LipheRegion[LipheRegion["Autre"] = 2] = "Autre";
|
|
2068
|
+
LipheRegion[LipheRegion["Baie d'Hudson"] = 3] = "Baie d'Hudson";
|
|
2069
|
+
LipheRegion[LipheRegion["Baie James"] = 4] = "Baie James";
|
|
2070
|
+
LipheRegion[LipheRegion["Bas St-Laurent"] = 5] = "Bas St-Laurent";
|
|
2071
|
+
LipheRegion[LipheRegion["British Columbia"] = 6] = "British Columbia";
|
|
2072
|
+
LipheRegion[LipheRegion["Charlevoix"] = 7] = "Charlevoix";
|
|
2073
|
+
LipheRegion[LipheRegion["Estrie"] = 8] = "Estrie";
|
|
2074
|
+
LipheRegion[LipheRegion["Gasp\xE9sie"] = 9] = "Gasp\xE9sie";
|
|
2075
|
+
LipheRegion[LipheRegion["Haut St-Maurice"] = 10] = "Haut St-Maurice";
|
|
2076
|
+
LipheRegion[LipheRegion["Iles de la Madeleine"] = 11] = "Iles de la Madeleine";
|
|
2077
|
+
LipheRegion[LipheRegion["Lanaudi\xE8re"] = 12] = "Lanaudi\xE8re";
|
|
2078
|
+
LipheRegion[LipheRegion["Laurentides"] = 13] = "Laurentides";
|
|
2079
|
+
LipheRegion[LipheRegion["Laval"] = 14] = "Laval";
|
|
2080
|
+
LipheRegion[LipheRegion["Manitoba"] = 15] = "Manitoba";
|
|
2081
|
+
LipheRegion[LipheRegion["Mauricie"] = 16] = "Mauricie";
|
|
2082
|
+
LipheRegion[LipheRegion["Mont\xE9r\xE9gie"] = 17] = "Mont\xE9r\xE9gie";
|
|
2083
|
+
LipheRegion[LipheRegion["Montr\xE9al"] = 18] = "Montr\xE9al";
|
|
2084
|
+
LipheRegion[LipheRegion["New Brunswick"] = 19] = "New Brunswick";
|
|
2085
|
+
LipheRegion[LipheRegion["Newfoundland and Labrador"] = 20] = "Newfoundland and Labrador";
|
|
2086
|
+
LipheRegion[LipheRegion["Northwest Territories"] = 21] = "Northwest Territories";
|
|
2087
|
+
LipheRegion[LipheRegion["Nova Scotia"] = 22] = "Nova Scotia";
|
|
2088
|
+
LipheRegion[LipheRegion["Nunavut"] = 23] = "Nunavut";
|
|
2089
|
+
LipheRegion[LipheRegion["Ontario"] = 24] = "Ontario";
|
|
2090
|
+
LipheRegion[LipheRegion["Outaouais"] = 25] = "Outaouais";
|
|
2091
|
+
LipheRegion[LipheRegion["Prince Edward Island"] = 26] = "Prince Edward Island";
|
|
2092
|
+
LipheRegion[LipheRegion["Qu\xE9bec"] = 27] = "Qu\xE9bec";
|
|
2093
|
+
LipheRegion[LipheRegion["Rivi\xE8re du Loup / Matane"] = 28] = "Rivi\xE8re du Loup / Matane";
|
|
2094
|
+
LipheRegion[LipheRegion["Saguenay"] = 29] = "Saguenay";
|
|
2095
|
+
LipheRegion[LipheRegion["Saskatchewan"] = 30] = "Saskatchewan";
|
|
2096
|
+
LipheRegion[LipheRegion["Sept-Iles / C\xF4te-Nord"] = 31] = "Sept-Iles / C\xF4te-Nord";
|
|
2097
|
+
LipheRegion[LipheRegion["Thetford Mines"] = 32] = "Thetford Mines";
|
|
2098
|
+
LipheRegion[LipheRegion["Ungava"] = 33] = "Ungava";
|
|
2099
|
+
LipheRegion[LipheRegion["Yukon"] = 34] = "Yukon";
|
|
2100
|
+
})(exports.LipheRegion || (exports.LipheRegion = {}));
|
|
2101
|
+
(function (LipheGeographicalArea) {
|
|
2102
|
+
LipheGeographicalArea[LipheGeographicalArea["Berthierville"] = 0] = "Berthierville";
|
|
2103
|
+
LipheGeographicalArea[LipheGeographicalArea["Bordeaux-Cartierville"] = 1] = "Bordeaux-Cartierville";
|
|
2104
|
+
LipheGeographicalArea[LipheGeographicalArea["Labelle"] = 2] = "Labelle";
|
|
2105
|
+
LipheGeographicalArea[LipheGeographicalArea["Laval"] = 3] = "Laval";
|
|
2106
|
+
LipheGeographicalArea[LipheGeographicalArea["Le Gardeur"] = 4] = "Le Gardeur";
|
|
2107
|
+
LipheGeographicalArea[LipheGeographicalArea["Lindsay - Gingras"] = 5] = "Lindsay - Gingras";
|
|
2108
|
+
LipheGeographicalArea[LipheGeographicalArea["Montr\xE9al"] = 6] = "Montr\xE9al";
|
|
2109
|
+
LipheGeographicalArea[LipheGeographicalArea["Montr\xE9al - Est"] = 7] = "Montr\xE9al - Est";
|
|
2110
|
+
LipheGeographicalArea[LipheGeographicalArea["Montr\xE9al - Ouest"] = 8] = "Montr\xE9al - Ouest";
|
|
2111
|
+
LipheGeographicalArea[LipheGeographicalArea["Outaouais"] = 9] = "Outaouais";
|
|
2112
|
+
LipheGeographicalArea[LipheGeographicalArea["Rive - Sud"] = 10] = "Rive - Sud";
|
|
2113
|
+
LipheGeographicalArea[LipheGeographicalArea["Ste - Ad\xE8le"] = 11] = "Ste - Ad\xE8le";
|
|
2114
|
+
LipheGeographicalArea[LipheGeographicalArea["Ste - Agathe"] = 12] = "Ste - Agathe";
|
|
2115
|
+
LipheGeographicalArea[LipheGeographicalArea["St - Eustache"] = 13] = "St - Eustache";
|
|
2116
|
+
LipheGeographicalArea[LipheGeographicalArea["St - J\xE9r\xF4me"] = 14] = "St - J\xE9r\xF4me";
|
|
2117
|
+
LipheGeographicalArea[LipheGeographicalArea["Verdun"] = 15] = "Verdun";
|
|
2118
|
+
LipheGeographicalArea[LipheGeographicalArea["Mont - Tremblant"] = 16] = "Mont - Tremblant";
|
|
2119
|
+
LipheGeographicalArea[LipheGeographicalArea["Montr\xE9al(centre - ville)"] = 17] = "Montr\xE9al(centre - ville)";
|
|
2120
|
+
LipheGeographicalArea[LipheGeographicalArea["Basses Laurentides"] = 18] = "Basses Laurentides";
|
|
2121
|
+
LipheGeographicalArea[LipheGeographicalArea["Valleyfield"] = 19] = "Valleyfield";
|
|
2122
|
+
LipheGeographicalArea[LipheGeographicalArea["Argenteuil"] = 20] = "Argenteuil";
|
|
2123
|
+
LipheGeographicalArea[LipheGeographicalArea["Lachute"] = 21] = "Lachute";
|
|
2124
|
+
LipheGeographicalArea[LipheGeographicalArea["Lanaudi\xE8re SUD"] = 22] = "Lanaudi\xE8re SUD";
|
|
2125
|
+
LipheGeographicalArea[LipheGeographicalArea["Lanaudi\xE8re NORD"] = 23] = "Lanaudi\xE8re NORD";
|
|
2126
|
+
LipheGeographicalArea[LipheGeographicalArea["Granby"] = 24] = "Granby";
|
|
2127
|
+
LipheGeographicalArea[LipheGeographicalArea["Sorel"] = 25] = "Sorel";
|
|
2128
|
+
LipheGeographicalArea[LipheGeographicalArea["Longueuil"] = 26] = "Longueuil";
|
|
2129
|
+
LipheGeographicalArea[LipheGeographicalArea["Ch\xE2teauguay"] = 27] = "Ch\xE2teauguay";
|
|
2130
|
+
LipheGeographicalArea[LipheGeographicalArea["St - Jean sur Richelieu"] = 28] = "St - Jean sur Richelieu";
|
|
2131
|
+
LipheGeographicalArea[LipheGeographicalArea["St - Hyacinthe"] = 29] = "St - Hyacinthe";
|
|
2132
|
+
LipheGeographicalArea[LipheGeographicalArea["Drummondville"] = 30] = "Drummondville";
|
|
2133
|
+
LipheGeographicalArea[LipheGeographicalArea["Blainville"] = 31] = "Blainville";
|
|
2134
|
+
LipheGeographicalArea[LipheGeographicalArea["La Prairie"] = 32] = "La Prairie";
|
|
2135
|
+
LipheGeographicalArea[LipheGeographicalArea["Mont - Laurier"] = 33] = "Mont - Laurier";
|
|
2136
|
+
LipheGeographicalArea[LipheGeographicalArea["Pierre - Boucher"] = 34] = "Pierre - Boucher";
|
|
2137
|
+
LipheGeographicalArea[LipheGeographicalArea["Berthiaume du Tremblay"] = 35] = "Berthiaume du Tremblay";
|
|
2138
|
+
LipheGeographicalArea[LipheGeographicalArea["Grand Nord"] = 36] = "Grand Nord";
|
|
2139
|
+
LipheGeographicalArea[LipheGeographicalArea["Montr\xE9al Nord"] = 37] = "Montr\xE9al Nord";
|
|
2140
|
+
LipheGeographicalArea[LipheGeographicalArea["Rouyn Noranda"] = 38] = "Rouyn Noranda";
|
|
2141
|
+
LipheGeographicalArea[LipheGeographicalArea["Chicoutimi"] = 39] = "Chicoutimi";
|
|
2142
|
+
LipheGeographicalArea[LipheGeographicalArea["Qu\xE9bec"] = 40] = "Qu\xE9bec";
|
|
2143
|
+
LipheGeographicalArea[LipheGeographicalArea["Sherbrooke"] = 41] = "Sherbrooke";
|
|
2144
|
+
LipheGeographicalArea[LipheGeographicalArea["Trois - Rivi\xE8res"] = 42] = "Trois - Rivi\xE8res";
|
|
2145
|
+
LipheGeographicalArea[LipheGeographicalArea["Gasp\xE9sie"] = 43] = "Gasp\xE9sie";
|
|
2146
|
+
LipheGeographicalArea[LipheGeographicalArea["C\xF4te - Nord"] = 44] = "C\xF4te - Nord";
|
|
2147
|
+
LipheGeographicalArea[LipheGeographicalArea["Abitibi - T\xE9miscamingue"] = 45] = "Abitibi - T\xE9miscamingue";
|
|
2148
|
+
LipheGeographicalArea[LipheGeographicalArea["Portneuf"] = 46] = "Portneuf";
|
|
2149
|
+
LipheGeographicalArea[LipheGeographicalArea["Charlevoix"] = 47] = "Charlevoix";
|
|
2150
|
+
LipheGeographicalArea[LipheGeographicalArea["CHUQ"] = 48] = "CHUQ";
|
|
2151
|
+
LipheGeographicalArea[LipheGeographicalArea["Thetford Mines"] = 49] = "Thetford Mines";
|
|
2152
|
+
LipheGeographicalArea[LipheGeographicalArea["Chaudi\xE8re - Appalaches"] = 50] = "Chaudi\xE8re - Appalaches";
|
|
2153
|
+
LipheGeographicalArea[LipheGeographicalArea["Saint - Raymond"] = 51] = "Saint - Raymond";
|
|
2154
|
+
LipheGeographicalArea[LipheGeographicalArea["Limoilou"] = 52] = "Limoilou";
|
|
2155
|
+
LipheGeographicalArea[LipheGeographicalArea["Ancienne - Lorette"] = 53] = "Ancienne - Lorette";
|
|
2156
|
+
LipheGeographicalArea[LipheGeographicalArea["Malbaie"] = 54] = "Malbaie";
|
|
2157
|
+
LipheGeographicalArea[LipheGeographicalArea["Baie - Saint - Paul"] = 55] = "Baie - Saint - Paul";
|
|
2158
|
+
LipheGeographicalArea[LipheGeographicalArea["St - Anne de Beaupr\xE9"] = 56] = "St - Anne de Beaupr\xE9";
|
|
2159
|
+
LipheGeographicalArea[LipheGeographicalArea["Loretteville"] = 57] = "Loretteville";
|
|
2160
|
+
LipheGeographicalArea[LipheGeographicalArea["Valcartier"] = 58] = "Valcartier";
|
|
2161
|
+
LipheGeographicalArea[LipheGeographicalArea["Rivi\xE8re - du - Loup"] = 59] = "Rivi\xE8re - du - Loup";
|
|
2162
|
+
LipheGeographicalArea[LipheGeographicalArea["Maria"] = 60] = "Maria";
|
|
2163
|
+
LipheGeographicalArea[LipheGeographicalArea["Manicouagan"] = 61] = "Manicouagan";
|
|
2164
|
+
LipheGeographicalArea[LipheGeographicalArea["Sept - Iles"] = 62] = "Sept - Iles";
|
|
2165
|
+
LipheGeographicalArea[LipheGeographicalArea["Basse - C\xF4te - Nord"] = 63] = "Basse - C\xF4te - Nord";
|
|
2166
|
+
LipheGeographicalArea[LipheGeographicalArea["Port - Cartier"] = 64] = "Port - Cartier";
|
|
2167
|
+
LipheGeographicalArea[LipheGeographicalArea["Sherfferville"] = 65] = "Sherfferville";
|
|
2168
|
+
LipheGeographicalArea[LipheGeographicalArea["Minganie"] = 66] = "Minganie";
|
|
2169
|
+
LipheGeographicalArea[LipheGeographicalArea["Natashquan"] = 67] = "Natashquan";
|
|
2170
|
+
LipheGeographicalArea[LipheGeographicalArea["Chibougamau"] = 68] = "Chibougamau";
|
|
2171
|
+
LipheGeographicalArea[LipheGeographicalArea["Mauricie"] = 69] = "Mauricie";
|
|
2172
|
+
LipheGeographicalArea[LipheGeographicalArea["Maskinong\xE9"] = 70] = "Maskinong\xE9";
|
|
2173
|
+
LipheGeographicalArea[LipheGeographicalArea["Parent"] = 71] = "Parent";
|
|
2174
|
+
LipheGeographicalArea[LipheGeographicalArea["M\xE9mphr\xE9magog"] = 72] = "M\xE9mphr\xE9magog";
|
|
2175
|
+
LipheGeographicalArea[LipheGeographicalArea["Coaticook"] = 73] = "Coaticook";
|
|
2176
|
+
LipheGeographicalArea[LipheGeographicalArea["Victoriaville"] = 74] = "Victoriaville";
|
|
2177
|
+
LipheGeographicalArea[LipheGeographicalArea["Rimouski"] = 75] = "Rimouski";
|
|
2178
|
+
LipheGeographicalArea[LipheGeographicalArea["Shawinigan"] = 76] = "Shawinigan";
|
|
2179
|
+
LipheGeographicalArea[LipheGeographicalArea["Matane"] = 77] = "Matane";
|
|
2180
|
+
LipheGeographicalArea[LipheGeographicalArea["Santa - Cabrini"] = 78] = "Santa - Cabrini";
|
|
2181
|
+
LipheGeographicalArea[LipheGeographicalArea["Marie - Clarac"] = 79] = "Marie - Clarac";
|
|
2182
|
+
LipheGeographicalArea[LipheGeographicalArea["H\xF4pital lachine"] = 80] = "H\xF4pital lachine";
|
|
2183
|
+
LipheGeographicalArea[LipheGeographicalArea["Rivi\xE8re - Rouge"] = 81] = "Rivi\xE8re - Rouge";
|
|
2184
|
+
LipheGeographicalArea[LipheGeographicalArea["Jeanne - Mance"] = 82] = "Jeanne - Mance";
|
|
2185
|
+
LipheGeographicalArea[LipheGeographicalArea["Le Repair"] = 83] = "Le Repair";
|
|
2186
|
+
LipheGeographicalArea[LipheGeographicalArea["Mont\xE9r\xE9gie"] = 84] = "Mont\xE9r\xE9gie";
|
|
2187
|
+
LipheGeographicalArea[LipheGeographicalArea["Estrie"] = 85] = "Estrie";
|
|
2188
|
+
LipheGeographicalArea[LipheGeographicalArea["Villa - Medica"] = 86] = "Villa - Medica";
|
|
2189
|
+
LipheGeographicalArea[LipheGeographicalArea["Laurentides"] = 87] = "Laurentides";
|
|
2190
|
+
LipheGeographicalArea[LipheGeographicalArea["Hors - Qc"] = 88] = "Hors - Qc";
|
|
2191
|
+
LipheGeographicalArea[LipheGeographicalArea["Hors - Can"] = 89] = "Hors - Can";
|
|
2192
|
+
LipheGeographicalArea[LipheGeographicalArea["Hors Pays"] = 90] = "Hors Pays";
|
|
2193
|
+
LipheGeographicalArea[LipheGeographicalArea["Hors Province"] = 91] = "Hors Province";
|
|
2194
|
+
LipheGeographicalArea[LipheGeographicalArea["Baie James"] = 92] = "Baie James";
|
|
2195
|
+
LipheGeographicalArea[LipheGeographicalArea["Nunavut"] = 93] = "Nunavut";
|
|
2196
|
+
LipheGeographicalArea[LipheGeographicalArea["Ungava"] = 94] = "Ungava";
|
|
2197
|
+
LipheGeographicalArea[LipheGeographicalArea["Inuulitsivik"] = 95] = "Inuulitsivik";
|
|
2198
|
+
LipheGeographicalArea[LipheGeographicalArea["Bas Saint - Laurent"] = 96] = "Bas Saint - Laurent";
|
|
2199
|
+
LipheGeographicalArea[LipheGeographicalArea["L\xE9vis"] = 97] = "L\xE9vis";
|
|
2200
|
+
LipheGeographicalArea[LipheGeographicalArea["\xCEles de la Madeleine"] = 98] = "\xCEles de la Madeleine";
|
|
2201
|
+
LipheGeographicalArea[LipheGeographicalArea["Saguenay"] = 99] = "Saguenay";
|
|
2202
|
+
LipheGeographicalArea[LipheGeographicalArea["Alberta"] = 100] = "Alberta";
|
|
2203
|
+
LipheGeographicalArea[LipheGeographicalArea["British Columbia"] = 101] = "British Columbia";
|
|
2204
|
+
LipheGeographicalArea[LipheGeographicalArea["Yukon"] = 102] = "Yukon";
|
|
2205
|
+
LipheGeographicalArea[LipheGeographicalArea["Northwest Territories"] = 103] = "Northwest Territories";
|
|
2206
|
+
LipheGeographicalArea[LipheGeographicalArea["Saskatchewan"] = 104] = "Saskatchewan";
|
|
2207
|
+
LipheGeographicalArea[LipheGeographicalArea["Manitoba"] = 105] = "Manitoba";
|
|
2208
|
+
LipheGeographicalArea[LipheGeographicalArea["Ontario"] = 106] = "Ontario";
|
|
2209
|
+
LipheGeographicalArea[LipheGeographicalArea["New Brunswick"] = 107] = "New Brunswick";
|
|
2210
|
+
LipheGeographicalArea[LipheGeographicalArea["Newfoundland and Labrador"] = 108] = "Newfoundland and Labrador";
|
|
2211
|
+
LipheGeographicalArea[LipheGeographicalArea["Prince Edward Island"] = 109] = "Prince Edward Island";
|
|
2212
|
+
LipheGeographicalArea[LipheGeographicalArea["Nova Scotia"] = 110] = "Nova Scotia";
|
|
2213
|
+
})(exports.LipheGeographicalArea || (exports.LipheGeographicalArea = {}));
|
|
2214
|
+
(function (Province) {
|
|
2215
|
+
Province["AB"] = "AB";
|
|
2216
|
+
Province["BC"] = "BC";
|
|
2217
|
+
Province["MB"] = "MB";
|
|
2218
|
+
Province["NB"] = "NB";
|
|
2219
|
+
Province["NL"] = "NL";
|
|
2220
|
+
Province["NS"] = "NS";
|
|
2221
|
+
Province["NT"] = "NT";
|
|
2222
|
+
Province["NU"] = "NU";
|
|
2223
|
+
Province["ON"] = "ON";
|
|
2224
|
+
Province["PE"] = "PE";
|
|
2225
|
+
Province["QC"] = "QC";
|
|
2226
|
+
Province["SK"] = "SK";
|
|
2227
|
+
Province["YT"] = "YT";
|
|
2228
|
+
})(exports.Province || (exports.Province = {}));
|
|
2229
|
+
|
|
2040
2230
|
var SF_API_VERSION$1 = 'v57.0';
|
|
2041
2231
|
|
|
2042
2232
|
exports.LipheApiClient = LipheApiClient;
|