@matech/thebigpos-sdk 2.23.5-rc0 → 3.0.0-rc.0

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/.husky/pre-commit CHANGED
@@ -1,3 +1 @@
1
- [ -f ./src/index.ts ] && node scripts/apply-json-patch-content-type.js
2
- yarn build
3
- git add .
1
+ yarn build
package/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2024 Mortgage Automation Technologies
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2024 Mortgage Automation Technologies
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,44 +1,44 @@
1
- # The BIG POS Typescript SDK
2
-
3
- ## Installation
4
- Using npm:
5
-
6
- ```bash
7
- $ npm install @matech/thebigpos-sdk
8
- ```
9
-
10
- Using yarn:
11
-
12
- ```bash
13
- $ yarn add @matech/thebigpos-sdk
14
- ```
15
-
16
- ## Quick Start
17
- ```js
18
- import { Api } from "@matech/thebigpos-sdk";
19
-
20
- const securityWorker = (data: any) => {
21
- return { headers: data }
22
- }
23
-
24
- const setBearerSecurityWorker = (accessToken:string) => {
25
- const data = {
26
- Authorization: `Bearer ${accessToken}`
27
- };
28
-
29
- apiClient.setSecurityData(data);
30
- };
31
-
32
- const apiClient = new Api({
33
- baseURL:
34
- process.env.REACT_APP_POS_API_HOST || 'https://api.thebigpos.com',
35
- securityWorker,
36
- })
37
-
38
- apiClient.api.getSiteConfiguration().then((response) => {
39
- console.log(response.data);
40
- });
41
- ```
42
-
43
- ____
44
- © 2024 Mortgage Automation Technologies. All rights reserved
1
+ # The BIG POS Typescript SDK
2
+
3
+ ## Installation
4
+ Using npm:
5
+
6
+ ```bash
7
+ $ npm install @matech/thebigpos-sdk
8
+ ```
9
+
10
+ Using yarn:
11
+
12
+ ```bash
13
+ $ yarn add @matech/thebigpos-sdk
14
+ ```
15
+
16
+ ## Quick Start
17
+ ```js
18
+ import { Api } from "@matech/thebigpos-sdk";
19
+
20
+ const securityWorker = (data: any) => {
21
+ return { headers: data }
22
+ }
23
+
24
+ const setBearerSecurityWorker = (accessToken:string) => {
25
+ const data = {
26
+ Authorization: `Bearer ${accessToken}`
27
+ };
28
+
29
+ apiClient.setSecurityData(data);
30
+ };
31
+
32
+ const apiClient = new Api({
33
+ baseURL:
34
+ process.env.REACT_APP_POS_API_HOST || 'https://api.thebigpos.com',
35
+ securityWorker,
36
+ })
37
+
38
+ apiClient.api.getSiteConfiguration().then((response) => {
39
+ console.log(response.data);
40
+ });
41
+ ```
42
+
43
+ ____
44
+ © 2024 Mortgage Automation Technologies. All rights reserved
package/dist/index.d.ts CHANGED
@@ -1,22 +1,36 @@
1
1
  export type UserRole = "Borrower" | "LoanOfficer" | "Admin" | "SuperAdmin" | "Realtor" | "SettlementAgent" | "LoanProcessor" | "LoanOfficerAssistant" | "BranchManager" | "SystemAdmin";
2
2
  export type SiteConfigurationType = "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
3
3
  export type SSOIntegrationType = "ConsumerConnect" | "TheBigPOS";
4
+ export type RefinanceExistingType = "Conventional" | "ARM" | "Jumbo" | "FHA" | "VA" | "USDA" | "NotSure";
5
+ export type PropertyType = "SingleFamily" | "Condo" | "MultiFamily";
6
+ export type PropertyOccupancyType = "PrimaryResidence" | "SecondaryResidence" | "Investment" | "FHASecondaryResidence";
7
+ export type PropertyIntention = "Keep" | "Rent" | "Sell";
8
+ export type PropertyHeldBy = "Sole" | "JointWithSpouse" | "JointWithOtherThanSpouse";
4
9
  export type OperationType = "Add" | "Remove" | "Replace" | "Move" | "Copy" | "Test" | "Invalid";
5
10
  export type LogLevel = "None" | "Info" | "Warning" | "Error";
6
11
  export type LoanRole = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent";
