@matech/thebigpos-sdk 3.7.0-dev-3524 → 3.7.0-main-3537

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
@@ -1,6 +1,5 @@
1
1
  export type VersionStatusType = "Draft" | "Published";
2
2
  export type UserRole = "Borrower" | "LoanOfficer" | "Admin" | "SuperAdmin" | "Realtor" | "SettlementAgent" | "LoanProcessor" | "LoanOfficerAssistant" | "SystemAdmin";
3
- export type TaskType = "Document" | "Field" | "Signature" | "EDisclosure" | "EConsent" | "VerificationOfAssets" | "VerificationOfIncome" | "VerificationOfEmployment" | "VerificationOfCredit" | "Payment" | "VerificationOfIncomeAndEmployment" | "VerificationOfTaxes";
4
3
  export type TaskStatus = "Outstanding" | "Pending" | "Completed" | "Rejected" | "Unknown";
5
4
  export type TableKey = "Pipeline";
6
5
  export type SortDirection = "Asc" | "Desc";
@@ -20,7 +19,6 @@ export type LoanType = "Fha" | "Conventional" | "UsdaRd" | "Va" | "Other";
20
19
  export type LoanTrustType = "Living" | "Land" | "Testamentary" | "Other";
21
20
  export type LoanTitleHeld = "Sole" | "JointWithSpouse" | "JointWithOtherThanSpouse";
22
21
  export type LoanTaskActivityFilter = "Active" | "Inactive" | "All";
23
- export type LoanRoleTaskSource = "Rule" | "Manual";
24
22
  export type LoanRole = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
25
23
  export type LoanRefinancePurpose = "CashOutDebtConsolidation" | "CashOutHomeImprovement" | "CashOutOther" | "NoCashOut" | "LimitedCashOut";
26
24
  export type LoanRealEstateStatus = "Keep" | "Rent" | "Sell" | "PendingSale";
@@ -41,7 +39,7 @@ export type LoanNameSuffix = "Jr" | "Sr" | "II" | "III" | "IV" | "V" | "VI" | "V
41
39
  export type LoanNamePrefix = "Mr" | "Mrs" | "Ms";
42
40
  export type LoanMilitaryServiceType = "Current" | "RetiredDischargedSeparated" | "NonActivatedNationalGuard" | "SurvivingSpouse";
43
41
  export type LoanMaritalStatus = "Married" | "Separated" | "Single";
44
- export type LoanLogType = "Loan" | "Queue" | "POSFlagChanged" | "Verification" | "DocumentUploaded" | "LoanCreated" | "WorkflowSubmitted" | "UserInvitationSent" | "CoBorrowerAdded" | "TaskCompleted" | "LoanStatusChanged" | "Consent" | "SensitiveDataPurge" | "ClosingDateUpdated" | "ConsumerConnectAssociation" | "TaskReminderSent" | "DocumentClassified" | "CoBorrowerEmailAutoFixed" | "LosFieldWriteBack" | "ReferrerChangeDiscarded" | "TaskEdited";
42
+ export type LoanLogType = "Loan" | "Queue" | "POSFlagChanged" | "Verification" | "DocumentUploaded" | "LoanCreated" | "WorkflowSubmitted" | "UserInvitationSent" | "CoBorrowerAdded" | "TaskCompleted" | "LoanStatusChanged" | "Consent" | "SensitiveDataPurge" | "ClosingDateUpdated" | "ConsumerConnectAssociation" | "TaskReminderSent" | "DocumentClassified" | "CoBorrowerEmailAutoFixed" | "LosFieldWriteBack" | "ReferrerChangeDiscarded";
45
43
  export type LoanLienPosition = "First" | "Subordinate";
46
44
  export type LoanLiabilityType = "Revolving" | "Installment" | "Open30Day" | "Lease" | "Other";
47
45
  export type LoanLanguagePreference = "English" | "Chinese" | "Korean" | "Spanish" | "Tagalog" | "Vietnamese" | "Other" | "DoNotWishToRespond";
@@ -100,7 +98,7 @@ export type AiPromptScope = "General" | "LoanSpecific";
100
98
  export type AiPromptCategory = "DocumentAnalysis" | "DataQuery" | "General" | "Action";
101
99
  export type AiGuardrailCategory = "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
