@cemiar/cemiarlink-sdk 1.0.53 → 1.0.55

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.
@@ -43,6 +43,7 @@ export interface Contact {
43
43
  Website: string;
44
44
  Formal: string;
45
45
  Naics?: string;
46
+ IsBusiness?: boolean;
46
47
  }
47
48
  export interface CreateContact {
48
49
  AccountId: string;
@@ -82,4 +83,6 @@ export interface CreateContact {
82
83
  FirstName: string;
83
84
  LastName: string;
84
85
  IsPrimaryContact?: boolean;
86
+ IsBusiness?: boolean;
87
+ BusinessName?: string;
85
88
  }
@@ -7,8 +7,7 @@ const fs_1 = __importDefault(require("fs"));
7
7
  const xlsx_1 = __importDefault(require("xlsx"));
8
8
  class readXlsx {
9
9
  static async getFromXLSX(path, sheetNumber) {
10
- var _a;
11
- var _b;
10
+ var _a, _b;
12
11
  const file = xlsx_1.default.readFile(path);
13
12
  const worksheet = file.Sheets[file.SheetNames[sheetNumber]];
14
13
  if (!worksheet) {
package/package.json CHANGED
@@ -1,30 +1,30 @@
1
- {
2
- "name": "@cemiar/cemiarlink-sdk",
3
- "version": "1.0.53",
4
- "description": "CemiarLink SDK to access CemiarLink API services",
5
- "engines": {
6
- "npm": ">=9.5.1",
7
- "node": ">=18.16.0"
8
- },
9
- "author": "Cemiar",
10
- "license": "ISC",
11
- "main": "dist/index.js",
12
- "module": "./dist/index.mjs",
13
- "types": "./dist/index.d.ts",
14
- "files": [
15
- "dist"
16
- ],
17
- "dependencies": {
18
- "axios": "^1.18.0",
19
- "nodemailer": "^9.0.1",
20
- "xlsx": "https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz"
21
- },
22
- "devDependencies": {
23
- "@types/node": "^18.19.0",
24
- "@types/nodemailer": "^8.0.1"
25
- },
26
- "scripts": {
27
- "build": "rm -rf dist/ && tsc -p tsconfig.json",
28
- "buildWindows": "rmdir /s /q dist & tsc -p tsconfig.json"
29
- }
30
- }
1
+ {
2
+ "name": "@cemiar/cemiarlink-sdk",
3
+ "version": "1.0.55",
4
+ "description": "CemiarLink SDK to access CemiarLink API services",
5
+ "engines": {
6
+ "npm": ">=9.5.1",
7
+ "node": ">=18.16.0"
8
+ },
9
+ "author": "Cemiar",
10
+ "license": "ISC",
11
+ "main": "dist/index.js",
12
+ "module": "./dist/index.mjs",
13
+ "types": "./dist/index.d.ts",
14
+ "files": [
15
+ "dist"
16
+ ],
17
+ "dependencies": {
18
+ "axios": "^1.18.0",
19
+ "nodemailer": "^9.0.1",
20
+ "xlsx": "https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz"
21
+ },
22
+ "devDependencies": {
23
+ "@types/node": "^18.19.0",
24
+ "@types/nodemailer": "^8.0.1"
25
+ },
26
+ "scripts": {
27
+ "build": "rm -rf dist/ && tsc -p tsconfig.json",
28
+ "buildWindows": "rmdir /s /q dist & tsc -p tsconfig.json"
29
+ }
30
+ }