@matech/thebigpos-sdk 3.26.0-pr-6013-8286 → 3.27.0-dev-8342

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 CHANGED
@@ -2856,6 +2856,7 @@ class Api extends HttpClient {
2856
2856
  * @secure
2857
2857
  * @response `200` `Draft` OK
2858
2858
  * @response `400` `ProblemDetails` Bad Request
2859
+ * @response `403` `ProblemDetails` Forbidden
2859
2860
  * @response `404` `ProblemDetails` Not Found
2860
2861
  * @response `423` `ProblemDetails` Locked
2861
2862
  */
@@ -6481,6 +6482,21 @@ class Api extends HttpClient {
6481
6482
  * @response `404` `ProblemDetails` Not Found
6482
6483
  */
6483
6484
  removeMyPartner: (partnerProfileId, params = {}) => this.request(Object.assign({ path: `/api/users/me/partners/${partnerProfileId}`, method: "DELETE", secure: true }, params)),
6485
+ /**
6486
+ * @description Makes a settlement agent, by user ID or by an open invite's ID, a partner on the loan officer's list
6487
+ *
6488
+ * @tags UsersMe
6489
+ * @name PromoteMyPartner
6490
+ * @summary Promote To My Partner
6491
+ * @request POST:/api/users/me/partners/promotions
6492
+ * @secure
6493
+ * @response `200` `PromotePartner` OK
6494
+ * @response `400` `ProblemDetails` Bad Request
6495
+ * @response `403` `ProblemDetails` Forbidden
6496
+ * @response `404` `ProblemDetails` Not Found
6497
+ * @response `422` `ProblemDetails` Unprocessable Content
6498
+ */
6499
+ 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)),
6484
6500
  /**
6485
6501
  * @description The links that attribute an application to the partner, on the site of each loan officer the partner works with
6486
6502
  *