102
100
  export type AiDisplayHint = "Table" | "SummaryCards" | "RankedList" | "Comparison" | "ExecutiveBrief";
103
- 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";
101
+ 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";
104
102
  export type AddressFamily = "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";
105
103
  export interface ASOSettings {
106
104
  enabled: boolean;
@@ -1423,15 +1421,6 @@ export interface CreateLoanImportRequest {
1423
1421
  startDate: string;
1424
1422
  importMode: CreateLoanImportRequestImportModeEnum;
1425
1423
  }
1426
- export interface CreateLoanRoleTaskRequest {
1427
- /** @format uuid */
1428
- taskId: string;
1429
- role: CreateLoanRoleTaskRequestRoleEnum;
1430
- /** @format int32 */
1431
- borrowerPair: number;
1432
- /** @format int32 */
1433
- borrowerPosition: number;
1434
- }
1435
1424
  export interface CreateSession {
1436
1425
  sessionId: string;
1437
1426
  sessionUrl: string;
@@ -1845,7 +1834,6 @@ export interface EnabledServices {
1845
1834
  ringCentral?: boolean | null;
1846
1835
  socialSurvey?: boolean | null;
1847
1836
  borrowerTasks?: boolean | null;
1848
- preBorrowerTasks?: boolean | null;
1849
1837
  docusign?: boolean | null;
1850
1838
  emailNotifications?: boolean | null;
1851
1839
  autoTaskReminders?: boolean | null;
@@ -4078,24 +4066,6 @@ export interface LoanQueueWithData {
4078
4066
  siteConfiguration: SiteConfigurationReduced;
4079
4067
  data?: any | null;
4080
4068
  }
4081
- export interface LoanRecommendation {
4082
- /** @format uuid */
4083
- id: string;
4084
- canonicalName: string;
4085
- displayName: string;
4086
- extractedValue: string;
4087
- currentLoanValue?: any | null;
4088
- /** @format uuid */
4089
- sourceDocumentId: string;
4090
- sourceDocumentName?: string | null;
4091
- /** @format float */
4092
- confidence: number;
4093
- /** @format uuid */
4094
- borrowerId?: string | null;
4095
- borrowerName?: string | null;
4096
- /** @format date-time */
4097
- detectedAt: string;
4098
- }
4099
4069
  export interface LoanRecord {
4100
4070
  loanGuid: string;
4101
4071
  loanFields: Record<string, string>;
@@ -4144,52 +4114,6 @@ export interface LoanRefinanceRequest {
4144
4114
  purpose?: LoanRefinancePurpose | null;
4145
4115
  currentLoan?: LoanRefinanceCurrentLoanRequest | null;
4146
4116
  }
4147
- export interface LoanRoleSlotTasks {
4148
- role: LoanRoleSlotTasksRoleEnum;
4149
- /** @format int32 */
4150
- borrowerPair: number;
4151
- /** @format int32 */
4152
- borrowerPosition: number;
4153
- tasks: LoanRoleTask[];
4154
- }
4155
- export interface LoanRoleTask {
4156
- /** @format uuid */
4157
- id: string;
4158
- /** @format uuid */
4159
- loanId: string;
4160
- role: LoanRoleTaskRoleEnum;
4161
- /** @format int32 */
4162
- borrowerPair: number;
4163
- /** @format int32 */
4164
- borrowerPosition: number;
4165
- /** @format uuid */
4166
- definitionTaskId: string;
4167
- /** @format uuid */
4168
- taskId: string;
4169
- name: string;
4170
- description?: string | null;
4171
- type: LoanRoleTaskTypeEnum;
4172
- losTarget?: string | null;
4173
- /** @format int32 */
4174
- daysDueFromApplication?: number | null;
4175
- /** @format int32 */
4176
- weight: number;
4177
- willAutocompleteAfterResponse: boolean;
4178
- /** @format uuid */
4179
- loanDocumentFolderId?: string | null;
4180
- /** @format date */
4181
- dueDate?: string | null;
4182
- source: LoanRoleTaskSourceEnum;
4183
- isAttached: boolean;
4184
- /** @format uuid */
4185
- attachedUserLoanTaskId?: string | null;
4186
- /** @format date-time */
4187
- attachedAt?: string | null;
4188
- /** @format uuid */
4189
- createdById?: string | null;
4190
- /** @format date-time */
4191
- createdAt: string;
4192
- }
4193
4117
  export interface LoanSearchCriteria {
4194
4118
  searchText?: string | null;
4195
4119
  searchTerms?: string[] | null;
@@ -4218,7 +4142,6 @@ export interface LoanSearchCriteria {
4218
4142
  closingFrom?: string | null;
4219
4143
  /** @format date */
4220
4144
  closingTo?: string | null;
4221
- milestoneConfigurationIds?: string[] | null;
4222
4145
  }
4223
4146
  export interface LoanSettings {
4224
4147
  excludeFromAutoTaskReminders: boolean;
@@ -4523,10 +4446,6 @@ export interface LosWebhookSigningKeySyncResult {
4523
4446
  export interface ManualDocumentClassificationRequest {
4524
4447
  documentType: ManualDocumentClassificationRequestDocumentTypeEnum;
4525
4448
  }
4526
- export interface MaterializeLoanRoleTasks {
4527
- /** @format int32 */
4528
- rowsAdded: number;
4529
- }
4530
4449
  export interface MdmUser {
4531
4450
  user_email?: string | null;
4532
4451
  user_id?: string | null;
@@ -5879,8 +5798,6 @@ export interface Task {
5879
5798
  isGlobal: boolean;
5880
5799
  /** @format uuid */
5881
5800
  id: string;
5882
- /** @format uuid */
5883
- sourceTaskID?: string | null;
5884
5801
  user?: User | null;
5885
5802
  isFromLegacySource: boolean;
5886
5803
  usedInBusinessRule: boolean;
@@ -6200,16 +6117,6 @@ export interface UpdateLoanDocumentFolderRequest {
6200
6117
  export interface UpdateLoanQueueRequest {
6201
6118
  data: any;
6202
6119
  }
6203
- export interface UpdateLoanRoleTaskRequest {
6204
- name?: string | null;
6205
- description?: string | null;
6206
- /** @format int32 */
6207
- weight?: number | null;
6208
- /** @format uuid */
6209
- loanDocumentFolderId?: string | null;
6210
- /** @format date */
6211
- dueDate?: string | null;
6212
- }
6213
6120
  export interface UpdateMeRequest {
6214
6121
  phone?: string | null;
6215
6122
  firstName: string;
@@ -6580,12 +6487,6 @@ export interface UserLoanTaskUpdateRequest {
6580
6487
  value?: string | null;
6581
6488
  /** @format date */
6582
6489
  dueDate?: string | null;
6583
- name?: string | null;
6584
- description?: string | null;
6585
- /** @format int32 */
6586
- weight?: number | null;
6587
- /** @format uuid */
6588
- loanDocumentFolderId?: string | null;
6589
6490
  }
6590
6491
  export interface UserMobilePhoneVerificationRequest {
6591
6492
  code: string;
@@ -6734,7 +6635,7 @@ export interface Workflow {
6734
6635
  icon: string;
6735
6636
  }
6736
6637
  export type AccountBillingRequestBillingTypeEnum = "ClosedLoan" | "LoanOfficer";
6737
- 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";
6638
+ 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";
6738
6639
  export type AiChatStructuredDataTypeEnum = "Table" | "DocumentAnalysis" | "DocumentList" | "GeneratedDocument" | "CitedPassages" | "PendingLoanUpdate";
6739
6640
  export type AiCitedDocumentSourceTypeEnum = "File" | "FreeText";
6740
6641
  export type AiGuardrailCategoryEnum = "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
@@ -6759,7 +6660,6 @@ export type CreateGroupMemberRequestLoanRoleEnum = "Borrower" | "CoBorrower" | "
6759
6660
  /** @deprecated */
6760
6661
  export type CreateInviteRequestRelationshipEnum = "NotApplicable" | "Spouse" | "NonSpouse";
6761
6662
  export type CreateLoanImportRequestImportModeEnum = "All" | "NewOnly" | "UpdateOnly";
6762
- export type CreateLoanRoleTaskRequestRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
6763
6663
  export type CreateUserDraftLoanRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
6764
6664
  export type CustomFieldDefinitionDataTypeEnum = "String" | "Number" | "Decimal" | "Boolean" | "Date" | "SingleSelect" | "MultiSelect";
6765
6665
  export type CustomFieldDefinitionEntityTypeEnum = "Loan";
@@ -6795,13 +6695,9 @@ export type LoanImportStatusEnum = "WaitingProcess" | "InProgress" | "Completed"
6795
6695
  export type LoanImportImportModeEnum = "All" | "NewOnly" | "UpdateOnly";
6796
6696
  export type LoanImportLogLevelEnum = "None" | "Info" | "Warning" | "Error";
6797
6697
  export type LoanLogLevelEnum = "None" | "Info" | "Warning" | "Error";
6798
- export type LoanLogTypeEnum = "Loan" | "Queue" | "POSFlagChanged" | "Verification" | "DocumentUploaded" | "LoanCreated" | "WorkflowSubmitted" | "UserInvitationSent" | "CoBorrowerAdded" | "TaskCompleted" | "LoanStatusChanged" | "Consent" | "SensitiveDataPurge" | "ClosingDateUpdated" | "ConsumerConnectAssociation" | "TaskReminderSent" | "DocumentClassified" | "CoBorrowerEmailAutoFixed" | "LosFieldWriteBack" | "ReferrerChangeDiscarded" | "TaskEdited";
6698
+ export type LoanLogTypeEnum = "Loan" | "Queue" | "POSFlagChanged" | "Verification" | "DocumentUploaded" | "LoanCreated" | "WorkflowSubmitted" | "UserInvitationSent" | "CoBorrowerAdded" | "TaskCompleted" | "LoanStatusChanged" | "Consent" | "SensitiveDataPurge" | "ClosingDateUpdated" | "ConsumerConnectAssociation" | "TaskReminderSent" | "DocumentClassified" | "CoBorrowerEmailAutoFixed" | "LosFieldWriteBack" | "ReferrerChangeDiscarded";
6799
6699
  export type LoanLogDetailLevelEnum = "None" | "Info" | "Warning" | "Error";
6800
- export type LoanLogDetailTypeEnum = "Loan" | "Queue" | "POSFlagChanged" | "Verification" | "DocumentUploaded" | "LoanCreated" | "WorkflowSubmitted" | "UserInvitationSent" | "CoBorrowerAdded" | "TaskCompleted" | "LoanStatusChanged" | "Consent" | "SensitiveDataPurge" | "ClosingDateUpdated" | "ConsumerConnectAssociation" | "TaskReminderSent" | "DocumentClassified" | "CoBorrowerEmailAutoFixed" | "LosFieldWriteBack" | "ReferrerChangeDiscarded" | "TaskEdited";
6801
- export type LoanRoleSlotTasksRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
6802
- export type LoanRoleTaskRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
6803
- export type LoanRoleTaskTypeEnum = "Document" | "Field" | "Signature" | "EDisclosure" | "EConsent" | "VerificationOfAssets" | "VerificationOfIncome" | "VerificationOfEmployment" | "VerificationOfCredit" | "Payment" | "VerificationOfIncomeAndEmployment" | "VerificationOfTaxes";
6804
- export type LoanRoleTaskSourceEnum = "Rule" | "Manual";
6700
+ export type LoanLogDetailTypeEnum = "Loan" | "Queue" | "POSFlagChanged" | "Verification" | "DocumentUploaded" | "LoanCreated" | "WorkflowSubmitted" | "UserInvitationSent" | "CoBorrowerAdded" | "TaskCompleted" | "LoanStatusChanged" | "Consent" | "SensitiveDataPurge" | "ClosingDateUpdated" | "ConsumerConnectAssociation" | "TaskReminderSent" | "DocumentClassified" | "CoBorrowerEmailAutoFixed" | "LosFieldWriteBack" | "ReferrerChangeDiscarded";
6805
6701
  export type LoanTaskStatusSummaryStatusEnum = "Outstanding" | "Pending" | "Completed" | "Rejected" | "Unknown";
6806
6702
  export type LoanUserLoanRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
6807
6703
  export type LosCredentialHealthStatusEnum = "Unknown" | "Healthy" | "InvalidCredentials" | "Forbidden" | "TransportError" | "NotConfigured";
@@ -10993,111 +10889,6 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10993
10889
  * @response `404` `ProblemDetails` Not Found
10994
10890
  */
10995
10891
  retryLoanQueue: (loanQueueId: string, params?: RequestParams) => Promise<AxiosResponse<void, any, {}>>;
10996
- /**
10997
- * No description
10998
- *
10999
- * @tags LoanRecommendations
11000
- * @name GetLoanRecommendations
11001
- * @summary Get a loan's open recommendations
11002
- * @request GET:/api/loans/{loanId}/recommendations
11003
- * @secure
11004
- * @response `200` `(LoanRecommendation)[]` OK
11005
- * @response `400` `ProblemDetails` Bad Request
11006
- * @response `404` `ProblemDetails` Not Found
11007
- */
11008
- getLoanRecommendations: (loanId: string, params?: RequestParams) => Promise<AxiosResponse<LoanRecommendation[], any, {}>>;
11009
- /**
11010
- * No description
11011
- *
11012
- * @tags LoanRecommendations
11013
- * @name DismissLoanRecommendation
11014
- * @summary Dismiss a loan recommendation
11015
- * @request POST:/api/loans/{loanId}/recommendations/{id}/dismiss
11016
- * @secure
11017
- * @response `204` `void` No Content
11018
- * @response `400` `ProblemDetails` Bad Request
11019
- * @response `404` `ProblemDetails` Not Found
11020
- */
11021
- dismissLoanRecommendation: (loanId: string, id: string, params?: RequestParams) => Promise<AxiosResponse<void, any, {}>>;
11022
- /**
11023
- * No description
11024
- *
11025
- * @tags LoanRoleTasks
11026
- * @name GetLoanRoleTasks
11027
- * @summary Get queued tasks grouped by borrower slot
11028
- * @request GET:/api/loans/{loanId}/role-tasks
11029
- * @secure
11030
- * @response `200` `(LoanRoleSlotTasks)[]` OK
11031
- * @response `404` `ProblemDetails` Not Found
11032
- */
11033
- getLoanRoleTasks: (loanId: string, params?: RequestParams) => Promise<AxiosResponse<LoanRoleSlotTasks[], any, {}>>;
11034
- /**
11035
- * @description Queues an account template against a borrower slot that has no registered user yet. The row owns a per-loan copy of the template, so editing it never changes the account's catalogue.
11036
- *
11037
- * @tags LoanRoleTasks
11038
- * @name CreateLoanRoleTask
11039
- * @summary Queue a task for a borrower slot
11040
- * @request POST:/api/loans/{loanId}/role-tasks
11041
- * @secure
11042
- * @response `201` `LoanRoleTask` Created
11043
- * @response `400` `ProblemDetails` Bad Request
11044
- * @response `404` `ProblemDetails` Not Found
11045
- * @response `409` `ProblemDetails` Conflict
11046
- * @response `422` `ProblemDetails` Unprocessable Content
11047
- */
11048
- createLoanRoleTask: (loanId: string, data: CreateLoanRoleTaskRequest, params?: RequestParams) => Promise<AxiosResponse<LoanRoleTask, any, {}>>;
11049
- /**
11050
- * No description
11051
- *
11052
- * @tags LoanRoleTasks
11053
- * @name GetLoanRoleTask
11054
- * @summary Get a queued task
11055
- * @request GET:/api/loans/{loanId}/role-tasks/{id}
11056
- * @secure
11057
- * @response `200` `LoanRoleTask` OK
11058
- * @response `404` `ProblemDetails` Not Found
11059
- */
11060
- getLoanRoleTask: (loanId: string, id: string, params?: RequestParams) => Promise<AxiosResponse<LoanRoleTask, any, {}>>;
11061
- /**
11062
- * @description Edits the loan's own copy of the template. The account's catalogue entry is untouched, so the change applies to this borrower only. Omitted fields are left as they are.
11063
- *
11064
- * @tags LoanRoleTasks
11065
- * @name UpdateLoanRoleTask
11066
- * @summary Edit a queued task
11067
- * @request PUT:/api/loans/{loanId}/role-tasks/{id}
11068
- * @secure
11069
- * @response `200` `LoanRoleTask` OK
11070
- * @response `400` `ProblemDetails` Bad Request
11071
- * @response `404` `ProblemDetails` Not Found
11072
- * @response `409` `ProblemDetails` Conflict
11073
- * @response `422` `ProblemDetails` Unprocessable Content
11074
- */
11075
- updateLoanRoleTask: (loanId: string, id: string, data: UpdateLoanRoleTaskRequest, params?: RequestParams) => Promise<AxiosResponse<LoanRoleTask, any, {}>>;
11076
- /**
11077
- * @description Removes a queued task from a borrower slot. The removal is remembered, so a later run of the rules does not queue the same template again.
11078
- *
11079
- * @tags LoanRoleTasks
11080
- * @name DeleteLoanRoleTask
11081
- * @summary Remove a queued task
11082
- * @request DELETE:/api/loans/{loanId}/role-tasks/{id}
11083
- * @secure
11084
- * @response `204` `void` No Content
11085
- * @response `404` `ProblemDetails` Not Found
11086
- * @response `409` `ProblemDetails` Conflict
11087
- */
11088
- deleteLoanRoleTask: (loanId: string, id: string, params?: RequestParams) => Promise<AxiosResponse<void, any, {}>>;
11089
- /**
11090
- * @description Runs the account's business rules against the loan and queues what is missing. Templates already queued, and ones removed by staff, are left alone.
11091
- *
11092
- * @tags LoanRoleTasks
11093
- * @name MaterializeLoanRoleTasks
11094
- * @summary Queue the business rule defaults
11095
- * @request POST:/api/loans/{loanId}/role-tasks/materialize
11096
- * @secure
11097
- * @response `200` `MaterializeLoanRoleTasks` OK
11098
- * @response `404` `ProblemDetails` Not Found
11099
- */
11100
- materializeLoanRoleTasks: (loanId: string, params?: RequestParams) => Promise<AxiosResponse<MaterializeLoanRoleTasks, any, {}>>;
11101
10892
  /**
11102
10893
  * No description
11103
10894
  *
@@ -11532,7 +11323,6 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
11532
11323
  * @request POST:/api/loans/{loanId}/users/{userId}
11533
11324
  * @secure
11534
11325
  * @response `201` `LoanUser` Created
11535
- * @response `404` `ProblemDetails` Not Found
11536
11326
  */
11537
11327
  addLoanUser: (loanId: string, userId: string, data: CreateUserLoan, params?: RequestParams) => Promise<AxiosResponse<LoanUser, any, {}>>;
11538
11328
  /**
package/dist/index.js CHANGED
@@ -3773,111 +3773,6 @@ export class Api extends HttpClient {
3773
3773
  * @response `404` `ProblemDetails` Not Found
3774
3774
  */
3775
3775
  retryLoanQueue: (loanQueueId, params = {}) => this.request(Object.assign({ path: `/api/loans/queue/${loanQueueId}/retry`, method: "POST", secure: true }, params)),
3776
- /**
3777
- * No description
3778
- *
3779
- * @tags LoanRecommendations
3780
- * @name GetLoanRecommendations
3781
- * @summary Get a loan's open recommendations
3782
- * @request GET:/api/loans/{loanId}/recommendations
3783
- * @secure
3784
- * @response `200` `(LoanRecommendation)[]` OK
3785
- * @response `400` `ProblemDetails` Bad Request
3786
- * @response `404` `ProblemDetails` Not Found
3787
- */
3788
- getLoanRecommendations: (loanId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/recommendations`, method: "GET", secure: true, format: "json" }, params)),
3789
- /**
3790
- * No description
3791
- *
3792
- * @tags LoanRecommendations
3793
- * @name DismissLoanRecommendation
3794
- * @summary Dismiss a loan recommendation
3795
- * @request POST:/api/loans/{loanId}/recommendations/{id}/dismiss
3796
- * @secure
3797
- * @response `204` `void` No Content
3798
- * @response `400` `ProblemDetails` Bad Request
3799
- * @response `404` `ProblemDetails` Not Found
3800
- */
3801
- dismissLoanRecommendation: (loanId, id, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/recommendations/${id}/dismiss`, method: "POST", secure: true }, params)),
3802
- /**
3803
- * No description
3804
- *
3805
- * @tags LoanRoleTasks
3806
- * @name GetLoanRoleTasks
3807
- * @summary Get queued tasks grouped by borrower slot
3808
- * @request GET:/api/loans/{loanId}/role-tasks
3809
- * @secure
3810
- * @response `200` `(LoanRoleSlotTasks)[]` OK
3811
- * @response `404` `ProblemDetails` Not Found
3812
- */
3813
- getLoanRoleTasks: (loanId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/role-tasks`, method: "GET", secure: true, format: "json" }, params)),
3814
- /**
3815
- * @description Queues an account template against a borrower slot that has no registered user yet. The row owns a per-loan copy of the template, so editing it never changes the account's catalogue.
3816
- *
3817
- * @tags LoanRoleTasks
3818
- * @name CreateLoanRoleTask
3819
- * @summary Queue a task for a borrower slot
3820
- * @request POST:/api/loans/{loanId}/role-tasks
3821
- * @secure
3822
- * @response `201` `LoanRoleTask` Created
3823
- * @response `400` `ProblemDetails` Bad Request
3824
- * @response `404` `ProblemDetails` Not Found
3825
- * @response `409` `ProblemDetails` Conflict
3826
- * @response `422` `ProblemDetails` Unprocessable Content
3827
- */
3828
- createLoanRoleTask: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/role-tasks`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
3829
- /**
3830
- * No description
3831
- *
3832
- * @tags LoanRoleTasks
3833
- * @name GetLoanRoleTask
3834
- * @summary Get a queued task
3835
- * @request GET:/api/loans/{loanId}/role-tasks/{id}
3836
- * @secure
3837
- * @response `200` `LoanRoleTask` OK
3838
- * @response `404` `ProblemDetails` Not Found
3839
- */
3840
- getLoanRoleTask: (loanId, id, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/role-tasks/${id}`, method: "GET", secure: true, format: "json" }, params)),
3841
- /**
3842
- * @description Edits the loan's own copy of the template. The account's catalogue entry is untouched, so the change applies to this borrower only. Omitted fields are left as they are.
3843
- *
3844
- * @tags LoanRoleTasks
3845
- * @name UpdateLoanRoleTask
3846
- * @summary Edit a queued task
3847
- * @request PUT:/api/loans/{loanId}/role-tasks/{id}
3848
- * @secure
3849
- * @response `200` `LoanRoleTask` OK
3850
- * @response `400` `ProblemDetails` Bad Request
3851
- * @response `404` `ProblemDetails` Not Found
3852
- * @response `409` `ProblemDetails` Conflict
3853
- * @response `422` `ProblemDetails` Unprocessable Content
3854
- */
3855
- updateLoanRoleTask: (loanId, id, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/role-tasks/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
3856
- /**
3857
- * @description Removes a queued task from a borrower slot. The removal is remembered, so a later run of the rules does not queue the same template again.
3858
- *
3859
- * @tags LoanRoleTasks
3860
- * @name DeleteLoanRoleTask
3861
- * @summary Remove a queued task
3862
- * @request DELETE:/api/loans/{loanId}/role-tasks/{id}
3863
- * @secure
3864
- * @response `204` `void` No Content
3865
- * @response `404` `ProblemDetails` Not Found
3866
- * @response `409` `ProblemDetails` Conflict
3867
- */
3868
- deleteLoanRoleTask: (loanId, id, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/role-tasks/${id}`, method: "DELETE", secure: true }, params)),
3869
- /**
3870
- * @description Runs the account's business rules against the loan and queues what is missing. Templates already queued, and ones removed by staff, are left alone.
3871
- *
3872
- * @tags LoanRoleTasks
3873
- * @name MaterializeLoanRoleTasks
3874
- * @summary Queue the business rule defaults
3875
- * @request POST:/api/loans/{loanId}/role-tasks/materialize
3876
- * @secure
3877
- * @response `200` `MaterializeLoanRoleTasks` OK
3878
- * @response `404` `ProblemDetails` Not Found
3879
- */
3880
- materializeLoanRoleTasks: (loanId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/role-tasks/materialize`, method: "POST", secure: true, format: "json" }, params)),
3881
3776
  /**
3882
3777
  * No description
3883
3778
  *
@@ -4283,7 +4178,6 @@ export class Api extends HttpClient {
4283
4178
  * @request POST:/api/loans/{loanId}/users/{userId}
4284
4179
  * @secure
4285
4180
  * @response `201` `LoanUser` Created
4286
- * @response `404` `ProblemDetails` Not Found
4287
4181
  */
4288
4182
  addLoanUser: (loanId, userId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/users/${userId}`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4289
4183
  /**