@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/dist/index.d.ts CHANGED
@@ -33,8 +33,8 @@ export type LoanRealEstateOccupancyType = "PrimaryHome" | "SecondHome" | "Invest
33
33
  export type LoanRealEstateIntendedUsageType = "PrimaryResidence" | "SecondHome" | "Investment" | "Other";
34
34
  export type LoanQueueType = "Unknown" | "New" | "Append" | "Update" | "FieldUpdates" | "Document" | "Buckets";
35
35
  export type LoanQueueReason = "Unknown" | "Locked" | "LOSError" | "Exception" | "TransientError";
36
- export type LoanPurpose = "Purchase" | "Refinance" | "ConstructionOnly" | "ConstructionToPermanent";
37
- export type LoanPropertyType = "SingleFamily" | "MultiFamily" | "Condominium" | "Townhouse" | "ManufacturedHome" | "PlannedUnitDevelopment" | "ModularHome" | "Other" | "DetachedCondo" | "HighRiseCondominium" | "Cooperative" | "ManufacturedHomeCondoPudCoOp" | "MHHomeChoice" | "MHSelect" | "MHAdvantage";
36
+ export type LoanPurpose = "Purchase" | "Refinance";
37
+ export type LoanPropertyType = "SingleFamily" | "MultiFamily" | "Condominium" | "Townhouse" | "ManufacturedHome" | "PlannedUnitDevelopment" | "ModularHome" | "Other";
38
38
  export type LoanPhoneNumberType = "Home" | "Cell" | "Work" | "Fax" | "Other";
39
39
  export type LoanPacificIslanderRace = "NativeHawaiian" | "GuamanianOrChamorro" | "Samoan" | "Other";
40
40
  export type LoanOwnershipInterestPropertyType = "PrimaryResidence" | "FHASecondaryResidence" | "SecondaryResidence" | "Investment";
@@ -4894,6 +4894,11 @@ export interface LosSyncStep {
4894
4894
  /** @format date-time */
4895
4895
  atUtc: string;
4896
4896
  }
