@matech/thebigpos-sdk 3.27.0-dev-8342 → 3.28.0-dev-8410
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 +13 -0
- package/dist/index.cjs.map +2 -2
- package/dist/index.d.ts +30 -1
- package/dist/index.js +14 -1
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
- package/src/index.ts +47 -1
package/dist/index.cjs
CHANGED
|
@@ -6456,6 +6456,19 @@ class Api extends HttpClient {
|
|
|
6456
6456
|
* @response `403` `ProblemDetails` Forbidden
|
|
6457
6457
|
*/
|
|
6458
6458
|
getMyPartners: (params = {}) => this.request(Object.assign({ path: `/api/users/me/partners`, method: "GET", secure: true, format: "json" }, params)),
|
|
6459
|
+
/**
|
|
6460
|
+
* @description Searches the rows getMyPartners returns by first name, last name, full name or email, and pages them. Sorts by firstName, lastName, email, tier or createdAt when both sortBy and sortDirection are given, else newest first
|
|
6461
|
+
*
|
|
6462
|
+
* @tags UsersMe
|
|
6463
|
+
* @name SearchMyPartners
|
|
6464
|
+
* @summary Search My Partners
|
|
6465
|
+
* @request POST:/api/users/me/partners/search
|
|
6466
|
+
* @secure
|
|
6467
|
+
* @response `200` `MyPartnerPaginated` OK
|
|
6468
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
6469
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
6470
|
+
*/
|
|
6471
|
+
searchMyPartners: (data, query, params = {}) => this.request(Object.assign({ path: `/api/users/me/partners/search`, method: "POST", query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
6459
6472
|
/**
|
|
6460
6473
|
* @description Adds a partner, by partner profile ID, to the loan officer's list; a pending partner can be added too
|
|
6461
6474
|
*
|