@matech/thebigpos-sdk 3.30.0-dev-8857 → 3.30.0-dev-8899
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 +18 -0
- package/dist/index.cjs.map +2 -2
- package/dist/index.d.ts +26 -3
- package/dist/index.js +18 -0
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/index.ts +41 -3
package/src/index.ts
CHANGED
|
@@ -319,7 +319,8 @@ export type LoanLogType =
|
|
|
319
319
|
| "LosFieldWriteBack"
|
|
320
320
|
| "ReferrerChangeDiscarded"
|
|
321
321
|
| "TaskEdited"
|
|
322
|
-
| "SigningMethodChanged"
|
|
322
|
+
| "SigningMethodChanged"
|
|
323
|
+
| "ConsumerConnectUnlinked";
|
|
323
324
|
|
|
324
325
|
export type LoanLienPosition = "First" | "Subordinate";
|
|
325
326
|
|
|
@@ -6135,6 +6136,12 @@ export interface LosSyncStep {
|
|
|
6135
6136
|
atUtc: string;
|
|
6136
6137
|
}
|
|
6137
6138
|
|
|
6139
|
+
export interface LosUnlinkedRecipient {
|
|
6140
|
+
email: string;
|
|
6141
|
+
contactType: string;
|
|
6142
|
+
recipientId: string;
|
|
6143
|
+
}
|
|
6144
|
+
|
|
6138
6145
|
export interface LosWebhook {
|
|
6139
6146
|
/** @format uuid */
|
|
6140
6147
|
id: string;
|
|
@@ -9564,7 +9571,8 @@ export type LoanLogTypeEnum =
|
|
|
9564
9571
|
| "LosFieldWriteBack"
|
|
9565
9572
|
| "ReferrerChangeDiscarded"
|
|
9566
9573
|
| "TaskEdited"
|
|
9567
|
-
| "SigningMethodChanged"
|
|
9574
|
+
| "SigningMethodChanged"
|
|
9575
|
+
| "ConsumerConnectUnlinked";
|
|
9568
9576
|
|
|
9569
9577
|
export type LoanLogDetailLevelEnum = "None" | "Info" | "Warning" | "Error";
|
|
9570
9578
|
|
|
@@ -9590,7 +9598,8 @@ export type LoanLogDetailTypeEnum =
|
|
|
9590
9598
|
| "LosFieldWriteBack"
|
|
9591
9599
|
| "ReferrerChangeDiscarded"
|
|
9592
9600
|
| "TaskEdited"
|
|
9593
|
-
| "SigningMethodChanged"
|
|
9601
|
+
| "SigningMethodChanged"
|
|
9602
|
+
| "ConsumerConnectUnlinked";
|
|
9594
9603
|
|
|
9595
9604
|
export type LoanProgressWidgetConfigTypeEnum = "LoanProgress";
|
|
9596
9605
|
|
|
@@ -18925,6 +18934,35 @@ export class Api<
|
|
|
18925
18934
|
...params,
|
|
18926
18935
|
}),
|
|
18927
18936
|
|
|
18937
|
+
/**
|
|
18938
|
+
* No description
|
|
18939
|
+
*
|
|
18940
|
+
* @tags LoanSigningMethod
|
|
18941
|
+
* @name UnlinkLoanFromConsumerConnect
|
|
18942
|
+
* @summary Unlink the loan's borrowers from Consumer Connect
|
|
18943
|
+
* @request POST:/api/loans/{loanId}/signing-method/unlink
|
|
18944
|
+
* @secure
|
|
18945
|
+
* @response `200` `(LosUnlinkedRecipient)[]` OK
|
|
18946
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
18947
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
18948
|
+
* @response `404` `ProblemDetails` Not Found
|
|
18949
|
+
* @response `422` `ProblemDetails` Unprocessable Content
|
|
18950
|
+
* @response `423` `ProblemDetails` Locked
|
|
18951
|
+
* @response `429` `ProblemDetails` Too Many Requests
|
|
18952
|
+
* @response `504` `void` Gateway Timeout
|
|
18953
|
+
*/
|
|
18954
|
+
unlinkLoanFromConsumerConnect: (
|
|
18955
|
+
loanId: string,
|
|
18956
|
+
params: RequestParams = {},
|
|
18957
|
+
) =>
|
|
18958
|
+
this.request<LosUnlinkedRecipient[], ProblemDetails | void>({
|
|
18959
|
+
path: `/api/loans/${loanId}/signing-method/unlink`,
|
|
18960
|
+
method: "POST",
|
|
18961
|
+
secure: true,
|
|
18962
|
+
format: "json",
|
|
18963
|
+
...params,
|
|
18964
|
+
}),
|
|
18965
|
+
|
|
18928
18966
|
/**
|
|
18929
18967
|
* No description
|
|
18930
18968
|
*
|