@matech/thebigpos-sdk 3.26.0-dev-8288 → 3.26.0-main-8300

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.d.ts CHANGED
@@ -5402,6 +5402,16 @@ export interface ProblemDetails {
5402
5402
  instance?: string | null;
5403
5403
  [key: string]: any;
5404
5404
  }
5405
+ export interface PromotePartner {
5406
+ /** @format uuid */
5407
+ partnerProfileID: string;
5408
+ }
5409
+ export interface PromotePartnerRequest {
5410
+ /** @format uuid */
5411
+ userID?: string | null;
5412
+ /** @format uuid */
5413
+ inviteID?: string | null;
5414
+ }
5405
5415
  export type RecentLoansWidgetConfig = UtilRequiredKeys<BaseCanvasWidgetConfig, "type"> & {
5406
5416
  /** @format int32 */
5407
5417
  maxItems: number;
@@ -14644,6 +14654,21 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14644
14654
  * @response `404` `ProblemDetails` Not Found
14645
14655
  */
14646
14656
  removeMyPartner: (partnerProfileId: string, params?: RequestParams) => Promise<AxiosResponse<void, any, {}, any>>;
14657
+ /**
14658
+ * @description Makes a settlement agent, by user ID or by an open invite's ID, a partner on the loan officer's list
14659
+ *
14660
+ * @tags UsersMe
14661
+ * @name PromoteMyPartner
14662
+ * @summary Promote To My Partner
14663
+ * @request POST:/api/users/me/partners/promotions
14664
+ * @secure
14665
+ * @response `200` `PromotePartner` OK
14666
+ * @response `400` `ProblemDetails` Bad Request
14667
+ * @response `403` `ProblemDetails` Forbidden
14668
+ * @response `404` `ProblemDetails` Not Found
14669
+ * @response `422` `ProblemDetails` Unprocessable Content
14670
+ */
14671
+ promoteMyPartner: (data: PromotePartnerRequest, params?: RequestParams) => Promise<AxiosResponse<PromotePartner, any, {}, any>>;
14647
14672
  /**
14648
14673
  * @description The links that attribute an application to the partner, on the site of each loan officer the partner works with
14649
14674
  *
package/dist/index.js CHANGED
@@ -6481,6 +6481,21 @@ export class Api extends HttpClient {
6481
6481
  * @response `404` `ProblemDetails` Not Found
6482
6482
  */
6483
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)),
6484
6499
  /**
6485
6500
  * @description The links that attribute an application to the partner, on the site of each loan officer the partner works with
6486
6501
  *