@matech/thebigpos-sdk 3.26.0-dev-8257 → 3.26.0-dev-8288
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/index.cjs +18 -7
- package/dist/index.cjs.map +2 -2
- package/dist/index.d.ts +20 -7
- package/dist/index.js +18 -7
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/index.ts +30 -9
package/dist/index.cjs
CHANGED
|
@@ -1936,6 +1936,17 @@ class Api extends HttpClient {
|
|
|
1936
1936
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1937
1937
|
*/
|
|
1938
1938
|
createDocumentTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/document-templates`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1939
|
+
/**
|
|
1940
|
+
* No description
|
|
1941
|
+
*
|
|
1942
|
+
* @tags DocumentTemplates
|
|
1943
|
+
* @name GetAvailableDocumentTemplateTypes
|
|
1944
|
+
* @summary Get Available Types
|
|
1945
|
+
* @request GET:/api/document-templates/available-types
|
|
1946
|
+
* @secure
|
|
1947
|
+
* @response `200` `(DocumentType)[]` OK
|
|
1948
|
+
*/
|
|
1949
|
+
getAvailableDocumentTemplateTypes: (params = {}) => this.request(Object.assign({ path: `/api/document-templates/available-types`, method: "GET", secure: true, format: "json" }, params)),
|
|
1939
1950
|
/**
|
|
1940
1951
|
* No description
|
|
1941
1952
|
*
|
|
@@ -6433,7 +6444,7 @@ class Api extends HttpClient {
|
|
|
6433
6444
|
*/
|
|
6434
6445
|
deleteRelationshipProspect: (id, params = {}) => this.request(Object.assign({ path: `/api/users/me/relationships/prospects/${id}`, method: "DELETE", secure: true }, params)),
|
|
6435
6446
|
/**
|
|
6436
|
-
* @description The
|
|
6447
|
+
* @description The partner profiles on the loan officer's list, pending partners who have not signed up yet included, and the loan officer's portal relations
|
|
6437
6448
|
*
|
|
6438
6449
|
* @tags UsersMe
|
|
6439
6450
|
* @name GetMyPartners
|
|
@@ -6445,31 +6456,31 @@ class Api extends HttpClient {
|
|
|
6445
6456
|
*/
|
|
6446
6457
|
getMyPartners: (params = {}) => this.request(Object.assign({ path: `/api/users/me/partners`, method: "GET", secure: true, format: "json" }, params)),
|
|
6447
6458
|
/**
|
|
6448
|
-
*
|
|
6459
|
+
* @description Adds a partner, by partner profile ID, to the loan officer's list; a pending partner can be added too
|
|
6449
6460
|
*
|
|
6450
6461
|
* @tags UsersMe
|
|
6451
6462
|
* @name AddMyPartner
|
|
6452
6463
|
* @summary Add My Partner
|
|
6453
|
-
* @request POST:/api/users/me/partners/{
|
|
6464
|
+
* @request POST:/api/users/me/partners/{partnerProfileId}
|
|
6454
6465
|
* @secure
|
|
6455
6466
|
* @response `204` `void` No Content
|
|
6456
6467
|
* @response `403` `ProblemDetails` Forbidden
|
|
6457
6468
|
* @response `404` `ProblemDetails` Not Found
|
|
6458
6469
|
*/
|
|
6459
|
-
addMyPartner: (
|
|
6470
|
+
addMyPartner: (partnerProfileId, params = {}) => this.request(Object.assign({ path: `/api/users/me/partners/${partnerProfileId}`, method: "POST", secure: true }, params)),
|
|
6460
6471
|
/**
|
|
6461
|
-
*
|
|
6472
|
+
* @description Takes a partner, by partner profile ID, off the loan officer's own list
|
|
6462
6473
|
*
|
|
6463
6474
|
* @tags UsersMe
|
|
6464
6475
|
* @name RemoveMyPartner
|
|
6465
6476
|
* @summary Remove My Partner
|
|
6466
|
-
* @request DELETE:/api/users/me/partners/{
|
|
6477
|
+
* @request DELETE:/api/users/me/partners/{partnerProfileId}
|
|
6467
6478
|
* @secure
|
|
6468
6479
|
* @response `204` `void` No Content
|
|
6469
6480
|
* @response `403` `ProblemDetails` Forbidden
|
|
6470
6481
|
* @response `404` `ProblemDetails` Not Found
|
|
6471
6482
|
*/
|
|
6472
|
-
removeMyPartner: (
|
|
6483
|
+
removeMyPartner: (partnerProfileId, params = {}) => this.request(Object.assign({ path: `/api/users/me/partners/${partnerProfileId}`, method: "DELETE", secure: true }, params)),
|
|
6473
6484
|
/**
|
|
6474
6485
|
* @description The links that attribute an application to the partner, on the site of each loan officer the partner works with
|
|
6475
6486
|
*
|