@matech/thebigpos-sdk 3.25.0-dev-8059 → 3.25.0-main-8104

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,7 +12,6 @@ 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";
16
15
  export type LosWebhookSigningKeySyncStatus = "Unknown" | "Synced";
17
16
  export type LosWebhookInventoryStatus = "Unknown" | "Healthy" | "Disabled" | "Missing";
18
17
  export type LosWebhookEntryStatus = "Registered" | "Disabled" | "Missing" | "Extra";
@@ -117,7 +116,6 @@ export type AiUrlDomainStatus = "Approved" | "Rejected";
117
116
  export type AiStructuredDataType = "Table" | "DocumentAnalysis" | "DocumentList" | "GeneratedDocument" | "CitedPassages" | "PendingLoanUpdate";
118
117
  export type AiPromptScope = "General" | "LoanSpecific";
119
118
  export type AiPromptCategory = "DocumentAnalysis" | "DataQuery" | "General" | "Action";
120
- export type AiPendingLoanUpdateOutcome = "Applied" | "Refused";
121
119
  export type AiGuardrailCategory = "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
122
120
  export type AiDisplayHint = "Table" | "SummaryCards" | "RankedList" | "Comparison" | "ExecutiveBrief";
123
121
  export type AiAuditEventType = "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";
@@ -274,7 +272,6 @@ export interface AdminAccessUser {
274
272
  title?: string | null;
275
273
  forcePasswordReset: boolean;
276
274
  mfaEnabled: boolean;
277
- mfaFactor: AdminAccessUserMfaFactorEnum;
278
275
  phoneVerified: boolean;
279
276
  /** @format int32 */
280
277
  loginsWithoutMFACount: number;
@@ -494,7 +491,6 @@ export interface AiChatMetadata {
494
491
  wasBlocked: boolean;
495
492
  blockedReason?: string | null;
496
493
  tokenBudget?: AiTokenBudgetStatus | null;
497
- pendingLoanUpdateDecision?: AiPendingLoanUpdateDecision | null;
498
494
  }
499
495
  export interface AiChatRequest {
500
496
  message: string;
@@ -555,9 +551,6 @@ export interface AiConversationAuditSummary {
555
551
  userName?: string | null;
556
552
  userRole?: string | null;
557
553
  name?: string | null;
558
- /** @format uuid */
559
- loanId?: string | null;
560
- loanNumber?: string | null;
561
554
  /** @format int32 */
562
555
  turnCount: number;
563
556
  /** @format int32 */
@@ -636,12 +629,6 @@ export interface AiGuardrail {
636
629
  updatedAt?: string | null;
637
630
  updatedBy?: AiUpdatedBy | null;
638
631
  }
639
- export interface AiPendingLoanUpdateDecision {
640
- /** @format uuid */
641
- pendingLoanUpdateId: string;
642
- outcome: AiPendingLoanUpdateDecisionOutcomeEnum;
643
- reason?: string | null;
644
- }
645
632
  export interface AiPrompt {
646
633
  /** @format uuid */
647
634
  id: string;
@@ -1094,7 +1081,6 @@ export interface BranchUser {
1094
1081
  title?: string | null;
1095
1082
  forcePasswordReset: boolean;
1096
1083
  mfaEnabled: boolean;
1097
- mfaFactor: BranchUserMfaFactorEnum;
1098
1084
  phoneVerified: boolean;
1099
1085
  /** @format int32 */
1100
1086
  loginsWithoutMFACount: number;
@@ -1484,9 +1470,6 @@ export interface ConditionComment {
1484
1470
  createdBy: string;
1485
1471
  createdByName: string;
1486
1472
  }
1487
- export interface ConfirmMfaEnrollmentRequest {
1488
- code: string;
1489
- }
1490
1473
  export interface ConsumerConnectRetry {
1491
1474
  correlationKey: string;
1492
1475
  email: string;
@@ -1850,7 +1833,6 @@ export interface DetailedUser {
1850
1833
  title?: string | null;
1851
1834
  forcePasswordReset: boolean;
1852
1835
  mfaEnabled: boolean;
1853
- mfaFactor: DetailedUserMfaFactorEnum;
1854
1836
  phoneVerified: boolean;
1855
1837
  /** @format int32 */
1856
1838
  loginsWithoutMFACount: number;
@@ -2614,7 +2596,6 @@ export interface ImpersonatedDetailedUser {
2614
2596
  title?: string | null;
2615
2597
  forcePasswordReset: boolean;
2616
2598
  mfaEnabled: boolean;
2617
- mfaFactor: ImpersonatedDetailedUserMfaFactorEnum;
2618
2599
  phoneVerified: boolean;
2619
2600
  /** @format int32 */
2620
2601
  loginsWithoutMFACount: number;
@@ -4899,21 +4880,6 @@ export interface MaterializeLoanRoleTasks {
4899
4880
  /** @format int32 */
4900
4881
  rowsAdded: number;
4901
4882
  }
4902
- export interface MfaEnrollment {
4903
- enrollmentId: string;
4904
- factor: MfaEnrollmentFactorEnum;
4905
- destination?: string | null;
4906
- /** @format int32 */
4907
- expiresInSeconds: number;
4908
- canResend: boolean;
4909
- }
4910
- export interface MfaMethod {
4911
- factor: MfaMethodFactorEnum;
4912
- available: boolean;
4913
- current: boolean;
4914
- destination?: string | null;
4915
- requiresConfirmation: boolean;
4916
- }
4917
4883
  export interface MilestoneConfiguration {
4918
4884
  /** @format date-time */
4919
4885
  createdAt: string;
@@ -5495,9 +5461,6 @@ export interface ReorderUserTableViewsRequest {
5495
5461
  export interface RequestImpersonationRequest {
5496
5462
  email: string;
5497
5463
  }
5498
- export interface ResendChallengeCodeRequest {
5499
- sessionId: string;
5500
- }
5501
5464
  export interface ResetPasswordRequest {
5502
5465
  token: string;
5503
5466
  password: string;
@@ -6391,9 +6354,6 @@ export interface StandardLoanField {
6391
6354
  isCustomized: boolean;
6392
6355
  isAiEnabled: boolean;
6393
6356
  }
6394
- export interface StartMfaEnrollmentRequest {
6395
- factor?: MfaFactor | null;
6396
- }
6397
6357
  export interface SupportedModel {
6398
6358
  modelId: string;
6399
6359
  displayName: string;
@@ -6770,10 +6730,6 @@ export interface UpdateMeRequest {
6770
6730
  /** @format uuid */
6771
6731
  preferredLoanOfficerId?: string | null;
6772
6732
  }
6773
- export interface UpdateMfaFactorRequest {
6774
- factor?: MfaFactor | null;
6775
- passwordConfirmation?: string | null;
6776
- }
6777
6733
  export interface UpdateMobilePhoneRequest {
6778
6734
  phone: string;
6779
6735
  }
@@ -6971,7 +6927,6 @@ export interface User {
6971
6927
  title?: string | null;
6972
6928
  forcePasswordReset: boolean;
6973
6929
  mfaEnabled: boolean;
6974
- mfaFactor: UserMfaFactorEnum;
6975
6930
  phoneVerified: boolean;
6976
6931
  /** @format int32 */
6977
6932
  loginsWithoutMFACount: number;
@@ -7142,12 +7097,6 @@ export interface UserLoanTaskUpdateRequest {
7142
7097
  /** @format uuid */
7143
7098
  loanDocumentFolderId?: string | null;
7144
7099
  }
7145
- export interface UserMfaState {
7146
- enabled: boolean;
7147
- factor: UserMfaStateFactorEnum;
7148
- required: boolean;
7149
- methods: MfaMethod[];
7150
- }
7151
7100
  export interface UserMobilePhoneVerificationRequest {
7152
7101
  code: string;
7153
7102
  }
@@ -7330,12 +7279,10 @@ type BaseCanvasWidgetConfigTypeMapping<Key, Type> = {
7330
7279
  type: Key;
7331
7280
  } & Type;
7332
7281
  export type AccountBillingRequestBillingTypeEnum = "ClosedLoan" | "LoanOfficer";
7333
- export type AdminAccessUserMfaFactorEnum = "None" | "Sms" | "Email";
7334
7282
  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";
7335
7283
  export type AiChatStructuredDataTypeEnum = "Table" | "DocumentAnalysis" | "DocumentList" | "GeneratedDocument" | "CitedPassages" | "PendingLoanUpdate";
7336
7284
  export type AiCitedDocumentSourceTypeEnum = "File" | "FreeText";
7337
7285
  export type AiGuardrailCategoryEnum = "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
7338
- export type AiPendingLoanUpdateDecisionOutcomeEnum = "Applied" | "Refused";
7339
7286
  export type AiUrlSourceCategoryEnum = "Regulatory" | "Guidelines" | "MarketData" | "Custom";
7340
7287
  export type AiUrlSourceScopeEnum = "FullDomain" | "SpecificPath";
7341
7288
  export type AiUrlSourceApprovalStatusEnum = "Pending" | "Approved" | "Rejected";
@@ -7345,7 +7292,6 @@ export type BorrowerApplicationApplicationStatusEnum = "Draft" | "Complete";
7345
7292
  export type BorrowerApplicationWarningCodeEnum = "UnknownKey" | "NotWritable" | "CustomFieldUnresolved" | "CustomFieldInactive" | "CustomFieldReadOnly" | "CustomFieldDuplicateDefinition" | "LoanOfficerUnresolved";
7346
7293
  export type BorrowerCountRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
7347
7294
  export type BorrowerIdentityRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
7348
- export type BranchUserMfaFactorEnum = "None" | "Sms" | "Email";
7349
7295
  export type CanvasFieldDescriptorSourceEnum = "Standard" | "Custom";
7350
7296
  export type CanvasFieldDescriptorDataTypeEnum = "Text" | "Number" | "Decimal" | "Boolean" | "Date" | "DateTime" | "SingleSelect" | "MultiSelect";
7351
7297
  export type CanvasFieldDescriptorFormatEnum = "Text" | "Number" | "Currency" | "Percent" | "DateShort" | "DateLong" | "YesNo";
@@ -7388,7 +7334,6 @@ export type CustomFieldPermissionAccessLevelEnum = "NoAccess" | "ReadOnly" | "Re
7388
7334
  export type CustomFieldPermissionRequestRoleEnum = "Borrower" | "LoanOfficer" | "Admin" | "SuperAdmin" | "Realtor" | "SettlementAgent" | "LoanProcessor" | "LoanOfficerAssistant" | "SystemAdmin";
7389
7335
  export type CustomFieldPermissionRequestAccessLevelEnum = "NoAccess" | "ReadOnly" | "ReadWrite";
7390
7336
  export type CustomFieldValueDataTypeEnum = "String" | "Number" | "Decimal" | "Boolean" | "Date" | "SingleSelect" | "MultiSelect";
7391
- export type DetailedUserMfaFactorEnum = "None" | "Sms" | "Email";
7392
7337
  export type DocumentsWidgetConfigTypeEnum = "Documents";
7393
7338
  export type DraftTypeEnum = "NewLoan" | "EditLoan";
7394
7339
  export type DraftContentTypeEnum = "NewLoan" | "EditLoan";
@@ -7402,7 +7347,6 @@ export type EncompassWebhookSubscriptionWebhookTypeEnum = "Legacy" | "LoanV3" |
7402
7347
  export type EsignStatusWidgetConfigTypeEnum = "EsignStatus";
7403
7348
  export type GenerateSystemPromptRequestCategoryEnum = "DocumentAnalysis" | "DataQuery" | "General" | "Action";
7404
7349
  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";
7405
- export type ImpersonatedDetailedUserMfaFactorEnum = "None" | "Sms" | "Email";
7406
7350
  export type IncompleteLoanSourceEnum = "V3" | "LegacyDraft";
7407
7351
  export type IncompleteLoanBorrowerApplicationStatusEnum = "Draft" | "Complete";
7408
7352
  export type InformationWidgetConfigLabelPositionEnum = "Left" | "Above";
@@ -7450,8 +7394,6 @@ export type LosWebhookEntryStatusEnum = "Registered" | "Disabled" | "Missing" |
7450
7394
  export type LosWebhookInventoryOverallStatusEnum = "Unknown" | "Healthy" | "Disabled" | "Missing";
7451
7395
  export type LosWebhookSigningKeySyncResultStatusEnum = "Unknown" | "Synced";
7452
7396
  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";
7453
- export type MfaEnrollmentFactorEnum = "None" | "Sms" | "Email";
7454
- export type MfaMethodFactorEnum = "None" | "Sms" | "Email";
7455
7397
  export type MonthlyPaymentWidgetConfigTypeEnum = "MonthlyPayment";
7456
7398
  export type MyPartnerTierEnum = "Lite" | "LitePlusPortal" | "Pending";
7457
7399
  export type MyTasksWidgetConfigTypeEnum = "MyTasks";
@@ -7477,14 +7419,12 @@ export type UnregisteredBorrowerRoleEnum = "Borrower" | "CoBorrower" | "NonBorro
7477
7419
  export type UpdateAiGuardrailRequestCategoryEnum = "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
7478
7420
  export type UpdateAiUrlSourceRequestCategoryEnum = "Regulatory" | "Guidelines" | "MarketData" | "Custom";
7479
7421
  export type UpdateAiUrlSourceRequestScopeEnum = "FullDomain" | "SpecificPath";
7480
- export type UserMfaFactorEnum = "None" | "Sms" | "Email";
7481
7422
  export type UserDraftRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
7482
7423
  export type UserGroupAccessScopeScopeTypeEnum = "User" | "Branch";
7483
7424
  export type UserGroupMemberUserSummaryRoleEnum = "Borrower" | "LoanOfficer" | "Admin" | "SuperAdmin" | "Realtor" | "SettlementAgent" | "LoanProcessor" | "LoanOfficerAssistant" | "SystemAdmin";
7484
7425
  export type UserLoanRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
7485
7426
  export type UserLoanConsentTypeEnum = "Econsent" | "CreditAuthorization" | "Tcpa";
7486
7427
  export type UserLoanConsentLosSyncStatusEnum = "NotStarted" | "Failed" | "Success";
7487
- export type UserMfaStateFactorEnum = "None" | "Sms" | "Email";
7488
7428
  export type UserTableSettingsTableKeyEnum = "Pipeline";
7489
7429
  export type UserTableViewTableKeyEnum = "Pipeline";
7490
7430
  export type GetCanvasParamsSurfaceEnum = "Home" | "LoanSummary" | "LoanDetails";
@@ -7947,11 +7887,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
7947
7887
  accountId?: string;
7948
7888
  }, params?: RequestParams) => Promise<AxiosResponse<AiAuditLog[], any, {}, any>>;
7949
7889
  /**
7950
- * @description startDate and endDate accept any ISO-8601 value. A value with no timezone designator (2026-09-01 or 2026-09-01T00:00:00) is read as UTC; a value with Z or an offset is used as the instant it names. A date-only value names the start of that day, so endDate=2026-09-01 returns nothing recorded on the 1st; to include that day send endDate=2026-09-02, or an explicit time such as 2026-09-01T23:59:59. searchText matches a case-insensitive substring of the originating user's name or email, the conversation name or the loan number, or an exact conversation, request or user id.
7890
+ * @description startDate and endDate accept any ISO-8601 value. A value with no timezone designator (2026-09-01 or 2026-09-01T00:00:00) is read as UTC; a value with Z or an offset is used as the instant it names. A date-only value names the start of that day, so endDate=2026-09-01 returns nothing recorded on the 1st; to include that day send endDate=2026-09-02, or an explicit time such as 2026-09-01T23:59:59.
7951
7891
  *
7952
7892
  * @tags AiAudit
7953
7893
  * @name GetAiAuditConversations
7954
- * @summary List conversations with their audit roll-up — origin user, loan, turns, status, tokens
7894
+ * @summary List conversations with their audit roll-up — origin user, turns, status, tokens
7955
7895
  * @request GET:/api/ai/audit-conversations
7956
7896
  * @secure
7957
7897
  * @response `200` `AiConversationAuditSummaryPaginated` OK
@@ -8031,20 +7971,6 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
8031
7971
  * @response `429` `ProblemDetails` Too Many Requests
8032
7972
  */
8033
7973
  aiChat: (data: AiChatRequest, params?: RequestParams) => Promise<AxiosResponse<AiChat, any, {}, any>>;
8034
- /**
8035
- * No description
8036
- *
8037
- * @tags AiChat
8038
- * @name RejectAiPendingLoanUpdate
8039
- * @summary Reject a pending AI loan change so a new one can be proposed
8040
- * @request POST:/api/ai/chats/pending-loan-updates/{pendingLoanUpdateId}/reject
8041
- * @secure
8042
- * @response `204` `void` No Content
8043
- * @response `401` `ProblemDetails` Unauthorized
8044
- * @response `404` `ProblemDetails` Not Found
8045
- * @response `429` `ProblemDetails` Too Many Requests
8046
- */
8047
- rejectAiPendingLoanUpdate: (pendingLoanUpdateId: string, params?: RequestParams) => Promise<AxiosResponse<void, any, {}, any>>;
8048
7974
  /**
8049
7975
  * No description
8050
7976
  *
@@ -8332,25 +8258,6 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
8332
8258
  /** @format uuid */
8333
8259
  subjectEntityId?: string;
8334
8260
  }, params?: RequestParams) => Promise<AxiosResponse<AiPromptRun[], any, {}, any>>;
8335
- /**
8336
- * No description
8337
- *
8338
- * @tags AiPromptRun
8339
- * @name RerunAiPromptRun
8340
- * @summary Re-run the AI verification bound to a loan task
8341
- * @request POST:/api/ai/prompt-runs/rerun
8342
- * @secure
8343
- * @response `202` `void` Accepted
8344
- * @response `400` `ProblemDetails` Bad Request
8345
- * @response `404` `ProblemDetails` Not Found
8346
- * @response `409` `ProblemDetails` Conflict
8347
- * @response `429` `ProblemDetails` Too Many Requests
8348
- * @response `503` `void` Service Unavailable
8349
- */
8350
- rerunAiPromptRun: (query?: {
8351
- /** @format uuid */
8352
- subjectEntityId?: string;
8353
- }, params?: RequestParams) => Promise<AxiosResponse<void, any, {}, any>>;
8354
8261
  /**
8355
8262
  * No description
8356
8263
  *
@@ -8753,8 +8660,6 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
8753
8660
  * @secure
8754
8661
  * @response `200` `UserDeactivated` OK
8755
8662
  * @response `422` `UnprocessableEntity` Unprocessable Content
8756
- * @response `429` `ProblemDetails` Too Many Requests
8757
- * @response `503` `void` Service Unavailable
8758
8663
  */
8759
8664
  getToken: (data: TokenRequest, params?: RequestParams) => Promise<AxiosResponse<UserDeactivated, any, {}, any>>;
8760
8665
  /**
@@ -8766,25 +8671,9 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
8766
8671
  * @request POST:/api/token/code
8767
8672
  * @secure
8768
8673
  * @response `200` `UserDeactivated` OK
8769
- * @response `400` `ProblemDetails` Bad Request
8770
8674
  * @response `422` `UnprocessableEntity` Unprocessable Content
8771
- * @response `429` `ProblemDetails` Too Many Requests
8772
8675
  */
8773
8676
  getTokenFromChallengeCode: (data: TokenChallengeRequest, params?: RequestParams) => Promise<AxiosResponse<UserDeactivated, any, {}, any>>;
8774
- /**
8775
- * No description
8776
- *
8777
- * @tags Authentication
8778
- * @name ResendChallengeCode
8779
- * @summary Resend Challenge Code
8780
- * @request POST:/api/token/code/resend
8781
- * @secure
8782
- * @response `204` `void` No Content
8783
- * @response `422` `UnprocessableEntity` Unprocessable Content
8784
- * @response `429` `ProblemDetails` Too Many Requests
8785
- * @response `503` `void` Service Unavailable
8786
- */
8787
- resendChallengeCode: (data: ResendChallengeCodeRequest, params?: RequestParams) => Promise<AxiosResponse<void, any, {}, any>>;
8788
8677
  /**
8789
8678
  * No description
8790
8679
  *
@@ -14386,21 +14275,6 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14386
14275
  * @response `422` `UnprocessableEntity` Unprocessable Content
14387
14276
  */
14388
14277
  verifyUserMobilePhone: (data: UserMobilePhoneVerificationRequest, params?: RequestParams) => Promise<AxiosResponse<void, any, {}, any>>;
14389
- /**
14390
- * No description
14391
- *
14392
- * @tags Users
14393
- * @name ClearUserMfa
14394
- * @summary Clear MFA
14395
- * @request PUT:/api/users/{id}/mfa
14396
- * @secure
14397
- * @response `200` `UserMfaState` OK
14398
- * @response `400` `ProblemDetails` Bad Request
14399
- * @response `403` `ProblemDetails` Forbidden
14400
- * @response `404` `ProblemDetails` Not Found
14401
- * @response `422` `UnprocessableEntity` Unprocessable Content
14402
- */
14403
- clearUserMfa: (id: string, data: UpdateMfaFactorRequest, params?: RequestParams) => Promise<AxiosResponse<UserMfaState, any, {}, any>>;
14404
14278
  /**
14405
14279
  * No description
14406
14280
  *
@@ -14637,81 +14511,6 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
14637
14511
  * @response `204` `void` No Content
14638
14512
  */
14639
14513
  deleteMe: (data: UserAccountDeletionRequest, params?: RequestParams) => Promise<AxiosResponse<void, any, {}, any>>;
14640
- /**
14641
- * No description
14642
- *
14643
- * @tags UsersMeMfa
14644
- * @name GetMyMfa
14645
- * @summary Get MFA
14646
- * @request GET:/api/users/me/mfa
14647
- * @secure
14648
- * @response `200` `UserMfaState` OK
14649
- * @response `401` `ProblemDetails` Unauthorized
14650
- */
14651
- getMyMfa: (params?: RequestParams) => Promise<AxiosResponse<UserMfaState, any, {}, any>>;
14652
- /**
14653
- * No description
14654
- *
14655
- * @tags UsersMeMfa
14656
- * @name UpdateMyMfa
14657
- * @summary Update MFA
14658
- * @request PUT:/api/users/me/mfa
14659
- * @secure
14660
- * @response `200` `UserMfaState` OK
14661
- * @response `400` `ProblemDetails` Bad Request
14662
- * @response `401` `ProblemDetails` Unauthorized
14663
- * @response `403` `ProblemDetails` Forbidden
14664
- * @response `422` `UnprocessableEntity` Unprocessable Content
14665
- */
14666
- updateMyMfa: (data: UpdateMfaFactorRequest, params?: RequestParams) => Promise<AxiosResponse<UserMfaState, any, {}, any>>;
14667
- /**
14668
- * No description
14669
- *
14670
- * @tags UsersMeMfa
14671
- * @name StartMyMfaEnrollment
14672
- * @summary Start MFA Enrollment
14673
- * @request POST:/api/users/me/mfa/enrollments
14674
- * @secure
14675
- * @response `200` `MfaEnrollment` OK
14676
- * @response `400` `ProblemDetails` Bad Request
14677
- * @response `401` `ProblemDetails` Unauthorized
14678
- * @response `403` `ProblemDetails` Forbidden
14679
- * @response `422` `UnprocessableEntity` Unprocessable Content
14680
- * @response `429` `ProblemDetails` Too Many Requests
14681
- * @response `503` `void` Service Unavailable
14682
- */
14683
- startMyMfaEnrollment: (data: StartMfaEnrollmentRequest, params?: RequestParams) => Promise<AxiosResponse<MfaEnrollment, any, {}, any>>;
14684
- /**
14685
- * No description
14686
- *
14687
- * @tags UsersMeMfa
14688
- * @name ConfirmMyMfaEnrollment
14689
- * @summary Confirm MFA Enrollment
14690
- * @request POST:/api/users/me/mfa/enrollments/{enrollmentId}/confirm
14691
- * @secure
14692
- * @response `200` `UserMfaState` OK
14693
- * @response `400` `ProblemDetails` Bad Request
14694
- * @response `401` `ProblemDetails` Unauthorized
14695
- * @response `403` `ProblemDetails` Forbidden
14696
- * @response `422` `UnprocessableEntity` Unprocessable Content
14697
- * @response `429` `ProblemDetails` Too Many Requests
14698
- */
14699
- confirmMyMfaEnrollment: (enrollmentId: string, data: ConfirmMfaEnrollmentRequest, params?: RequestParams) => Promise<AxiosResponse<UserMfaState, any, {}, any>>;
14700
- /**
14701
- * No description
14702
- *
14703
- * @tags UsersMeMfa
14704
- * @name ResendMyMfaEnrollmentCode
14705
- * @summary Resend MFA Enrollment Code
14706
- * @request POST:/api/users/me/mfa/enrollments/{enrollmentId}/resend
14707
- * @secure
14708
- * @response `204` `void` No Content
14709
- * @response `401` `ProblemDetails` Unauthorized
14710
- * @response `403` `ProblemDetails` Forbidden
14711
- * @response `429` `ProblemDetails` Too Many Requests
14712
- * @response `503` `void` Service Unavailable
14713
- */
14714
- resendMyMfaEnrollmentCode: (enrollmentId: string, params?: RequestParams) => Promise<AxiosResponse<void, any, {}, any>>;
14715
14514
  /**
14716
14515
  * No description
14717
14516
  *
package/dist/index.js CHANGED
@@ -452,11 +452,11 @@ export class Api extends HttpClient {
452
452
  */
453
453
  getAiRequestLifecycle: (requestId, query, params = {}) => this.request(Object.assign({ path: `/api/ai/audit-logs/request/${requestId}`, method: "GET", query: query, secure: true, format: "json" }, params)),
454
454
  /**
455
- * @description startDate and endDate accept any ISO-8601 value. A value with no timezone designator (2026-09-01 or 2026-09-01T00:00:00) is read as UTC; a value with Z or an offset is used as the instant it names. A date-only value names the start of that day, so endDate=2026-09-01 returns nothing recorded on the 1st; to include that day send endDate=2026-09-02, or an explicit time such as 2026-09-01T23:59:59. searchText matches a case-insensitive substring of the originating user's name or email, the conversation name or the loan number, or an exact conversation, request or user id.
455
+ * @description startDate and endDate accept any ISO-8601 value. A value with no timezone designator (2026-09-01 or 2026-09-01T00:00:00) is read as UTC; a value with Z or an offset is used as the instant it names. A date-only value names the start of that day, so endDate=2026-09-01 returns nothing recorded on the 1st; to include that day send endDate=2026-09-02, or an explicit time such as 2026-09-01T23:59:59.
456
456
  *
457
457
  * @tags AiAudit
458
458
  * @name GetAiAuditConversations
459
- * @summary List conversations with their audit roll-up — origin user, loan, turns, status, tokens
459
+ * @summary List conversations with their audit roll-up — origin user, turns, status, tokens
460
460
  * @request GET:/api/ai/audit-conversations
461
461
  * @secure
462
462
  * @response `200` `AiConversationAuditSummaryPaginated` OK
@@ -498,20 +498,6 @@ export class Api extends HttpClient {
498
498
  * @response `429` `ProblemDetails` Too Many Requests
499
499
  */
500
500
  aiChat: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/chats`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
501
- /**
502
- * No description
503
- *
504
- * @tags AiChat
505
- * @name RejectAiPendingLoanUpdate
506
- * @summary Reject a pending AI loan change so a new one can be proposed
507
- * @request POST:/api/ai/chats/pending-loan-updates/{pendingLoanUpdateId}/reject
508
- * @secure
509
- * @response `204` `void` No Content
510
- * @response `401` `ProblemDetails` Unauthorized
511
- * @response `404` `ProblemDetails` Not Found
512
- * @response `429` `ProblemDetails` Too Many Requests
513
- */
514
- rejectAiPendingLoanUpdate: (pendingLoanUpdateId, params = {}) => this.request(Object.assign({ path: `/api/ai/chats/pending-loan-updates/${pendingLoanUpdateId}/reject`, method: "POST", secure: true }, params)),
515
501
  /**
516
502
  * No description
517
503
  *
@@ -758,22 +744,6 @@ export class Api extends HttpClient {
758
744
  * @response `400` `ProblemDetails` Bad Request
759
745
  */
760
746
  getAiPromptRuns: (query, params = {}) => this.request(Object.assign({ path: `/api/ai/prompt-runs`, method: "GET", query: query, secure: true, format: "json" }, params)),
761
- /**
762
- * No description
763
- *
764
- * @tags AiPromptRun
765
- * @name RerunAiPromptRun
766
- * @summary Re-run the AI verification bound to a loan task
767
- * @request POST:/api/ai/prompt-runs/rerun
768
- * @secure
769
- * @response `202` `void` Accepted
770
- * @response `400` `ProblemDetails` Bad Request
771
- * @response `404` `ProblemDetails` Not Found
772
- * @response `409` `ProblemDetails` Conflict
773
- * @response `429` `ProblemDetails` Too Many Requests
774
- * @response `503` `void` Service Unavailable
775
- */
776
- rerunAiPromptRun: (query, params = {}) => this.request(Object.assign({ path: `/api/ai/prompt-runs/rerun`, method: "POST", query: query, secure: true }, params)),
777
747
  /**
778
748
  * No description
779
749
  *
@@ -1132,8 +1102,6 @@ export class Api extends HttpClient {
1132
1102
  * @secure
1133
1103
  * @response `200` `UserDeactivated` OK
1134
1104
  * @response `422` `UnprocessableEntity` Unprocessable Content
1135
- * @response `429` `ProblemDetails` Too Many Requests
1136
- * @response `503` `void` Service Unavailable
1137
1105
  */
1138
1106
  getToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1139
1107
  /**
@@ -1145,25 +1113,9 @@ export class Api extends HttpClient {
1145
1113
  * @request POST:/api/token/code
1146
1114
  * @secure
1147
1115
  * @response `200` `UserDeactivated` OK
1148
- * @response `400` `ProblemDetails` Bad Request
1149
1116
  * @response `422` `UnprocessableEntity` Unprocessable Content
1150
- * @response `429` `ProblemDetails` Too Many Requests
1151
1117
  */
1152
1118
  getTokenFromChallengeCode: (data, params = {}) => this.request(Object.assign({ path: `/api/token/code`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1153
- /**
1154
- * No description
1155
- *
1156
- * @tags Authentication
1157
- * @name ResendChallengeCode
1158
- * @summary Resend Challenge Code
1159
- * @request POST:/api/token/code/resend
1160
- * @secure
1161
- * @response `204` `void` No Content
1162
- * @response `422` `UnprocessableEntity` Unprocessable Content
1163
- * @response `429` `ProblemDetails` Too Many Requests
1164
- * @response `503` `void` Service Unavailable
1165
- */
1166
- resendChallengeCode: (data, params = {}) => this.request(Object.assign({ path: `/api/token/code/resend`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
1167
1119
  /**
1168
1120
  * No description
1169
1121
  *
@@ -6243,21 +6195,6 @@ export class Api extends HttpClient {
6243
6195
  * @response `422` `UnprocessableEntity` Unprocessable Content
6244
6196
  */
6245
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)),
6246
- /**
6247
- * No description
6248
- *
6249
- * @tags Users
6250
- * @name ClearUserMfa
6251
- * @summary Clear MFA
6252
- * @request PUT:/api/users/{id}/mfa
6253
- * @secure
6254
- * @response `200` `UserMfaState` OK
6255
- * @response `400` `ProblemDetails` Bad Request
6256
- * @response `403` `ProblemDetails` Forbidden
6257
- * @response `404` `ProblemDetails` Not Found
6258
- * @response `422` `UnprocessableEntity` Unprocessable Content
6259
- */
6260
- 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)),
6261
6198
  /**
6262
6199
  * No description
6263
6200
  *
@@ -6494,81 +6431,6 @@ export class Api extends HttpClient {
6494
6431
  * @response `204` `void` No Content
6495
6432
  */
6496
6433
  deleteMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me/delete`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
6497
- /**
6498
- * No description
6499
- *
6500
- * @tags UsersMeMfa
6501
- * @name GetMyMfa
6502
- * @summary Get MFA
6503
- * @request GET:/api/users/me/mfa
6504
- * @secure
6505
- * @response `200` `UserMfaState` OK
6506
- * @response `401` `ProblemDetails` Unauthorized
6507
- */
6508
- getMyMfa: (params = {}) => this.request(Object.assign({ path: `/api/users/me/mfa`, method: "GET", secure: true, format: "json" }, params)),
6509
- /**
6510
- * No description
6511
- *
6512
- * @tags UsersMeMfa
6513
- * @name UpdateMyMfa
6514
- * @summary Update MFA
6515
- * @request PUT:/api/users/me/mfa
6516
- * @secure
6517
- * @response `200` `UserMfaState` OK
6518
- * @response `400` `ProblemDetails` Bad Request
6519
- * @response `401` `ProblemDetails` Unauthorized
6520
- * @response `403` `ProblemDetails` Forbidden
6521
- * @response `422` `UnprocessableEntity` Unprocessable Content
6522
- */
6523
- updateMyMfa: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me/mfa`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
6524
- /**
6525
- * No description
6526
- *
6527
- * @tags UsersMeMfa
6528
- * @name StartMyMfaEnrollment
6529
- * @summary Start MFA Enrollment
6530
- * @request POST:/api/users/me/mfa/enrollments
6531
- * @secure
6532
- * @response `200` `MfaEnrollment` OK
6533
- * @response `400` `ProblemDetails` Bad Request
6534
- * @response `401` `ProblemDetails` Unauthorized
6535
- * @response `403` `ProblemDetails` Forbidden
6536
- * @response `422` `UnprocessableEntity` Unprocessable Content
6537
- * @response `429` `ProblemDetails` Too Many Requests
6538
- * @response `503` `void` Service Unavailable
6539
- */
6540
- 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)),
6541
- /**
6542
- * No description
6543
- *
6544
- * @tags UsersMeMfa
6545
- * @name ConfirmMyMfaEnrollment
6546
- * @summary Confirm MFA Enrollment
6547
- * @request POST:/api/users/me/mfa/enrollments/{enrollmentId}/confirm
6548
- * @secure
6549
- * @response `200` `UserMfaState` OK
6550
- * @response `400` `ProblemDetails` Bad Request
6551
- * @response `401` `ProblemDetails` Unauthorized
6552
- * @response `403` `ProblemDetails` Forbidden
6553
- * @response `422` `UnprocessableEntity` Unprocessable Content
6554
- * @response `429` `ProblemDetails` Too Many Requests
6555
- */
6556
- 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)),
6557
- /**
6558
- * No description
6559
- *
6560
- * @tags UsersMeMfa
6561
- * @name ResendMyMfaEnrollmentCode
6562
- * @summary Resend MFA Enrollment Code
6563
- * @request POST:/api/users/me/mfa/enrollments/{enrollmentId}/resend
6564
- * @secure
6565
- * @response `204` `void` No Content
6566
- * @response `401` `ProblemDetails` Unauthorized
6567
- * @response `403` `ProblemDetails` Forbidden
6568
- * @response `429` `ProblemDetails` Too Many Requests
6569
- * @response `503` `void` Service Unavailable
6570
- */
6571
- resendMyMfaEnrollmentCode: (enrollmentId, params = {}) => this.request(Object.assign({ path: `/api/users/me/mfa/enrollments/${enrollmentId}/resend`, method: "POST", secure: true }, params)),
6572
6434
  /**
6573
6435
  * No description
6574
6436
  *