@matech/thebigpos-sdk 2.45.1-rc1 → 2.45.1-rc10
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/README.md +10 -0
- package/dist/index.d.ts +141 -78
- package/dist/index.js +29 -51
- package/dist/index.js.map +1 -1
- package/package.json +7 -3
- package/scripts/apply-json-patch-content-type.js +129 -36
- package/src/index.ts +177 -128
package/README.md
CHANGED
|
@@ -54,6 +54,16 @@ Replace `{version}` with the target API version (e.g. `v2.34.0`):
|
|
|
54
54
|
npx swagger-typescript-api generate -p https://api.thebigpos.dev/swagger/v2.34.0/swagger.json -o ./src -n index.ts -r true --axios --enum-names-as-values --enum-style union
|
|
55
55
|
```
|
|
56
56
|
|
|
57
|
+
Then apply the PATCH content-type fixup, passing the **same** spec that was given
|
|
58
|
+
to the generator. The generator does not propagate `application/json-patch+json`,
|
|
59
|
+
so this step sets each PATCH method's content type from the spec (no hard-coded
|
|
60
|
+
endpoint list):
|
|
61
|
+
|
|
62
|
+
```bash
|
|
63
|
+
node scripts/apply-json-patch-content-type.js https://api.thebigpos.dev/swagger/v2.34.0/swagger.json
|
|
64
|
+
yarn build
|
|
65
|
+
```
|
|
66
|
+
|
|
57
67
|
## Publishing
|
|
58
68
|
|
|
59
69
|
1. Update the `version` field in `package.json` before publishing.
|
package/dist/index.d.ts
CHANGED
|
@@ -31,14 +31,14 @@ export type LoanMaritalStatus = "Married" | "Separated" | "Unmarried";
|
|
|
31
31
|
export type LoanLogType = "Loan" | "Queue" | "POSFlagChanged" | "Verification" | "DocumentUploaded" | "LoanCreated" | "WorkflowSubmitted" | "UserInvitationSent" | "CoBorrowerAdded" | "TaskCompleted" | "LoanStatusChanged" | "Consent" | "SensitiveDataPurge" | "ClosingDateUpdated" | "ConsumerConnectAssociation" | "TaskReminderSent" | "DocumentClassified";
|
|
32
32
|
export type LoanLienPosition = "First" | "Subordinate";
|
|
33
33
|
export type LoanLiabilityType = "Revolving" | "Installment" | "Open30Day" | "Lease" | "Other";
|
|
34
|
-
export type LoanLanguagePreference = "English" | "Chinese" | "Korean" | "Spanish" | "Tagalog" | "Vietnamese" | "Other";
|
|
34
|
+
export type LoanLanguagePreference = "English" | "Chinese" | "Korean" | "Spanish" | "Tagalog" | "Vietnamese" | "Other" | "DoNotWishToRespond";
|
|
35
35
|
export type LoanImportStatus = "WaitingProcess" | "InProgress" | "Completed" | "Failed" | "Cancelled";
|
|
36
36
|
export type LoanImportMode = "All" | "NewOnly" | "UpdateOnly";
|
|
37
37
|
export type LoanHousingType = "NoExpense" | "Own" | "Rent";
|
|
38
38
|
export type LoanHomeOwnershipType = "Counseling" | "Education" | "Other";
|
|
39
39
|
export type LoanHomeOwnershipFormat = "InPerson" | "Online" | "Telephone";
|
|
40
40
|
export type LoanHispanicEthnicity = "Mexican" | "PuertoRican" | "Cuban" | "Other";
|
|
41
|
-
export type LoanGiftSource = "CommunityNonProfit" | "Employer" | "FederalAgency" | "LocalAgency" | "Relative" | "ReligiousNonProfit" | "StateAgency" | "UnmarriedPartner" | "Lender" | "Other";
|
|
41
|
+
export type LoanGiftSource = "CommunityNonProfit" | "Employer" | "FederalAgency" | "LocalAgency" | "Relative" | "ReligiousNonProfit" | "StateAgency" | "UnmarriedPartner" | "Lender" | "Other" | "Institutional" | "Borrower";
|
|
42
42
|
export type LoanGiftAssetType = "Cash" | "Asset" | "Equity";
|
|
43
43
|
export type LoanGenderType = "Male" | "Female";
|
|
44
44
|
export type LoanDocumentType = "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";
|
|
@@ -167,7 +167,6 @@ export interface AccountSettingsRequest {
|
|
|
167
167
|
isSmsEnabled: boolean;
|
|
168
168
|
smsNumber?: string | null;
|
|
169
169
|
isEarlyAdopter: boolean;
|
|
170
|
-
isAIEnabled: boolean;
|
|
171
170
|
}
|
|
172
171
|
export interface Action {
|
|
173
172
|
/** @format uuid */
|
|
@@ -799,10 +798,6 @@ export interface ApplicationRowData {
|
|
|
799
798
|
escrowAgent?: EncompassContact | null;
|
|
800
799
|
titleInsuranceAgent?: EncompassContact | null;
|
|
801
800
|
}
|
|
802
|
-
export interface Attachment {
|
|
803
|
-
fileName: string;
|
|
804
|
-
base64Data: string;
|
|
805
|
-
}
|
|
806
801
|
export interface AuditEntityType {
|
|
807
802
|
entityType: string;
|
|
808
803
|
rootEntityType?: string | null;
|
|
@@ -1792,6 +1787,7 @@ export interface EncompassPackageItem {
|
|
|
1792
1787
|
/** @format date-time */
|
|
1793
1788
|
createdAt: string;
|
|
1794
1789
|
recipientId: string;
|
|
1790
|
+
borrowerName?: string | null;
|
|
1795
1791
|
title?: string | null;
|
|
1796
1792
|
/** @format date-time */
|
|
1797
1793
|
issuedAt?: string | null;
|
|
@@ -2043,8 +2039,6 @@ export interface FusionReportFilter {
|
|
|
2043
2039
|
targetValue: string;
|
|
2044
2040
|
}
|
|
2045
2041
|
export interface GenerateDocumentRequest {
|
|
2046
|
-
/** @deprecated */
|
|
2047
|
-
loanID?: string | null;
|
|
2048
2042
|
/** @format uuid */
|
|
2049
2043
|
templateID: string;
|
|
2050
2044
|
/**
|
|
@@ -2389,6 +2383,8 @@ export interface Loan {
|
|
|
2389
2383
|
financial?: LoanFinancial | null;
|
|
2390
2384
|
financialTerms?: LoanFinancialTerms | null;
|
|
2391
2385
|
monthlyPayment?: LoanMonthlyPayment | null;
|
|
2386
|
+
costDetails?: LoanCostDetails | null;
|
|
2387
|
+
metrics?: LoanMetrics | null;
|
|
2392
2388
|
borrowers: LoanBorrower[];
|
|
2393
2389
|
nonOwningBorrowers: LoanNonOwningBorrower[];
|
|
2394
2390
|
userLoans: UserLoan[];
|
|
@@ -2427,6 +2423,8 @@ export interface LoanApplicationRequest {
|
|
|
2427
2423
|
companyName?: string | null;
|
|
2428
2424
|
property?: LoanPropertyRequest | null;
|
|
2429
2425
|
financial?: LoanFinancialRequest | null;
|
|
2426
|
+
financialTerms?: LoanFinancialTermsRequest | null;
|
|
2427
|
+
monthlyPayment?: LoanMonthlyPaymentRequest | null;
|
|
2430
2428
|
borrowers: LoanBorrowerRequest[];
|
|
2431
2429
|
nonOwningBorrowers: LoanNonOwningBorrowerRequest[];
|
|
2432
2430
|
/** @format uuid */
|
|
@@ -2453,6 +2451,8 @@ export interface LoanBorrower {
|
|
|
2453
2451
|
applicationStatus: LoanBorrowerApplicationStatusEnum;
|
|
2454
2452
|
/** @format int32 */
|
|
2455
2453
|
numberOfDependents?: number | null;
|
|
2454
|
+
/** @format int32 */
|
|
2455
|
+
creditDecisionScore?: number | null;
|
|
2456
2456
|
isPrimaryBorrower: boolean;
|
|
2457
2457
|
isFirstTimeHomeBuyer?: boolean | null;
|
|
2458
2458
|
hasJointAssetsAndLiabilities?: boolean | null;
|
|
@@ -2810,6 +2810,11 @@ export interface LoanBorrowerGift {
|
|
|
2810
2810
|
isDeposited?: boolean | null;
|
|
2811
2811
|
source?: LoanGiftSource | null;
|
|
2812
2812
|
assetType?: LoanGiftAssetType | null;
|
|
2813
|
+
grantorDonorName?: string | null;
|
|
2814
|
+
/** @format double */
|
|
2815
|
+
amountAppliedToDownPayment?: number | null;
|
|
2816
|
+
/** @format double */
|
|
2817
|
+
amountAppliedToClosingCosts?: number | null;
|
|
2813
2818
|
}
|
|
2814
2819
|
export interface LoanBorrowerGiftRequest {
|
|
2815
2820
|
/** @format double */
|
|
@@ -2976,9 +2981,26 @@ export interface LoanBorrowerRealEstateAsset {
|
|
|
2976
2981
|
/** @format double */
|
|
2977
2982
|
marketValue?: number | null;
|
|
2978
2983
|
/** @format double */
|
|
2984
|
+
purchasePrice?: number | null;
|
|
2985
|
+
/** @format int32 */
|
|
2986
|
+
yearBuilt?: number | null;
|
|
2987
|
+
/** @format int32 */
|
|
2988
|
+
numberOfUnits?: number | null;
|
|
2989
|
+
/** @format double */
|
|
2979
2990
|
monthlyInsTaxDues?: number | null;
|
|
2980
2991
|
/** @format double */
|
|
2981
2992
|
monthlyRentalIncome?: number | null;
|
|
2993
|
+
/** @format double */
|
|
2994
|
+
rentalIncomeNetAmount?: number | null;
|
|
2995
|
+
/** @format double */
|
|
2996
|
+
maintenanceExpense?: number | null;
|
|
2997
|
+
/** @format double */
|
|
2998
|
+
percentageOfRental?: number | null;
|
|
2999
|
+
/** @format double */
|
|
3000
|
+
participationPercentage?: number | null;
|
|
3001
|
+
/** @format date */
|
|
3002
|
+
acquiredDate?: string | null;
|
|
3003
|
+
dispositionStatus?: string | null;
|
|
2982
3004
|
address?: AddressV3 | null;
|
|
2983
3005
|
mortgages?: LoanBorrowerRealEstateAssetMortgage[] | null;
|
|
2984
3006
|
}
|
|
@@ -3175,6 +3197,22 @@ export interface LoanContact {
|
|
|
3175
3197
|
export interface LoanContactList {
|
|
3176
3198
|
email: string;
|
|
3177
3199
|
}
|
|
3200
|
+
export interface LoanCostDetails {
|
|
3201
|
+
/** @format uuid */
|
|
3202
|
+
id?: string | null;
|
|
3203
|
+
/** @format double */
|
|
3204
|
+
closingCosts?: number | null;
|
|
3205
|
+
/** @format double */
|
|
3206
|
+
prepaidCharges?: number | null;
|
|
3207
|
+
/** @format double */
|
|
3208
|
+
discount?: number | null;
|
|
3209
|
+
/** @format double */
|
|
3210
|
+
lenderCredit?: number | null;
|
|
3211
|
+
/** @format double */
|
|
3212
|
+
totalCost?: number | null;
|
|
3213
|
+
/** @format double */
|
|
3214
|
+
totalFinancing?: number | null;
|
|
3215
|
+
}
|
|
3178
3216
|
export interface LoanCustomFieldsRequest {
|
|
3179
3217
|
additionalFields?: Record<string, string> | null;
|
|
3180
3218
|
}
|
|
@@ -3327,6 +3365,24 @@ export interface LoanFinancialTerms {
|
|
|
3327
3365
|
baseLoanAmount?: number | null;
|
|
3328
3366
|
/** @format double */
|
|
3329
3367
|
totalLoanAmount?: number | null;
|
|
3368
|
+
/** @format double */
|
|
3369
|
+
mortgageInsuranceFactor?: number | null;
|
|
3370
|
+
isEscrowWaived?: boolean | null;
|
|
3371
|
+
}
|
|
3372
|
+
export interface LoanFinancialTermsRequest {
|
|
3373
|
+
/** @format int32 */
|
|
3374
|
+
loanTermMonths?: number | null;
|
|
3375
|
+
amortizationType?: LoanAmortizationType | null;
|
|
3376
|
+
/** @format double */
|
|
3377
|
+
apr?: number | null;
|
|
3378
|
+
/** @format double */
|
|
3379
|
+
interestRate?: number | null;
|
|
3380
|
+
/** @format double */
|
|
3381
|
+
downPayment?: number | null;
|
|
3382
|
+
/** @format double */
|
|
3383
|
+
baseLoanAmount?: number | null;
|
|
3384
|
+
/** @format double */
|
|
3385
|
+
totalLoanAmount?: number | null;
|
|
3330
3386
|
}
|
|
3331
3387
|
export interface LoanIdentifier {
|
|
3332
3388
|
/** @format uuid */
|
|
@@ -3435,6 +3491,18 @@ export interface LoanLogSearchCriteria {
|
|
|
3435
3491
|
types?: LoanLogType[] | null;
|
|
3436
3492
|
levels?: LogLevel[] | null;
|
|
3437
3493
|
}
|
|
3494
|
+
export interface LoanMetrics {
|
|
3495
|
+
/** @format uuid */
|
|
3496
|
+
id?: string | null;
|
|
3497
|
+
/** @format double */
|
|
3498
|
+
ltv?: number | null;
|
|
3499
|
+
/** @format double */
|
|
3500
|
+
cltv?: number | null;
|
|
3501
|
+
/** @format double */
|
|
3502
|
+
frontDti?: number | null;
|
|
3503
|
+
/** @format double */
|
|
3504
|
+
backDti?: number | null;
|
|
3505
|
+
}
|
|
3438
3506
|
export interface LoanMilestone {
|
|
3439
3507
|
/** @format uuid */
|
|
3440
3508
|
id: string;
|
|
@@ -3461,6 +3529,22 @@ export interface LoanMonthlyPayment {
|
|
|
3461
3529
|
/** @format double */
|
|
3462
3530
|
other?: number | null;
|
|
3463
3531
|
}
|
|
3532
|
+
export interface LoanMonthlyPaymentRequest {
|
|
3533
|
+
/** @format double */
|
|
3534
|
+
principalAndInterest?: number | null;
|
|
3535
|
+
/** @format double */
|
|
3536
|
+
taxes?: number | null;
|
|
3537
|
+
/** @format double */
|
|
3538
|
+
insurance?: number | null;
|
|
3539
|
+
/** @format double */
|
|
3540
|
+
mortgageInsurance?: number | null;
|
|
3541
|
+
/** @format double */
|
|
3542
|
+
floodInsurance?: number | null;
|
|
3543
|
+
/** @format double */
|
|
3544
|
+
hoa?: number | null;
|
|
3545
|
+
/** @format double */
|
|
3546
|
+
other?: number | null;
|
|
3547
|
+
}
|
|
3464
3548
|
export interface LoanNonOwningBorrower {
|
|
3465
3549
|
/** @format uuid */
|
|
3466
3550
|
id?: string | null;
|
|
@@ -4358,15 +4442,11 @@ export interface SendLoanTaskReminderRequest {
|
|
|
4358
4442
|
templateId: string;
|
|
4359
4443
|
userIds?: string[] | null;
|
|
4360
4444
|
}
|
|
4361
|
-
export interface
|
|
4362
|
-
|
|
4363
|
-
|
|
4364
|
-
|
|
4365
|
-
|
|
4366
|
-
siteConfigurationId?: string | null;
|
|
4367
|
-
email?: string | null;
|
|
4368
|
-
phone?: string | null;
|
|
4369
|
-
attachments: Attachment[];
|
|
4445
|
+
export interface SendOutstandingTaskReminderRequest {
|
|
4446
|
+
userIds?: string[] | null;
|
|
4447
|
+
}
|
|
4448
|
+
export interface SetAiEnabledRequest {
|
|
4449
|
+
isEnabled: boolean;
|
|
4370
4450
|
}
|
|
4371
4451
|
export interface SetCustomFieldValueRequest {
|
|
4372
4452
|
/** @format uuid */
|
|
@@ -5131,15 +5211,6 @@ export interface TaxRatesRequest {
|
|
|
5131
5211
|
/** @format double */
|
|
5132
5212
|
marginalIncomeTaxRate: number;
|
|
5133
5213
|
}
|
|
5134
|
-
export interface TestSendNotificationForLoanRequest {
|
|
5135
|
-
loanData: Record<string, string>;
|
|
5136
|
-
/** @format uuid */
|
|
5137
|
-
siteConfigurationId: string;
|
|
5138
|
-
toAddress?: string | null;
|
|
5139
|
-
toPhoneNumber?: string | null;
|
|
5140
|
-
templateKey?: string | null;
|
|
5141
|
-
attachments: Attachment[];
|
|
5142
|
-
}
|
|
5143
5214
|
export interface Theme {
|
|
5144
5215
|
logoURL: string;
|
|
5145
5216
|
primaryColor: string;
|
|
@@ -6763,6 +6834,18 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6763
6834
|
sortBy?: string;
|
|
6764
6835
|
sortDirection?: string;
|
|
6765
6836
|
}, params?: RequestParams) => Promise<AxiosResponse<AiConfigChangeLogPaginated, any, {}>>;
|
|
6837
|
+
/**
|
|
6838
|
+
* No description
|
|
6839
|
+
*
|
|
6840
|
+
* @tags AiSuperAdmin
|
|
6841
|
+
* @name SetAccountAiEnabled
|
|
6842
|
+
* @summary Enable or disable AI for an account (SuperAdmin only)
|
|
6843
|
+
* @request PUT:/api/ai/superadmin/accounts/{accountId}/ai-enabled
|
|
6844
|
+
* @secure
|
|
6845
|
+
* @response `204` `void` No Content
|
|
6846
|
+
* @response `404` `ProblemDetails` Not Found
|
|
6847
|
+
*/
|
|
6848
|
+
setAccountAiEnabled: (accountId: string, data: SetAiEnabledRequest, params?: RequestParams) => Promise<AxiosResponse<void, any, {}>>;
|
|
6766
6849
|
/**
|
|
6767
6850
|
* No description
|
|
6768
6851
|
*
|
|
@@ -7860,6 +7943,34 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7860
7943
|
sortBy?: string;
|
|
7861
7944
|
sortDirection?: string;
|
|
7862
7945
|
}, params?: RequestParams) => Promise<AxiosResponse<EncompassPackageList, any, {}>>;
|
|
7946
|
+
/**
|
|
7947
|
+
* No description
|
|
7948
|
+
*
|
|
7949
|
+
* @tags Encompass Packages
|
|
7950
|
+
* @name GetLoanPackages
|
|
7951
|
+
* @request GET:/api/los/encompass/eclose/loans/{loanId}/packages
|
|
7952
|
+
* @secure
|
|
7953
|
+
* @response `200` `EncompassPackageList` OK
|
|
7954
|
+
* @response `400` `EncompassError` Bad Request
|
|
7955
|
+
* @response `401` `EncompassError` Unauthorized
|
|
7956
|
+
* @response `403` `EncompassError` Forbidden
|
|
7957
|
+
* @response `500` `EncompassError` Internal Server Error
|
|
7958
|
+
*/
|
|
7959
|
+
getLoanPackages: (loanId: string, query?: {
|
|
7960
|
+
status?: string;
|
|
7961
|
+
/**
|
|
7962
|
+
* @format int32
|
|
7963
|
+
* @default 1
|
|
7964
|
+
*/
|
|
7965
|
+
page?: number;
|
|
7966
|
+
/**
|
|
7967
|
+
* @format int32
|
|
7968
|
+
* @default 20
|
|
7969
|
+
*/
|
|
7970
|
+
pageSize?: number;
|
|
7971
|
+
sortBy?: string;
|
|
7972
|
+
sortDirection?: string;
|
|
7973
|
+
}, params?: RequestParams) => Promise<AxiosResponse<EncompassPackageList, any, {}>>;
|
|
7863
7974
|
/**
|
|
7864
7975
|
* No description
|
|
7865
7976
|
*
|
|
@@ -8397,18 +8508,6 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8397
8508
|
* @response `200` `string` OK
|
|
8398
8509
|
*/
|
|
8399
8510
|
getLoanEmbeddedSigningLink: (envelopeId: string, userName: string, email: string, params?: RequestParams) => Promise<AxiosResponse<string, any, {}>>;
|
|
8400
|
-
/**
|
|
8401
|
-
* No description
|
|
8402
|
-
*
|
|
8403
|
-
* @tags LegacyLoan
|
|
8404
|
-
* @name CreateLegacyLoanDocument
|
|
8405
|
-
* @summary Create Document
|
|
8406
|
-
* @request POST:/api/los/loan/generatedocument
|
|
8407
|
-
* @deprecated
|
|
8408
|
-
* @secure
|
|
8409
|
-
* @response `200` `DocumentDataRequest` OK
|
|
8410
|
-
*/
|
|
8411
|
-
createLegacyLoanDocument: (data: GenerateDocumentRequest, params?: RequestParams) => Promise<AxiosResponse<DocumentDataRequest, any, {}>>;
|
|
8412
8511
|
/**
|
|
8413
8512
|
* No description
|
|
8414
8513
|
*
|
|
@@ -9661,18 +9760,6 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9661
9760
|
/** @format uuid */
|
|
9662
9761
|
folderID?: string;
|
|
9663
9762
|
}, params?: RequestParams) => Promise<AxiosResponse<UserLoanTask, any, {}>>;
|
|
9664
|
-
/**
|
|
9665
|
-
* No description
|
|
9666
|
-
*
|
|
9667
|
-
* @tags LoanTaskDocuments
|
|
9668
|
-
* @name CreateLoanTaskDocumentBucket
|
|
9669
|
-
* @summary Create Bucket
|
|
9670
|
-
* @request POST:/api/loans/{loanID}/tasks/{loanTaskId}/documents/bucket
|
|
9671
|
-
* @secure
|
|
9672
|
-
* @response `204` `UserLoanTask` No Content
|
|
9673
|
-
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
9674
|
-
*/
|
|
9675
|
-
createLoanTaskDocumentBucket: (loanId: string, loanTaskId: string, params?: RequestParams) => Promise<AxiosResponse<UserLoanTask, any, {}>>;
|
|
9676
9763
|
/**
|
|
9677
9764
|
* No description
|
|
9678
9765
|
*
|
|
@@ -9682,9 +9769,11 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
9682
9769
|
* @request POST:/api/loans/{loanID}/tasks/reminders/outstanding
|
|
9683
9770
|
* @secure
|
|
9684
9771
|
* @response `204` `void` No Content
|
|
9772
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
9685
9773
|
* @response `404` `ProblemDetails` Not Found
|
|
9774
|
+
* @response `422` `ProblemDetails` Unprocessable Content
|
|
9686
9775
|
*/
|
|
9687
|
-
sendOutstandingLoanTaskNotification: (loanId: string, params?: RequestParams) => Promise<AxiosResponse<void, any, {}>>;
|
|
9776
|
+
sendOutstandingLoanTaskNotification: (loanId: string, data: SendOutstandingTaskReminderRequest, params?: RequestParams) => Promise<AxiosResponse<void, any, {}>>;
|
|
9688
9777
|
/**
|
|
9689
9778
|
* No description
|
|
9690
9779
|
*
|
|
@@ -10021,32 +10110,6 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
10021
10110
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
10022
10111
|
*/
|
|
10023
10112
|
calculateMortgageRefinance: (data: RefinanceCalculatorRequest, params?: RequestParams) => Promise<AxiosResponse<RefinanceCalculator, any, {}>>;
|
|
10024
|
-
/**
|
|
10025
|
-
* No description
|
|
10026
|
-
*
|
|
10027
|
-
* @tags Notifications
|
|
10028
|
-
* @name SendNotificationForLoan
|
|
10029
|
-
* @summary Send Notification for Loan
|
|
10030
|
-
* @request POST:/api/notifications
|
|
10031
|
-
* @deprecated
|
|
10032
|
-
* @secure
|
|
10033
|
-
* @response `200` `void` OK
|
|
10034
|
-
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
10035
|
-
*/
|
|
10036
|
-
sendNotificationForLoan: (data: SendNotificationForLoanRequest, params?: RequestParams) => Promise<AxiosResponse<void, any, {}>>;
|
|
10037
|
-
/**
|
|
10038
|
-
* No description
|
|
10039
|
-
*
|
|
10040
|
-
* @tags Notifications
|
|
10041
|
-
* @name SendTestNotificationForLoan
|
|
10042
|
-
* @summary Send Test Notification for Loan
|
|
10043
|
-
* @request POST:/api/notifications/test
|
|
10044
|
-
* @deprecated
|
|
10045
|
-
* @secure
|
|
10046
|
-
* @response `200` `void` OK
|
|
10047
|
-
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
10048
|
-
*/
|
|
10049
|
-
sendTestNotificationForLoan: (data: TestSendNotificationForLoanRequest, params?: RequestParams) => Promise<AxiosResponse<void, any, {}>>;
|
|
10050
10113
|
/**
|
|
10051
10114
|
* No description
|
|
10052
10115
|
*
|
package/dist/index.js
CHANGED
|
@@ -790,6 +790,18 @@ export class Api extends HttpClient {
|
|
|
790
790
|
* @response `200` `AiConfigChangeLogPaginated` OK
|
|
791
791
|
*/
|
|
792
792
|
getAiConfigChangesCrossAccount: (query, params = {}) => this.request(Object.assign({ path: `/api/ai/superadmin/config-changes`, method: "GET", query: query, secure: true, format: "json" }, params)),
|
|
793
|
+
/**
|
|
794
|
+
* No description
|
|
795
|
+
*
|
|
796
|
+
* @tags AiSuperAdmin
|
|
797
|
+
* @name SetAccountAiEnabled
|
|
798
|
+
* @summary Enable or disable AI for an account (SuperAdmin only)
|
|
799
|
+
* @request PUT:/api/ai/superadmin/accounts/{accountId}/ai-enabled
|
|
800
|
+
* @secure
|
|
801
|
+
* @response `204` `void` No Content
|
|
802
|
+
* @response `404` `ProblemDetails` Not Found
|
|
803
|
+
*/
|
|
804
|
+
setAccountAiEnabled: (accountId, data, params = {}) => this.request(Object.assign({ path: `/api/ai/superadmin/accounts/${accountId}/ai-enabled`, method: "PUT", body: data, secure: true, type: "application/json" }, params)),
|
|
793
805
|
/**
|
|
794
806
|
* No description
|
|
795
807
|
*
|
|
@@ -1786,6 +1798,20 @@ export class Api extends HttpClient {
|
|
|
1786
1798
|
* @response `500` `EncompassError` Internal Server Error
|
|
1787
1799
|
*/
|
|
1788
1800
|
getUserPackages: (query, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/eclose/packages`, method: "GET", query: query, secure: true, format: "json" }, params)),
|
|
1801
|
+
/**
|
|
1802
|
+
* No description
|
|
1803
|
+
*
|
|
1804
|
+
* @tags Encompass Packages
|
|
1805
|
+
* @name GetLoanPackages
|
|
1806
|
+
* @request GET:/api/los/encompass/eclose/loans/{loanId}/packages
|
|
1807
|
+
* @secure
|
|
1808
|
+
* @response `200` `EncompassPackageList` OK
|
|
1809
|
+
* @response `400` `EncompassError` Bad Request
|
|
1810
|
+
* @response `401` `EncompassError` Unauthorized
|
|
1811
|
+
* @response `403` `EncompassError` Forbidden
|
|
1812
|
+
* @response `500` `EncompassError` Internal Server Error
|
|
1813
|
+
*/
|
|
1814
|
+
getLoanPackages: (loanId, query, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/eclose/loans/${loanId}/packages`, method: "GET", query: query, secure: true, format: "json" }, params)),
|
|
1789
1815
|
/**
|
|
1790
1816
|
* No description
|
|
1791
1817
|
*
|
|
@@ -2267,18 +2293,6 @@ export class Api extends HttpClient {
|
|
|
2267
2293
|
* @response `200` `string` OK
|
|
2268
2294
|
*/
|
|
2269
2295
|
getLoanEmbeddedSigningLink: (envelopeId, userName, email, params = {}) => this.request(Object.assign({ path: `/api/los/loan/embeddedsigning/${envelopeId}/${userName}/${email}`, method: "POST", secure: true, format: "json" }, params)),
|
|
2270
|
-
/**
|
|
2271
|
-
* No description
|
|
2272
|
-
*
|
|
2273
|
-
* @tags LegacyLoan
|
|
2274
|
-
* @name CreateLegacyLoanDocument
|
|
2275
|
-
* @summary Create Document
|
|
2276
|
-
* @request POST:/api/los/loan/generatedocument
|
|
2277
|
-
* @deprecated
|
|
2278
|
-
* @secure
|
|
2279
|
-
* @response `200` `DocumentDataRequest` OK
|
|
2280
|
-
*/
|
|
2281
|
-
createLegacyLoanDocument: (data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/generatedocument`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2282
2296
|
/**
|
|
2283
2297
|
* No description
|
|
2284
2298
|
*
|
|
@@ -3404,18 +3418,6 @@ export class Api extends HttpClient {
|
|
|
3404
3418
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3405
3419
|
*/
|
|
3406
3420
|
createLoanTaskDocument: (loanId, loanTaskId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${loanTaskId}/documents`, method: "POST", body: data, secure: true, type: "multipart/form-data", format: "json" }, params)),
|
|
3407
|
-
/**
|
|
3408
|
-
* No description
|
|
3409
|
-
*
|
|
3410
|
-
* @tags LoanTaskDocuments
|
|
3411
|
-
* @name CreateLoanTaskDocumentBucket
|
|
3412
|
-
* @summary Create Bucket
|
|
3413
|
-
* @request POST:/api/loans/{loanID}/tasks/{loanTaskId}/documents/bucket
|
|
3414
|
-
* @secure
|
|
3415
|
-
* @response `204` `UserLoanTask` No Content
|
|
3416
|
-
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3417
|
-
*/
|
|
3418
|
-
createLoanTaskDocumentBucket: (loanId, loanTaskId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${loanTaskId}/documents/bucket`, method: "POST", secure: true, format: "json" }, params)),
|
|
3419
3421
|
/**
|
|
3420
3422
|
* No description
|
|
3421
3423
|
*
|
|
@@ -3425,9 +3427,11 @@ export class Api extends HttpClient {
|
|
|
3425
3427
|
* @request POST:/api/loans/{loanID}/tasks/reminders/outstanding
|
|
3426
3428
|
* @secure
|
|
3427
3429
|
* @response `204` `void` No Content
|
|
3430
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
3428
3431
|
* @response `404` `ProblemDetails` Not Found
|
|
3432
|
+
* @response `422` `ProblemDetails` Unprocessable Content
|
|
3429
3433
|
*/
|
|
3430
|
-
sendOutstandingLoanTaskNotification: (loanId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/reminders/outstanding`, method: "POST", secure: true }, params)),
|
|
3434
|
+
sendOutstandingLoanTaskNotification: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/reminders/outstanding`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
3431
3435
|
/**
|
|
3432
3436
|
* No description
|
|
3433
3437
|
*
|
|
@@ -3750,32 +3754,6 @@ export class Api extends HttpClient {
|
|
|
3750
3754
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
3751
3755
|
*/
|
|
3752
3756
|
calculateMortgageRefinance: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/refinance`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3753
|
-
/**
|
|
3754
|
-
* No description
|
|
3755
|
-
*
|
|
3756
|
-
* @tags Notifications
|
|
3757
|
-
* @name SendNotificationForLoan
|
|
3758
|
-
* @summary Send Notification for Loan
|
|
3759
|
-
* @request POST:/api/notifications
|
|
3760
|
-
* @deprecated
|
|
3761
|
-
* @secure
|
|
3762
|
-
* @response `200` `void` OK
|
|
3763
|
-
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3764
|
-
*/
|
|
3765
|
-
sendNotificationForLoan: (data, params = {}) => this.request(Object.assign({ path: `/api/notifications`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
3766
|
-
/**
|
|
3767
|
-
* No description
|
|
3768
|
-
*
|
|
3769
|
-
* @tags Notifications
|
|
3770
|
-
* @name SendTestNotificationForLoan
|
|
3771
|
-
* @summary Send Test Notification for Loan
|
|
3772
|
-
* @request POST:/api/notifications/test
|
|
3773
|
-
* @deprecated
|
|
3774
|
-
* @secure
|
|
3775
|
-
* @response `200` `void` OK
|
|
3776
|
-
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3777
|
-
*/
|
|
3778
|
-
sendTestNotificationForLoan: (data, params = {}) => this.request(Object.assign({ path: `/api/notifications/test`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
3779
3757
|
/**
|
|
3780
3758
|
* No description
|
|
3781
3759
|
*
|