@matech/thebigpos-sdk 3.26.0-dev-8279 → 3.26.0-dev-8293
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 +26 -0
- package/dist/index.cjs.map +2 -2
- package/dist/index.d.ts +36 -0
- package/dist/index.js +26 -0
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/index.ts +59 -0
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
|
*
|
|
@@ -6470,6 +6481,21 @@ class Api extends HttpClient {
|
|
|
6470
6481
|
* @response `404` `ProblemDetails` Not Found
|
|
6471
6482
|
*/
|
|
6472
6483
|
removeMyPartner: (partnerProfileId, params = {}) => this.request(Object.assign({ path: `/api/users/me/partners/${partnerProfileId}`, method: "DELETE", secure: true }, params)),
|
|
6484
|
+
/**
|
|
6485
|
+
* @description Makes a settlement agent, by user ID or by an open invite's ID, a partner on the loan officer's list
|
|
6486
|
+
*
|
|
6487
|
+
* @tags UsersMe
|
|
6488
|
+
* @name PromoteMyPartner
|
|
6489
|
+
* @summary Promote To My Partner
|
|
6490
|
+
* @request POST:/api/users/me/partners/promotions
|
|
6491
|
+
* @secure
|
|
6492
|
+
* @response `200` `PromotePartner` OK
|
|
6493
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
6494
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
6495
|
+
* @response `404` `ProblemDetails` Not Found
|
|
6496
|
+
* @response `422` `ProblemDetails` Unprocessable Content
|
|
6497
|
+
*/
|
|
6498
|
+
promoteMyPartner: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me/partners/promotions`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
6473
6499
|
/**
|
|
6474
6500
|
* @description The links that attribute an application to the partner, on the site of each loan officer the partner works with
|
|
6475
6501
|
*
|