@matech/thebigpos-sdk 2.12.1-rc1 → 2.14.0-rc1

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/src/index.ts CHANGED
@@ -49,7 +49,7 @@ export interface Account {
49
49
  /** @format int32 */
50
50
  allowedLoginsWithoutMFA: number;
51
51
  losSettings: LOSSettings;
52
- asoSettings: ASOSettings;
52
+ asoSettings?: ASOSettings | null;
53
53
  }
54
54
 
55
55
  export interface Action {
@@ -119,7 +119,7 @@ export interface AdminAccessGetForms {
119
119
  slug?: string | null;
120
120
  status: string;
121
121
  language?: string | null;
122
- borrowerType: BorrowerType;
122
+ borrowerType?: BorrowerType | null;
123
123
  showProgressBar: boolean;
124
124
  }
125
125
 
@@ -212,11 +212,11 @@ export interface ApplicationRowData {
212
212
  subjectPropertyState?: string | null;
213
213
  subjectPropertyZip?: string | null;
214
214
  loanPurpose?: string | null;
215
- buyerAgent: LoanContact;
216
- sellerAgent: LoanContact;
217
- settlementAgent: LoanContact;
218
- escrowAgent: LoanContact;
219
- titleInsuranceAgent: LoanContact;
215
+ buyerAgent?: LoanContact | null;
216
+ sellerAgent?: LoanContact | null;
217
+ settlementAgent?: LoanContact | null;
218
+ escrowAgent?: LoanContact | null;
219
+ titleInsuranceAgent?: LoanContact | null;
220
220
  }
221
221
 
222
222
  export interface Attachment {
@@ -284,7 +284,7 @@ export interface BranchUserPaginated {
284
284
 
285
285
  export interface BusinessRule {
286
286
  /** @format date-time */
287
- createdAt?: string | null;
287
+ createdAt: string;
288
288
  /** @format date-time */
289
289
  updatedAt?: string | null;
290
290
  /** @format date-time */
@@ -478,7 +478,7 @@ export interface CreateInviteRequest {
478
478
  /** @format email */
479
479
  emailAddress: string;
480
480
  phoneNumber: string;
481
- relationship: BorrowerRelationship;
481
+ relationship: "NotApplicable" | "Spouse" | "NonSpouse";
482
482
  loanID: string;
483
483
  route?: string | null;
484
484
  /** @format uuid */
@@ -528,7 +528,7 @@ export interface CreateUserRequest {
528
528
  }
529
529
 
530
530
  export interface CustomLoanData {
531
- eConsentInformation: EConsentInformation;
531
+ eConsentInformation?: EConsentInformation | null;
532
532
  }
533
533
 
534
534
  export interface DetailedUser {
@@ -609,7 +609,7 @@ export interface DeviceMDM {
609
609
  platform_type_id?: string | null;
610
610
  device_capacity?: string | null;
611
611
  imei: string[];
612
- user: MdmUser;
612
+ user?: MdmUser | null;
613
613
  actions?: DeviceAction[] | null;
614
614
  }
615
615
 
@@ -753,6 +753,8 @@ export interface Draft {
753
753
  id: string;
754
754
  customData: any;
755
755
  user: UserBase;
756
+ loanOfficer: UserBase;
757
+ siteConfiguration: SiteConfigurationReduced;
756
758
  }
757
759
 
758
760
  export interface DraftContent {
@@ -766,6 +768,8 @@ export interface DraftContent {
766
768
  id: string;
767
769
  customData: any;
768
770
  user: UserBase;
771
+ loanOfficer: UserBase;
772
+ siteConfiguration: SiteConfigurationReduced;
769
773
  applicationPayload: any;
770
774
  }
771
775
 
@@ -779,6 +783,8 @@ export interface DraftContentPaginated {
779
783
  export interface DraftRequest {
780
784
  applicationPayload: any;
781
785
  customData?: any;
786
+ /** @format uuid */
787
+ loanOfficerID?: string | null;
782
788
  }
783
789
 
784
790
  export interface EConsentInformation {
@@ -875,19 +881,19 @@ export interface ExtendedLoan {
875
881
  loanProgram?: string | null;
876
882
  loanType?: string | null;
877
883
  status?: string | null;
878
- loanOfficer: LoanOfficer;
879
- propertyAddress: Address;
880
- borrowerContact: Contact;
881
- coBorrowerContact: Contact;
884
+ loanOfficer?: LoanOfficer | null;
885
+ propertyAddress?: Address | null;
886
+ borrowerContact?: Contact | null;
887
+ coBorrowerContact?: Contact | null;
882
888
  loanLogs: LoanLog[];
883
889
  isLocked: boolean;
884
890
  source?: string | null;
885
- buyerAgentContact: Contact;
886
- sellerAgentContact: Contact;
887
- escrowAgentContact: Contact;
888
- titleInsuranceAgentContact: Contact;
889
- settlementAgentContact: Contact;
890
- loanProcessorContact: Contact;
891
+ buyerAgentContact?: Contact | null;
892
+ sellerAgentContact?: Contact | null;
893
+ escrowAgentContact?: Contact | null;
894
+ titleInsuranceAgentContact?: Contact | null;
895
+ settlementAgentContact?: Contact | null;
896
+ loanProcessorContact?: Contact | null;
891
897
  }
892
898
 
893
899
  export interface ExtendedLoanPaginated {
@@ -903,8 +909,8 @@ export interface File {
903
909
  fileName: string;
904
910
  name: string;
905
911
  s3FilePath: string;
906
- user: User;
907
- account: Account;
912
+ user?: User | null;
913
+ account?: Account | null;
908
914
  url: string;
909
915
  }
910
916
 
@@ -964,7 +970,7 @@ export interface FormRequest {
964
970
  slug?: string | null;
965
971
  status: string;
966
972
  language?: string | null;
967
- borrowerType: BorrowerType;
973
+ borrowerType?: BorrowerType | null;
968
974
  showProgressBar: boolean;
969
975
  }
970
976
 
@@ -990,10 +996,10 @@ export interface FormSubmission {
990
996
  loanOfficerEmail?: string | null;
991
997
  /** @format uuid */
992
998
  loanOfficerID?: string | null;
993
- loanOfficer: User;
999
+ loanOfficer?: User | null;
994
1000
  /** @format uuid */
995
1001
  branchID?: string | null;
996
- branch: GetBranch;
1002
+ branch?: GetBranch | null;
997
1003
  status: string;
998
1004
  subjectPropertyAddressStreet?: string | null;
999
1005
  subjectPropertyAddressCity?: string | null;
@@ -1003,7 +1009,7 @@ export interface FormSubmission {
1003
1009
  data?: any;
1004
1010
  /** @format uuid */
1005
1011
  listingID?: string | null;
1006
- listing: Listing;
1012
+ listing?: Listing | null;
1007
1013
  files: FormSubmissionFile[];
1008
1014
  }
1009
1015
 
@@ -1095,7 +1101,20 @@ export interface FusionFieldDisplay {
1095
1101
  }
1096
1102
 
1097
1103
  export interface FusionReportFilter {
1098
- filterType: FilterType;
1104
+ filterType:
1105
+ | "DateGreaterThanOrEqualTo"
1106
+ | "DateGreaterThan"
1107
+ | "DateLessThan"
1108
+ | "DateLessThanOrEqualTo"
1109
+ | "DateEquals"
1110
+ | "DateDoesntEqual"
1111
+ | "DateNonEmpty"
1112
+ | "DateEmpty"
1113
+ | "StringContains"
1114
+ | "StringEquals"
1115
+ | "StringNotEmpty"
1116
+ | "StringNotEquals"
1117
+ | "StringNotContains";
1099
1118
  targetField: string;
1100
1119
  targetValue: string;
1101
1120
  }
@@ -1158,7 +1177,7 @@ export interface GetForm {
1158
1177
  slug?: string | null;
1159
1178
  status: string;
1160
1179
  language?: string | null;
1161
- borrowerType: BorrowerType;
1180
+ borrowerType?: BorrowerType | null;
1162
1181
  showProgressBar: boolean;
1163
1182
  /** @format uuid */
1164
1183
  id: string;
@@ -1291,6 +1310,8 @@ export interface LOSSettingsUpdateRequest {
1291
1310
  loanMilestoneNotificationsEnabled: boolean;
1292
1311
  }
1293
1312
 
1313
+ export type LOSStatus = "Unknown" | "Pending" | "Retrying" | "Successful" | "Failed" | "FailedPermanently";
1314
+
1294
1315
  export interface Listing {
1295
1316
  /** @format date-time */
1296
1317
  createdAt: string;
@@ -1302,7 +1323,7 @@ export interface Listing {
1302
1323
  id: string;
1303
1324
  description?: string | null;
1304
1325
  mlsNumber?: string | null;
1305
- address: Address;
1326
+ address?: Address | null;
1306
1327
  /** @format int32 */
1307
1328
  salePrice?: number | null;
1308
1329
  /** @format date-time */
@@ -1312,7 +1333,7 @@ export interface Listing {
1312
1333
  zillowURL?: string | null;
1313
1334
  photos: ListingPhoto[];
1314
1335
  files: ListingFile[];
1315
- backgroundImage: File;
1336
+ backgroundImage?: File | null;
1316
1337
  /** @format date-time */
1317
1338
  openHouseDate?: string | null;
1318
1339
  /** @format double */
@@ -1322,7 +1343,7 @@ export interface Listing {
1322
1343
  isActive: boolean;
1323
1344
  slug: string;
1324
1345
  url?: string | null;
1325
- loanOfficer: LoanOfficer;
1346
+ loanOfficer?: LoanOfficer | null;
1326
1347
  siteConfiguration: SiteConfiguration;
1327
1348
  }
1328
1349
 
@@ -1419,10 +1440,10 @@ export interface Loan {
1419
1440
  loanProgram?: string | null;
1420
1441
  loanType?: string | null;
1421
1442
  status?: string | null;
1422
- loanOfficer: LoanOfficer;
1423
- propertyAddress: Address;
1424
- borrowerContact: Contact;
1425
- coBorrowerContact: Contact;
1443
+ loanOfficer?: LoanOfficer | null;
1444
+ propertyAddress?: Address | null;
1445
+ borrowerContact?: Contact | null;
1446
+ coBorrowerContact?: Contact | null;
1426
1447
  loanLogs: LoanLog[];
1427
1448
  isLocked: boolean;
1428
1449
  source?: string | null;
@@ -1484,7 +1505,7 @@ export interface LoanDocument {
1484
1505
  id: string;
1485
1506
  name: string;
1486
1507
  loan: Loan;
1487
- user: User;
1508
+ user?: User | null;
1488
1509
  initialBucket?: string | null;
1489
1510
  losDocumentID?: string | null;
1490
1511
  losStatus: string;
@@ -1496,6 +1517,9 @@ export interface LoanDraftSearchCriteria {
1496
1517
  searchText?: string | null;
1497
1518
  /** @format uuid */
1498
1519
  loanOfficerId?: string | null;
1520
+ /** @format uuid */
1521
+ siteConfigurationId?: string | null;
1522
+ isUnassigned?: boolean | null;
1499
1523
  }
1500
1524
 
1501
1525
  export interface LoanLog {
@@ -1519,6 +1543,16 @@ export interface LoanOfficer {
1519
1543
  siteConfiguration: SiteConfiguration;
1520
1544
  }
1521
1545
 
1546
+ export interface LoanOfficerPublic {
1547
+ firstName: string;
1548
+ lastName: string;
1549
+ email: string;
1550
+ phone?: string | null;
1551
+ /** @format uuid */
1552
+ corporateID?: string | null;
1553
+ siteConfigurationIDs: string[];
1554
+ }
1555
+
1522
1556
  export interface LoanOfficerSearchCriteria {
1523
1557
  searchText?: string | null;
1524
1558
  isActive?: boolean | null;
@@ -1528,6 +1562,45 @@ export interface LoanOfficerSearchCriteria {
1528
1562
  brand?: string | null;
1529
1563
  }
1530
1564
 
1565
+ export interface LoanQueue {
1566
+ /** @format date-time */
1567
+ createdAt: string;
1568
+ /** @format date-time */
1569
+ updatedAt?: string | null;
1570
+ /** @format date-time */
1571
+ deletedAt?: string | null;
1572
+ /** @format uuid */
1573
+ id: string;
1574
+ loanID?: string | null;
1575
+ type: string;
1576
+ reason: string;
1577
+ status: string;
1578
+ details?: string | null;
1579
+ user: UserPublic;
1580
+ loanOfficer: LoanOfficerPublic;
1581
+ siteConfiguration: SiteConfigurationReduced;
1582
+ }
1583
+
1584
+ export interface LoanQueuePaginated {
1585
+ rows: LoanQueue[];
1586
+ pagination: Pagination;
1587
+ /** @format int64 */
1588
+ count: number;
1589
+ }
1590
+
1591
+ export type LoanQueueReason = "Unknown" | "Locked" | "LOSError" | "Exception";
1592
+
1593
+ export interface LoanQueueSearchCriteria {
1594
+ searchText?: string | null;
1595
+ loanID?: string | null;
1596
+ isActive?: boolean | null;
1597
+ type?: LoanQueueType | null;
1598
+ status?: LOSStatus | null;
1599
+ reason?: LoanQueueReason | null;
1600
+ }
1601
+
1602
+ export type LoanQueueType = "Unknown" | "New" | "Append" | "Update" | "Document";
1603
+
1531
1604
  export interface LoanRecord {
1532
1605
  loanGuid: string;
1533
1606
  loanFields: Record<string, string>;
@@ -1620,33 +1693,6 @@ export interface ModuleParameterValue {
1620
1693
  isInherited: boolean;
1621
1694
  }
1622
1695
 
1623
- export interface NotificationLog {
1624
- /** @format uuid */
1625
- id: string;
1626
- type: NotificationType;
1627
- to: string;
1628
- cc?: string | null;
1629
- subject?: string | null;
1630
- message: string;
1631
- notificationTemplate: NotificationTemplate;
1632
- /** @format date-time */
1633
- createdAt: string;
1634
- }
1635
-
1636
- export interface NotificationLogPaginated {
1637
- rows: NotificationLog[];
1638
- pagination: Pagination;
1639
- /** @format int64 */
1640
- count: number;
1641
- }
1642
-
1643
- export interface NotificationLogSearchCriteria {
1644
- searchText?: string | null;
1645
- type: NotificationType;
1646
- to?: string[] | null;
1647
- cc?: string[] | null;
1648
- }
1649
-
1650
1696
  export interface NotificationTemplate {
1651
1697
  /** @format date-time */
1652
1698
  createdAt?: string | null;
@@ -1729,6 +1775,7 @@ export interface NotificationTemplateVersion {
1729
1775
  isActive: boolean;
1730
1776
  htmlBody: string;
1731
1777
  plainBody: string;
1778
+ textBody: string;
1732
1779
  notificationTemplate: NotificationTemplate;
1733
1780
  }
1734
1781
 
@@ -1747,6 +1794,7 @@ export interface NotificationTemplateVersionBase {
1747
1794
  isActive: boolean;
1748
1795
  htmlBody: string;
1749
1796
  plainBody: string;
1797
+ textBody: string;
1750
1798
  }
1751
1799
 
1752
1800
  export interface NotificationTemplateVersionRequest {
@@ -1770,8 +1818,6 @@ export interface NotificationTemplateVersionUpdateRequest {
1770
1818
  plainBody: string;
1771
1819
  }
1772
1820
 
1773
- export type NotificationType = "Email" | "Text" | "PushNotification";
1774
-
1775
1821
  export interface Operation {
1776
1822
  op?: string;
1777
1823
  value?: object | null;
@@ -1824,27 +1870,27 @@ export interface PreliminaryCondition {
1824
1870
  requestedFrom?: string | null;
1825
1871
  /** @format date-time */
1826
1872
  createdDate?: string | null;
1827
- createdBy: CommentUserInformation;
1873
+ createdBy?: CommentUserInformation | null;
1828
1874
  isRequested: boolean;
1829
1875
  /** @format date-time */
1830
1876
  requestedDate?: string | null;
1831
- requestedBy: CommentUserInformation;
1877
+ requestedBy?: CommentUserInformation | null;
1832
1878
  isReceived: boolean;
1833
1879
  /** @format date-time */
1834
1880
  receivedDate?: string | null;
1835
- receivedBy: CommentUserInformation;
1881
+ receivedBy?: CommentUserInformation | null;
1836
1882
  priorTo?: string | null;
1837
1883
  category?: string | null;
1838
1884
  isFulfilled: boolean;
1839
1885
  /** @format date-time */
1840
1886
  fulfilledDate?: string | null;
1841
- fulfilledBy: CommentUserInformation;
1887
+ fulfilledBy?: CommentUserInformation | null;
1842
1888
  comments: ConditionComment[];
1843
1889
  uwAccess?: string | null;
1844
1890
  isRerequested: boolean;
1845
1891
  /** @format date-time */
1846
1892
  rerequestedDate?: string | null;
1847
- rerequestedBy: CommentUserInformation;
1893
+ rerequestedBy?: CommentUserInformation | null;
1848
1894
  }
1849
1895
 
1850
1896
  export interface PricingRates {
@@ -1867,16 +1913,6 @@ export interface ProblemDetails {
1867
1913
  [key: string]: any;
1868
1914
  }
1869
1915
 
1870
- export interface PublicLoanOfficer {
1871
- firstName: string;
1872
- lastName: string;
1873
- email: string;
1874
- phone?: string | null;
1875
- /** @format uuid */
1876
- corporateID?: string | null;
1877
- siteConfigurationIDs: string[];
1878
- }
1879
-
1880
1916
  export interface RefreshTokenRequest {
1881
1917
  /** @minLength 1 */
1882
1918
  refreshToken: string;
@@ -2047,6 +2083,7 @@ export interface SendNotificationForLoanRequest {
2047
2083
  siteConfigurationId?: string | null;
2048
2084
  /** @minLength 1 */
2049
2085
  email: string;
2086
+ phone?: string | null;
2050
2087
  attachments: Attachment[];
2051
2088
  }
2052
2089
 
@@ -2239,8 +2276,8 @@ export interface SiteConfiguration {
2239
2276
  /** @format int32 */
2240
2277
  allowedLoginsWithoutMFA: number;
2241
2278
  modules: Module[];
2242
- user: UserPublic;
2243
- asoSettings: ASOSettings;
2279
+ user?: UserPublic | null;
2280
+ asoSettings?: ASOSettings | null;
2244
2281
  }
2245
2282
 
2246
2283
  export interface SiteConfigurationByUrl {
@@ -2432,8 +2469,8 @@ export interface SiteConfigurationByUrl {
2432
2469
  /** @format int32 */
2433
2470
  allowedLoginsWithoutMFA: number;
2434
2471
  modules: Module[];
2435
- user: UserPublic;
2436
- asoSettings: ASOSettings;
2472
+ user?: UserPublic | null;
2473
+ asoSettings?: ASOSettings | null;
2437
2474
  workflows: Workflow[];
2438
2475
  }
2439
2476
 
@@ -2652,7 +2689,7 @@ export interface SiteConfigurationSearchCriteria {
2652
2689
 
2653
2690
  export interface SiteConfigurationWithInherited {
2654
2691
  siteConfiguration: SiteConfiguration;
2655
- inheritedSiteConfiguration: SiteConfiguration;
2692
+ inheritedSiteConfiguration?: SiteConfiguration | null;
2656
2693
  }
2657
2694
 
2658
2695
  export interface SocialSurveyRecord {
@@ -2702,7 +2739,7 @@ export interface Task {
2702
2739
  isGlobal: boolean;
2703
2740
  /** @format uuid */
2704
2741
  id: string;
2705
- user: User;
2742
+ user?: User | null;
2706
2743
  isFromLegacySource: boolean;
2707
2744
  usedInBusinessRule: boolean;
2708
2745
  willAutocompleteAfterResponse: boolean;
@@ -2764,6 +2801,7 @@ export interface TestSendNotificationForLoanRequest {
2764
2801
  /** @format uuid */
2765
2802
  siteConfigurationId: string;
2766
2803
  toAddress?: string | null;
2804
+ toPhoneNumber?: string | null;
2767
2805
  templateName?: string | null;
2768
2806
  attachments: Attachment[];
2769
2807
  }
@@ -2830,21 +2868,21 @@ export interface UnderwritingCondition {
2830
2868
  requestedFrom?: string | null;
2831
2869
  /** @format date-time */
2832
2870
  createdDate?: string | null;
2833
- createdBy: CommentUserInformation;
2871
+ createdBy?: CommentUserInformation | null;
2834
2872
  isRequested: boolean;
2835
2873
  /** @format date-time */
2836
2874
  requestedDate?: string | null;
2837
- requestedBy: CommentUserInformation;
2875
+ requestedBy?: CommentUserInformation | null;
2838
2876
  isReceived: boolean;
2839
2877
  /** @format date-time */
2840
2878
  receivedDate?: string | null;
2841
- receivedBy: CommentUserInformation;
2879
+ receivedBy?: CommentUserInformation | null;
2842
2880
  priorTo?: string | null;
2843
2881
  category?: string | null;
2844
2882
  isFulfilled: boolean;
2845
2883
  /** @format date-time */
2846
2884
  fulfilledDate?: string | null;
2847
- fulfilledBy: CommentUserInformation;
2885
+ fulfilledBy?: CommentUserInformation | null;
2848
2886
  comments: ConditionComment[];
2849
2887
  allowToClear: boolean;
2850
2888
  printExternally: boolean;
@@ -2867,7 +2905,7 @@ export interface UpdateAccountRequest {
2867
2905
  /** @format int32 */
2868
2906
  allowedLoginsWithoutMFA: number;
2869
2907
  losSettings: LOSSettingsUpdateRequest;
2870
- asoSettings: ASOSettings;
2908
+ asoSettings?: ASOSettings | null;
2871
2909
  }
2872
2910
 
2873
2911
  export interface UpdateDocumentTemplateRequest {
@@ -2987,7 +3025,7 @@ export interface UserBase {
2987
3025
 
2988
3026
  export interface UserLoan {
2989
3027
  loanID: string;
2990
- customLoanData: CustomLoanData;
3028
+ customLoanData?: CustomLoanData | null;
2991
3029
  }
2992
3030
 
2993
3031
  export interface UserLoanTask {
@@ -3006,8 +3044,8 @@ export interface UserLoanTask {
3006
3044
  /** @format date-time */
3007
3045
  createdAt: string;
3008
3046
  createdBy: User;
3009
- submittedBy: User;
3010
- completedBy: User;
3047
+ submittedBy?: User | null;
3048
+ completedBy?: User | null;
3011
3049
  }
3012
3050
 
3013
3051
  export interface UserLoanTaskRequest {
@@ -3309,7 +3347,7 @@ export class HttpClient<SecurityDataType = unknown> {
3309
3347
 
3310
3348
  /**
3311
3349
  * @title The Big POS API
3312
- * @version v2.12.1
3350
+ * @version v2.13.0
3313
3351
  * @termsOfService https://www.thebigpos.com/terms-of-use/
3314
3352
  * @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
3315
3353
  */
@@ -3857,7 +3895,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
3857
3895
  * @secure
3858
3896
  */
3859
3897
  getLoanOfficersByBranch: (branchId: string, params: RequestParams = {}) =>
3860
- this.request<PublicLoanOfficer, any>({
3898
+ this.request<LoanOfficerPublic, any>({
3861
3899
  path: `/api/branches/${branchId}/loan-officers`,
3862
3900
  method: "GET",
3863
3901
  secure: true,
@@ -4235,7 +4273,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
4235
4273
  * @secure
4236
4274
  */
4237
4275
  getLoanOfficersByCorporate: (id: string, params: RequestParams = {}) =>
4238
- this.request<PublicLoanOfficer, any>({
4276
+ this.request<LoanOfficerPublic, any>({
4239
4277
  path: `/api/corporates/${id}/loan-officers`,
4240
4278
  method: "GET",
4241
4279
  secure: true,
@@ -6382,6 +6420,92 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
6382
6420
  ...params,
6383
6421
  }),
6384
6422
 
6423
+ /**
6424
+ * No description
6425
+ *
6426
+ * @tags LoanQueue
6427
+ * @name SearchLoanQueue
6428
+ * @summary Search
6429
+ * @request POST:/api/loans/queue/search
6430
+ * @secure
6431
+ */
6432
+ searchLoanQueue: (
6433
+ data: LoanQueueSearchCriteria,
6434
+ query?: {
6435
+ /** @format int32 */
6436
+ pageSize?: number;
6437
+ /** @format int32 */
6438
+ pageNumber?: number;
6439
+ sortBy?: string;
6440
+ sortDirection?: string;
6441
+ },
6442
+ params: RequestParams = {},
6443
+ ) =>
6444
+ this.request<LoanQueuePaginated, any>({
6445
+ path: `/api/loans/queue/search`,
6446
+ method: "POST",
6447
+ query: query,
6448
+ body: data,
6449
+ secure: true,
6450
+ type: ContentType.Json,
6451
+ format: "json",
6452
+ ...params,
6453
+ }),
6454
+
6455
+ /**
6456
+ * No description
6457
+ *
6458
+ * @tags LoanQueue
6459
+ * @name GetLoanQueueData
6460
+ * @summary Get Data
6461
+ * @request GET:/api/loans/queue/{loanQueueId}/data
6462
+ * @secure
6463
+ */
6464
+ getLoanQueueData: (loanQueueId: string, params: RequestParams = {}) =>
6465
+ this.request<any, any>({
6466
+ path: `/api/loans/queue/${loanQueueId}/data`,
6467
+ method: "GET",
6468
+ secure: true,
6469
+ format: "json",
6470
+ ...params,
6471
+ }),
6472
+
6473
+ /**
6474
+ * No description
6475
+ *
6476
+ * @tags LoanQueue
6477
+ * @name UpdateLoanQueueData
6478
+ * @summary Update Data
6479
+ * @request PUT:/api/loans/queue/{loanQueueId}/data
6480
+ * @secure
6481
+ */
6482
+ updateLoanQueueData: (loanQueueId: string, data: any, params: RequestParams = {}) =>
6483
+ this.request<void, any>({
6484
+ path: `/api/loans/queue/${loanQueueId}/data`,
6485
+ method: "PUT",
6486
+ body: data,
6487
+ secure: true,
6488
+ type: ContentType.Json,
6489
+ ...params,
6490
+ }),
6491
+
6492
+ /**
6493
+ * No description
6494
+ *
6495
+ * @tags LoanQueue
6496
+ * @name RetryLoanQueue
6497
+ * @summary Retry
6498
+ * @request POST:/api/loans/queue/{loanQueueId}/retry
6499
+ * @secure
6500
+ */
6501
+ retryLoanQueue: (loanQueueId: string, params: RequestParams = {}) =>
6502
+ this.request<void, any>({
6503
+ path: `/api/loans/queue/${loanQueueId}/retry`,
6504
+ method: "POST",
6505
+ secure: true,
6506
+ ...params,
6507
+ }),
6508
+
6385
6509
  /**
6386
6510
  * No description
6387
6511
  *
@@ -6848,67 +6972,6 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
6848
6972
  ...params,
6849
6973
  }),
6850
6974
 
6851
- /**
6852
- * No description
6853
- *
6854
- * @tags NotificationLogs
6855
- * @name GetNotificationLogs
6856
- * @summary Get All
6857
- * @request GET:/api/notifications/logs
6858
- * @secure
6859
- */
6860
- getNotificationLogs: (
6861
- query?: {
6862
- /** @format int32 */
6863
- pageSize?: number;
6864
- /** @format int32 */
6865
- pageNumber?: number;
6866
- sortBy?: string;
6867
- sortDirection?: string;
6868
- },
6869
- params: RequestParams = {},
6870
- ) =>
6871
- this.request<NotificationLog[], any>({
6872
- path: `/api/notifications/logs`,
6873
- method: "GET",
6874
- query: query,
6875
- secure: true,
6876
- format: "json",
6877
- ...params,
6878
- }),
6879
-
6880
- /**
6881
- * No description
6882
- *
6883
- * @tags NotificationLogs
6884
- * @name SearchNotificationLog
6885
- * @summary Search
6886
- * @request POST:/api/notifications/logs/search
6887
- * @secure
6888
- */
6889
- searchNotificationLog: (
6890
- data: NotificationLogSearchCriteria,
6891
- query?: {
6892
- /** @format int32 */
6893
- pageSize?: number;
6894
- /** @format int32 */
6895
- pageNumber?: number;
6896
- sortBy?: string;
6897
- sortDirection?: string;
6898
- },
6899
- params: RequestParams = {},
6900
- ) =>
6901
- this.request<NotificationLogPaginated, any>({
6902
- path: `/api/notifications/logs/search`,
6903
- method: "POST",
6904
- query: query,
6905
- body: data,
6906
- secure: true,
6907
- type: ContentType.Json,
6908
- format: "json",
6909
- ...params,
6910
- }),
6911
-
6912
6975
  /**
6913
6976
  * No description
6914
6977
  *
@@ -7179,7 +7242,18 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
7179
7242
  getPartners: (
7180
7243
  query?: {
7181
7244
  showAll?: boolean;
7182
- role?: UserRole;
7245
+ /** @default 4 */
7246
+ role?:
7247
+ | "Borrower"
7248
+ | "LoanOfficer"
7249
+ | "Admin"
7250
+ | "SuperAdmin"
7251
+ | "Realtor"
7252
+ | "SettlementAgent"
7253
+ | "LoanProcessor"
7254
+ | "LoanOfficerAssistant"
7255
+ | "BranchManager"
7256
+ | "SystemAdmin";
7183
7257
  /** @format int32 */
7184
7258
  pageSize?: number;
7185
7259
  /** @format int32 */
@@ -7342,6 +7416,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
7342
7416
  * @name GetRequestQueues
7343
7417
  * @summary Get All
7344
7418
  * @request GET:/api/request-queues
7419
+ * @deprecated
7345
7420
  * @secure
7346
7421
  */
7347
7422
  getRequestQueues: (params: RequestParams = {}) =>
@@ -7360,6 +7435,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
7360
7435
  * @name RunRequestQueue
7361
7436
  * @summary Run
7362
7437
  * @request POST:/api/request-queues/{id}/run
7438
+ * @deprecated
7363
7439
  * @secure
7364
7440
  */
7365
7441
  runRequestQueue: (
@@ -7385,6 +7461,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
7385
7461
  * @name DeleteQueueRequest
7386
7462
  * @summary Delete
7387
7463
  * @request DELETE:/api/request-queues/{id}
7464
+ * @deprecated
7388
7465
  * @secure
7389
7466
  */
7390
7467
  deleteQueueRequest: (id: string, params: RequestParams = {}) =>