@matech/thebigpos-sdk 3.25.0-dev-7880 → 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.cjs +0 -122
- package/dist/index.cjs.map +2 -2
- package/dist/index.d.ts +0 -179
- package/dist/index.js +0 -122
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/index.ts +2 -294
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;
|
|
@@ -633,12 +629,6 @@ export interface AiGuardrail {
|
|
|
633
629
|
updatedAt?: string | null;
|
|
634
630
|
updatedBy?: AiUpdatedBy | null;
|
|
635
631
|
}
|
|
636
|
-
export interface AiPendingLoanUpdateDecision {
|
|
637
|
-
/** @format uuid */
|
|
638
|
-
pendingLoanUpdateId: string;
|
|
639
|
-
outcome: AiPendingLoanUpdateDecisionOutcomeEnum;
|
|
640
|
-
reason?: string | null;
|
|
641
|
-
}
|
|
642
632
|
export interface AiPrompt {
|
|
643
633
|
/** @format uuid */
|
|
644
634
|
id: string;
|
|
@@ -1091,7 +1081,6 @@ export interface BranchUser {
|
|
|
1091
1081
|
title?: string | null;
|
|
1092
1082
|
forcePasswordReset: boolean;
|
|
1093
1083
|
mfaEnabled: boolean;
|
|
1094
|
-
mfaFactor: BranchUserMfaFactorEnum;
|
|
1095
1084
|
phoneVerified: boolean;
|
|
1096
1085
|
/** @format int32 */
|
|
1097
1086
|
loginsWithoutMFACount: number;
|
|
@@ -1481,9 +1470,6 @@ export interface ConditionComment {
|
|
|
1481
1470
|
createdBy: string;
|
|
1482
1471
|
createdByName: string;
|
|
1483
1472
|
}
|
|
1484
|
-
export interface ConfirmMfaEnrollmentRequest {
|
|
1485
|
-
code: string;
|
|
1486
|
-
}
|
|
1487
1473
|
export interface ConsumerConnectRetry {
|
|
1488
1474
|
correlationKey: string;
|
|
1489
1475
|
email: string;
|
|
@@ -1847,7 +1833,6 @@ export interface DetailedUser {
|
|
|
1847
1833
|
title?: string | null;
|
|
1848
1834
|
forcePasswordReset: boolean;
|
|
1849
1835
|
mfaEnabled: boolean;
|
|
1850
|
-
mfaFactor: DetailedUserMfaFactorEnum;
|
|
1851
1836
|
phoneVerified: boolean;
|
|
1852
1837
|
/** @format int32 */
|
|
1853
1838
|
loginsWithoutMFACount: number;
|
|
@@ -2611,7 +2596,6 @@ export interface ImpersonatedDetailedUser {
|
|
|
2611
2596
|
title?: string | null;
|
|
2612
2597
|
forcePasswordReset: boolean;
|
|
2613
2598
|
mfaEnabled: boolean;
|
|
2614
|
-
mfaFactor: ImpersonatedDetailedUserMfaFactorEnum;
|
|
2615
2599
|
phoneVerified: boolean;
|
|
2616
2600
|
/** @format int32 */
|
|
2617
2601
|
loginsWithoutMFACount: number;
|
|
@@ -4896,21 +4880,6 @@ export interface MaterializeLoanRoleTasks {
|
|
|
4896
4880
|
/** @format int32 */
|
|
4897
4881
|
rowsAdded: number;
|
|
4898
4882
|
}
|
|
4899
|
-
export interface MfaEnrollment {
|
|
4900
|
-
enrollmentId: string;
|
|
4901
|
-
factor: MfaEnrollmentFactorEnum;
|
|
4902
|
-
destination?: string | null;
|
|
4903
|
-
/** @format int32 */
|
|
4904
|
-
expiresInSeconds: number;
|
|
4905
|
-
canResend: boolean;
|
|
4906
|
-
}
|
|
4907
|
-
export interface MfaMethod {
|
|
4908
|
-
factor: MfaMethodFactorEnum;
|
|
4909
|
-
available: boolean;
|
|
4910
|
-
current: boolean;
|
|
4911
|
-
destination?: string | null;
|
|
4912
|
-
requiresConfirmation: boolean;
|
|
4913
|
-
}
|
|
4914
4883
|
export interface MilestoneConfiguration {
|
|
4915
4884
|
/** @format date-time */
|
|
4916
4885
|
createdAt: string;
|
|
@@ -5492,9 +5461,6 @@ export interface ReorderUserTableViewsRequest {
|
|
|
5492
5461
|
export interface RequestImpersonationRequest {
|
|
5493
5462
|
email: string;
|
|
5494
5463
|
}
|
|
5495
|
-
export interface ResendChallengeCodeRequest {
|
|
5496
|
-
sessionId: string;
|
|
5497
|
-
}
|
|
5498
5464
|
export interface ResetPasswordRequest {
|
|
5499
5465
|
token: string;
|
|
5500
5466
|
password: string;
|
|
@@ -6388,9 +6354,6 @@ export interface StandardLoanField {
|
|
|
6388
6354
|
isCustomized: boolean;
|
|
6389
6355
|
isAiEnabled: boolean;
|
|
6390
6356
|
}
|
|
6391
|
-
export interface StartMfaEnrollmentRequest {
|
|
6392
|
-
factor?: MfaFactor | null;
|
|
6393
|
-
}
|
|
6394
6357
|
export interface SupportedModel {
|
|
6395
6358
|
modelId: string;
|
|
6396
6359
|
displayName: string;
|
|
@@ -6767,10 +6730,6 @@ export interface UpdateMeRequest {
|
|
|
6767
6730
|
/** @format uuid */
|
|
6768
6731
|
preferredLoanOfficerId?: string | null;
|
|
6769
6732
|
}
|
|
6770
|
-
export interface UpdateMfaFactorRequest {
|
|
6771
|
-
factor?: MfaFactor | null;
|
|
6772
|
-
passwordConfirmation?: string | null;
|
|
6773
|
-
}
|
|
6774
6733
|
export interface UpdateMobilePhoneRequest {
|
|
6775
6734
|
phone: string;
|
|
6776
6735
|
}
|
|
@@ -6968,7 +6927,6 @@ export interface User {
|
|
|
6968
6927
|
title?: string | null;
|
|
6969
6928
|
forcePasswordReset: boolean;
|
|
6970
6929
|
mfaEnabled: boolean;
|
|
6971
|
-
mfaFactor: UserMfaFactorEnum;
|
|
6972
6930
|
phoneVerified: boolean;
|
|
6973
6931
|
/** @format int32 */
|
|
6974
6932
|
loginsWithoutMFACount: number;
|
|
@@ -7139,12 +7097,6 @@ export interface UserLoanTaskUpdateRequest {
|
|
|
7139
7097
|
/** @format uuid */
|
|
7140
7098
|
loanDocumentFolderId?: string | null;
|
|
7141
7099
|
}
|
|
7142
|
-
export interface UserMfaState {
|
|
7143
|
-
enabled: boolean;
|
|
7144
|
-
factor: UserMfaStateFactorEnum;
|
|
7145
|
-
required: boolean;
|
|
7146
|
-
methods: MfaMethod[];
|
|
7147
|
-
}
|
|
7148
7100
|
export interface UserMobilePhoneVerificationRequest {
|
|
7149
7101
|
code: string;
|
|
7150
7102
|
}
|
|
@@ -7327,12 +7279,10 @@ type BaseCanvasWidgetConfigTypeMapping<Key, Type> = {
|
|
|
7327
7279
|
type: Key;
|
|
7328
7280
|
} & Type;
|
|
7329
7281
|
export type AccountBillingRequestBillingTypeEnum = "ClosedLoan" | "LoanOfficer";
|
|
7330
|
-
export type AdminAccessUserMfaFactorEnum = "None" | "Sms" | "Email";
|
|
7331
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";
|
|
7332
7283
|
export type AiChatStructuredDataTypeEnum = "Table" | "DocumentAnalysis" | "DocumentList" | "GeneratedDocument" | "CitedPassages" | "PendingLoanUpdate";
|
|
7333
7284
|
export type AiCitedDocumentSourceTypeEnum = "File" | "FreeText";
|
|
7334
7285
|
export type AiGuardrailCategoryEnum = "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
|
|
7335
|
-
export type AiPendingLoanUpdateDecisionOutcomeEnum = "Applied" | "Refused";
|
|
7336
7286
|
export type AiUrlSourceCategoryEnum = "Regulatory" | "Guidelines" | "MarketData" | "Custom";
|
|
7337
7287
|
export type AiUrlSourceScopeEnum = "FullDomain" | "SpecificPath";
|
|
7338
7288
|
export type AiUrlSourceApprovalStatusEnum = "Pending" | "Approved" | "Rejected";
|
|
@@ -7342,7 +7292,6 @@ export type BorrowerApplicationApplicationStatusEnum = "Draft" | "Complete";
|
|
|
7342
7292
|
export type BorrowerApplicationWarningCodeEnum = "UnknownKey" | "NotWritable" | "CustomFieldUnresolved" | "CustomFieldInactive" | "CustomFieldReadOnly" | "CustomFieldDuplicateDefinition" | "LoanOfficerUnresolved";
|
|
7343
7293
|
export type BorrowerCountRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
|
|
7344
7294
|
export type BorrowerIdentityRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
|
|
7345
|
-
export type BranchUserMfaFactorEnum = "None" | "Sms" | "Email";
|
|
7346
7295
|
export type CanvasFieldDescriptorSourceEnum = "Standard" | "Custom";
|
|
7347
7296
|
export type CanvasFieldDescriptorDataTypeEnum = "Text" | "Number" | "Decimal" | "Boolean" | "Date" | "DateTime" | "SingleSelect" | "MultiSelect";
|
|
7348
7297
|
export type CanvasFieldDescriptorFormatEnum = "Text" | "Number" | "Currency" | "Percent" | "DateShort" | "DateLong" | "YesNo";
|
|
@@ -7385,7 +7334,6 @@ export type CustomFieldPermissionAccessLevelEnum = "NoAccess" | "ReadOnly" | "Re
|
|
|
7385
7334
|
export type CustomFieldPermissionRequestRoleEnum = "Borrower" | "LoanOfficer" | "Admin" | "SuperAdmin" | "Realtor" | "SettlementAgent" | "LoanProcessor" | "LoanOfficerAssistant" | "SystemAdmin";
|
|
7386
7335
|
export type CustomFieldPermissionRequestAccessLevelEnum = "NoAccess" | "ReadOnly" | "ReadWrite";
|
|
7387
7336
|
export type CustomFieldValueDataTypeEnum = "String" | "Number" | "Decimal" | "Boolean" | "Date" | "SingleSelect" | "MultiSelect";
|
|
7388
|
-
export type DetailedUserMfaFactorEnum = "None" | "Sms" | "Email";
|
|
7389
7337
|
export type DocumentsWidgetConfigTypeEnum = "Documents";
|
|
7390
7338
|
export type DraftTypeEnum = "NewLoan" | "EditLoan";
|
|
7391
7339
|
export type DraftContentTypeEnum = "NewLoan" | "EditLoan";
|
|
@@ -7399,7 +7347,6 @@ export type EncompassWebhookSubscriptionWebhookTypeEnum = "Legacy" | "LoanV3" |
|
|
|
7399
7347
|
export type EsignStatusWidgetConfigTypeEnum = "EsignStatus";
|
|
7400
7348
|
export type GenerateSystemPromptRequestCategoryEnum = "DocumentAnalysis" | "DataQuery" | "General" | "Action";
|
|
7401
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";
|
|
7402
|
-
export type ImpersonatedDetailedUserMfaFactorEnum = "None" | "Sms" | "Email";
|
|
7403
7350
|
export type IncompleteLoanSourceEnum = "V3" | "LegacyDraft";
|
|
7404
7351
|
export type IncompleteLoanBorrowerApplicationStatusEnum = "Draft" | "Complete";
|
|
7405
7352
|
export type InformationWidgetConfigLabelPositionEnum = "Left" | "Above";
|
|
@@ -7447,8 +7394,6 @@ export type LosWebhookEntryStatusEnum = "Registered" | "Disabled" | "Missing" |
|
|
|
7447
7394
|
export type LosWebhookInventoryOverallStatusEnum = "Unknown" | "Healthy" | "Disabled" | "Missing";
|
|
7448
7395
|
export type LosWebhookSigningKeySyncResultStatusEnum = "Unknown" | "Synced";
|
|
7449
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";
|
|
7450
|
-
export type MfaEnrollmentFactorEnum = "None" | "Sms" | "Email";
|
|
7451
|
-
export type MfaMethodFactorEnum = "None" | "Sms" | "Email";
|
|
7452
7397
|
export type MonthlyPaymentWidgetConfigTypeEnum = "MonthlyPayment";
|
|
7453
7398
|
export type MyPartnerTierEnum = "Lite" | "LitePlusPortal" | "Pending";
|
|
7454
7399
|
export type MyTasksWidgetConfigTypeEnum = "MyTasks";
|
|
@@ -7474,14 +7419,12 @@ export type UnregisteredBorrowerRoleEnum = "Borrower" | "CoBorrower" | "NonBorro
|
|
|
7474
7419
|
export type UpdateAiGuardrailRequestCategoryEnum = "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
|
|
7475
7420
|
export type UpdateAiUrlSourceRequestCategoryEnum = "Regulatory" | "Guidelines" | "MarketData" | "Custom";
|
|
7476
7421
|
export type UpdateAiUrlSourceRequestScopeEnum = "FullDomain" | "SpecificPath";
|
|
7477
|
-
export type UserMfaFactorEnum = "None" | "Sms" | "Email";
|
|
7478
7422
|
export type UserDraftRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
|
|
7479
7423
|
export type UserGroupAccessScopeScopeTypeEnum = "User" | "Branch";
|
|
7480
7424
|
export type UserGroupMemberUserSummaryRoleEnum = "Borrower" | "LoanOfficer" | "Admin" | "SuperAdmin" | "Realtor" | "SettlementAgent" | "LoanProcessor" | "LoanOfficerAssistant" | "SystemAdmin";
|
|
7481
7425
|
export type UserLoanRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
|
|
7482
7426
|
export type UserLoanConsentTypeEnum = "Econsent" | "CreditAuthorization" | "Tcpa";
|
|
7483
7427
|
export type UserLoanConsentLosSyncStatusEnum = "NotStarted" | "Failed" | "Success";
|
|
7484
|
-
export type UserMfaStateFactorEnum = "None" | "Sms" | "Email";
|
|
7485
7428
|
export type UserTableSettingsTableKeyEnum = "Pipeline";
|
|
7486
7429
|
export type UserTableViewTableKeyEnum = "Pipeline";
|
|
7487
7430
|
export type GetCanvasParamsSurfaceEnum = "Home" | "LoanSummary" | "LoanDetails";
|
|
@@ -8028,20 +7971,6 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8028
7971
|
* @response `429` `ProblemDetails` Too Many Requests
|
|
8029
7972
|
*/
|
|
8030
7973
|
aiChat: (data: AiChatRequest, params?: RequestParams) => Promise<AxiosResponse<AiChat, any, {}, any>>;
|
|
8031
|
-
/**
|
|
8032
|
-
* No description
|
|
8033
|
-
*
|
|
8034
|
-
* @tags AiChat
|
|
8035
|
-
* @name RejectAiPendingLoanUpdate
|
|
8036
|
-
* @summary Reject a pending AI loan change so a new one can be proposed
|
|
8037
|
-
* @request POST:/api/ai/chats/pending-loan-updates/{pendingLoanUpdateId}/reject
|
|
8038
|
-
* @secure
|
|
8039
|
-
* @response `204` `void` No Content
|
|
8040
|
-
* @response `401` `ProblemDetails` Unauthorized
|
|
8041
|
-
* @response `404` `ProblemDetails` Not Found
|
|
8042
|
-
* @response `429` `ProblemDetails` Too Many Requests
|
|
8043
|
-
*/
|
|
8044
|
-
rejectAiPendingLoanUpdate: (pendingLoanUpdateId: string, params?: RequestParams) => Promise<AxiosResponse<void, any, {}, any>>;
|
|
8045
7974
|
/**
|
|
8046
7975
|
* No description
|
|
8047
7976
|
*
|
|
@@ -8731,8 +8660,6 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8731
8660
|
* @secure
|
|
8732
8661
|
* @response `200` `UserDeactivated` OK
|
|
8733
8662
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
8734
|
-
* @response `429` `ProblemDetails` Too Many Requests
|
|
8735
|
-
* @response `503` `void` Service Unavailable
|
|
8736
8663
|
*/
|
|
8737
8664
|
getToken: (data: TokenRequest, params?: RequestParams) => Promise<AxiosResponse<UserDeactivated, any, {}, any>>;
|
|
8738
8665
|
/**
|
|
@@ -8744,25 +8671,9 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8744
8671
|
* @request POST:/api/token/code
|
|
8745
8672
|
* @secure
|
|
8746
8673
|
* @response `200` `UserDeactivated` OK
|
|
8747
|
-
* @response `400` `ProblemDetails` Bad Request
|
|
8748
8674
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
8749
|
-
* @response `429` `ProblemDetails` Too Many Requests
|
|
8750
8675
|
*/
|
|
8751
8676
|
getTokenFromChallengeCode: (data: TokenChallengeRequest, params?: RequestParams) => Promise<AxiosResponse<UserDeactivated, any, {}, any>>;
|
|
8752
|
-
/**
|
|
8753
|
-
* No description
|
|
8754
|
-
*
|
|
8755
|
-
* @tags Authentication
|
|
8756
|
-
* @name ResendChallengeCode
|
|
8757
|
-
* @summary Resend Challenge Code
|
|
8758
|
-
* @request POST:/api/token/code/resend
|
|
8759
|
-
* @secure
|
|
8760
|
-
* @response `204` `void` No Content
|
|
8761
|
-
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
8762
|
-
* @response `429` `ProblemDetails` Too Many Requests
|
|
8763
|
-
* @response `503` `void` Service Unavailable
|
|
8764
|
-
*/
|
|
8765
|
-
resendChallengeCode: (data: ResendChallengeCodeRequest, params?: RequestParams) => Promise<AxiosResponse<void, any, {}, any>>;
|
|
8766
8677
|
/**
|
|
8767
8678
|
* No description
|
|
8768
8679
|
*
|
|
@@ -14364,21 +14275,6 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
14364
14275
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
14365
14276
|
*/
|
|
14366
14277
|
verifyUserMobilePhone: (data: UserMobilePhoneVerificationRequest, params?: RequestParams) => Promise<AxiosResponse<void, any, {}, any>>;
|
|
14367
|
-
/**
|
|
14368
|
-
* No description
|
|
14369
|
-
*
|
|
14370
|
-
* @tags Users
|
|
14371
|
-
* @name ClearUserMfa
|
|
14372
|
-
* @summary Clear MFA
|
|
14373
|
-
* @request PUT:/api/users/{id}/mfa
|
|
14374
|
-
* @secure
|
|
14375
|
-
* @response `200` `UserMfaState` OK
|
|
14376
|
-
* @response `400` `ProblemDetails` Bad Request
|
|
14377
|
-
* @response `403` `ProblemDetails` Forbidden
|
|
14378
|
-
* @response `404` `ProblemDetails` Not Found
|
|
14379
|
-
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
14380
|
-
*/
|
|
14381
|
-
clearUserMfa: (id: string, data: UpdateMfaFactorRequest, params?: RequestParams) => Promise<AxiosResponse<UserMfaState, any, {}, any>>;
|
|
14382
14278
|
/**
|
|
14383
14279
|
* No description
|
|
14384
14280
|
*
|
|
@@ -14615,81 +14511,6 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
14615
14511
|
* @response `204` `void` No Content
|
|
14616
14512
|
*/
|
|
14617
14513
|
deleteMe: (data: UserAccountDeletionRequest, params?: RequestParams) => Promise<AxiosResponse<void, any, {}, any>>;
|
|
14618
|
-
/**
|
|
14619
|
-
* No description
|
|
14620
|
-
*
|
|
14621
|
-
* @tags UsersMeMfa
|
|
14622
|
-
* @name GetMyMfa
|
|
14623
|
-
* @summary Get MFA
|
|
14624
|
-
* @request GET:/api/users/me/mfa
|
|
14625
|
-
* @secure
|
|
14626
|
-
* @response `200` `UserMfaState` OK
|
|
14627
|
-
* @response `401` `ProblemDetails` Unauthorized
|
|
14628
|
-
*/
|
|
14629
|
-
getMyMfa: (params?: RequestParams) => Promise<AxiosResponse<UserMfaState, any, {}, any>>;
|
|
14630
|
-
/**
|
|
14631
|
-
* No description
|
|
14632
|
-
*
|
|
14633
|
-
* @tags UsersMeMfa
|
|
14634
|
-
* @name UpdateMyMfa
|
|
14635
|
-
* @summary Update MFA
|
|
14636
|
-
* @request PUT:/api/users/me/mfa
|
|
14637
|
-
* @secure
|
|
14638
|
-
* @response `200` `UserMfaState` OK
|
|
14639
|
-
* @response `400` `ProblemDetails` Bad Request
|
|
14640
|
-
* @response `401` `ProblemDetails` Unauthorized
|
|
14641
|
-
* @response `403` `ProblemDetails` Forbidden
|
|
14642
|
-
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
14643
|
-
*/
|
|
14644
|
-
updateMyMfa: (data: UpdateMfaFactorRequest, params?: RequestParams) => Promise<AxiosResponse<UserMfaState, any, {}, any>>;
|
|
14645
|
-
/**
|
|
14646
|
-
* No description
|
|
14647
|
-
*
|
|
14648
|
-
* @tags UsersMeMfa
|
|
14649
|
-
* @name StartMyMfaEnrollment
|
|
14650
|
-
* @summary Start MFA Enrollment
|
|
14651
|
-
* @request POST:/api/users/me/mfa/enrollments
|
|
14652
|
-
* @secure
|
|
14653
|
-
* @response `200` `MfaEnrollment` OK
|
|
14654
|
-
* @response `400` `ProblemDetails` Bad Request
|
|
14655
|
-
* @response `401` `ProblemDetails` Unauthorized
|
|
14656
|
-
* @response `403` `ProblemDetails` Forbidden
|
|
14657
|
-
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
14658
|
-
* @response `429` `ProblemDetails` Too Many Requests
|
|
14659
|
-
* @response `503` `void` Service Unavailable
|
|
14660
|
-
*/
|
|
14661
|
-
startMyMfaEnrollment: (data: StartMfaEnrollmentRequest, params?: RequestParams) => Promise<AxiosResponse<MfaEnrollment, any, {}, any>>;
|
|
14662
|
-
/**
|
|
14663
|
-
* No description
|
|
14664
|
-
*
|
|
14665
|
-
* @tags UsersMeMfa
|
|
14666
|
-
* @name ConfirmMyMfaEnrollment
|
|
14667
|
-
* @summary Confirm MFA Enrollment
|
|
14668
|
-
* @request POST:/api/users/me/mfa/enrollments/{enrollmentId}/confirm
|
|
14669
|
-
* @secure
|
|
14670
|
-
* @response `200` `UserMfaState` OK
|
|
14671
|
-
* @response `400` `ProblemDetails` Bad Request
|
|
14672
|
-
* @response `401` `ProblemDetails` Unauthorized
|
|
14673
|
-
* @response `403` `ProblemDetails` Forbidden
|
|
14674
|
-
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
14675
|
-
* @response `429` `ProblemDetails` Too Many Requests
|
|
14676
|
-
*/
|
|
14677
|
-
confirmMyMfaEnrollment: (enrollmentId: string, data: ConfirmMfaEnrollmentRequest, params?: RequestParams) => Promise<AxiosResponse<UserMfaState, any, {}, any>>;
|
|
14678
|
-
/**
|
|
14679
|
-
* No description
|
|
14680
|
-
*
|
|
14681
|
-
* @tags UsersMeMfa
|
|
14682
|
-
* @name ResendMyMfaEnrollmentCode
|
|
14683
|
-
* @summary Resend MFA Enrollment Code
|
|
14684
|
-
* @request POST:/api/users/me/mfa/enrollments/{enrollmentId}/resend
|
|
14685
|
-
* @secure
|
|
14686
|
-
* @response `204` `void` No Content
|
|
14687
|
-
* @response `401` `ProblemDetails` Unauthorized
|
|
14688
|
-
* @response `403` `ProblemDetails` Forbidden
|
|
14689
|
-
* @response `429` `ProblemDetails` Too Many Requests
|
|
14690
|
-
* @response `503` `void` Service Unavailable
|
|
14691
|
-
*/
|
|
14692
|
-
resendMyMfaEnrollmentCode: (enrollmentId: string, params?: RequestParams) => Promise<AxiosResponse<void, any, {}, any>>;
|
|
14693
14514
|
/**
|
|
14694
14515
|
* No description
|
|
14695
14516
|
*
|
package/dist/index.js
CHANGED
|
@@ -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
|
*
|
|
@@ -1116,8 +1102,6 @@ export class Api extends HttpClient {
|
|
|
1116
1102
|
* @secure
|
|
1117
1103
|
* @response `200` `UserDeactivated` OK
|
|
1118
1104
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1119
|
-
* @response `429` `ProblemDetails` Too Many Requests
|
|
1120
|
-
* @response `503` `void` Service Unavailable
|
|
1121
1105
|
*/
|
|
1122
1106
|
getToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1123
1107
|
/**
|
|
@@ -1129,25 +1113,9 @@ export class Api extends HttpClient {
|
|
|
1129
1113
|
* @request POST:/api/token/code
|
|
1130
1114
|
* @secure
|
|
1131
1115
|
* @response `200` `UserDeactivated` OK
|
|
1132
|
-
* @response `400` `ProblemDetails` Bad Request
|
|
1133
1116
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1134
|
-
* @response `429` `ProblemDetails` Too Many Requests
|
|
1135
1117
|
*/
|
|
1136
1118
|
getTokenFromChallengeCode: (data, params = {}) => this.request(Object.assign({ path: `/api/token/code`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1137
|
-
/**
|
|
1138
|
-
* No description
|
|
1139
|
-
*
|
|
1140
|
-
* @tags Authentication
|
|
1141
|
-
* @name ResendChallengeCode
|
|
1142
|
-
* @summary Resend Challenge Code
|
|
1143
|
-
* @request POST:/api/token/code/resend
|
|
1144
|
-
* @secure
|
|
1145
|
-
* @response `204` `void` No Content
|
|
1146
|
-
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1147
|
-
* @response `429` `ProblemDetails` Too Many Requests
|
|
1148
|
-
* @response `503` `void` Service Unavailable
|
|
1149
|
-
*/
|
|
1150
|
-
resendChallengeCode: (data, params = {}) => this.request(Object.assign({ path: `/api/token/code/resend`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
1151
1119
|
/**
|
|
1152
1120
|
* No description
|
|
1153
1121
|
*
|
|
@@ -6227,21 +6195,6 @@ export class Api extends HttpClient {
|
|
|
6227
6195
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
6228
6196
|
*/
|
|
6229
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)),
|
|
6230
|
-
/**
|
|
6231
|
-
* No description
|
|
6232
|
-
*
|
|
6233
|
-
* @tags Users
|
|
6234
|
-
* @name ClearUserMfa
|
|
6235
|
-
* @summary Clear MFA
|
|
6236
|
-
* @request PUT:/api/users/{id}/mfa
|
|
6237
|
-
* @secure
|
|
6238
|
-
* @response `200` `UserMfaState` OK
|
|
6239
|
-
* @response `400` `ProblemDetails` Bad Request
|
|
6240
|
-
* @response `403` `ProblemDetails` Forbidden
|
|
6241
|
-
* @response `404` `ProblemDetails` Not Found
|
|
6242
|
-
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
6243
|
-
*/
|
|
6244
|
-
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)),
|
|
6245
6198
|
/**
|
|
6246
6199
|
* No description
|
|
6247
6200
|
*
|
|
@@ -6478,81 +6431,6 @@ export class Api extends HttpClient {
|
|
|
6478
6431
|
* @response `204` `void` No Content
|
|
6479
6432
|
*/
|
|
6480
6433
|
deleteMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me/delete`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
6481
|
-
/**
|
|
6482
|
-
* No description
|
|
6483
|
-
*
|
|
6484
|
-
* @tags UsersMeMfa
|
|
6485
|
-
* @name GetMyMfa
|
|
6486
|
-
* @summary Get MFA
|
|
6487
|
-
* @request GET:/api/users/me/mfa
|
|
6488
|
-
* @secure
|
|
6489
|
-
* @response `200` `UserMfaState` OK
|
|
6490
|
-
* @response `401` `ProblemDetails` Unauthorized
|
|
6491
|
-
*/
|
|
6492
|
-
getMyMfa: (params = {}) => this.request(Object.assign({ path: `/api/users/me/mfa`, method: "GET", secure: true, format: "json" }, params)),
|
|
6493
|
-
/**
|
|
6494
|
-
* No description
|
|
6495
|
-
*
|
|
6496
|
-
* @tags UsersMeMfa
|
|
6497
|
-
* @name UpdateMyMfa
|
|
6498
|
-
* @summary Update MFA
|
|
6499
|
-
* @request PUT:/api/users/me/mfa
|
|
6500
|
-
* @secure
|
|
6501
|
-
* @response `200` `UserMfaState` OK
|
|
6502
|
-
* @response `400` `ProblemDetails` Bad Request
|
|
6503
|
-
* @response `401` `ProblemDetails` Unauthorized
|
|
6504
|
-
* @response `403` `ProblemDetails` Forbidden
|
|
6505
|
-
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
6506
|
-
*/
|
|
6507
|
-
updateMyMfa: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me/mfa`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
6508
|
-
/**
|
|
6509
|
-
* No description
|
|
6510
|
-
*
|
|
6511
|
-
* @tags UsersMeMfa
|
|
6512
|
-
* @name StartMyMfaEnrollment
|
|
6513
|
-
* @summary Start MFA Enrollment
|
|
6514
|
-
* @request POST:/api/users/me/mfa/enrollments
|
|
6515
|
-
* @secure
|
|
6516
|
-
* @response `200` `MfaEnrollment` OK
|
|
6517
|
-
* @response `400` `ProblemDetails` Bad Request
|
|
6518
|
-
* @response `401` `ProblemDetails` Unauthorized
|
|
6519
|
-
* @response `403` `ProblemDetails` Forbidden
|
|
6520
|
-
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
6521
|
-
* @response `429` `ProblemDetails` Too Many Requests
|
|
6522
|
-
* @response `503` `void` Service Unavailable
|
|
6523
|
-
*/
|
|
6524
|
-
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)),
|
|
6525
|
-
/**
|
|
6526
|
-
* No description
|
|
6527
|
-
*
|
|
6528
|
-
* @tags UsersMeMfa
|
|
6529
|
-
* @name ConfirmMyMfaEnrollment
|
|
6530
|
-
* @summary Confirm MFA Enrollment
|
|
6531
|
-
* @request POST:/api/users/me/mfa/enrollments/{enrollmentId}/confirm
|
|
6532
|
-
* @secure
|
|
6533
|
-
* @response `200` `UserMfaState` OK
|
|
6534
|
-
* @response `400` `ProblemDetails` Bad Request
|
|
6535
|
-
* @response `401` `ProblemDetails` Unauthorized
|
|
6536
|
-
* @response `403` `ProblemDetails` Forbidden
|
|
6537
|
-
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
6538
|
-
* @response `429` `ProblemDetails` Too Many Requests
|
|
6539
|
-
*/
|
|
6540
|
-
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)),
|
|
6541
|
-
/**
|
|
6542
|
-
* No description
|
|
6543
|
-
*
|
|
6544
|
-
* @tags UsersMeMfa
|
|
6545
|
-
* @name ResendMyMfaEnrollmentCode
|
|
6546
|
-
* @summary Resend MFA Enrollment Code
|
|
6547
|
-
* @request POST:/api/users/me/mfa/enrollments/{enrollmentId}/resend
|
|
6548
|
-
* @secure
|
|
6549
|
-
* @response `204` `void` No Content
|
|
6550
|
-
* @response `401` `ProblemDetails` Unauthorized
|
|
6551
|
-
* @response `403` `ProblemDetails` Forbidden
|
|
6552
|
-
* @response `429` `ProblemDetails` Too Many Requests
|
|
6553
|
-
* @response `503` `void` Service Unavailable
|
|
6554
|
-
*/
|
|
6555
|
-
resendMyMfaEnrollmentCode: (enrollmentId, params = {}) => this.request(Object.assign({ path: `/api/users/me/mfa/enrollments/${enrollmentId}/resend`, method: "POST", secure: true }, params)),
|
|
6556
6434
|
/**
|
|
6557
6435
|
* No description
|
|
6558
6436
|
*
|