@matech/thebigpos-sdk 2.15.3 → 2.15.4

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/.husky/pre-commit CHANGED
@@ -1,2 +1,2 @@
1
- yarn build
1
+ yarn build
2
2
  git add .
package/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2024 Mortgage Automation Technologies
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2024 Mortgage Automation Technologies
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,44 +1,44 @@
1
- # The BIG POS Typescript SDK
2
-
3
- ## Installation
4
- Using npm:
5
-
6
- ```bash
7
- $ npm install @matech/thebigpos-sdk
8
- ```
9
-
10
- Using yarn:
11
-
12
- ```bash
13
- $ yarn add @matech/thebigpos-sdk
14
- ```
15
-
16
- ## Quick Start
17
- ```js
18
- import { Api } from "@matech/thebigpos-sdk";
19
-
20
- const securityWorker = (data: any) => {
21
- return { headers: data }
22
- }
23
-
24
- const setBearerSecurityWorker = (accessToken:string) => {
25
- const data = {
26
- Authorization: `Bearer ${accessToken}`
27
- };
28
-
29
- apiClient.setSecurityData(data);
30
- };
31
-
32
- const apiClient = new Api({
33
- baseURL:
34
- process.env.REACT_APP_POS_API_HOST || 'https://api.thebigpos.com',
35
- securityWorker,
36
- })
37
-
38
- apiClient.api.getSiteConfiguration().then((response) => {
39
- console.log(response.data);
40
- });
41
- ```
42
-
43
- ____
44
- © 2024 Mortgage Automation Technologies. All rights reserved
1
+ # The BIG POS Typescript SDK
2
+
3
+ ## Installation
4
+ Using npm:
5
+
6
+ ```bash
7
+ $ npm install @matech/thebigpos-sdk
8
+ ```
9
+
10
+ Using yarn:
11
+
12
+ ```bash
13
+ $ yarn add @matech/thebigpos-sdk
14
+ ```
15
+
16
+ ## Quick Start
17
+ ```js
18
+ import { Api } from "@matech/thebigpos-sdk";
19
+
20
+ const securityWorker = (data: any) => {
21
+ return { headers: data }
22
+ }
23
+
24
+ const setBearerSecurityWorker = (accessToken:string) => {
25
+ const data = {
26
+ Authorization: `Bearer ${accessToken}`
27
+ };
28
+
29
+ apiClient.setSecurityData(data);
30
+ };
31
+
32
+ const apiClient = new Api({
33
+ baseURL:
34
+ process.env.REACT_APP_POS_API_HOST || 'https://api.thebigpos.com',
35
+ securityWorker,
36
+ })
37
+
38
+ apiClient.api.getSiteConfiguration().then((response) => {
39
+ console.log(response.data);
40
+ });
41
+ ```
42
+
43
+ ____
44
+ © 2024 Mortgage Automation Technologies. All rights reserved
package/dist/index.d.ts CHANGED
@@ -156,7 +156,6 @@ export interface AllowImpersonationRequest {
156
156
  email: string;
157
157
  }
