pha-hermes 1.27.0 → 1.28.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 +2 -1
- package/dist/pha-hermes.cjs.development.js +3 -2
- 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 +3 -2
- package/dist/pha-hermes.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/api/salesforce/accounts/accounts.ts +20 -9
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AxiosInstance } from
|
|
1
|
+
import { AxiosInstance } from 'axios';
|
|
2
2
|
export interface Account {
|
|
3
3
|
id: string;
|
|
4
4
|
name: string;
|
|
@@ -15,6 +15,7 @@ export interface Account {
|
|
|
15
15
|
fax: string | null;
|
|
16
16
|
email: string;
|
|
17
17
|
lang: 'eng' | 'fra';
|
|
18
|
+
clientNumber: string;
|
|
18
19
|
}
|
|
19
20
|
export interface HealthAuthority extends Account {
|
|
20
21
|
accountTypeName: 'healthAuthority';
|
|
@@ -1375,7 +1375,7 @@ var SFPriceClient = /*#__PURE__*/function () {
|
|
|
1375
1375
|
return SFPriceClient;
|
|
1376
1376
|
}();
|
|
1377
1377
|
|
|
1378
|
-
var ACCOUNT_FIELDS = ['Id', 'Name', 'BillingCity', 'BillingState', 'BillingPostalCode', 'BillingCountry', 'BillingAddress', 'Phone', 'Fax', 'Type'];
|
|
1378
|
+
var ACCOUNT_FIELDS = ['Id', 'Name', 'BillingCity', 'BillingState', 'BillingPostalCode', 'BillingCountry', 'BillingAddress', 'Phone', 'Fax', 'Type', 'Client_Number__c'];
|
|
1379
1379
|
var SFAccounts = /*#__PURE__*/function () {
|
|
1380
1380
|
function SFAccounts(axiosInstance) {
|
|
1381
1381
|
this.axiosInstance = axiosInstance;
|
|
@@ -1503,7 +1503,8 @@ var SFAccounts = /*#__PURE__*/function () {
|
|
|
1503
1503
|
email: null,
|
|
1504
1504
|
phone2: null,
|
|
1505
1505
|
cellular: null,
|
|
1506
|
-
lang: 'eng'
|
|
1506
|
+
lang: 'eng',
|
|
1507
|
+
clientNumber: record.Client_Number__c
|
|
1507
1508
|
};
|
|
1508
1509
|
};
|
|
1509
1510
|
return SFAccounts;
|