pha-hermes 1.25.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 +37 -0
- package/dist/api/salesforce/apiClient.d.ts +2 -0
- package/dist/index.d.ts +1 -0
- package/dist/models/regions.d.ts +165 -0
- package/dist/pha-hermes.cjs.development.js +329 -13
- 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 +333 -14
- package/dist/pha-hermes.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/api/salesforce/accounts/accounts.ts +125 -0
- package/src/api/salesforce/apiClient.ts +3 -0
- package/src/api/salesforce/practitioner/practitionerClient.ts +13 -6
- package/src/index.ts +1 -0
- package/src/models/regions.ts +168 -0
- package/src/api/.env +0 -5
package/dist/pha-hermes.esm.js
CHANGED
|
@@ -845,7 +845,7 @@ var SFPractitionerClient = /*#__PURE__*/function () {
|
|
|
845
845
|
var _proto = SFPractitionerClient.prototype;
|
|
846
846
|
_proto.fetchPractitioners = /*#__PURE__*/function () {
|
|
847
847
|
var _fetchPractitioners = /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(options) {
|
|
848
|
-
var conditions, whereClause, limitClause, url, fields, query, _yield$this$axiosInst,
|
|
848
|
+
var conditions, whereClause, limitClause, url, fields, query, records, done, _yield$this$axiosInst, _yield$this$axiosInst2, pageRecords, nextRecordsUrl, isDone;
|
|
849
849
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
850
850
|
while (1) switch (_context.prev = _context.next) {
|
|
851
851
|
case 0:
|
|
@@ -859,26 +859,41 @@ var SFPractitionerClient = /*#__PURE__*/function () {
|
|
|
859
859
|
url = "/services/data/" + SF_API_VERSION$1 + "/query";
|
|
860
860
|
fields = (options != null && options.forExport ? this.PRACTITIONER_FIELDS["export"] : this.PRACTITIONER_FIELDS["default"]).join(', ');
|
|
861
861
|
query = "\n SELECT " + fields + "\n FROM Personnel__c\n " + whereClause + "\n ORDER BY CreatedDate ASC, StaffID__c ASC\n " + limitClause + "\n ";
|
|
862
|
-
|
|
862
|
+
records = [];
|
|
863
|
+
done = false;
|
|
864
|
+
case 10:
|
|
865
|
+
_context.next = 12;
|
|
863
866
|
return this.axiosInstance.get(url, {
|
|
864
867
|
params: {
|
|
865
868
|
q: query
|
|
866
869
|
}
|
|
867
870
|
});
|
|
868
|
-
case
|
|
871
|
+
case 12:
|
|
869
872
|
_yield$this$axiosInst = _context.sent;
|
|
870
|
-
|
|
873
|
+
_yield$this$axiosInst2 = _yield$this$axiosInst.data;
|
|
874
|
+
pageRecords = _yield$this$axiosInst2.records;
|
|
875
|
+
nextRecordsUrl = _yield$this$axiosInst2.nextRecordsUrl;
|
|
876
|
+
isDone = _yield$this$axiosInst2.done;
|
|
877
|
+
records.push.apply(records, pageRecords);
|
|
878
|
+
done = isDone;
|
|
879
|
+
url = nextRecordsUrl;
|
|
880
|
+
case 20:
|
|
881
|
+
if (!done) {
|
|
882
|
+
_context.next = 10;
|
|
883
|
+
break;
|
|
884
|
+
}
|
|
885
|
+
case 21:
|
|
871
886
|
return _context.abrupt("return", options != null && options.forExport ? records.map(toPractitionerExport) : records.map(toPractitioner));
|
|
872
|
-
case
|
|
873
|
-
_context.prev =
|
|
887
|
+
case 24:
|
|
888
|
+
_context.prev = 24;
|
|
874
889
|
_context.t0 = _context["catch"](0);
|
|
875
890
|
console.error('Error fetching practitioners: ', _context.t0.message);
|
|
876
891
|
throw _context.t0;
|
|
877
|
-
case
|
|
892
|
+
case 28:
|
|
878
893
|
case "end":
|
|
879
894
|
return _context.stop();
|
|
880
895
|
}
|
|
881
|
-
}, _callee, this, [[0,
|
|
896
|
+
}, _callee, this, [[0, 24]]);
|
|
882
897
|
}));
|
|
883
898
|
function fetchPractitioners(_x) {
|
|
884
899
|
return _fetchPractitioners.apply(this, arguments);
|
|
@@ -887,7 +902,7 @@ var SFPractitionerClient = /*#__PURE__*/function () {
|
|
|
887
902
|
}();
|
|
888
903
|
_proto.fetchPractitionerByEmail = /*#__PURE__*/function () {
|
|
889
904
|
var _fetchPractitionerByEmail = /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(email) {
|
|
890
|
-
var url, query, _yield$this$
|
|
905
|
+
var url, query, _yield$this$axiosInst3, records;
|
|
891
906
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
892
907
|
while (1) switch (_context2.prev = _context2.next) {
|
|
893
908
|
case 0:
|
|
@@ -901,8 +916,8 @@ var SFPractitionerClient = /*#__PURE__*/function () {
|
|
|
901
916
|
}
|
|
902
917
|
});
|
|
903
918
|
case 5:
|
|
904
|
-
_yield$this$
|
|
905
|
-
records = _yield$this$
|
|
919
|
+
_yield$this$axiosInst3 = _context2.sent;
|
|
920
|
+
records = _yield$this$axiosInst3.data.records;
|
|
906
921
|
if (!(records.length === 0)) {
|
|
907
922
|
_context2.next = 9;
|
|
908
923
|
break;
|
|
@@ -1354,6 +1369,140 @@ var SFPriceClient = /*#__PURE__*/function () {
|
|
|
1354
1369
|
return SFPriceClient;
|
|
1355
1370
|
}();
|
|
1356
1371
|
|
|
1372
|
+
var ACCOUNT_FIELDS = ['Id', 'Name', 'BillingCity', 'BillingState', 'BillingPostalCode', 'BillingCountry', 'BillingAddress', 'Phone', 'Fax', 'Type'];
|
|
1373
|
+
var SFAccounts = /*#__PURE__*/function () {
|
|
1374
|
+
function SFAccounts(axiosInstance) {
|
|
1375
|
+
this.axiosInstance = axiosInstance;
|
|
1376
|
+
}
|
|
1377
|
+
var _proto = SFAccounts.prototype;
|
|
1378
|
+
_proto.fetchAccounts = /*#__PURE__*/function () {
|
|
1379
|
+
var _fetchAccounts = /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(type, options) {
|
|
1380
|
+
var _this = this;
|
|
1381
|
+
var accountType, query, records, done, url, _yield$this$axiosInst, _yield$this$axiosInst2, pageRecords, nextRecordsUrl, isDone, accounts, i;
|
|
1382
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
1383
|
+
while (1) switch (_context.prev = _context.next) {
|
|
1384
|
+
case 0:
|
|
1385
|
+
_context.prev = 0;
|
|
1386
|
+
_context.t0 = type;
|
|
1387
|
+
_context.next = _context.t0 === 'healthAuthority' ? 4 : _context.t0 === 'establishment' ? 6 : 7;
|
|
1388
|
+
break;
|
|
1389
|
+
case 4:
|
|
1390
|
+
accountType = 'Health Authority';
|
|
1391
|
+
return _context.abrupt("break", 7);
|
|
1392
|
+
case 6:
|
|
1393
|
+
accountType = 'Hospital';
|
|
1394
|
+
case 7:
|
|
1395
|
+
query = "SELECT " + ACCOUNT_FIELDS.join(',') + " FROM Account WHERE Type = '" + accountType + "'";
|
|
1396
|
+
if (options != null && options.parentId) query += " AND ParentId = '" + options.parentId + "'";
|
|
1397
|
+
if (options != null && options.active) query += " AND Active__c = true";
|
|
1398
|
+
records = [];
|
|
1399
|
+
done = false;
|
|
1400
|
+
url = "/services/data/v57.0/query";
|
|
1401
|
+
case 13:
|
|
1402
|
+
_context.next = 15;
|
|
1403
|
+
return this.axiosInstance.get(url, {
|
|
1404
|
+
params: {
|
|
1405
|
+
q: query
|
|
1406
|
+
}
|
|
1407
|
+
});
|
|
1408
|
+
case 15:
|
|
1409
|
+
_yield$this$axiosInst = _context.sent;
|
|
1410
|
+
_yield$this$axiosInst2 = _yield$this$axiosInst.data;
|
|
1411
|
+
pageRecords = _yield$this$axiosInst2.records;
|
|
1412
|
+
nextRecordsUrl = _yield$this$axiosInst2.nextRecordsUrl;
|
|
1413
|
+
isDone = _yield$this$axiosInst2.done;
|
|
1414
|
+
records.push.apply(records, pageRecords);
|
|
1415
|
+
done = isDone;
|
|
1416
|
+
url = nextRecordsUrl;
|
|
1417
|
+
case 23:
|
|
1418
|
+
if (!done) {
|
|
1419
|
+
_context.next = 13;
|
|
1420
|
+
break;
|
|
1421
|
+
}
|
|
1422
|
+
case 24:
|
|
1423
|
+
accounts = records.map(function (record) {
|
|
1424
|
+
return _this.buildAccount(record);
|
|
1425
|
+
});
|
|
1426
|
+
_context.t1 = _regeneratorRuntime().keys(accounts);
|
|
1427
|
+
case 26:
|
|
1428
|
+
if ((_context.t2 = _context.t1()).done) {
|
|
1429
|
+
_context.next = 34;
|
|
1430
|
+
break;
|
|
1431
|
+
}
|
|
1432
|
+
i = _context.t2.value;
|
|
1433
|
+
if (!(accounts[i].accountTypeName === 'healthAuthority')) {
|
|
1434
|
+
_context.next = 32;
|
|
1435
|
+
break;
|
|
1436
|
+
}
|
|
1437
|
+
_context.next = 31;
|
|
1438
|
+
return this.fetchAccounts('establishment', {
|
|
1439
|
+
parentId: accounts[i].id,
|
|
1440
|
+
active: options == null ? void 0 : options.active
|
|
1441
|
+
});
|
|
1442
|
+
case 31:
|
|
1443
|
+
accounts[i].children = _context.sent;
|
|
1444
|
+
case 32:
|
|
1445
|
+
_context.next = 26;
|
|
1446
|
+
break;
|
|
1447
|
+
case 34:
|
|
1448
|
+
return _context.abrupt("return", accounts);
|
|
1449
|
+
case 37:
|
|
1450
|
+
_context.prev = 37;
|
|
1451
|
+
_context.t3 = _context["catch"](0);
|
|
1452
|
+
console.error("Error fetching " + type + " accounts: ", _context.t3.message);
|
|
1453
|
+
if (!(options != null && options.failfast)) {
|
|
1454
|
+
_context.next = 42;
|
|
1455
|
+
break;
|
|
1456
|
+
}
|
|
1457
|
+
throw _context.t3;
|
|
1458
|
+
case 42:
|
|
1459
|
+
return _context.abrupt("return", []);
|
|
1460
|
+
case 43:
|
|
1461
|
+
case "end":
|
|
1462
|
+
return _context.stop();
|
|
1463
|
+
}
|
|
1464
|
+
}, _callee, this, [[0, 37]]);
|
|
1465
|
+
}));
|
|
1466
|
+
function fetchAccounts(_x, _x2) {
|
|
1467
|
+
return _fetchAccounts.apply(this, arguments);
|
|
1468
|
+
}
|
|
1469
|
+
return fetchAccounts;
|
|
1470
|
+
}();
|
|
1471
|
+
_proto.buildAccount = function buildAccount(record) {
|
|
1472
|
+
var accountType;
|
|
1473
|
+
switch (record.Type) {
|
|
1474
|
+
case 'Health Authority':
|
|
1475
|
+
accountType = 'healthAuthority';
|
|
1476
|
+
break;
|
|
1477
|
+
case 'Hospital':
|
|
1478
|
+
accountType = 'establishment';
|
|
1479
|
+
}
|
|
1480
|
+
var fields = ['street', 'city', 'state', 'country', 'postalCode'];
|
|
1481
|
+
var address = fields.map(function (field) {
|
|
1482
|
+
var _record$BillingAddres, _record$BillingAddres2;
|
|
1483
|
+
return (_record$BillingAddres = (_record$BillingAddres2 = record.BillingAddress) == null || (_record$BillingAddres2 = _record$BillingAddres2[field]) == null ? void 0 : _record$BillingAddres2.trim()) != null ? _record$BillingAddres : '';
|
|
1484
|
+
}).filter(Boolean).join('\n');
|
|
1485
|
+
return {
|
|
1486
|
+
id: record.Id,
|
|
1487
|
+
name: record.Name,
|
|
1488
|
+
address: address,
|
|
1489
|
+
city: record.BillingCity,
|
|
1490
|
+
province: record.BillingState,
|
|
1491
|
+
postalCode: record.BillingPostalCode,
|
|
1492
|
+
geographicalAreaName: record.BillingGeocodeAccuracy,
|
|
1493
|
+
phone: record.Phone,
|
|
1494
|
+
fax: record.Fax,
|
|
1495
|
+
regionName: record.RegionName,
|
|
1496
|
+
accountTypeName: accountType,
|
|
1497
|
+
email: null,
|
|
1498
|
+
phone2: null,
|
|
1499
|
+
cellular: null,
|
|
1500
|
+
lang: 'eng'
|
|
1501
|
+
};
|
|
1502
|
+
};
|
|
1503
|
+
return SFAccounts;
|
|
1504
|
+
}();
|
|
1505
|
+
|
|
1357
1506
|
var SF_API_VERSION = 'v57.0';
|
|
1358
1507
|
var SFApiClient = /*#__PURE__*/function () {
|
|
1359
1508
|
function SFApiClient() {
|
|
@@ -1375,10 +1524,11 @@ var SFApiClient = /*#__PURE__*/function () {
|
|
|
1375
1524
|
this.payPeriodClient = new SFPayPeriodClient(this.axiosInstance);
|
|
1376
1525
|
this.expenseClient = new SFExpenseClient(this.axiosInstance);
|
|
1377
1526
|
this.priceClient = new SFPriceClient(this.axiosInstance);
|
|
1527
|
+
this.accountsClient = new SFAccounts(this.axiosInstance);
|
|
1378
1528
|
// creates authenticator and adds token to axios instance
|
|
1379
|
-
_context.next =
|
|
1529
|
+
_context.next = 12;
|
|
1380
1530
|
return this.authenticator.initializeAuth(sfClientId, sfClientSecret, onTokenRefresh);
|
|
1381
|
-
case
|
|
1531
|
+
case 12:
|
|
1382
1532
|
case "end":
|
|
1383
1533
|
return _context.stop();
|
|
1384
1534
|
}
|
|
@@ -1906,7 +2056,176 @@ var Agency;
|
|
|
1906
2056
|
Agency["SSI"] = "99";
|
|
1907
2057
|
})(Agency || (Agency = {}));
|
|
1908
2058
|
|
|
2059
|
+
var LipheRegion;
|
|
2060
|
+
(function (LipheRegion) {
|
|
2061
|
+
LipheRegion[LipheRegion["Abitibi-T\xE9miscaminque"] = 0] = "Abitibi-T\xE9miscaminque";
|
|
2062
|
+
LipheRegion[LipheRegion["Alberta"] = 1] = "Alberta";
|
|
2063
|
+
LipheRegion[LipheRegion["Autre"] = 2] = "Autre";
|
|
2064
|
+
LipheRegion[LipheRegion["Baie d'Hudson"] = 3] = "Baie d'Hudson";
|
|
2065
|
+
LipheRegion[LipheRegion["Baie James"] = 4] = "Baie James";
|
|
2066
|
+
LipheRegion[LipheRegion["Bas St-Laurent"] = 5] = "Bas St-Laurent";
|
|
2067
|
+
LipheRegion[LipheRegion["British Columbia"] = 6] = "British Columbia";
|
|
2068
|
+
LipheRegion[LipheRegion["Charlevoix"] = 7] = "Charlevoix";
|
|
2069
|
+
LipheRegion[LipheRegion["Estrie"] = 8] = "Estrie";
|
|
2070
|
+
LipheRegion[LipheRegion["Gasp\xE9sie"] = 9] = "Gasp\xE9sie";
|
|
2071
|
+
LipheRegion[LipheRegion["Haut St-Maurice"] = 10] = "Haut St-Maurice";
|
|
2072
|
+
LipheRegion[LipheRegion["Iles de la Madeleine"] = 11] = "Iles de la Madeleine";
|
|
2073
|
+
LipheRegion[LipheRegion["Lanaudi\xE8re"] = 12] = "Lanaudi\xE8re";
|
|
2074
|
+
LipheRegion[LipheRegion["Laurentides"] = 13] = "Laurentides";
|
|
2075
|
+
LipheRegion[LipheRegion["Laval"] = 14] = "Laval";
|
|
2076
|
+
LipheRegion[LipheRegion["Manitoba"] = 15] = "Manitoba";
|
|
2077
|
+
LipheRegion[LipheRegion["Mauricie"] = 16] = "Mauricie";
|
|
2078
|
+
LipheRegion[LipheRegion["Mont\xE9r\xE9gie"] = 17] = "Mont\xE9r\xE9gie";
|
|
2079
|
+
LipheRegion[LipheRegion["Montr\xE9al"] = 18] = "Montr\xE9al";
|
|
2080
|
+
LipheRegion[LipheRegion["New Brunswick"] = 19] = "New Brunswick";
|
|
2081
|
+
LipheRegion[LipheRegion["Newfoundland and Labrador"] = 20] = "Newfoundland and Labrador";
|
|
2082
|
+
LipheRegion[LipheRegion["Northwest Territories"] = 21] = "Northwest Territories";
|
|
2083
|
+
LipheRegion[LipheRegion["Nova Scotia"] = 22] = "Nova Scotia";
|
|
2084
|
+
LipheRegion[LipheRegion["Nunavut"] = 23] = "Nunavut";
|
|
2085
|
+
LipheRegion[LipheRegion["Ontario"] = 24] = "Ontario";
|
|
2086
|
+
LipheRegion[LipheRegion["Outaouais"] = 25] = "Outaouais";
|
|
2087
|
+
LipheRegion[LipheRegion["Prince Edward Island"] = 26] = "Prince Edward Island";
|
|
2088
|
+
LipheRegion[LipheRegion["Qu\xE9bec"] = 27] = "Qu\xE9bec";
|
|
2089
|
+
LipheRegion[LipheRegion["Rivi\xE8re du Loup / Matane"] = 28] = "Rivi\xE8re du Loup / Matane";
|
|
2090
|
+
LipheRegion[LipheRegion["Saguenay"] = 29] = "Saguenay";
|
|
2091
|
+
LipheRegion[LipheRegion["Saskatchewan"] = 30] = "Saskatchewan";
|
|
2092
|
+
LipheRegion[LipheRegion["Sept-Iles / C\xF4te-Nord"] = 31] = "Sept-Iles / C\xF4te-Nord";
|
|
2093
|
+
LipheRegion[LipheRegion["Thetford Mines"] = 32] = "Thetford Mines";
|
|
2094
|
+
LipheRegion[LipheRegion["Ungava"] = 33] = "Ungava";
|
|
2095
|
+
LipheRegion[LipheRegion["Yukon"] = 34] = "Yukon";
|
|
2096
|
+
})(LipheRegion || (LipheRegion = {}));
|
|
2097
|
+
var LipheGeographicalArea;
|
|
2098
|
+
(function (LipheGeographicalArea) {
|
|
2099
|
+
LipheGeographicalArea[LipheGeographicalArea["Berthierville"] = 0] = "Berthierville";
|
|
2100
|
+
LipheGeographicalArea[LipheGeographicalArea["Bordeaux-Cartierville"] = 1] = "Bordeaux-Cartierville";
|
|
2101
|
+
LipheGeographicalArea[LipheGeographicalArea["Labelle"] = 2] = "Labelle";
|
|
2102
|
+
LipheGeographicalArea[LipheGeographicalArea["Laval"] = 3] = "Laval";
|
|
2103
|
+
LipheGeographicalArea[LipheGeographicalArea["Le Gardeur"] = 4] = "Le Gardeur";
|
|
2104
|
+
LipheGeographicalArea[LipheGeographicalArea["Lindsay - Gingras"] = 5] = "Lindsay - Gingras";
|
|
2105
|
+
LipheGeographicalArea[LipheGeographicalArea["Montr\xE9al"] = 6] = "Montr\xE9al";
|
|
2106
|
+
LipheGeographicalArea[LipheGeographicalArea["Montr\xE9al - Est"] = 7] = "Montr\xE9al - Est";
|
|
2107
|
+
LipheGeographicalArea[LipheGeographicalArea["Montr\xE9al - Ouest"] = 8] = "Montr\xE9al - Ouest";
|
|
2108
|
+
LipheGeographicalArea[LipheGeographicalArea["Outaouais"] = 9] = "Outaouais";
|
|
2109
|
+
LipheGeographicalArea[LipheGeographicalArea["Rive - Sud"] = 10] = "Rive - Sud";
|
|
2110
|
+
LipheGeographicalArea[LipheGeographicalArea["Ste - Ad\xE8le"] = 11] = "Ste - Ad\xE8le";
|
|
2111
|
+
LipheGeographicalArea[LipheGeographicalArea["Ste - Agathe"] = 12] = "Ste - Agathe";
|
|
2112
|
+
LipheGeographicalArea[LipheGeographicalArea["St - Eustache"] = 13] = "St - Eustache";
|
|
2113
|
+
LipheGeographicalArea[LipheGeographicalArea["St - J\xE9r\xF4me"] = 14] = "St - J\xE9r\xF4me";
|
|
2114
|
+
LipheGeographicalArea[LipheGeographicalArea["Verdun"] = 15] = "Verdun";
|
|
2115
|
+
LipheGeographicalArea[LipheGeographicalArea["Mont - Tremblant"] = 16] = "Mont - Tremblant";
|
|
2116
|
+
LipheGeographicalArea[LipheGeographicalArea["Montr\xE9al(centre - ville)"] = 17] = "Montr\xE9al(centre - ville)";
|
|
2117
|
+
LipheGeographicalArea[LipheGeographicalArea["Basses Laurentides"] = 18] = "Basses Laurentides";
|
|
2118
|
+
LipheGeographicalArea[LipheGeographicalArea["Valleyfield"] = 19] = "Valleyfield";
|
|
2119
|
+
LipheGeographicalArea[LipheGeographicalArea["Argenteuil"] = 20] = "Argenteuil";
|
|
2120
|
+
LipheGeographicalArea[LipheGeographicalArea["Lachute"] = 21] = "Lachute";
|
|
2121
|
+
LipheGeographicalArea[LipheGeographicalArea["Lanaudi\xE8re SUD"] = 22] = "Lanaudi\xE8re SUD";
|
|
2122
|
+
LipheGeographicalArea[LipheGeographicalArea["Lanaudi\xE8re NORD"] = 23] = "Lanaudi\xE8re NORD";
|
|
2123
|
+
LipheGeographicalArea[LipheGeographicalArea["Granby"] = 24] = "Granby";
|
|
2124
|
+
LipheGeographicalArea[LipheGeographicalArea["Sorel"] = 25] = "Sorel";
|
|
2125
|
+
LipheGeographicalArea[LipheGeographicalArea["Longueuil"] = 26] = "Longueuil";
|
|
2126
|
+
LipheGeographicalArea[LipheGeographicalArea["Ch\xE2teauguay"] = 27] = "Ch\xE2teauguay";
|
|
2127
|
+
LipheGeographicalArea[LipheGeographicalArea["St - Jean sur Richelieu"] = 28] = "St - Jean sur Richelieu";
|
|
2128
|
+
LipheGeographicalArea[LipheGeographicalArea["St - Hyacinthe"] = 29] = "St - Hyacinthe";
|
|
2129
|
+
LipheGeographicalArea[LipheGeographicalArea["Drummondville"] = 30] = "Drummondville";
|
|
2130
|
+
LipheGeographicalArea[LipheGeographicalArea["Blainville"] = 31] = "Blainville";
|
|
2131
|
+
LipheGeographicalArea[LipheGeographicalArea["La Prairie"] = 32] = "La Prairie";
|
|
2132
|
+
LipheGeographicalArea[LipheGeographicalArea["Mont - Laurier"] = 33] = "Mont - Laurier";
|
|
2133
|
+
LipheGeographicalArea[LipheGeographicalArea["Pierre - Boucher"] = 34] = "Pierre - Boucher";
|
|
2134
|
+
LipheGeographicalArea[LipheGeographicalArea["Berthiaume du Tremblay"] = 35] = "Berthiaume du Tremblay";
|
|
2135
|
+
LipheGeographicalArea[LipheGeographicalArea["Grand Nord"] = 36] = "Grand Nord";
|
|
2136
|
+
LipheGeographicalArea[LipheGeographicalArea["Montr\xE9al Nord"] = 37] = "Montr\xE9al Nord";
|
|
2137
|
+
LipheGeographicalArea[LipheGeographicalArea["Rouyn Noranda"] = 38] = "Rouyn Noranda";
|
|
2138
|
+
LipheGeographicalArea[LipheGeographicalArea["Chicoutimi"] = 39] = "Chicoutimi";
|
|
2139
|
+
LipheGeographicalArea[LipheGeographicalArea["Qu\xE9bec"] = 40] = "Qu\xE9bec";
|
|
2140
|
+
LipheGeographicalArea[LipheGeographicalArea["Sherbrooke"] = 41] = "Sherbrooke";
|
|
2141
|
+
LipheGeographicalArea[LipheGeographicalArea["Trois - Rivi\xE8res"] = 42] = "Trois - Rivi\xE8res";
|
|
2142
|
+
LipheGeographicalArea[LipheGeographicalArea["Gasp\xE9sie"] = 43] = "Gasp\xE9sie";
|
|
2143
|
+
LipheGeographicalArea[LipheGeographicalArea["C\xF4te - Nord"] = 44] = "C\xF4te - Nord";
|
|
2144
|
+
LipheGeographicalArea[LipheGeographicalArea["Abitibi - T\xE9miscamingue"] = 45] = "Abitibi - T\xE9miscamingue";
|
|
2145
|
+
LipheGeographicalArea[LipheGeographicalArea["Portneuf"] = 46] = "Portneuf";
|
|
2146
|
+
LipheGeographicalArea[LipheGeographicalArea["Charlevoix"] = 47] = "Charlevoix";
|
|
2147
|
+
LipheGeographicalArea[LipheGeographicalArea["CHUQ"] = 48] = "CHUQ";
|
|
2148
|
+
LipheGeographicalArea[LipheGeographicalArea["Thetford Mines"] = 49] = "Thetford Mines";
|
|
2149
|
+
LipheGeographicalArea[LipheGeographicalArea["Chaudi\xE8re - Appalaches"] = 50] = "Chaudi\xE8re - Appalaches";
|
|
2150
|
+
LipheGeographicalArea[LipheGeographicalArea["Saint - Raymond"] = 51] = "Saint - Raymond";
|
|
2151
|
+
LipheGeographicalArea[LipheGeographicalArea["Limoilou"] = 52] = "Limoilou";
|
|
2152
|
+
LipheGeographicalArea[LipheGeographicalArea["Ancienne - Lorette"] = 53] = "Ancienne - Lorette";
|
|
2153
|
+
LipheGeographicalArea[LipheGeographicalArea["Malbaie"] = 54] = "Malbaie";
|
|
2154
|
+
LipheGeographicalArea[LipheGeographicalArea["Baie - Saint - Paul"] = 55] = "Baie - Saint - Paul";
|
|
2155
|
+
LipheGeographicalArea[LipheGeographicalArea["St - Anne de Beaupr\xE9"] = 56] = "St - Anne de Beaupr\xE9";
|
|
2156
|
+
LipheGeographicalArea[LipheGeographicalArea["Loretteville"] = 57] = "Loretteville";
|
|
2157
|
+
LipheGeographicalArea[LipheGeographicalArea["Valcartier"] = 58] = "Valcartier";
|
|
2158
|
+
LipheGeographicalArea[LipheGeographicalArea["Rivi\xE8re - du - Loup"] = 59] = "Rivi\xE8re - du - Loup";
|
|
2159
|
+
LipheGeographicalArea[LipheGeographicalArea["Maria"] = 60] = "Maria";
|
|
2160
|
+
LipheGeographicalArea[LipheGeographicalArea["Manicouagan"] = 61] = "Manicouagan";
|
|
2161
|
+
LipheGeographicalArea[LipheGeographicalArea["Sept - Iles"] = 62] = "Sept - Iles";
|
|
2162
|
+
LipheGeographicalArea[LipheGeographicalArea["Basse - C\xF4te - Nord"] = 63] = "Basse - C\xF4te - Nord";
|
|
2163
|
+
LipheGeographicalArea[LipheGeographicalArea["Port - Cartier"] = 64] = "Port - Cartier";
|
|
2164
|
+
LipheGeographicalArea[LipheGeographicalArea["Sherfferville"] = 65] = "Sherfferville";
|
|
2165
|
+
LipheGeographicalArea[LipheGeographicalArea["Minganie"] = 66] = "Minganie";
|
|
2166
|
+
LipheGeographicalArea[LipheGeographicalArea["Natashquan"] = 67] = "Natashquan";
|
|
2167
|
+
LipheGeographicalArea[LipheGeographicalArea["Chibougamau"] = 68] = "Chibougamau";
|
|
2168
|
+
LipheGeographicalArea[LipheGeographicalArea["Mauricie"] = 69] = "Mauricie";
|
|
2169
|
+
LipheGeographicalArea[LipheGeographicalArea["Maskinong\xE9"] = 70] = "Maskinong\xE9";
|
|
2170
|
+
LipheGeographicalArea[LipheGeographicalArea["Parent"] = 71] = "Parent";
|
|
2171
|
+
LipheGeographicalArea[LipheGeographicalArea["M\xE9mphr\xE9magog"] = 72] = "M\xE9mphr\xE9magog";
|
|
2172
|
+
LipheGeographicalArea[LipheGeographicalArea["Coaticook"] = 73] = "Coaticook";
|
|
2173
|
+
LipheGeographicalArea[LipheGeographicalArea["Victoriaville"] = 74] = "Victoriaville";
|
|
2174
|
+
LipheGeographicalArea[LipheGeographicalArea["Rimouski"] = 75] = "Rimouski";
|
|
2175
|
+
LipheGeographicalArea[LipheGeographicalArea["Shawinigan"] = 76] = "Shawinigan";
|
|
2176
|
+
LipheGeographicalArea[LipheGeographicalArea["Matane"] = 77] = "Matane";
|
|
2177
|
+
LipheGeographicalArea[LipheGeographicalArea["Santa - Cabrini"] = 78] = "Santa - Cabrini";
|
|
2178
|
+
LipheGeographicalArea[LipheGeographicalArea["Marie - Clarac"] = 79] = "Marie - Clarac";
|
|
2179
|
+
LipheGeographicalArea[LipheGeographicalArea["H\xF4pital lachine"] = 80] = "H\xF4pital lachine";
|
|
2180
|
+
LipheGeographicalArea[LipheGeographicalArea["Rivi\xE8re - Rouge"] = 81] = "Rivi\xE8re - Rouge";
|
|
2181
|
+
LipheGeographicalArea[LipheGeographicalArea["Jeanne - Mance"] = 82] = "Jeanne - Mance";
|
|
2182
|
+
LipheGeographicalArea[LipheGeographicalArea["Le Repair"] = 83] = "Le Repair";
|
|
2183
|
+
LipheGeographicalArea[LipheGeographicalArea["Mont\xE9r\xE9gie"] = 84] = "Mont\xE9r\xE9gie";
|
|
2184
|
+
LipheGeographicalArea[LipheGeographicalArea["Estrie"] = 85] = "Estrie";
|
|
2185
|
+
LipheGeographicalArea[LipheGeographicalArea["Villa - Medica"] = 86] = "Villa - Medica";
|
|
2186
|
+
LipheGeographicalArea[LipheGeographicalArea["Laurentides"] = 87] = "Laurentides";
|
|
2187
|
+
LipheGeographicalArea[LipheGeographicalArea["Hors - Qc"] = 88] = "Hors - Qc";
|
|
2188
|
+
LipheGeographicalArea[LipheGeographicalArea["Hors - Can"] = 89] = "Hors - Can";
|
|
2189
|
+
LipheGeographicalArea[LipheGeographicalArea["Hors Pays"] = 90] = "Hors Pays";
|
|
2190
|
+
LipheGeographicalArea[LipheGeographicalArea["Hors Province"] = 91] = "Hors Province";
|
|
2191
|
+
LipheGeographicalArea[LipheGeographicalArea["Baie James"] = 92] = "Baie James";
|
|
2192
|
+
LipheGeographicalArea[LipheGeographicalArea["Nunavut"] = 93] = "Nunavut";
|
|
2193
|
+
LipheGeographicalArea[LipheGeographicalArea["Ungava"] = 94] = "Ungava";
|
|
2194
|
+
LipheGeographicalArea[LipheGeographicalArea["Inuulitsivik"] = 95] = "Inuulitsivik";
|
|
2195
|
+
LipheGeographicalArea[LipheGeographicalArea["Bas Saint - Laurent"] = 96] = "Bas Saint - Laurent";
|
|
2196
|
+
LipheGeographicalArea[LipheGeographicalArea["L\xE9vis"] = 97] = "L\xE9vis";
|
|
2197
|
+
LipheGeographicalArea[LipheGeographicalArea["\xCEles de la Madeleine"] = 98] = "\xCEles de la Madeleine";
|
|
2198
|
+
LipheGeographicalArea[LipheGeographicalArea["Saguenay"] = 99] = "Saguenay";
|
|
2199
|
+
LipheGeographicalArea[LipheGeographicalArea["Alberta"] = 100] = "Alberta";
|
|
2200
|
+
LipheGeographicalArea[LipheGeographicalArea["British Columbia"] = 101] = "British Columbia";
|
|
2201
|
+
LipheGeographicalArea[LipheGeographicalArea["Yukon"] = 102] = "Yukon";
|
|
2202
|
+
LipheGeographicalArea[LipheGeographicalArea["Northwest Territories"] = 103] = "Northwest Territories";
|
|
2203
|
+
LipheGeographicalArea[LipheGeographicalArea["Saskatchewan"] = 104] = "Saskatchewan";
|
|
2204
|
+
LipheGeographicalArea[LipheGeographicalArea["Manitoba"] = 105] = "Manitoba";
|
|
2205
|
+
LipheGeographicalArea[LipheGeographicalArea["Ontario"] = 106] = "Ontario";
|
|
2206
|
+
LipheGeographicalArea[LipheGeographicalArea["New Brunswick"] = 107] = "New Brunswick";
|
|
2207
|
+
LipheGeographicalArea[LipheGeographicalArea["Newfoundland and Labrador"] = 108] = "Newfoundland and Labrador";
|
|
2208
|
+
LipheGeographicalArea[LipheGeographicalArea["Prince Edward Island"] = 109] = "Prince Edward Island";
|
|
2209
|
+
LipheGeographicalArea[LipheGeographicalArea["Nova Scotia"] = 110] = "Nova Scotia";
|
|
2210
|
+
})(LipheGeographicalArea || (LipheGeographicalArea = {}));
|
|
2211
|
+
var Province;
|
|
2212
|
+
(function (Province) {
|
|
2213
|
+
Province["AB"] = "AB";
|
|
2214
|
+
Province["BC"] = "BC";
|
|
2215
|
+
Province["MB"] = "MB";
|
|
2216
|
+
Province["NB"] = "NB";
|
|
2217
|
+
Province["NL"] = "NL";
|
|
2218
|
+
Province["NS"] = "NS";
|
|
2219
|
+
Province["NT"] = "NT";
|
|
2220
|
+
Province["NU"] = "NU";
|
|
2221
|
+
Province["ON"] = "ON";
|
|
2222
|
+
Province["PE"] = "PE";
|
|
2223
|
+
Province["QC"] = "QC";
|
|
2224
|
+
Province["SK"] = "SK";
|
|
2225
|
+
Province["YT"] = "YT";
|
|
2226
|
+
})(Province || (Province = {}));
|
|
2227
|
+
|
|
1909
2228
|
var SF_API_VERSION$1 = 'v57.0';
|
|
1910
2229
|
|
|
1911
|
-
export { Agency, LipheApiClient, LipheAuthenticator, LiphePractitionerClient, SFApiClient, SFAuthenticator, SFExpenseClient, SFPractitionerClient, SFPriceClient, SFTimesheetClient, SF_API_VERSION$1 as SF_API_VERSION };
|
|
2230
|
+
export { Agency, LipheApiClient, LipheAuthenticator, LipheGeographicalArea, LiphePractitionerClient, LipheRegion, Province, SFApiClient, SFAuthenticator, SFExpenseClient, SFPractitionerClient, SFPriceClient, SFTimesheetClient, SF_API_VERSION$1 as SF_API_VERSION };
|
|
1912
2231
|
//# sourceMappingURL=pha-hermes.esm.js.map
|