4897
+ export interface LosUnlinkedRecipient {
4898
+ email: string;
4899
+ contactType: string;
4900
+ recipientId: string;
4901
+ }
4897
4902
  export interface LosWebhook {
4898
4903
  /** @format uuid */
4899
4904
  id: string;
@@ -5856,7 +5861,6 @@ export interface SiteConfiguration {
5856
5861
  addCoBorrowerAnimatedIconID?: string | null;
5857
5862
  disclosuresSSOSiteID?: string | null;
5858
5863
  signingMethodOverride?: SigningMethod | null;
5859
- signingMethod: SiteConfigurationSigningMethodEnum;
5860
5864
  loanChannel?: string | null;
5861
5865
  loanFolder?: string | null;
5862
5866
  loanTemplate?: string | null;
@@ -6052,7 +6056,6 @@ export interface SiteConfigurationByUrl {
6052
6056
  addCoBorrowerAnimatedIconID?: string | null;
6053
6057
  disclosuresSSOSiteID?: string | null;
6054
6058
  signingMethodOverride?: SigningMethod | null;
6055
- signingMethod: SiteConfigurationByUrlSigningMethodEnum;
6056
6059
  loanChannel?: string | null;
6057
6060
  loanFolder?: string | null;
6058
6061
  loanTemplate?: string | null;
@@ -7543,9 +7546,7 @@ export type PrimaryBorrowerWidgetConfigTypeEnum = "PrimaryBorrower";
7543
7546
  export type RecentLoansWidgetConfigTypeEnum = "RecentLoans";
7544
7547
  export type SectionDividerWidgetConfigTypeEnum = "SectionDivider";
7545
7548
  export type SiteConfigurationTypeEnum = "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
7546
- export type SiteConfigurationSigningMethodEnum = "ConsumerConnect" | "POSF";
7547
7549
  export type SiteConfigurationByUrlTypeEnum = "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
7548
- export type SiteConfigurationByUrlSigningMethodEnum = "ConsumerConnect" | "POSF";
7549
7550
  export type SiteConfigurationReducedTypeEnum = "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
7550
7551
  export type SiteConfigurationRequestTypeEnum = "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
7551
7552
  export type SiteConfigurationSummaryTypeEnum = "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
@@ -12425,11 +12426,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
12425
12426
  * No description
12426
12427
  *
12427
12428
  * @tags LoanSigningMethod
12428
- * @name UpdateLoanSigningMethod
12429
- * @summary Switch the loan's signing method
12430
- * @request PUT:/api/loans/{loanId}/signing-method
12429
+ * @name UnlinkLoanFromConsumerConnect
12430
+ * @summary Unlink the loan's borrowers from Consumer Connect
12431
+ * @request POST:/api/loans/{loanId}/signing-method/unlink
12431
12432
  * @secure
12432
- * @response `204` `void` No Content
12433
+ * @response `200` `(LosUnlinkedRecipient)[]` OK
12433
12434
  * @response `400` `ProblemDetails` Bad Request
12434
12435
  * @response `403` `ProblemDetails` Forbidden
12435
12436
  * @response `404` `ProblemDetails` Not Found
@@ -12438,6 +12439,20 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
12438
12439
  * @response `429` `ProblemDetails` Too Many Requests
12439
12440
  * @response `504` `void` Gateway Timeout
12440
12441
  */
12442
+ unlinkLoanFromConsumerConnect: (loanId: string, params?: RequestParams) => Promise<AxiosResponse<LosUnlinkedRecipient[], any, {}, any>>;
12443
+ /**
12444
+ * No description
12445
+ *
12446
+ * @tags LoanSigningMethod
12447
+ * @name UpdateLoanSigningMethod
12448
+ * @summary Switch the loan's signing method
12449
+ * @request PUT:/api/loans/{loanId}/signing-method
12450
+ * @secure
12451
+ * @response `204` `void` No Content
12452
+ * @response `403` `ProblemDetails` Forbidden
12453
+ * @response `404` `ProblemDetails` Not Found
12454
+ * @response `422` `ProblemDetails` Unprocessable Content
12455
+ */
12441
12456
  updateLoanSigningMethod: (loanId: string, data: UpdateLoanSigningMethodRequest, params?: RequestParams) => Promise<AxiosResponse<void, any, {}, any>>;
12442
12457
  /**
12443
12458
  * No description
package/dist/index.js CHANGED
@@ -4394,11 +4394,11 @@ export class Api extends HttpClient {
4394
4394
  * No description
4395
4395
  *
4396
4396
  * @tags LoanSigningMethod
4397
- * @name UpdateLoanSigningMethod
4398
- * @summary Switch the loan's signing method
4399
- * @request PUT:/api/loans/{loanId}/signing-method
4397
+ * @name UnlinkLoanFromConsumerConnect
4398
+ * @summary Unlink the loan's borrowers from Consumer Connect
4399
+ * @request POST:/api/loans/{loanId}/signing-method/unlink
4400
4400
  * @secure
4401
- * @response `204` `void` No Content
4401
+ * @response `200` `(LosUnlinkedRecipient)[]` OK
4402
4402
  * @response `400` `ProblemDetails` Bad Request
4403
4403
  * @response `403` `ProblemDetails` Forbidden
4404
4404
  * @response `404` `ProblemDetails` Not Found
@@ -4407,6 +4407,20 @@ export class Api extends HttpClient {
4407
4407
  * @response `429` `ProblemDetails` Too Many Requests
4408
4408
  * @response `504` `void` Gateway Timeout
4409
4409
  */
4410
+ unlinkLoanFromConsumerConnect: (loanId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/signing-method/unlink`, method: "POST", secure: true, format: "json" }, params)),
4411
+ /**
4412
+ * No description
4413
+ *
4414
+ * @tags LoanSigningMethod
4415
+ * @name UpdateLoanSigningMethod
4416
+ * @summary Switch the loan's signing method
4417
+ * @request PUT:/api/loans/{loanId}/signing-method
4418
+ * @secure
4419
+ * @response `204` `void` No Content
4420
+ * @response `403` `ProblemDetails` Forbidden
4421
+ * @response `404` `ProblemDetails` Not Found
4422
+ * @response `422` `ProblemDetails` Unprocessable Content
4423
+ */
4410
4424
  updateLoanSigningMethod: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/signing-method`, method: "PUT", body: data, secure: true, type: "application/json" }, params)),
4411
4425
  /**
4412
4426
  * No description