@matech/thebigpos-sdk 3.30.0-main-8913 → 3.31.0-dev-8990
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 +20 -0
- package/dist/index.cjs.map +2 -2
- package/dist/index.d.ts +31 -6
- package/dist/index.js +21 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/index.ts +57 -6
package/src/index.ts
CHANGED
|
@@ -195,7 +195,11 @@ export type LoanQueueReason =
|
|
|
195
195
|
| "Exception"
|
|
196
196
|
| "TransientError";
|
|
197
197
|
|
|
198
|
-
export type LoanPurpose =
|
|
198
|
+
export type LoanPurpose =
|
|
199
|
+
| "Purchase"
|
|
200
|
+
| "Refinance"
|
|
201
|
+
| "ConstructionOnly"
|
|
202
|
+
| "ConstructionToPermanent";
|
|
199
203
|
|
|
200
204
|
export type LoanPropertyType =
|
|
201
205
|
| "SingleFamily"
|
|
@@ -205,7 +209,14 @@ export type LoanPropertyType =
|
|
|
205
209
|
| "ManufacturedHome"
|
|
206
210
|
| "PlannedUnitDevelopment"
|
|
207
211
|
| "ModularHome"
|
|
208
|
-
| "Other"
|
|
212
|
+
| "Other"
|
|
213
|
+
| "DetachedCondo"
|
|
214
|
+
| "HighRiseCondominium"
|
|
215
|
+
| "Cooperative"
|
|
216
|
+
| "ManufacturedHomeCondoPudCoOp"
|
|
217
|
+
| "MHHomeChoice"
|
|
218
|
+
| "MHSelect"
|
|
219
|
+
| "MHAdvantage";
|
|
209
220
|
|
|
210
221
|
export type LoanPhoneNumberType = "Home" | "Cell" | "Work" | "Fax" | "Other";
|
|
211
222
|
|
|
@@ -319,7 +330,8 @@ export type LoanLogType =
|
|
|
319
330
|
| "LosFieldWriteBack"
|
|
320
331
|
| "ReferrerChangeDiscarded"
|
|
321
332
|
| "TaskEdited"
|
|
322
|
-
| "SigningMethodChanged"
|
|
333
|
+
| "SigningMethodChanged"
|
|
334
|
+
| "ConsumerConnectUnlinked";
|
|
323
335
|
|
|
324
336
|
export type LoanLienPosition = "First" | "Subordinate";
|
|
325
337
|
|
|
@@ -6135,6 +6147,12 @@ export interface LosSyncStep {
|
|
|
6135
6147
|
atUtc: string;
|
|
6136
6148
|
}
|
|
6137
6149
|
|
|
6150
|
+
export interface LosUnlinkedRecipient {
|
|
6151
|
+
email: string;
|
|
6152
|
+
contactType: string;
|
|
6153
|
+
recipientId: string;
|
|
6154
|
+
}
|
|
6155
|
+
|
|
6138
6156
|
export interface LosWebhook {
|
|
6139
6157
|
/** @format uuid */
|
|
6140
6158
|
id: string;
|
|
@@ -9564,7 +9582,8 @@ export type LoanLogTypeEnum =
|
|
|
9564
9582
|
| "LosFieldWriteBack"
|
|
9565
9583
|
| "ReferrerChangeDiscarded"
|
|
9566
9584
|
| "TaskEdited"
|
|
9567
|
-
| "SigningMethodChanged"
|
|
9585
|
+
| "SigningMethodChanged"
|
|
9586
|
+
| "ConsumerConnectUnlinked";
|
|
9568
9587
|
|
|
9569
9588
|
export type LoanLogDetailLevelEnum = "None" | "Info" | "Warning" | "Error";
|
|
9570
9589
|
|
|
@@ -9590,7 +9609,8 @@ export type LoanLogDetailTypeEnum =
|
|
|
9590
9609
|
| "LosFieldWriteBack"
|
|
9591
9610
|
| "ReferrerChangeDiscarded"
|
|
9592
9611
|
| "TaskEdited"
|
|
9593
|
-
| "SigningMethodChanged"
|
|
9612
|
+
| "SigningMethodChanged"
|
|
9613
|
+
| "ConsumerConnectUnlinked";
|
|
9594
9614
|
|
|
9595
9615
|
export type LoanProgressWidgetConfigTypeEnum = "LoanProgress";
|
|
9596
9616
|
|
|
@@ -10275,7 +10295,7 @@ export class HttpClient<SecurityDataType = unknown> {
|
|
|
10275
10295
|
|
|
10276
10296
|
/**
|
|
10277
10297
|
* @title The Big POS API
|
|
10278
|
-
* @version v3.
|
|
10298
|
+
* @version v3.31.0
|
|
10279
10299
|
* @termsOfService https://www.thebigpos.com/terms-of-use/
|
|
10280
10300
|
* @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
|
|
10281
10301
|
*/
|
|
@@ -16772,6 +16792,7 @@ export class Api<
|
|
|
16772
16792
|
* @response `204` `void` No Content
|
|
16773
16793
|
* @response `400` `ProblemDetails` Bad Request
|
|
16774
16794
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
16795
|
+
* @response `423` `ProblemDetails` Locked
|
|
16775
16796
|
*/
|
|
16776
16797
|
bulkSetLoanCustomFieldValues: (
|
|
16777
16798
|
loanId: string,
|
|
@@ -16799,6 +16820,7 @@ export class Api<
|
|
|
16799
16820
|
* @response `400` `ProblemDetails` Bad Request
|
|
16800
16821
|
* @response `404` `ProblemDetails` Not Found
|
|
16801
16822
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
16823
|
+
* @response `423` `ProblemDetails` Locked
|
|
16802
16824
|
*/
|
|
16803
16825
|
setLoanCustomFieldValue: (
|
|
16804
16826
|
loanId: string,
|
|
@@ -18923,6 +18945,35 @@ export class Api<
|
|
|
18923
18945
|
...params,
|
|
18924
18946
|
}),
|
|
18925
18947
|
|
|
18948
|
+
/**
|
|
18949
|
+
* No description
|
|
18950
|
+
*
|
|
18951
|
+
* @tags LoanSigningMethod
|
|
18952
|
+
* @name UnlinkLoanFromConsumerConnect
|
|
18953
|
+
* @summary Unlink the loan's borrowers from Consumer Connect
|
|
18954
|
+
* @request POST:/api/loans/{loanId}/signing-method/unlink
|
|
18955
|
+
* @secure
|
|
18956
|
+
* @response `200` `(LosUnlinkedRecipient)[]` OK
|
|
18957
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
18958
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
18959
|
+
* @response `404` `ProblemDetails` Not Found
|
|
18960
|
+
* @response `422` `ProblemDetails` Unprocessable Content
|
|
18961
|
+
* @response `423` `ProblemDetails` Locked
|
|
18962
|
+
* @response `429` `ProblemDetails` Too Many Requests
|
|
18963
|
+
* @response `504` `void` Gateway Timeout
|
|
18964
|
+
*/
|
|
18965
|
+
unlinkLoanFromConsumerConnect: (
|
|
18966
|
+
loanId: string,
|
|
18967
|
+
params: RequestParams = {},
|
|
18968
|
+
) =>
|
|
18969
|
+
this.request<LosUnlinkedRecipient[], ProblemDetails | void>({
|
|
18970
|
+
path: `/api/loans/${loanId}/signing-method/unlink`,
|
|
18971
|
+
method: "POST",
|
|
18972
|
+
secure: true,
|
|
18973
|
+
format: "json",
|
|
18974
|
+
...params,
|
|
18975
|
+
}),
|
|
18976
|
+
|
|
18926
18977
|
/**
|
|
18927
18978
|
* No description
|
|
18928
18979
|
*
|