7
12
  export type LoanQueueType = "Unknown" | "New" | "Append" | "Update" | "FieldUpdates" | "Document" | "Buckets";
8
13
  export type LoanQueueReason = "Unknown" | "Locked" | "LOSError" | "Exception";
14
+ export type LoanPurpose = "Purchase" | "Refinance";
9
15
  export type LoanLogType = "Loan" | "Queue" | "POSFlagChanged" | "Verification";
10
16
  export type LoanImportStatus = "WaitingProcess" | "InProgress" | "Completed" | "Failed" | "Cancelled";
11
17
  export type LoanImportMode = "All" | "NewOnly" | "UpdateOnly";
12
18
  export type LoanAccessScopeType = "User" | "Branch";
13
19
  export type LOSStatus = "Unknown" | "Pending" | "Retrying" | "Successful" | "Failed" | "FailedPermanently";
14
20
  export type FilterType = "DateGreaterThanOrEqualTo" | "DateGreaterThan" | "DateLessThan" | "DateLessThanOrEqualTo" | "DateEquals" | "DateDoesntEqual" | "DateNonEmpty" | "DateEmpty" | "StringContains" | "StringEquals" | "StringNotEmpty" | "StringNotEquals" | "StringNotContains";
21
+ export type ErrorType = "Failure" | "Validation" | "NotFound" | "Conflict" | "Unauthorized" | "Forbidden";
15
22
  export type Environment = "Development" | "Staging" | "UAT" | "Production";
16
23
  export type EntityType = "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Realtor";
17
24
  export type BranchType = "Mortgage" | "RealEstate";
18
25
  export type BorrowerType = "Borrower" | "CoBorrower" | "Unknown";
19
26
  export type BorrowerRelationship = "NotApplicable" | "Spouse" | "NonSpouse";
