@matech/thebigpos-sdk 3.31.0-dev-9021 → 3.31.0-main-9036

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/src/index.ts CHANGED
@@ -195,11 +195,7 @@ export type LoanQueueReason =
195
195
  | "Exception"
196
196
  | "TransientError";
197
197
 
198
- export type LoanPurpose =
199
- | "Purchase"
200
- | "Refinance"
201
- | "ConstructionOnly"
202
- | "ConstructionToPermanent";
198
+ export type LoanPurpose = "Purchase" | "Refinance";
203
199
 
204
200
  export type LoanPropertyType =
205
201
  | "SingleFamily"
@@ -209,14 +205,7 @@ export type LoanPropertyType =
209
205
  | "ManufacturedHome"
210
206
  | "PlannedUnitDevelopment"
211
207
  | "ModularHome"
212
- | "Other"
213
- | "DetachedCondo"
214
- | "HighRiseCondominium"
215
- | "Cooperative"
216
- | "ManufacturedHomeCondoPudCoOp"
217
- | "MHHomeChoice"
218
- | "MHSelect"
219
- | "MHAdvantage";
208
+ | "Other";
220
209
 
221
210
  export type LoanPhoneNumberType = "Home" | "Cell" | "Work" | "Fax" | "Other";
222
211
 
@@ -6147,6 +6136,12 @@ export interface LosSyncStep {
6147
6136
  atUtc: string;
6148
6137
  }
6149
6138
 
6139
+ export interface LosUnlinkedRecipient {
6140
+ email: string;
6141
+ contactType: string;
6142
+ recipientId: string;
6143
+ }
6144
+
6150
6145
  export interface LosWebhook {
6151
6146
  /** @format uuid */
6152
6147
  id: string;
@@ -7221,7 +7216,6 @@ export interface SiteConfiguration {
7221
7216
  addCoBorrowerAnimatedIconID?: string | null;
7222
7217
  disclosuresSSOSiteID?: string | null;
7223
7218
  signingMethodOverride?: SigningMethod | null;
7224
- signingMethod: SiteConfigurationSigningMethodEnum;
7225
7219
  loanChannel?: string | null;
7226
7220
  loanFolder?: string | null;
7227
7221
  loanTemplate?: string | null;
@@ -7418,7 +7412,6 @@ export interface SiteConfigurationByUrl {
7418
7412
  addCoBorrowerAnimatedIconID?: string | null;
7419
7413
  disclosuresSSOSiteID?: string | null;
7420
7414
  signingMethodOverride?: SigningMethod | null;
7421
- signingMethod: SiteConfigurationByUrlSigningMethodEnum;
7422
7415
  loanChannel?: string | null;
7423
7416
  loanFolder?: string | null;
7424
7417
  loanTemplate?: string | null;
@@ -9842,8 +9835,6 @@ export type SiteConfigurationTypeEnum =
9842
9835
  | "LoanOfficer"
9843
9836
  | "Partner";
9844
9837
 
9845
- export type SiteConfigurationSigningMethodEnum = "ConsumerConnect" | "POSF";
9846
-
9847
9838
  export type SiteConfigurationByUrlTypeEnum =
9848
9839
  | "None"
9849
9840
  | "Account"
@@ -9852,10 +9843,6 @@ export type SiteConfigurationByUrlTypeEnum =
9852
9843
  | "LoanOfficer"
9853
9844
  | "Partner";
9854
9845
 
9855
- export type SiteConfigurationByUrlSigningMethodEnum =
9856
- | "ConsumerConnect"
9857
- | "POSF";
9858
-
9859
9846
  export type SiteConfigurationReducedTypeEnum =
9860
9847
  | "None"
9861
9848
  | "Account"
@@ -18951,11 +18938,11 @@ export class Api<
18951
18938
  * No description
18952
18939
  *
18953
18940
  * @tags LoanSigningMethod
18954
- * @name UpdateLoanSigningMethod
18955
- * @summary Switch the loan's signing method
18956
- * @request PUT:/api/loans/{loanId}/signing-method
18941
+ * @name UnlinkLoanFromConsumerConnect
18942
+ * @summary Unlink the loan's borrowers from Consumer Connect
18943
+ * @request POST:/api/loans/{loanId}/signing-method/unlink
18957
18944
  * @secure
18958
- * @response `204` `void` No Content
18945
+ * @response `200` `(LosUnlinkedRecipient)[]` OK
18959
18946
  * @response `400` `ProblemDetails` Bad Request
18960
18947
  * @response `403` `ProblemDetails` Forbidden
18961
18948
  * @response `404` `ProblemDetails` Not Found
@@ -18964,12 +18951,37 @@ export class Api<
18964
18951
  * @response `429` `ProblemDetails` Too Many Requests
18965
18952
  * @response `504` `void` Gateway Timeout
18966
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
+
18966
+ /**
18967
+ * No description
18968
+ *
18969
+ * @tags LoanSigningMethod
18970
+ * @name UpdateLoanSigningMethod
18971
+ * @summary Switch the loan's signing method
18972
+ * @request PUT:/api/loans/{loanId}/signing-method
18973
+ * @secure
18974
+ * @response `204` `void` No Content
18975
+ * @response `403` `ProblemDetails` Forbidden
18976
+ * @response `404` `ProblemDetails` Not Found
18977
+ * @response `422` `ProblemDetails` Unprocessable Content
18978
+ */
18967
18979
  updateLoanSigningMethod: (
18968
18980
  loanId: string,
18969
18981
  data: UpdateLoanSigningMethodRequest,
18970
18982
  params: RequestParams = {},
18971
18983
  ) =>
18972
- this.request<void, ProblemDetails | void>({
18984
+ this.request<void, ProblemDetails>({
18973
18985
  path: `/api/loans/${loanId}/signing-method`,
18974
18986
  method: "PUT",
18975
18987
  body: data,