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

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
@@ -12,6 +12,7 @@ export type SSOIntegrationType = "ConsumerConnect" | "TheBigPOS" | "POSF";
12
12
  export type PendingInviteStatus = "InvitePending" | "InviteExpired" | "NotInvited";
13
13
  export type PartnerTier = "Lite" | "LitePlusPortal" | "Pending";
14
14
  export type OutboundFailureSeverity = "All" | "Failed" | "CompletedWithErrors";
15
+ export type MfaFactor = "None" | "Sms" | "Email";
15
16
  export type LosWebhookSigningKeySyncStatus = "Unknown" | "Synced";
16
17
  export type LosWebhookInventoryStatus = "Unknown" | "Healthy" | "Disabled" | "Missing";
17
18
  export type LosWebhookEntryStatus = "Registered" | "Disabled" | "Missing" | "Extra";
@@ -272,6 +273,7 @@ export interface AdminAccessUser {
272
273
  title?: string | null;
273
274
  forcePasswordReset: boolean;
274
275
  mfaEnabled: boolean;
276
+ mfaFactor: AdminAccessUserMfaFactorEnum;
275
277
  phoneVerified: boolean;
276
278
  /** @format int32 */
277
279
  loginsWithoutMFACount: number;
@@ -1081,6 +1083,7 @@ export interface BranchUser {
1081
1083
  title?: string | null;
1082
1084
  forcePasswordReset: boolean;
1083
1085
  mfaEnabled: boolean;
1086
+ mfaFactor: BranchUserMfaFactorEnum;
1084
1087
  phoneVerified: boolean;
1085
1088
  /** @format int32 */
1086
1089
  loginsWithoutMFACount: number;
@@ -1763,6 +1766,7 @@ export interface CustomFieldDefinition {
1763
1766
  regexPattern?: string | null;
1764
1767
  dataType: CustomFieldDefinitionDataTypeEnum;
1765
1768
  entityType: CustomFieldDefinitionEntityTypeEnum;
1769
+ isAiEnabled: boolean;
1766
1770
  options: CustomFieldOption[];
1767
1771
  permissions: CustomFieldPermission[];
1768
1772
  encompassMapping?: EncompassMapping | null;
@@ -1832,6 +1836,7 @@ export interface DetailedUser {
1832
1836
  title?: string | null;
1833
1837
  forcePasswordReset: boolean;
1834
1838
  mfaEnabled: boolean;
1839
+ mfaFactor: DetailedUserMfaFactorEnum;
1835
1840
  phoneVerified: boolean;
1836
1841
  /** @format int32 */
1837
1842
  loginsWithoutMFACount: number;
@@ -2595,6 +2600,7 @@ export interface ImpersonatedDetailedUser {
2595
2600
  title?: string | null;
2596
2601
  forcePasswordReset: boolean;
2597
2602
  mfaEnabled: boolean;
2603
+ mfaFactor: ImpersonatedDetailedUserMfaFactorEnum;
2598
2604
  phoneVerified: boolean;
2599
2605
  /** @format int32 */
2600
2606
  loginsWithoutMFACount: number;
@@ -2960,6 +2966,8 @@ export interface LoanApplicationRequest {
2960
2966
  draftId?: string | null;
2961
2967
  /** @format uuid */
2962
2968
  partnerId?: string | null;
2969
+ /** @format uuid */
2970
+ formId?: string | null;
2963
2971
  additionalFields?: Record<string, any> | null;
2964
2972
  /** @format uuid */
2965
2973
  existingLoanId?: string | null;
@@ -4877,6 +4885,13 @@ export interface MaterializeLoanRoleTasks {
4877
4885
  /** @format int32 */
4878
4886
  rowsAdded: number;
4879
4887
  }
4888
+ export interface MfaMethod {
4889
+ factor: MfaMethodFactorEnum;
4890
+ available: boolean;
4891
+ current: boolean;
4892
+ destination?: string | null;
4893
+ requiresConfirmation: boolean;
4894
+ }
4880
4895
  export interface MilestoneConfiguration {
4881
4896
  /** @format date-time */
4882
4897
  createdAt: string;
@@ -5243,6 +5258,21 @@ export interface PendingTasksSummary {
5243
5258
  export interface PinAiConversationRequest {
5244
5259
  isPinned: boolean;
5245
5260
  }
5261
+ export interface PipelineLoanOfficer {
5262
+ /** @format uuid */
5263
+ id: string;
5264
+ firstName: string;
5265
+ lastName: string;
5266
+ email: string;
5267
+ branchName?: string | null;
5268
+ isActive: boolean;
5269
+ }
5270
+ export interface PipelineLoanOfficerPaginated {
5271
+ rows: PipelineLoanOfficer[];
5272
+ pagination: Pagination;
5273
+ /** @format int64 */
5274
+ count: number;
5275
+ }
5246
5276
  export interface PipelineTableFilters {
5247
5277
  activityStatus?: LoanActivityStatus | null;
5248
5278
  loanPurpose?: LoanPurpose | null;
@@ -6712,6 +6742,10 @@ export interface UpdateMeRequest {
6712
6742
  /** @format uuid */
6713
6743
  preferredLoanOfficerId?: string | null;
6714
6744
  }
6745
+ export interface UpdateMfaFactorRequest {
6746
+ factor?: MfaFactor | null;
6747
+ passwordConfirmation?: string | null;
6748
+ }
6715
6749
  export interface UpdateMobilePhoneRequest {
6716
6750
  phone: string;
6717
6751
  }
@@ -6909,6 +6943,7 @@ export interface User {
6909
6943
  title?: string | null;
6910
6944
  forcePasswordReset: boolean;
6911
6945
  mfaEnabled: boolean;
6946
+ mfaFactor: UserMfaFactorEnum;
6912
6947
  phoneVerified: boolean;
6913
6948
  /** @format int32 */
6914
6949
  loginsWithoutMFACount: number;
@@ -7079,6 +7114,12 @@ export interface UserLoanTaskUpdateRequest {
7079
7114
  /** @format uuid */
7080
7115
  loanDocumentFolderId?: string | null;
7081
7116
  }
7117
+ export interface UserMfaState {
7118
+ enabled: boolean;
7119
+ factor: UserMfaStateFactorEnum;
7120
+ required: boolean;
7121
+ methods: MfaMethod[];
7122
+ }
7082
7123
  export interface UserMobilePhoneVerificationRequest {
7083
7124
  code: string;
7084
7125
  }
@@ -7261,6 +7302,7 @@ type BaseCanvasWidgetConfigTypeMapping<Key, Type> = {
7261
7302
  type: Key;
7262
7303
  } & Type;
7263
7304
  export type AccountBillingRequestBillingTypeEnum = "ClosedLoan" | "LoanOfficer";
7305
+ export type AdminAccessUserMfaFactorEnum = "None" | "Sms" | "Email";
7264
7306
  export type AiAuditLogEventTypeEnum = "Error" | "GuardrailBlockedPre" | "GuardrailPassedPre" | "IntentClassified" | "LoanResolvedFromMessage" | "DocumentNotFound" | "GuardrailBlockedPost" | "GuardrailPassedPost" | "DocumentAnalyzed" | "DocumentList" | "DocumentResolutionAmbiguous" | "ResponseGenerated" | "ParametersExtracted" | "QueryExecuted" | "LoanContextNotFound" | "LoanContextLoaded" | "GuardrailBlockedBedrock" | "PromptMatched" | "QueryCondensed" | "IntentParseFailed" | "LoanSearchTermDiscarded" | "CanonicalFieldsSelected" | "LoanAccessDenied" | "AgentModelCall" | "AgentToolCallRequested" | "AgentToolCallCompleted" | "AgentToolCallFailed" | "AgentLoopLimitReached" | "RequestCancelled" | "KnowledgeBaseRetrieved" | "PromptResolutionFailed" | "PromptTriggerPublished" | "PromptTriggerSkipped" | "PromptRunCompleted" | "LoanUpdateProposed" | "LoanUpdateApplied" | "LoanUpdateRefused" | "PromptTriggerCoalesced" | "RecommendationRunCompleted" | "BoundPromptForced";
7265
7307
  export type AiChatStructuredDataTypeEnum = "Table" | "DocumentAnalysis" | "DocumentList" | "GeneratedDocument" | "CitedPassages" | "PendingLoanUpdate";
7266
7308
  export type AiCitedDocumentSourceTypeEnum = "File" | "FreeText";
@@ -7274,6 +7316,7 @@ export type BorrowerApplicationApplicationStatusEnum = "Draft" | "Complete";
7274
7316
  export type BorrowerApplicationWarningCodeEnum = "UnknownKey" | "NotWritable" | "CustomFieldUnresolved" | "CustomFieldInactive" | "CustomFieldReadOnly" | "CustomFieldDuplicateDefinition" | "LoanOfficerUnresolved";
7275
7317
  export type BorrowerCountRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
7276
7318
  export type BorrowerIdentityRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
7319
+ export type BranchUserMfaFactorEnum = "None" | "Sms" | "Email";
7277
7320
  export type CanvasFieldDescriptorSourceEnum = "Standard" | "Custom";
7278
7321
  export type CanvasFieldDescriptorDataTypeEnum = "Text" | "Number" | "Decimal" | "Boolean" | "Date" | "DateTime" | "SingleSelect" | "MultiSelect";
7279
7322
  export type CanvasFieldDescriptorFormatEnum = "Text" | "Number" | "Currency" | "Percent" | "DateShort" | "DateLong" | "YesNo";
@@ -7316,6 +7359,7 @@ export type CustomFieldPermissionAccessLevelEnum = "NoAccess" | "ReadOnly" | "Re
7316
7359
  export type CustomFieldPermissionRequestRoleEnum = "Borrower" | "LoanOfficer" | "Admin" | "SuperAdmin" | "Realtor" | "SettlementAgent" | "LoanProcessor" | "LoanOfficerAssistant" | "SystemAdmin";
7317
7360
  export type CustomFieldPermissionRequestAccessLevelEnum = "NoAccess" | "ReadOnly" | "ReadWrite";
7318
7361
  export type CustomFieldValueDataTypeEnum = "String" | "Number" | "Decimal" | "Boolean" | "Date" | "SingleSelect" | "MultiSelect";
7362
+ export type DetailedUserMfaFactorEnum = "None" | "Sms" | "Email";
7319
7363
  export type DocumentsWidgetConfigTypeEnum = "Documents";
7320
7364
  export type DraftTypeEnum = "NewLoan" | "EditLoan";
7321
7365
  export type DraftContentTypeEnum = "NewLoan" | "EditLoan";
@@ -7329,6 +7373,7 @@ export type EncompassWebhookSubscriptionWebhookTypeEnum = "Legacy" | "LoanV3" |
7329
7373
  export type EsignStatusWidgetConfigTypeEnum = "EsignStatus";
7330
7374
  export type GenerateSystemPromptRequestCategoryEnum = "DocumentAnalysis" | "DataQuery" | "General" | "Action";
7331
7375
  export type IpAddressAddressFamilyEnum = "Unspecified" | "Unix" | "InterNetwork" | "ImpLink" | "Pup" | "Chaos" | "NS" | "Ipx" | "Iso" | "Osi" | "Ecma" | "DataKit" | "Ccitt" | "Sna" | "DecNet" | "DataLink" | "Lat" | "HyperChannel" | "AppleTalk" | "NetBios" | "VoiceView" | "FireFox" | "Banyan" | "Atm" | "InterNetworkV6" | "Cluster" | "Ieee12844" | "Irda" | "NetworkDesigners" | "Max" | "Packet" | "ControllerAreaNetwork" | "Unknown";
7376
+ export type ImpersonatedDetailedUserMfaFactorEnum = "None" | "Sms" | "Email";
7332
7377
  export type IncompleteLoanSourceEnum = "V3" | "LegacyDraft";
7333
7378
  export type IncompleteLoanBorrowerApplicationStatusEnum = "Draft" | "Complete";
7334
7379
  export type InformationWidgetConfigLabelPositionEnum = "Left" | "Above";
@@ -7376,6 +7421,7 @@ export type LosWebhookEntryStatusEnum = "Registered" | "Disabled" | "Missing" |
7376
7421
  export type LosWebhookInventoryOverallStatusEnum = "Unknown" | "Healthy" | "Disabled" | "Missing";
7377
7422
  export type LosWebhookSigningKeySyncResultStatusEnum = "Unknown" | "Synced";
7378
7423
  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";
7424
+ export type MfaMethodFactorEnum = "None" | "Sms" | "Email";
7379
7425
  export type MonthlyPaymentWidgetConfigTypeEnum = "MonthlyPayment";
7380
7426
  export type MyPartnerTierEnum = "Lite" | "LitePlusPortal" | "Pending";
7381
7427
  export type MyTasksWidgetConfigTypeEnum = "MyTasks";
@@ -7401,12 +7447,14 @@ export type UnregisteredBorrowerRoleEnum = "Borrower" | "CoBorrower" | "NonBorro
7401
7447
  export type UpdateAiGuardrailRequestCategoryEnum = "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
7402
7448
  export type UpdateAiUrlSourceRequestCategoryEnum = "Regulatory" | "Guidelines" | "MarketData" | "Custom";
7403
7449
  export type UpdateAiUrlSourceRequestScopeEnum = "FullDomain" | "SpecificPath";
7450
+ export type UserMfaFactorEnum = "None" | "Sms" | "Email";
7404
7451
  export type UserDraftRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
7405
7452
  export type UserGroupAccessScopeScopeTypeEnum = "User" | "Branch";
7406
7453
  export type UserGroupMemberUserSummaryRoleEnum = "Borrower" | "LoanOfficer" | "Admin" | "SuperAdmin" | "Realtor" | "SettlementAgent" | "LoanProcessor" | "LoanOfficerAssistant" | "SystemAdmin";
7407
7454
  export type UserLoanRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
7408
7455
  export type UserLoanConsentTypeEnum = "Econsent" | "CreditAuthorization" | "Tcpa";
7409
7456
  export type UserLoanConsentLosSyncStatusEnum = "NotStarted" | "Failed" | "Success";
7457
+ export type UserMfaStateFactorEnum = "None" | "Sms" | "Email";
7410
7458
  export type UserTableSettingsTableKeyEnum = "Pipeline";
7411
7459
  export type UserTableViewTableKeyEnum = "Pipeline";
7412
7460
  export type GetCanvasParamsSurfaceEnum = "Home" | "LoanSummary" | "LoanDetails";
@@ -7481,7 +7529,7 @@ export declare class HttpClient<SecurityDataType = unknown> {
7481
7529
  }
7482
7530
  /**
7483
7531
  * @title The Big POS API
7484
- * @version v3.24.1
7532
+ * @version v3.25.0
7485
7533
  * @termsOfService https://www.thebigpos.com/terms-of-use/
7486
7534
  * @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
7487
7535
  */
@@ -11953,6 +12001,26 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11953
12001
  sortBy?: string;
11954
12002
  sortDirection?: string;
11955
12003
  }, params?: RequestParams) => Promise<AxiosResponse<LoanListPaginated, any, {}, any>>;
12004
+ /**
12005
+ * No description
12006
+ *
12007
+ * @tags Loans
12008
+ * @name SearchPipelineLoanOfficers
12009
+ * @summary Search the loan officers of the caller's pipeline
12010
+ * @request POST:/api/loans/loan-officers/search
12011
+ * @secure
12012
+ * @response `200` `PipelineLoanOfficerPaginated` OK
12013
+ * @response `400` `ProblemDetails` Bad Request
12014
+ * @response `403` `ProblemDetails` Forbidden
12015
+ */
12016
+ searchPipelineLoanOfficers: (data: SearchCriteria, query?: {
12017
+ /** @format int32 */
12018
+ pageSize?: number;
12019
+ /** @format int32 */
12020
+ pageNumber?: number;
12021
+ sortBy?: string;
12022
+ sortDirection?: string;
12023
+ }, params?: RequestParams) => Promise<AxiosResponse<PipelineLoanOfficerPaginated, any, {}, any>>;
11956
12024
  /**
11957
12025
  * No description
11958
12026
  *
@@ -14237,6 +14305,21 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14237
14305
  * @response `422` `UnprocessableEntity` Unprocessable Content
14238
14306
  */
14239
14307
  verifyUserMobilePhone: (data: UserMobilePhoneVerificationRequest, params?: RequestParams) => Promise<AxiosResponse<void, any, {}, any>>;
14308
+ /**
14309
+ * No description
14310
+ *
14311
+ * @tags Users
14312
+ * @name ClearUserMfa
14313
+ * @summary Clear MFA
14314
+ * @request PUT:/api/users/{id}/mfa
14315
+ * @secure
14316
+ * @response `200` `UserMfaState` OK
14317
+ * @response `400` `ProblemDetails` Bad Request
14318
+ * @response `403` `ProblemDetails` Forbidden
14319
+ * @response `404` `ProblemDetails` Not Found
14320
+ * @response `422` `UnprocessableEntity` Unprocessable Content
14321
+ */
14322
+ clearUserMfa: (id: string, data: UpdateMfaFactorRequest, params?: RequestParams) => Promise<AxiosResponse<UserMfaState, any, {}, any>>;
14240
14323
  /**
14241
14324
  * No description
14242
14325
  *
@@ -14473,6 +14556,33 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14473
14556
  * @response `204` `void` No Content
14474
14557
  */
14475
14558
  deleteMe: (data: UserAccountDeletionRequest, params?: RequestParams) => Promise<AxiosResponse<void, any, {}, any>>;
14559
+ /**
14560
+ * No description
14561
+ *
14562
+ * @tags UsersMeMfa
14563
+ * @name GetMyMfa
14564
+ * @summary Get MFA
14565
+ * @request GET:/api/users/me/mfa
14566
+ * @secure
14567
+ * @response `200` `UserMfaState` OK
14568
+ * @response `401` `ProblemDetails` Unauthorized
14569
+ */
14570
+ getMyMfa: (params?: RequestParams) => Promise<AxiosResponse<UserMfaState, any, {}, any>>;
14571
+ /**
14572
+ * No description
14573
+ *
14574
+ * @tags UsersMeMfa
14575
+ * @name UpdateMyMfa
14576
+ * @summary Update MFA
14577
+ * @request PUT:/api/users/me/mfa
14578
+ * @secure
14579
+ * @response `200` `UserMfaState` OK
14580
+ * @response `400` `ProblemDetails` Bad Request
14581
+ * @response `401` `ProblemDetails` Unauthorized
14582
+ * @response `403` `ProblemDetails` Forbidden
14583
+ * @response `422` `UnprocessableEntity` Unprocessable Content
14584
+ */
14585
+ updateMyMfa: (data: UpdateMfaFactorRequest, params?: RequestParams) => Promise<AxiosResponse<UserMfaState, any, {}, any>>;
14476
14586
  /**
14477
14587
  * No description
14478
14588
  *
package/dist/index.js CHANGED
@@ -101,7 +101,7 @@ export class HttpClient {
101
101
  }
102
102
  /**
103
103
  * @title The Big POS API
104
- * @version v3.24.1
104
+ * @version v3.25.0
105
105
  * @termsOfService https://www.thebigpos.com/terms-of-use/
106
106
  * @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
107
107
  */
@@ -4100,6 +4100,19 @@ export class Api extends HttpClient {
4100
4100
  * @response `200` `LoanListPaginated` OK
4101
4101
  */
4102
4102
  searchLoans: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
4103
+ /**
4104
+ * No description
4105
+ *
4106
+ * @tags Loans
4107
+ * @name SearchPipelineLoanOfficers
4108
+ * @summary Search the loan officers of the caller's pipeline
4109
+ * @request POST:/api/loans/loan-officers/search
4110
+ * @secure
4111
+ * @response `200` `PipelineLoanOfficerPaginated` OK
4112
+ * @response `400` `ProblemDetails` Bad Request
4113
+ * @response `403` `ProblemDetails` Forbidden
4114
+ */
4115
+ searchPipelineLoanOfficers: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/loan-officers/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
4103
4116
  /**
4104
4117
  * No description
4105
4118
  *
@@ -6182,6 +6195,21 @@ export class Api extends HttpClient {
6182
6195
  * @response `422` `UnprocessableEntity` Unprocessable Content
6183
6196
  */
6184
6197
  verifyUserMobilePhone: (data, params = {}) => this.request(Object.assign({ path: `/api/users/mobile-phone/verify-code`, method: "PUT", body: data, secure: true, type: "application/json" }, params)),
6198
+ /**
6199
+ * No description
6200
+ *
6201
+ * @tags Users
6202
+ * @name ClearUserMfa
6203
+ * @summary Clear MFA
6204
+ * @request PUT:/api/users/{id}/mfa
6205
+ * @secure
6206
+ * @response `200` `UserMfaState` OK
6207
+ * @response `400` `ProblemDetails` Bad Request
6208
+ * @response `403` `ProblemDetails` Forbidden
6209
+ * @response `404` `ProblemDetails` Not Found
6210
+ * @response `422` `UnprocessableEntity` Unprocessable Content
6211
+ */
6212
+ clearUserMfa: (id, data, params = {}) => this.request(Object.assign({ path: `/api/users/${id}/mfa`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
6185
6213
  /**
6186
6214
  * No description
6187
6215
  *
@@ -6418,6 +6446,33 @@ export class Api extends HttpClient {
6418
6446
  * @response `204` `void` No Content
6419
6447
  */
6420
6448
  deleteMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me/delete`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
6449
+ /**
6450
+ * No description
6451
+ *
6452
+ * @tags UsersMeMfa
6453
+ * @name GetMyMfa
6454
+ * @summary Get MFA
6455
+ * @request GET:/api/users/me/mfa
6456
+ * @secure
6457
+ * @response `200` `UserMfaState` OK
6458
+ * @response `401` `ProblemDetails` Unauthorized
6459
+ */
6460
+ getMyMfa: (params = {}) => this.request(Object.assign({ path: `/api/users/me/mfa`, method: "GET", secure: true, format: "json" }, params)),
6461
+ /**
6462
+ * No description
6463
+ *
6464
+ * @tags UsersMeMfa
6465
+ * @name UpdateMyMfa
6466
+ * @summary Update MFA
6467
+ * @request PUT:/api/users/me/mfa
6468
+ * @secure
6469
+ * @response `200` `UserMfaState` OK
6470
+ * @response `400` `ProblemDetails` Bad Request
6471
+ * @response `401` `ProblemDetails` Unauthorized
6472
+ * @response `403` `ProblemDetails` Forbidden
6473
+ * @response `422` `UnprocessableEntity` Unprocessable Content
6474
+ */
6475
+ updateMyMfa: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me/mfa`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
6421
6476
  /**
6422
6477
  * No description
6423
6478
  *