@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/src/index.ts
CHANGED
|
@@ -6704,6 +6704,18 @@ export interface ProblemDetails {
|
|
|
6704
6704
|
[key: string]: any;
|
|
6705
6705
|
}
|
|
6706
6706
|
|
|
6707
|
+
export interface PromotePartner {
|
|
6708
|
+
/** @format uuid */
|
|
6709
|
+
partnerProfileID: string;
|
|
6710
|
+
}
|
|
6711
|
+
|
|
6712
|
+
export interface PromotePartnerRequest {
|
|
6713
|
+
/** @format uuid */
|
|
6714
|
+
userID?: string | null;
|
|
6715
|
+
/** @format uuid */
|
|
6716
|
+
inviteID?: string | null;
|
|
6717
|
+
}
|
|
6718
|
+
|
|
6707
6719
|
export type RecentLoansWidgetConfig = UtilRequiredKeys<
|
|
6708
6720
|
BaseCanvasWidgetConfig,
|
|
6709
6721
|
"type"
|
|
@@ -10210,7 +10222,7 @@ export class HttpClient<SecurityDataType = unknown> {
|
|
|
10210
10222
|
|
|
10211
10223
|
/**
|
|
10212
10224
|
* @title The Big POS API
|
|
10213
|
-
* @version v3.
|
|
10225
|
+
* @version v3.27.0
|
|
10214
10226
|
* @termsOfService https://www.thebigpos.com/terms-of-use/
|
|
10215
10227
|
* @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
|
|
10216
10228
|
*/
|
|
@@ -15804,6 +15816,7 @@ export class Api<
|
|
|
15804
15816
|
* @secure
|
|
15805
15817
|
* @response `200` `Draft` OK
|
|
15806
15818
|
* @response `400` `ProblemDetails` Bad Request
|
|
15819
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
15807
15820
|
* @response `404` `ProblemDetails` Not Found
|
|
15808
15821
|
* @response `423` `ProblemDetails` Locked
|
|
15809
15822
|
*/
|
|
@@ -23158,6 +23171,34 @@ export class Api<
|
|
|
23158
23171
|
...params,
|
|
23159
23172
|
}),
|
|
23160
23173
|
|
|
23174
|
+
/**
|
|
23175
|
+
* @description Makes a settlement agent, by user ID or by an open invite's ID, a partner on the loan officer's list
|
|
23176
|
+
*
|
|
23177
|
+
* @tags UsersMe
|
|
23178
|
+
* @name PromoteMyPartner
|
|
23179
|
+
* @summary Promote To My Partner
|
|
23180
|
+
* @request POST:/api/users/me/partners/promotions
|
|
23181
|
+
* @secure
|
|
23182
|
+
* @response `200` `PromotePartner` OK
|
|
23183
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
23184
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
23185
|
+
* @response `404` `ProblemDetails` Not Found
|
|
23186
|
+
* @response `422` `ProblemDetails` Unprocessable Content
|
|
23187
|
+
*/
|
|
23188
|
+
promoteMyPartner: (
|
|
23189
|
+
data: PromotePartnerRequest,
|
|
23190
|
+
params: RequestParams = {},
|
|
23191
|
+
) =>
|
|
23192
|
+
this.request<PromotePartner, ProblemDetails>({
|
|
23193
|
+
path: `/api/users/me/partners/promotions`,
|
|
23194
|
+
method: "POST",
|
|
23195
|
+
body: data,
|
|
23196
|
+
secure: true,
|
|
23197
|
+
type: "application/json",
|
|
23198
|
+
format: "json",
|
|
23199
|
+
...params,
|
|
23200
|
+
}),
|
|
23201
|
+
|
|
23161
23202
|
/**
|
|
23162
23203
|
* @description The links that attribute an application to the partner, on the site of each loan officer the partner works with
|
|
23163
23204
|
*
|