@matech/thebigpos-sdk 3.25.0-dev-7801 → 3.25.0-dev-7840

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
@@ -1473,6 +1473,9 @@ export interface ConditionComment {
1473
1473
  createdBy: string;
1474
1474
  createdByName: string;
1475
1475
  }
1476
+ export interface ConfirmMfaEnrollmentRequest {
1477
+ code: string;
1478
+ }
1476
1479
  export interface ConsumerConnectRetry {
1477
1480
  correlationKey: string;
1478
1481
  email: string;
@@ -4885,6 +4888,14 @@ export interface MaterializeLoanRoleTasks {
4885
4888
  /** @format int32 */
4886
4889
  rowsAdded: number;
4887
4890
  }
4891
+ export interface MfaEnrollment {
4892
+ enrollmentId: string;
4893
+ factor: MfaEnrollmentFactorEnum;
4894
+ destination?: string | null;
4895
+ /** @format int32 */
4896
+ expiresInSeconds: number;
4897
+ canResend: boolean;
4898
+ }
4888
4899
  export interface MfaMethod {
4889
4900
  factor: MfaMethodFactorEnum;
4890
4901
  available: boolean;
@@ -6366,6 +6377,9 @@ export interface StandardLoanField {
6366
6377
  isCustomized: boolean;
6367
6378
  isAiEnabled: boolean;
6368
6379
  }
6380
+ export interface StartMfaEnrollmentRequest {
6381
+ factor?: MfaFactor | null;
6382
+ }
6369
6383
  export interface SupportedModel {
6370
6384
  modelId: string;
6371
6385
  displayName: string;
@@ -7421,6 +7435,7 @@ export type LosWebhookEntryStatusEnum = "Registered" | "Disabled" | "Missing" |
7421
7435
  export type LosWebhookInventoryOverallStatusEnum = "Unknown" | "Healthy" | "Disabled" | "Missing";
7422
7436
  export type LosWebhookSigningKeySyncResultStatusEnum = "Unknown" | "Synced";
7423
7437
  export type ManualDocumentClassificationRequestDocumentTypeEnum = "W2" | "Paystub" | "Form1099" | "Form1099Int" | "Form1099Misc" | "Form1099Nec" | "Form1099R" | "Form1099G" | "Form1099Div" | "Form1099Ssa" | "FederalTaxReturn1040" | "TaxReturnScheduleC" | "TaxReturnScheduleD" | "TaxReturnScheduleE" | "Form1065" | "Form1120" | "Form1120S" | "ProfitAndLossStatement" | "VerificationOfEmployment" | "BankStatement" | "InvestmentStatement" | "CreditCardStatement" | "MortgageStatement" | "PayoffStatement" | "HoaDocuments" | "UtilityBill" | "IdentityDocument" | "DemographicAddendum" | "Ssa89" | "Vba260551" | "Hud92900B" | "Check" | "Invoice" | "Receipt" | "LoanApplication1003" | "UnderwritingTransmittal1008" | "Other" | "SalesContract" | "TitleCommitment" | "DriversLicense" | "VerificationOfIncome" | "VerificationOfAssets" | "FloodCertificate" | "FraudReport" | "AddendumToSalesContract" | "GiftLetter" | "CpaLetter" | "TaxBill" | "CondoQuestionnaire" | "CondoBudget" | "CondoBylaws" | "RentalAgreements" | "Lease" | "HazardInsurance" | "VaCertificateOfEligibility" | "Appraisal" | "CreditReport" | "CondoMasterPolicy" | "EConsent" | "CreditAuthorization" | "TextOptIn" | "LoanComparison" | "AiGeneratedDocument" | "Unidentified";
7438
+ export type MfaEnrollmentFactorEnum = "None" | "Sms" | "Email";
7424
7439
  export type MfaMethodFactorEnum = "None" | "Sms" | "Email";
7425
7440
  export type MonthlyPaymentWidgetConfigTypeEnum = "MonthlyPayment";
7426
7441
  export type MyPartnerTierEnum = "Lite" | "LitePlusPortal" | "Pending";
@@ -8690,6 +8705,8 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
8690
8705
  * @secure
8691
8706
  * @response `200` `UserDeactivated` OK
8692
8707
  * @response `422` `UnprocessableEntity` Unprocessable Content
8708
+ * @response `429` `ProblemDetails` Too Many Requests
8709
+ * @response `503` `void` Service Unavailable
8693
8710
  */
8694
8711
  getToken: (data: TokenRequest, params?: RequestParams) => Promise<AxiosResponse<UserDeactivated, any, {}, any>>;
8695
8712
  /**
@@ -8701,7 +8718,9 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
8701
8718
  * @request POST:/api/token/code
8702
8719
  * @secure
8703
8720
  * @response `200` `UserDeactivated` OK
8721
+ * @response `400` `ProblemDetails` Bad Request
8704
8722
  * @response `422` `UnprocessableEntity` Unprocessable Content
8723
+ * @response `429` `ProblemDetails` Too Many Requests
8705
8724
  */
8706
8725
  getTokenFromChallengeCode: (data: TokenChallengeRequest, params?: RequestParams) => Promise<AxiosResponse<UserDeactivated, any, {}, any>>;
8707
8726
  /**
@@ -14583,6 +14602,54 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14583
14602
  * @response `422` `UnprocessableEntity` Unprocessable Content
14584
14603
  */
14585
14604
  updateMyMfa: (data: UpdateMfaFactorRequest, params?: RequestParams) => Promise<AxiosResponse<UserMfaState, any, {}, any>>;
14605
+ /**
14606
+ * No description
14607
+ *
14608
+ * @tags UsersMeMfa
14609
+ * @name StartMyMfaEnrollment
14610
+ * @summary Start MFA Enrollment
14611
+ * @request POST:/api/users/me/mfa/enrollments
14612
+ * @secure
14613
+ * @response `200` `MfaEnrollment` OK
14614
+ * @response `400` `ProblemDetails` Bad Request
14615
+ * @response `401` `ProblemDetails` Unauthorized
14616
+ * @response `403` `ProblemDetails` Forbidden
14617
+ * @response `422` `UnprocessableEntity` Unprocessable Content
14618
+ * @response `429` `ProblemDetails` Too Many Requests
14619
+ * @response `503` `void` Service Unavailable
14620
+ */
14621
+ startMyMfaEnrollment: (data: StartMfaEnrollmentRequest, params?: RequestParams) => Promise<AxiosResponse<MfaEnrollment, any, {}, any>>;
14622
+ /**
14623
+ * No description
14624
+ *
14625
+ * @tags UsersMeMfa
14626
+ * @name ConfirmMyMfaEnrollment
14627
+ * @summary Confirm MFA Enrollment
14628
+ * @request POST:/api/users/me/mfa/enrollments/{enrollmentId}/confirm
14629
+ * @secure
14630
+ * @response `200` `UserMfaState` OK
14631
+ * @response `400` `ProblemDetails` Bad Request
14632
+ * @response `401` `ProblemDetails` Unauthorized
14633
+ * @response `403` `ProblemDetails` Forbidden
14634
+ * @response `422` `UnprocessableEntity` Unprocessable Content
14635
+ * @response `429` `ProblemDetails` Too Many Requests
14636
+ */
14637
+ confirmMyMfaEnrollment: (enrollmentId: string, data: ConfirmMfaEnrollmentRequest, params?: RequestParams) => Promise<AxiosResponse<UserMfaState, any, {}, any>>;
14638
+ /**
14639
+ * No description
14640
+ *
14641
+ * @tags UsersMeMfa
14642
+ * @name ResendMyMfaEnrollmentCode
14643
+ * @summary Resend MFA Enrollment Code
14644
+ * @request POST:/api/users/me/mfa/enrollments/{enrollmentId}/resend
14645
+ * @secure
14646
+ * @response `204` `void` No Content
14647
+ * @response `401` `ProblemDetails` Unauthorized
14648
+ * @response `403` `ProblemDetails` Forbidden
14649
+ * @response `429` `ProblemDetails` Too Many Requests
14650
+ * @response `503` `void` Service Unavailable
14651
+ */
14652
+ resendMyMfaEnrollmentCode: (enrollmentId: string, params?: RequestParams) => Promise<AxiosResponse<void, any, {}, any>>;
14586
14653
  /**
14587
14654
  * No description
14588
14655
  *
package/dist/index.js CHANGED
@@ -1102,6 +1102,8 @@ export class Api extends HttpClient {
1102
1102
  * @secure
1103
1103
  * @response `200` `UserDeactivated` OK
1104
1104
  * @response `422` `UnprocessableEntity` Unprocessable Content
1105
+ * @response `429` `ProblemDetails` Too Many Requests
1106
+ * @response `503` `void` Service Unavailable
1105
1107
  */
1106
1108
  getToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1107
1109
  /**
@@ -1113,7 +1115,9 @@ export class Api extends HttpClient {
1113
1115
  * @request POST:/api/token/code
1114
1116
  * @secure
1115
1117
  * @response `200` `UserDeactivated` OK
1118
+ * @response `400` `ProblemDetails` Bad Request
1116
1119
  * @response `422` `UnprocessableEntity` Unprocessable Content
1120
+ * @response `429` `ProblemDetails` Too Many Requests
1117
1121
  */
1118
1122
  getTokenFromChallengeCode: (data, params = {}) => this.request(Object.assign({ path: `/api/token/code`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1119
1123
  /**
@@ -6473,6 +6477,54 @@ export class Api extends HttpClient {
6473
6477
  * @response `422` `UnprocessableEntity` Unprocessable Content
6474
6478
  */
6475
6479
  updateMyMfa: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me/mfa`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
6480
+ /**
6481
+ * No description
6482
+ *
6483
+ * @tags UsersMeMfa
6484
+ * @name StartMyMfaEnrollment
6485
+ * @summary Start MFA Enrollment
6486
+ * @request POST:/api/users/me/mfa/enrollments
6487
+ * @secure
6488
+ * @response `200` `MfaEnrollment` OK
6489
+ * @response `400` `ProblemDetails` Bad Request
6490
+ * @response `401` `ProblemDetails` Unauthorized
6491
+ * @response `403` `ProblemDetails` Forbidden
6492
+ * @response `422` `UnprocessableEntity` Unprocessable Content
6493
+ * @response `429` `ProblemDetails` Too Many Requests
6494
+ * @response `503` `void` Service Unavailable
6495
+ */
6496
+ startMyMfaEnrollment: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me/mfa/enrollments`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
6497
+ /**
6498
+ * No description
6499
+ *
6500
+ * @tags UsersMeMfa
6501
+ * @name ConfirmMyMfaEnrollment
6502
+ * @summary Confirm MFA Enrollment
6503
+ * @request POST:/api/users/me/mfa/enrollments/{enrollmentId}/confirm
6504
+ * @secure
6505
+ * @response `200` `UserMfaState` OK
6506
+ * @response `400` `ProblemDetails` Bad Request
6507
+ * @response `401` `ProblemDetails` Unauthorized
6508
+ * @response `403` `ProblemDetails` Forbidden
6509
+ * @response `422` `UnprocessableEntity` Unprocessable Content
6510
+ * @response `429` `ProblemDetails` Too Many Requests
6511
+ */
6512
+ confirmMyMfaEnrollment: (enrollmentId, data, params = {}) => this.request(Object.assign({ path: `/api/users/me/mfa/enrollments/${enrollmentId}/confirm`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
6513
+ /**
6514
+ * No description
6515
+ *
6516
+ * @tags UsersMeMfa
6517
+ * @name ResendMyMfaEnrollmentCode
6518
+ * @summary Resend MFA Enrollment Code
6519
+ * @request POST:/api/users/me/mfa/enrollments/{enrollmentId}/resend
6520
+ * @secure
6521
+ * @response `204` `void` No Content
6522
+ * @response `401` `ProblemDetails` Unauthorized
6523
+ * @response `403` `ProblemDetails` Forbidden
6524
+ * @response `429` `ProblemDetails` Too Many Requests
6525
+ * @response `503` `void` Service Unavailable
6526
+ */
6527
+ resendMyMfaEnrollmentCode: (enrollmentId, params = {}) => this.request(Object.assign({ path: `/api/users/me/mfa/enrollments/${enrollmentId}/resend`, method: "POST", secure: true }, params)),
6476
6528
  /**
6477
6529
  * No description
6478
6530
  *