158
158
  export interface ApplicationRowData {
159
- settlementAgent?: LoanContact | null;
160
159
  borrowerEmail?: string | null;
161
160
  borrowerFirstName?: string | null;
162
161
  borrowerLastName?: string | null;
@@ -204,6 +203,7 @@ export interface ApplicationRowData {
204
203
  loanPurpose?: string | null;
205
204
  buyerAgent?: LoanContact | null;
206
205
  sellerAgent?: LoanContact | null;
206
+ settlementAgent?: LoanContact | null;
207
207
  escrowAgent?: LoanContact | null;
208
208
  titleInsuranceAgent?: LoanContact | null;
209
209
  }
@@ -3164,7 +3164,7 @@ export declare class HttpClient<SecurityDataType = unknown> {
3164
3164
  }
3165
3165
  /**
3166
3166
  * @title The Big POS API
3167
- * @version v2.15.2
3167
+ * @version v2.15.4
3168
3168
  * @termsOfService https://www.thebigpos.com/terms-of-use/
3169
3169
  * @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
3170
3170
  */
package/dist/index.js CHANGED
@@ -93,7 +93,7 @@ export class HttpClient {
93
93
  }
94
94
  /**
95
95
  * @title The Big POS API
96
- * @version v2.15.2
96
+ * @version v2.15.4
97
97
  * @termsOfService https://www.thebigpos.com/terms-of-use/
98
98
  * @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
99
99
  */
package/package.json CHANGED
@@ -1,40 +1,40 @@
1
- {
2
- "name": "@matech/thebigpos-sdk",
3
- "version": "2.15.3",
4
- "description": "The Big POS Typescript SDK",
5
- "main": "dist/index.js",
6
- "types": "dist/index.d.ts",
7
- "scripts": {
8
- "build": "rimraf dist && tsc",
9
- "test": "mocha -r ts-node/register 'src/api_test.spec.ts' --exit",
10
- "browserify": "tsc && browserify -p tinyify dist/index.js -s thebigpos > dist/thebigpos.min.js",
11
- "prepare": "husky"
12
- },
13
- "repository": {
14
- "type": "git",
15
- "url": "git+https://github.com/MortgageAutomationTechnologies/thebigpos-sdk-typescript.git"
16
- },
17
- "keywords": [
18
- "pos",
19
- "loans",
20
- "mortgage",
21
- "automation"
22
- ],
23
- "author": "Mortgage Automation Technologies",
24
- "license": "MIT",
25
- "bugs": {
26
- "url": "https://github.com/MortgageAutomationTechnologies/thebigpos-sdk-typescript/issues"
27
- },
28
- "homepage": "https://github.com/MortgageAutomationTechnologies/thebigpos-sdk-typescript#readme",
29
- "dependencies": {
30
- "axios": "^1.7.7",
31
- "browserify": "^17.0.0",
32
- "tinyify": "^4.0.0"
33
- },
34
- "devDependencies": {
35
- "husky": "^9.1.5",
36
- "rimraf": "^6.0.1",
37
- "ts-node": "^10.9.2",
38
- "typescript": "^5.5.4"
39
- }
40
- }
1
+ {
2
+ "name": "@matech/thebigpos-sdk",
3
+ "version": "2.15.4",
4
+ "description": "The Big POS Typescript SDK",
5
+ "main": "dist/index.js",
6
+ "types": "dist/index.d.ts",
7
+ "scripts": {
8
+ "build": "rimraf dist && tsc",
9
+ "test": "mocha -r ts-node/register 'src/api_test.spec.ts' --exit",
10
+ "browserify": "tsc && browserify -p tinyify dist/index.js -s thebigpos > dist/thebigpos.min.js",
11
+ "prepare": "husky"
12
+ },
13
+ "repository": {
14
+ "type": "git",
15
+ "url": "git+https://github.com/MortgageAutomationTechnologies/thebigpos-sdk-typescript.git"
16
+ },
17
+ "keywords": [
18
+ "pos",
19
+ "loans",
20
+ "mortgage",
21
+ "automation"
22
+ ],
23
+ "author": "Mortgage Automation Technologies",
24
+ "license": "MIT",
25
+ "bugs": {
26
+ "url": "https://github.com/MortgageAutomationTechnologies/thebigpos-sdk-typescript/issues"
27
+ },
28
+ "homepage": "https://github.com/MortgageAutomationTechnologies/thebigpos-sdk-typescript#readme",
29
+ "dependencies": {
30
+ "axios": "^1.7.7",
31
+ "browserify": "^17.0.0",
32
+ "tinyify": "^4.0.0"
33
+ },
34
+ "devDependencies": {
35
+ "husky": "^9.1.5",
36
+ "rimraf": "^6.0.1",
37
+ "ts-node": "^10.9.2",
38
+ "typescript": "^5.5.4"
39
+ }
40
+ }
package/src/index.ts CHANGED
@@ -179,7 +179,6 @@ export interface AllowImpersonationRequest {
179
179
  }
180
180
 
181
181
  export interface ApplicationRowData {
182
- settlementAgent?: LoanContact | null;
183
182
  borrowerEmail?: string | null;
184
183
  borrowerFirstName?: string | null;
185
184
  borrowerLastName?: string | null;
@@ -227,6 +226,7 @@ export interface ApplicationRowData {
227
226
  loanPurpose?: string | null;
228
227
  buyerAgent?: LoanContact | null;
229
228
  sellerAgent?: LoanContact | null;
229
+ settlementAgent?: LoanContact | null;
230
230
  escrowAgent?: LoanContact | null;
231
231
  titleInsuranceAgent?: LoanContact | null;
232
232
  }
@@ -3530,7 +3530,7 @@ export class HttpClient<SecurityDataType = unknown> {
3530
3530
 
3531
3531
  /**
3532
3532
  * @title The Big POS API
3533
- * @version v2.15.2
3533
+ * @version v2.15.4
3534
3534
  * @termsOfService https://www.thebigpos.com/terms-of-use/
3535
3535
  * @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
3536
3536
  */
package/tsconfig.json CHANGED
@@ -1,27 +1,27 @@
1
- {
2
- "compilerOptions": {
3
- "target": "es6",
4
- "module": "esnext",
5
- "allowJs": true,
6
- "sourceMap": true,
7
- "outDir": "./dist",
8
- "strict": true,
9
- "moduleResolution": "node",
10
- "baseUrl": "./",
11
- "declaration": true,
12
- "paths": {
13
- "*": [
14
- "node_modules/*"
15
- ]
16
- },
17
- "typeRoots": [
18
- "./node_modules/@types"
19
- ],
20
- "esModuleInterop": true,
21
- "skipLibCheck": true,
22
- "forceConsistentCasingInFileNames": true,
23
- "resolveJsonModule": true
24
- },
25
- "include": ["./src/**/*"],
26
- "exclude": ["./dist"]
27
- }
1
+ {
2
+ "compilerOptions": {
3
+ "target": "es6",
4
+ "module": "esnext",
5
+ "allowJs": true,
6
+ "sourceMap": true,
7
+ "outDir": "./dist",
8
+ "strict": true,
9
+ "moduleResolution": "node",
10
+ "baseUrl": "./",
11
+ "declaration": true,
12
+ "paths": {
13
+ "*": [
14
+ "node_modules/*"
15
+ ]
16
+ },
17
+ "typeRoots": [
18
+ "./node_modules/@types"
19
+ ],
20
+ "esModuleInterop": true,
21
+ "skipLibCheck": true,
22
+ "forceConsistentCasingInFileNames": true,
23
+ "resolveJsonModule": true
24
+ },
25
+ "include": ["./src/**/*"],
26
+ "exclude": ["./dist"]
27
+ }