@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 +16 -0
- package/dist/index.cjs.map +2 -2
- package/dist/index.d.ts +27 -1
- package/dist/index.js +17 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/index.ts +42 -1
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;
|
|
@@ -7579,7 +7589,7 @@ export declare class HttpClient<SecurityDataType = unknown> {
|
|
|
7579
7589
|
}
|
|
7580
7590
|
/**
|
|
7581
7591
|
* @title The Big POS API
|
|
7582
|
-
* @version v3.
|
|
7592
|
+
* @version v3.27.0
|
|
7583
7593
|
* @termsOfService https://www.thebigpos.com/terms-of-use/
|
|
7584
7594
|
* @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
|
|
7585
7595
|
*/
|
|
@@ -10687,6 +10697,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10687
10697
|
* @secure
|
|
10688
10698
|
* @response `200` `Draft` OK
|
|
10689
10699
|
* @response `400` `ProblemDetails` Bad Request
|
|
10700
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
10690
10701
|
* @response `404` `ProblemDetails` Not Found
|
|
10691
10702
|
* @response `423` `ProblemDetails` Locked
|
|
10692
10703
|
*/
|
|
@@ -14644,6 +14655,21 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
14644
14655
|
* @response `404` `ProblemDetails` Not Found
|
|
14645
14656
|
*/
|
|
14646
14657
|
removeMyPartner: (partnerProfileId: string, params?: RequestParams) => Promise<AxiosResponse<void, any, {}, any>>;
|
|
14658
|
+
/**
|
|
14659
|
+
* @description Makes a settlement agent, by user ID or by an open invite's ID, a partner on the loan officer's list
|
|
14660
|
+
*
|
|
14661
|
+
* @tags UsersMe
|
|
14662
|
+
* @name PromoteMyPartner
|
|
14663
|
+
* @summary Promote To My Partner
|
|
14664
|
+
* @request POST:/api/users/me/partners/promotions
|
|
14665
|
+
* @secure
|
|
14666
|
+
* @response `200` `PromotePartner` OK
|
|
14667
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
14668
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
14669
|
+
* @response `404` `ProblemDetails` Not Found
|
|
14670
|
+
* @response `422` `ProblemDetails` Unprocessable Content
|
|
14671
|
+
*/
|
|
14672
|
+
promoteMyPartner: (data: PromotePartnerRequest, params?: RequestParams) => Promise<AxiosResponse<PromotePartner, any, {}, any>>;
|
|
14647
14673
|
/**
|
|
14648
14674
|
* @description The links that attribute an application to the partner, on the site of each loan officer the partner works with
|
|
14649
14675
|
*
|
package/dist/index.js
CHANGED
|
@@ -101,7 +101,7 @@ export class HttpClient {
|
|
|
101
101
|
}
|
|
102
102
|
/**
|
|
103
103
|
* @title The Big POS API
|
|
104
|
-
* @version v3.
|
|
104
|
+
* @version v3.27.0
|
|
105
105
|
* @termsOfService https://www.thebigpos.com/terms-of-use/
|
|
106
106
|
* @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
|
|
107
107
|
*/
|
|
@@ -2856,6 +2856,7 @@ export 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 @@ export 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
|
*
|