27
+ export type BorrowerMaritalStatus = "Single" | "Married" | "Separated";
28
+ export type BorrowerLanguagePreference = "English" | "Chinese" | "Korean" | "Tagalog" | "Vietnamese" | "Other" | "LanguageRefusal";
29
+ export type BorrowerJobPayType = "Salary" | "Hourly";
30
+ export type BorrowerConsentType = "Econsent" | "CreditAuthorization" | "Tcpa";
31
+ export type BorrowerCitizenshipStatus = "USCitizen" | "PermanentResidentAlien" | "NonPermanentResidentAlien";
32
+ export type AssetAccountType = "Checking" | "Savings" | "MoneyMarket" | "CD" | "MutualFund" | "Stock" | "StockOptions" | "Bond" | "Retirement" | "BridgeLoan" | "IndividualDevelopment" | "LifeInsurance" | "Trust";
33
+ export type AddressOwnershipType = "Own" | "Rent" | "LiveRentFree";
20
34
  export interface ASOSettings {
21
35
  enabled: boolean;
22
36
  softPull: boolean;
@@ -99,6 +113,20 @@ export interface AddressRequest {
99
113
  /** @minLength 1 */
100
114
  postalCode: string;
101
115
  }
116
+ export interface AddressV3 {
117
+ /** @format uuid */
118
+ id: string;
119
+ unit?: string | null;
120
+ city?: string | null;
121
+ state?: string | null;
122
+ street?: string | null;
123
+ county?: string | null;
124
+ zipCode?: string | null;
125
+ unitType?: string | null;
126
+ /** @format date */
127
+ since?: string | null;
128
+ ownershipType?: AddressOwnershipType | null;
129
+ }
102
130
  export interface AdminAccessGetForms {
103
131
  /** @format date-time */
104
132
  createdAt?: string | null;
@@ -1485,6 +1513,7 @@ export interface Loan {
1485
1513
  loanProgram?: string | null;
1486
1514
  loanType?: string | null;
1487
1515
  status?: string | null;
1516
+ isActive: boolean;
1488
1517
  loanOfficer?: LoanOfficer | null;
1489
1518
  propertyAddress?: Address | null;
1490
1519
  loanSettings?: LoanSettings | null;
@@ -1495,6 +1524,147 @@ export interface Loan {
1495
1524
  userLoans: UserLoan[];
1496
1525
  contacts: LoanContact[];
1497
1526
  }
1527
+ export interface LoanBorrower {
1528
+ /** @format uuid */
1529
+ id: string;
1530
+ /** @format uuid */
1531
+ userId?: string | null;
1532
+ ssn: string;
1533
+ email: string;
1534
+ lastName: string;
1535
+ firstName: string;
1536
+ /** @format date */
1537
+ dateOfBirth?: string | null;
1538
+ maritalStatus?: BorrowerMaritalStatus | null;
1539
+ citizenshipType?: BorrowerCitizenshipStatus | null;
1540
+ languagePreference?: BorrowerLanguagePreference | null;
1541
+ sufixName?: string | null;
1542
+ middleName?: string | null;
1543
+ phoneNumber?: string | null;
1544
+ hasDependents?: boolean | null;
1545
+ dependentsAges?: string | null;
1546
+ /** @format int32 */
1547
+ quantityOfDependents?: number | null;
1548
+ declarations?: LoanBorrowerDeclarations | null;
1549
+ addresses: AddressV3[];
1550
+ jobs: LoanBorrowerJob[];
1551
+ assets: LoanBorrowerAsset[];
1552
+ incomes: LoanBorrowerIncome[];
1553
+ consents: LoanBorrowerConsent[];
1554
+ realEstateProperties: LoanBorrowerRealEstateProperty[];
1555
+ }
1556
+ export interface LoanBorrowerAsset {
1557
+ /** @format uuid */
1558
+ id: string;
1559
+ institution?: string | null;
1560
+ /** @format double */
1561
+ balance?: number | null;
1562
+ accountType?: AssetAccountType | null;
1563
+ }
1564
+ export interface LoanBorrowerConsent {
1565
+ /** @format uuid */
1566
+ id: string;
1567
+ ipAddress?: string | null;
1568
+ providedConsent?: boolean | null;
1569
+ /** @format date-time */
1570
+ consentDate?: string | null;
1571
+ type?: BorrowerConsentType | null;
1572
+ }
1573
+ export interface LoanBorrowerDeclarations {
1574
+ /** @format uuid */
1575
+ id: string;
1576
+ isNewCredit?: boolean | null;
1577
+ isGuarantor?: boolean | null;
1578
+ isMortgageLoan?: boolean | null;
1579
+ isPartyToLawsuit?: boolean | null;
1580
+ isPrimaryResidence?: boolean | null;
1581
+ isBorrowingMoney?: boolean | null;
1582
+ /** @format double */
1583
+ borrowingMoneyAmount?: number | null;
1584
+ hasLien?: boolean | null;
1585
+ hasShortSale?: boolean | null;
1586
+ hasForeclosure?: boolean | null;
1587
+ hasConveyedTitle?: boolean | null;
1588
+ hasOwnershipInterest?: boolean | null;
1589
+ hasFederalDelinquency?: boolean | null;
1590
+ hasOutstandingJudgements?: boolean | null;
1591
+ hasFamilyOrBusinessAffiliationWithSeller?: boolean | null;
1592
+ hasBankruptcy?: boolean | null;
1593
+ hasBankruptcyChapter7?: boolean | null;
1594
+ hasBankruptcyChapter11?: boolean | null;
1595
+ hasBankruptcyChapter12?: boolean | null;
1596
+ hasBankruptcyChapter13?: boolean | null;
1597
+ heldBy?: PropertyHeldBy | null;
1598
+ occupancyType?: PropertyOccupancyType | null;
1599
+ }
1600
+ export interface LoanBorrowerIncome {
1601
+ /** @format uuid */
1602
+ id: string;
1603
+ source?: string | null;
1604
+ /** @format double */
1605
+ amount?: number | null;
1606
+ }
1607
+ export interface LoanBorrowerJob {
1608
+ /** @format uuid */
1609
+ id: string;
1610
+ employerName?: string | null;
1611
+ employerPhoneNumber?: string | null;
1612
+ position?: string | null;
1613
+ /** @format int32 */
1614
+ yearsInField?: number | null;
1615
+ /** @format int32 */
1616
+ monthsInField?: number | null;
1617
+ isCurrent?: boolean | null;
1618
+ isSelfEmployed?: boolean | null;
1619
+ hasW2?: boolean | null;
1620
+ /** @format double */
1621
+ w2Wages?: number | null;
1622
+ hasDistributions?: boolean | null;
1623
+ /** @format double */
1624
+ distributions?: number | null;
1625
+ hasOtherIncome?: boolean | null;
1626
+ /** @format double */
1627
+ bonuses?: number | null;
1628
+ /** @format double */
1629
+ overtime?: number | null;
1630
+ /** @format double */
1631
+ comissions?: number | null;
1632
+ /** @format double */
1633
+ payValue?: number | null;
1634
+ /** @format date */
1635
+ startDate?: string | null;
1636
+ payType?: BorrowerJobPayType | null;
1637
+ employerAddress?: AddressV3 | null;
1638
+ }
1639
+ export interface LoanBorrowerPair {
1640
+ /** @format uuid */
1641
+ id: string;
1642
+ /** @format int32 */
1643
+ position: number;
1644
+ borrower?: LoanBorrower | null;
1645
+ coborrower?: LoanBorrower | null;
1646
+ }
1647
+ export interface LoanBorrowerRealEstateProperty {
1648
+ /** @format uuid */
1649
+ id: string;
1650
+ /** @format int32 */
1651
+ units?: number | null;
1652
+ /** @format int32 */
1653
+ yearBuilt?: number | null;
1654
+ /** @format double */
1655
+ value?: number | null;
1656
+ /** @format double */
1657
+ purchasePrice?: number | null;
1658
+ /** @format double */
1659
+ incomeAmount?: number | null;
1660
+ /** @format double */
1661
+ mortgageAmount?: number | null;
1662
+ /** @format double */
1663
+ expensesAmount?: number | null;
1664
+ intention?: PropertyIntention | null;
1665
+ occupancyType?: PropertyOccupancyType | null;
1666
+ address?: AddressV3 | null;
1667
+ }
1498
1668
  export interface LoanComparison {
1499
1669
  loanID: string;
1500
1670
  scenarios: LoanComparisonScenario[];
@@ -1637,6 +1807,9 @@ export interface LoanCreateRequest {
1637
1807
  */
1638
1808
  draftId: string;
1639
1809
  }
1810
+ export interface LoanCustomFieldsRequest {
1811
+ additionalFields?: Record<string, string>;
1812
+ }
1640
1813
  export interface LoanDocument {
1641
1814
  /** @format date-time */
1642
1815
  createdAt: string;
@@ -1741,6 +1914,7 @@ export interface LoanList {
1741
1914
  totalLoanAmount?: number | null;
1742
1915
  /** @format date-time */
1743
1916
  startDate?: string | null;
1917
+ isActive: boolean;
1744
1918
  propertyAddress?: Address | null;
1745
1919
  loanOfficer?: LoanOfficerList | null;
1746
1920
  buyerAgentContact?: LoanContactList | null;
@@ -1773,6 +1947,14 @@ export interface LoanLogSearchCriteria {
1773
1947
  types?: LoanLogType[] | null;
1774
1948
  levels?: LogLevel[] | null;
1775
1949
  }
1950
+ export interface LoanMilestone {
1951
+ /** @format uuid */
1952
+ id: string;
1953
+ name: string;
1954
+ /** @format date-time */
1955
+ completedAt?: string | null;
1956
+ completed: boolean;
1957
+ }
1776
1958
  export interface LoanOfficer {
1777
1959
  /** @format uuid */
1778
1960
  id: string;
@@ -1874,6 +2056,17 @@ export interface LoanSearchCriteria {
1874
2056
  export interface LoanSettings {
1875
2057
  excludeFromAutoTaskReminders: boolean;
1876
2058
  }
2059
+ export interface LoanSubjectProperty {
2060
+ /** @format int32 */
2061
+ units?: number | null;
2062
+ /** @format int32 */
2063
+ yearBuilt?: number | null;
2064
+ /** @format double */
2065
+ purchasePrice?: number | null;
2066
+ type?: PropertyType | null;
2067
+ occupancyType?: PropertyOccupancyType | null;
2068
+ address?: AddressV3 | null;
2069
+ }
1877
2070
  export interface LoanUpdateRequestJsonPatchDocument {
1878
2071
  operations?: LoanUpdateRequestOperation[] | null;
1879
2072
  contractResolver?: IContractResolver | null;
@@ -1898,6 +2091,33 @@ export interface LoanUser {
1898
2091
  /** @format date-time */
1899
2092
  createdAt: string;
1900
2093
  }
2094
+ export interface LoanV3 {
2095
+ /** @format uuid */
2096
+ id: string;
2097
+ /** @format uuid */
2098
+ loanOfficerId?: string | null;
2099
+ isPosLoan?: boolean | null;
2100
+ number?: string | null;
2101
+ externalId?: string | null;
2102
+ /** @format int32 */
2103
+ loanTermInYears?: number | null;
2104
+ isMilitaryService?: boolean | null;
2105
+ isHomeOwnershipEducation?: boolean | null;
2106
+ /** @format double */
2107
+ amount?: number | null;
2108
+ /** @format double */
2109
+ downPaymentAmount?: number | null;
2110
+ isDownPaymentGift?: boolean | null;
2111
+ /** @format double */
2112
+ downPaymentGiftAmount?: number | null;
2113
+ purpose?: LoanPurpose | null;
2114
+ refinanceExistingType?: RefinanceExistingType | null;
2115
+ /** @format date-time */
2116
+ closingDate?: string | null;
2117
+ subjectProperty?: LoanSubjectProperty | null;
2118
+ milestones: LoanMilestone[];
2119
+ borrowerPairs: LoanBorrowerPair[];
2120
+ }
1901
2121
  export interface LosLoanCreationRequest {
1902
2122
  loanOfficerUserName?: string | null;
1903
2123
  loanTemplate?: string | null;
@@ -2160,7 +2380,7 @@ export interface NotificationTemplateVersionUpdateRequest {
2160
2380
  }
2161
2381
  export interface Operation {
2162
2382
  op?: string;
2163
- value?: string | number | boolean | null | object;
2383
+ value?: object | null;
2164
2384
  path?: string;
2165
2385
  }
2166
2386
  export interface OverridePasswordRequest {
@@ -2398,20 +2618,6 @@ export interface RequestImpersonationRequest {
2398
2618
  */
2399
2619
  email: string;
2400
2620
  }
2401
- export interface RequestQueue {
2402
- /** @format date-time */
2403
- createdAt?: string | null;
2404
- /** @format date-time */
2405
- updatedAt?: string | null;
2406
- /** @format date-time */
2407
- deletedAt?: string | null;
2408
- /** @format uuid */
2409
- id: string;
2410
- userEmail?: string | null;
2411
- endpoint?: string | null;
2412
- errorMessage?: string | null;
2413
- status?: string | null;
2414
- }
2415
2621
  export interface RunLOCalculation {
2416
2622
  loanID: string;
2417
2623
  loanAmount?: string | null;
@@ -2528,6 +2734,11 @@ export interface SendNotificationForLoanRequest {
2528
2734
  phone?: string | null;
2529
2735
  attachments: Attachment[];
2530
2736
  }
2737
+ export interface ServiceError {
2738
+ code: string;
2739
+ message: string;
2740
+ type: "Failure" | "Validation" | "NotFound" | "Conflict" | "Unauthorized" | "Forbidden";
2741
+ }
2531
2742
  export interface SiteConfiguration {
2532
2743
  /** @format date-time */
2533
2744
  createdAt?: string | null;
@@ -3782,7 +3993,6 @@ export interface ApiConfig<SecurityDataType = unknown> extends Omit<AxiosRequest
3782
3993
  format?: ResponseType;
3783
3994
  }
3784
3995
  export declare enum ContentType {
3785
- JsonPatch = "application/json-patch+json",
3786
3996
  Json = "application/json",
3787
3997
  JsonApi = "application/vnd.api+json",
3788
3998
  FormData = "multipart/form-data",
@@ -3804,7 +4014,7 @@ export declare class HttpClient<SecurityDataType = unknown> {
3804
4014
  }
3805
4015
  /**
3806
4016
  * @title The Big POS API
3807
- * @version v2.23.4
4017
+ * @version v2.24.4
3808
4018
  * @termsOfService https://www.thebigpos.com/terms-of-use/
3809
4019
  * @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
3810
4020
  */
@@ -4959,14 +5169,15 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4959
5169
  * No description
4960
5170
  *
4961
5171
  * @tags LegacyLoan
4962
- * @name UpdateLoanConsent
4963
- * @summary Update Loan Consent
5172
+ * @name UpdateLoanConsentAndCustomFieldsObsolete
5173
+ * @summary Update Loan Consent and Custom Fields
4964
5174
  * @request PATCH:/api/los/loan/application/{loanID}
5175
+ * @deprecated
4965
5176
  * @secure
4966
5177
  * @response `200` `string` Success
4967
5178
  * @response `422` `UnprocessableEntity` Client Error
4968
5179
  */
4969
- updateLoanConsent: (loanId: string, data: JsonPatchDocument, params?: RequestParams) => Promise<AxiosResponse<string, any>>;
5180
+ updateLoanConsentAndCustomFieldsObsolete: (loanId: string, data: JsonPatchDocument, params?: RequestParams) => Promise<AxiosResponse<string, any>>;
4970
5181
  /**
4971
5182
  * No description
4972
5183
  *
@@ -4991,6 +5202,30 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4991
5202
  * @response `423` `UnprocessableEntity` Client Error
4992
5203
  */
4993
5204
  createLoan: (data: any, params?: RequestParams) => Promise<AxiosResponse<string, any>>;
5205
+ /**
5206
+ * No description
5207
+ *
5208
+ * @tags LegacyLoan
5209
+ * @name UpdateLoanCustomFields
5210
+ * @summary Update Loan Custom Fields
5211
+ * @request PATCH:/api/los/loan/application/{loanID}/custom-fields
5212
+ * @secure
5213
+ * @response `200` `string` Success
5214
+ * @response `422` `UnprocessableEntity` Client Error
5215
+ */
5216
+ updateLoanCustomFields: (loanId: string, data: JsonPatchDocument, params?: RequestParams) => Promise<AxiosResponse<string, any>>;
5217
+ /**
5218
+ * No description
5219
+ *
5220
+ * @tags LegacyLoan
5221
+ * @name UpdateLoanConsent
5222
+ * @summary Update Loan Consent and Custom Fields
5223
+ * @request PATCH:/api/los/loan/application/{loanID}/consent
5224
+ * @secure
5225
+ * @response `200` `string` Success
5226
+ * @response `422` `UnprocessableEntity` Client Error
5227
+ */
5228
+ updateLoanConsent: (loanId: string, data: JsonPatchDocument, params?: RequestParams) => Promise<AxiosResponse<string, any>>;
4994
5229
  /**
4995
5230
  * No description
4996
5231
  *
@@ -5900,6 +6135,17 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5900
6135
  * @response `200` `Loan` Success
5901
6136
  */
5902
6137
  updateLoan: (loanId: string, data: JsonPatchDocument, params?: RequestParams) => Promise<AxiosResponse<Loan, any>>;
6138
+ /**
6139
+ * No description
6140
+ *
6141
+ * @tags Loans V3
6142
+ * @name GetLoanByIdV3
6143
+ * @request GET:/api/v3/loans/{id}
6144
+ * @secure
6145
+ * @response `200` `LoanV3` Success
6146
+ * @response `404` `ServiceError` Not Found
6147
+ */
6148
+ getLoanByIdV3: (id: string, params?: RequestParams) => Promise<AxiosResponse<LoanV3, any>>;
5903
6149
  /**
5904
6150
  * No description
5905
6151
  *
@@ -6494,45 +6740,6 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
6494
6740
  replacePartnerSiteConfiguration: (realtorId: string, siteConfigurationId: string, data: SiteConfigurationRequest, query?: {
6495
6741
  applyToChildren?: boolean;
6496
6742
  }, params?: RequestParams) => Promise<AxiosResponse<SiteConfiguration, any>>;
6497
- /**
6498
- * No description
6499
- *
6500
- * @tags RequestQueue
6501
- * @name GetRequestQueues
6502
- * @summary Get All
6503
- * @request GET:/api/request-queues
6504
- * @deprecated
6505
- * @secure
6506
- * @response `200` `(RequestQueue)[]` Success
6507
- */
6508
- getRequestQueues: (params?: RequestParams) => Promise<AxiosResponse<RequestQueue[], any>>;
6509
- /**
6510
- * No description
6511
- *
6512
- * @tags RequestQueue
6513
- * @name RunRequestQueue
6514
- * @summary Run
6515
- * @request POST:/api/request-queues/{id}/run
6516
- * @deprecated
6517
- * @secure
6518
- * @response `200` `void` Success
6519
- */
6520
- runRequestQueue: (id: string, query?: {
6521
- /** @default false */
6522
- force?: boolean;
6523
- }, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
6524
- /**
6525
- * No description
6526
- *
6527
- * @tags RequestQueue
6528
- * @name DeleteQueueRequest
6529
- * @summary Delete
6530
- * @request DELETE:/api/request-queues/{id}
6531
- * @deprecated
6532
- * @secure
6533
- * @response `204` `void` No Content
6534
- */
6535
- deleteQueueRequest: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
6536
6743
  /**
6537
6744
  * No description
6538
6745
  *