@matech/thebigpos-sdk 2.13.0-rc1 → 2.14.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 +1 -1
- package/LICENSE +21 -21
- package/README.md +44 -44
- package/dist/index.d.ts +190 -88
- package/dist/index.js +68 -38
- package/dist/index.js.map +1 -1
- package/package.json +40 -40
- package/src/index.ts +279 -131
- package/tsconfig.json +27 -27
package/src/index.ts
CHANGED
|
@@ -28,7 +28,7 @@ export interface ASOSettings {
|
|
|
28
28
|
preApproval: boolean;
|
|
29
29
|
preQualification: boolean;
|
|
30
30
|
mi: boolean;
|
|
31
|
-
|
|
31
|
+
miRadian: boolean;
|
|
32
32
|
miEssent: boolean;
|
|
33
33
|
miNational: boolean;
|
|
34
34
|
miEnact: boolean;
|
|
@@ -50,6 +50,17 @@ export interface Account {
|
|
|
50
50
|
allowedLoginsWithoutMFA: number;
|
|
51
51
|
losSettings: LOSSettings;
|
|
52
52
|
asoSettings?: ASOSettings | null;
|
|
53
|
+
settings: AccountSettings;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export interface AccountSettings {
|
|
57
|
+
isSmsEnabled: boolean;
|
|
58
|
+
smsNumber?: string | null;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export interface AccountSettingsRequest {
|
|
62
|
+
isSmsEnabled: boolean;
|
|
63
|
+
smsNumber?: string | null;
|
|
53
64
|
}
|
|
54
65
|
|
|
55
66
|
export interface Action {
|
|
@@ -101,6 +112,31 @@ export interface AddressRequest {
|
|
|
101
112
|
postalCode: string;
|
|
102
113
|
}
|
|
103
114
|
|
|
115
|
+
export interface AdminAccessGetForm {
|
|
116
|
+
/** @format date-time */
|
|
117
|
+
createdAt?: string | null;
|
|
118
|
+
/** @format date-time */
|
|
119
|
+
updatedAt?: string | null;
|
|
120
|
+
/** @format date-time */
|
|
121
|
+
deletedAt?: string | null;
|
|
122
|
+
/** @format uuid */
|
|
123
|
+
id: string;
|
|
124
|
+
formJSON: any;
|
|
125
|
+
/** @format int32 */
|
|
126
|
+
type: number;
|
|
127
|
+
target: string;
|
|
128
|
+
authType: string;
|
|
129
|
+
name: string;
|
|
130
|
+
isDefault: boolean;
|
|
131
|
+
description?: string | null;
|
|
132
|
+
slug?: string | null;
|
|
133
|
+
status: string;
|
|
134
|
+
language?: string | null;
|
|
135
|
+
showProgressBar: boolean;
|
|
136
|
+
borrowerType?: BorrowerType | null;
|
|
137
|
+
versions: FormVersion[];
|
|
138
|
+
}
|
|
139
|
+
|
|
104
140
|
export interface AdminAccessGetForms {
|
|
105
141
|
/** @format date-time */
|
|
106
142
|
createdAt?: string | null;
|
|
@@ -146,6 +182,7 @@ export interface AdminAccessUser {
|
|
|
146
182
|
canImpersonate: boolean;
|
|
147
183
|
loanIDs: string[];
|
|
148
184
|
drafts: Draft[];
|
|
185
|
+
notificationSettings?: UserNotificationSettings | null;
|
|
149
186
|
/** @format uuid */
|
|
150
187
|
accountID?: string | null;
|
|
151
188
|
loans: UserLoan[];
|
|
@@ -266,6 +303,7 @@ export interface BranchUser {
|
|
|
266
303
|
canImpersonate: boolean;
|
|
267
304
|
loanIDs: string[];
|
|
268
305
|
drafts: Draft[];
|
|
306
|
+
notificationSettings?: UserNotificationSettings | null;
|
|
269
307
|
/** @format uuid */
|
|
270
308
|
branchID: string;
|
|
271
309
|
branchName: string;
|
|
@@ -443,6 +481,7 @@ export interface CreateAccountRequest {
|
|
|
443
481
|
* @min 0
|
|
444
482
|
*/
|
|
445
483
|
nlmsid: number;
|
|
484
|
+
settings: AccountSettingsRequest;
|
|
446
485
|
}
|
|
447
486
|
|
|
448
487
|
export interface CreateBranchRequest {
|
|
@@ -554,6 +593,7 @@ export interface DetailedUser {
|
|
|
554
593
|
canImpersonate: boolean;
|
|
555
594
|
loanIDs: string[];
|
|
556
595
|
drafts: Draft[];
|
|
596
|
+
notificationSettings?: UserNotificationSettings | null;
|
|
557
597
|
}
|
|
558
598
|
|
|
559
599
|
export interface Device {
|
|
@@ -780,11 +820,14 @@ export interface DraftContentPaginated {
|
|
|
780
820
|
count: number;
|
|
781
821
|
}
|
|
782
822
|
|
|
823
|
+
export interface DraftLoanOfficerReassignRequest {
|
|
824
|
+
/** @format uuid */
|
|
825
|
+
loanOfficerID: string;
|
|
826
|
+
}
|
|
827
|
+
|
|
783
828
|
export interface DraftRequest {
|
|
784
829
|
applicationPayload: any;
|
|
785
830
|
customData?: any;
|
|
786
|
-
/** @format uuid */
|
|
787
|
-
loanOfficerID?: string | null;
|
|
788
831
|
}
|
|
789
832
|
|
|
790
833
|
export interface EConsentInformation {
|
|
@@ -814,7 +857,6 @@ export interface EnabledServices {
|
|
|
814
857
|
borrowerTasks?: boolean | null;
|
|
815
858
|
docusign?: boolean | null;
|
|
816
859
|
emailNotifications?: boolean | null;
|
|
817
|
-
textNotifications?: boolean | null;
|
|
818
860
|
voc?: boolean | null;
|
|
819
861
|
spanishPrequal?: boolean | null;
|
|
820
862
|
spanishFullApp?: boolean | null;
|
|
@@ -1593,13 +1635,32 @@ export type LoanQueueReason = "Unknown" | "Locked" | "LOSError" | "Exception";
|
|
|
1593
1635
|
export interface LoanQueueSearchCriteria {
|
|
1594
1636
|
searchText?: string | null;
|
|
1595
1637
|
loanID?: string | null;
|
|
1596
|
-
isActive?: boolean | null;
|
|
1597
1638
|
type?: LoanQueueType | null;
|
|
1598
1639
|
status?: LOSStatus | null;
|
|
1599
1640
|
reason?: LoanQueueReason | null;
|
|
1600
1641
|
}
|
|
1601
1642
|
|
|
1602
|
-
export type LoanQueueType = "Unknown" | "New" | "Append" | "Update" | "Document";
|
|
1643
|
+
export type LoanQueueType = "Unknown" | "New" | "Append" | "Update" | "FieldUpdates" | "Document" | "Buckets";
|
|
1644
|
+
|
|
1645
|
+
export interface LoanQueueWithData {
|
|
1646
|
+
/** @format date-time */
|
|
1647
|
+
createdAt: string;
|
|
1648
|
+
/** @format date-time */
|
|
1649
|
+
updatedAt?: string | null;
|
|
1650
|
+
/** @format date-time */
|
|
1651
|
+
deletedAt?: string | null;
|
|
1652
|
+
/** @format uuid */
|
|
1653
|
+
id: string;
|
|
1654
|
+
loanID?: string | null;
|
|
1655
|
+
type: string;
|
|
1656
|
+
reason: string;
|
|
1657
|
+
status: string;
|
|
1658
|
+
details?: string | null;
|
|
1659
|
+
user: UserPublic;
|
|
1660
|
+
loanOfficer: LoanOfficerPublic;
|
|
1661
|
+
siteConfiguration: SiteConfigurationReduced;
|
|
1662
|
+
data: any;
|
|
1663
|
+
}
|
|
1603
1664
|
|
|
1604
1665
|
export interface LoanRecord {
|
|
1605
1666
|
loanGuid: string;
|
|
@@ -1693,33 +1754,6 @@ export interface ModuleParameterValue {
|
|
|
1693
1754
|
isInherited: boolean;
|
|
1694
1755
|
}
|
|
1695
1756
|
|
|
1696
|
-
export interface NotificationLog {
|
|
1697
|
-
/** @format uuid */
|
|
1698
|
-
id: string;
|
|
1699
|
-
type: "Email" | "Text" | "PushNotification";
|
|
1700
|
-
to: string;
|
|
1701
|
-
cc?: string | null;
|
|
1702
|
-
subject?: string | null;
|
|
1703
|
-
message: string;
|
|
1704
|
-
notificationTemplate?: NotificationTemplate | null;
|
|
1705
|
-
/** @format date-time */
|
|
1706
|
-
createdAt: string;
|
|
1707
|
-
}
|
|
1708
|
-
|
|
1709
|
-
export interface NotificationLogPaginated {
|
|
1710
|
-
rows: NotificationLog[];
|
|
1711
|
-
pagination: Pagination;
|
|
1712
|
-
/** @format int64 */
|
|
1713
|
-
count: number;
|
|
1714
|
-
}
|
|
1715
|
-
|
|
1716
|
-
export interface NotificationLogSearchCriteria {
|
|
1717
|
-
searchText?: string | null;
|
|
1718
|
-
type?: NotificationType | null;
|
|
1719
|
-
to?: string[] | null;
|
|
1720
|
-
cc?: string[] | null;
|
|
1721
|
-
}
|
|
1722
|
-
|
|
1723
1757
|
export interface NotificationTemplate {
|
|
1724
1758
|
/** @format date-time */
|
|
1725
1759
|
createdAt?: string | null;
|
|
@@ -1802,6 +1836,7 @@ export interface NotificationTemplateVersion {
|
|
|
1802
1836
|
isActive: boolean;
|
|
1803
1837
|
htmlBody: string;
|
|
1804
1838
|
plainBody: string;
|
|
1839
|
+
textBody: string;
|
|
1805
1840
|
notificationTemplate: NotificationTemplate;
|
|
1806
1841
|
}
|
|
1807
1842
|
|
|
@@ -1820,6 +1855,7 @@ export interface NotificationTemplateVersionBase {
|
|
|
1820
1855
|
isActive: boolean;
|
|
1821
1856
|
htmlBody: string;
|
|
1822
1857
|
plainBody: string;
|
|
1858
|
+
textBody: string;
|
|
1823
1859
|
}
|
|
1824
1860
|
|
|
1825
1861
|
export interface NotificationTemplateVersionRequest {
|
|
@@ -1828,6 +1864,7 @@ export interface NotificationTemplateVersionRequest {
|
|
|
1828
1864
|
isActive: boolean;
|
|
1829
1865
|
htmlBody: string;
|
|
1830
1866
|
plainBody: string;
|
|
1867
|
+
textBody: string;
|
|
1831
1868
|
}
|
|
1832
1869
|
|
|
1833
1870
|
export interface NotificationTemplateVersionUpdateRequest {
|
|
@@ -1841,10 +1878,10 @@ export interface NotificationTemplateVersionUpdateRequest {
|
|
|
1841
1878
|
htmlBody: string;
|
|
1842
1879
|
/** @minLength 1 */
|
|
1843
1880
|
plainBody: string;
|
|
1881
|
+
/** @minLength 1 */
|
|
1882
|
+
textBody: string;
|
|
1844
1883
|
}
|
|
1845
1884
|
|
|
1846
|
-
export type NotificationType = "Email" | "Text" | "PushNotification";
|
|
1847
|
-
|
|
1848
1885
|
export interface Operation {
|
|
1849
1886
|
op?: string;
|
|
1850
1887
|
value?: object | null;
|
|
@@ -2037,6 +2074,7 @@ export interface RunLOCalculation {
|
|
|
2037
2074
|
canGeneratePreQual: boolean;
|
|
2038
2075
|
canGeneratePreApproval: boolean;
|
|
2039
2076
|
preApprovalNotes?: string | null;
|
|
2077
|
+
additionalPreApprovalNotes?: string | null;
|
|
2040
2078
|
downPaymentAmount?: string | null;
|
|
2041
2079
|
downPaymentPercent?: string | null;
|
|
2042
2080
|
lienType?: string | null;
|
|
@@ -2073,6 +2111,7 @@ export interface RunLOCalculationRequest {
|
|
|
2073
2111
|
/** @minLength 1 */
|
|
2074
2112
|
lienType: string;
|
|
2075
2113
|
preApprovalNotes?: string | null;
|
|
2114
|
+
additionalPreApprovalNotes?: string | null;
|
|
2076
2115
|
}
|
|
2077
2116
|
|
|
2078
2117
|
export interface SSOToken {
|
|
@@ -2110,6 +2149,7 @@ export interface SendNotificationForLoanRequest {
|
|
|
2110
2149
|
siteConfigurationId?: string | null;
|
|
2111
2150
|
/** @minLength 1 */
|
|
2112
2151
|
email: string;
|
|
2152
|
+
phone?: string | null;
|
|
2113
2153
|
attachments: Attachment[];
|
|
2114
2154
|
}
|
|
2115
2155
|
|
|
@@ -2304,6 +2344,7 @@ export interface SiteConfiguration {
|
|
|
2304
2344
|
modules: Module[];
|
|
2305
2345
|
user?: UserPublic | null;
|
|
2306
2346
|
asoSettings?: ASOSettings | null;
|
|
2347
|
+
accountSettings: AccountSettings;
|
|
2307
2348
|
}
|
|
2308
2349
|
|
|
2309
2350
|
export interface SiteConfigurationByUrl {
|
|
@@ -2497,6 +2538,7 @@ export interface SiteConfigurationByUrl {
|
|
|
2497
2538
|
modules: Module[];
|
|
2498
2539
|
user?: UserPublic | null;
|
|
2499
2540
|
asoSettings?: ASOSettings | null;
|
|
2541
|
+
accountSettings: AccountSettings;
|
|
2500
2542
|
workflows: Workflow[];
|
|
2501
2543
|
}
|
|
2502
2544
|
|
|
@@ -2772,6 +2814,30 @@ export interface Task {
|
|
|
2772
2814
|
hasAutoPropagationOnAdd: boolean;
|
|
2773
2815
|
}
|
|
2774
2816
|
|
|
2817
|
+
export interface TaskComment {
|
|
2818
|
+
/** @format uuid */
|
|
2819
|
+
id: string;
|
|
2820
|
+
comment: string;
|
|
2821
|
+
createdBy: UserBase;
|
|
2822
|
+
/** @format date-time */
|
|
2823
|
+
createdAt: string;
|
|
2824
|
+
}
|
|
2825
|
+
|
|
2826
|
+
export interface TaskCommentPaginated {
|
|
2827
|
+
rows: TaskComment[];
|
|
2828
|
+
pagination: Pagination;
|
|
2829
|
+
/** @format int64 */
|
|
2830
|
+
count: number;
|
|
2831
|
+
}
|
|
2832
|
+
|
|
2833
|
+
export interface TaskCommentRequest {
|
|
2834
|
+
comment: string;
|
|
2835
|
+
}
|
|
2836
|
+
|
|
2837
|
+
export interface TaskCommentSearchCriteria {
|
|
2838
|
+
searchText?: string | null;
|
|
2839
|
+
}
|
|
2840
|
+
|
|
2775
2841
|
export interface TaskPaginated {
|
|
2776
2842
|
rows: Task[];
|
|
2777
2843
|
pagination: Pagination;
|
|
@@ -2827,6 +2893,7 @@ export interface TestSendNotificationForLoanRequest {
|
|
|
2827
2893
|
/** @format uuid */
|
|
2828
2894
|
siteConfigurationId: string;
|
|
2829
2895
|
toAddress?: string | null;
|
|
2896
|
+
toPhoneNumber?: string | null;
|
|
2830
2897
|
templateName?: string | null;
|
|
2831
2898
|
attachments: Attachment[];
|
|
2832
2899
|
}
|
|
@@ -2931,6 +2998,7 @@ export interface UpdateAccountRequest {
|
|
|
2931
2998
|
allowedLoginsWithoutMFA: number;
|
|
2932
2999
|
losSettings: LOSSettingsUpdateRequest;
|
|
2933
3000
|
asoSettings?: ASOSettings | null;
|
|
3001
|
+
settings: AccountSettingsRequest;
|
|
2934
3002
|
}
|
|
2935
3003
|
|
|
2936
3004
|
export interface UpdateDocumentTemplateRequest {
|
|
@@ -2972,6 +3040,10 @@ export interface UpdateListingPhotoRequest {
|
|
|
2972
3040
|
weight: number;
|
|
2973
3041
|
}
|
|
2974
3042
|
|
|
3043
|
+
export interface UpdateLoanQueueRequest {
|
|
3044
|
+
data: any;
|
|
3045
|
+
}
|
|
3046
|
+
|
|
2975
3047
|
export interface UpdateMeRequest {
|
|
2976
3048
|
phone?: string | null;
|
|
2977
3049
|
/**
|
|
@@ -2987,6 +3059,7 @@ export interface UpdateMeRequest {
|
|
|
2987
3059
|
title?: string | null;
|
|
2988
3060
|
forcePasswordReset: boolean;
|
|
2989
3061
|
mfaEnabled: boolean;
|
|
3062
|
+
notificationSettings: UserNotificationSettingsUpdateRequest;
|
|
2990
3063
|
}
|
|
2991
3064
|
|
|
2992
3065
|
export interface UpdateMobilePhoneRequest {
|
|
@@ -3071,6 +3144,8 @@ export interface UserLoanTask {
|
|
|
3071
3144
|
createdBy: User;
|
|
3072
3145
|
submittedBy?: User | null;
|
|
3073
3146
|
completedBy?: User | null;
|
|
3147
|
+
/** @format int32 */
|
|
3148
|
+
commentsCount: number;
|
|
3074
3149
|
}
|
|
3075
3150
|
|
|
3076
3151
|
export interface UserLoanTaskRequest {
|
|
@@ -3092,6 +3167,18 @@ export interface UserMobilePhoneVerificationRequest {
|
|
|
3092
3167
|
code: string;
|
|
3093
3168
|
}
|
|
3094
3169
|
|
|
3170
|
+
export interface UserNotificationSettings {
|
|
3171
|
+
emailEnabled: boolean;
|
|
3172
|
+
textEnabled: boolean;
|
|
3173
|
+
textOptIn?: boolean | null;
|
|
3174
|
+
}
|
|
3175
|
+
|
|
3176
|
+
export interface UserNotificationSettingsUpdateRequest {
|
|
3177
|
+
emailEnabled: boolean;
|
|
3178
|
+
textEnabled: boolean;
|
|
3179
|
+
textOptIn?: boolean | null;
|
|
3180
|
+
}
|
|
3181
|
+
|
|
3095
3182
|
export interface UserPaginated {
|
|
3096
3183
|
rows: User[];
|
|
3097
3184
|
pagination: Pagination;
|
|
@@ -4864,7 +4951,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
4864
4951
|
* @secure
|
|
4865
4952
|
*/
|
|
4866
4953
|
createForm: (data: FormRequest, params: RequestParams = {}) =>
|
|
4867
|
-
this.request<
|
|
4954
|
+
this.request<AdminAccessGetForm, UnprocessableEntity>({
|
|
4868
4955
|
path: `/api/forms`,
|
|
4869
4956
|
method: "POST",
|
|
4870
4957
|
body: data,
|
|
@@ -4884,7 +4971,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
4884
4971
|
* @secure
|
|
4885
4972
|
*/
|
|
4886
4973
|
getForm: (id: string, params: RequestParams = {}) =>
|
|
4887
|
-
this.request<
|
|
4974
|
+
this.request<AdminAccessGetForm, any>({
|
|
4888
4975
|
path: `/api/forms/${id}`,
|
|
4889
4976
|
method: "GET",
|
|
4890
4977
|
secure: true,
|
|
@@ -4902,7 +4989,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
4902
4989
|
* @secure
|
|
4903
4990
|
*/
|
|
4904
4991
|
replaceForm: (id: string, data: FormRequest, params: RequestParams = {}) =>
|
|
4905
|
-
this.request<
|
|
4992
|
+
this.request<AdminAccessGetForm, UnprocessableEntity>({
|
|
4906
4993
|
path: `/api/forms/${id}`,
|
|
4907
4994
|
method: "PUT",
|
|
4908
4995
|
body: data,
|
|
@@ -4939,7 +5026,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
4939
5026
|
* @secure
|
|
4940
5027
|
*/
|
|
4941
5028
|
restoreForm: (id: string, params: RequestParams = {}) =>
|
|
4942
|
-
this.request<
|
|
5029
|
+
this.request<AdminAccessGetForm, any>({
|
|
4943
5030
|
path: `/api/forms/${id}/restore`,
|
|
4944
5031
|
method: "POST",
|
|
4945
5032
|
secure: true,
|
|
@@ -6276,6 +6363,26 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
6276
6363
|
...params,
|
|
6277
6364
|
}),
|
|
6278
6365
|
|
|
6366
|
+
/**
|
|
6367
|
+
* No description
|
|
6368
|
+
*
|
|
6369
|
+
* @tags LoanDrafts
|
|
6370
|
+
* @name ReassignLoanOfficer
|
|
6371
|
+
* @summary Reassign Loan officer
|
|
6372
|
+
* @request PUT:/api/loans/drafts/{draftId}/reassign
|
|
6373
|
+
* @secure
|
|
6374
|
+
*/
|
|
6375
|
+
reassignLoanOfficer: (draftId: string, data: DraftLoanOfficerReassignRequest, params: RequestParams = {}) =>
|
|
6376
|
+
this.request<Draft, any>({
|
|
6377
|
+
path: `/api/loans/drafts/${draftId}/reassign`,
|
|
6378
|
+
method: "PUT",
|
|
6379
|
+
body: data,
|
|
6380
|
+
secure: true,
|
|
6381
|
+
type: ContentType.Json,
|
|
6382
|
+
format: "json",
|
|
6383
|
+
...params,
|
|
6384
|
+
}),
|
|
6385
|
+
|
|
6279
6386
|
/**
|
|
6280
6387
|
* No description
|
|
6281
6388
|
*
|
|
@@ -6481,14 +6588,14 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
6481
6588
|
* No description
|
|
6482
6589
|
*
|
|
6483
6590
|
* @tags LoanQueue
|
|
6484
|
-
* @name
|
|
6485
|
-
* @summary Get
|
|
6486
|
-
* @request GET:/api/loans/queue/{loanQueueId}
|
|
6591
|
+
* @name GetLoanQueue
|
|
6592
|
+
* @summary Get Loan Queue Record
|
|
6593
|
+
* @request GET:/api/loans/queue/{loanQueueId}
|
|
6487
6594
|
* @secure
|
|
6488
6595
|
*/
|
|
6489
|
-
|
|
6596
|
+
getLoanQueue: (loanQueueId: string, params: RequestParams = {}) =>
|
|
6490
6597
|
this.request<any, any>({
|
|
6491
|
-
path: `/api/loans/queue/${loanQueueId}
|
|
6598
|
+
path: `/api/loans/queue/${loanQueueId}`,
|
|
6492
6599
|
method: "GET",
|
|
6493
6600
|
secure: true,
|
|
6494
6601
|
format: "json",
|
|
@@ -6499,18 +6606,19 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
6499
6606
|
* No description
|
|
6500
6607
|
*
|
|
6501
6608
|
* @tags LoanQueue
|
|
6502
|
-
* @name
|
|
6503
|
-
* @summary
|
|
6504
|
-
* @request PUT:/api/loans/queue/{loanQueueId}
|
|
6609
|
+
* @name ReplaceLoanQueue
|
|
6610
|
+
* @summary Replace Loan Queue Record
|
|
6611
|
+
* @request PUT:/api/loans/queue/{loanQueueId}
|
|
6505
6612
|
* @secure
|
|
6506
6613
|
*/
|
|
6507
|
-
|
|
6508
|
-
this.request<
|
|
6509
|
-
path: `/api/loans/queue/${loanQueueId}
|
|
6614
|
+
replaceLoanQueue: (loanQueueId: string, data: UpdateLoanQueueRequest, params: RequestParams = {}) =>
|
|
6615
|
+
this.request<LoanQueueWithData, any>({
|
|
6616
|
+
path: `/api/loans/queue/${loanQueueId}`,
|
|
6510
6617
|
method: "PUT",
|
|
6511
6618
|
body: data,
|
|
6512
6619
|
secure: true,
|
|
6513
6620
|
type: ContentType.Json,
|
|
6621
|
+
format: "json",
|
|
6514
6622
|
...params,
|
|
6515
6623
|
}),
|
|
6516
6624
|
|
|
@@ -6649,6 +6757,126 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
6649
6757
|
...params,
|
|
6650
6758
|
}),
|
|
6651
6759
|
|
|
6760
|
+
/**
|
|
6761
|
+
* No description
|
|
6762
|
+
*
|
|
6763
|
+
* @tags LoanTaskComments
|
|
6764
|
+
* @name SearchLoanTaskComments
|
|
6765
|
+
* @summary Search
|
|
6766
|
+
* @request POST:/api/loans/{loanId}/tasks/{userLoanTaskId}/comments/search
|
|
6767
|
+
* @secure
|
|
6768
|
+
*/
|
|
6769
|
+
searchLoanTaskComments: (
|
|
6770
|
+
loanId: string,
|
|
6771
|
+
userLoanTaskId: string,
|
|
6772
|
+
data: TaskCommentSearchCriteria,
|
|
6773
|
+
query?: {
|
|
6774
|
+
/** @format int32 */
|
|
6775
|
+
pageSize?: number;
|
|
6776
|
+
/** @format int32 */
|
|
6777
|
+
pageNumber?: number;
|
|
6778
|
+
sortBy?: string;
|
|
6779
|
+
sortDirection?: string;
|
|
6780
|
+
},
|
|
6781
|
+
params: RequestParams = {},
|
|
6782
|
+
) =>
|
|
6783
|
+
this.request<TaskCommentPaginated, ProblemDetails>({
|
|
6784
|
+
path: `/api/loans/${loanId}/tasks/${userLoanTaskId}/comments/search`,
|
|
6785
|
+
method: "POST",
|
|
6786
|
+
query: query,
|
|
6787
|
+
body: data,
|
|
6788
|
+
secure: true,
|
|
6789
|
+
type: ContentType.Json,
|
|
6790
|
+
format: "json",
|
|
6791
|
+
...params,
|
|
6792
|
+
}),
|
|
6793
|
+
|
|
6794
|
+
/**
|
|
6795
|
+
* No description
|
|
6796
|
+
*
|
|
6797
|
+
* @tags LoanTaskComments
|
|
6798
|
+
* @name GetLoanTaskComment
|
|
6799
|
+
* @summary Get by ID
|
|
6800
|
+
* @request GET:/api/loans/{loanId}/tasks/{userLoanTaskId}/comments/{id}
|
|
6801
|
+
* @secure
|
|
6802
|
+
*/
|
|
6803
|
+
getLoanTaskComment: (id: string, loanId: string, userLoanTaskId: string, params: RequestParams = {}) =>
|
|
6804
|
+
this.request<TaskComment, ProblemDetails>({
|
|
6805
|
+
path: `/api/loans/${loanId}/tasks/${userLoanTaskId}/comments/${id}`,
|
|
6806
|
+
method: "GET",
|
|
6807
|
+
secure: true,
|
|
6808
|
+
format: "json",
|
|
6809
|
+
...params,
|
|
6810
|
+
}),
|
|
6811
|
+
|
|
6812
|
+
/**
|
|
6813
|
+
* No description
|
|
6814
|
+
*
|
|
6815
|
+
* @tags LoanTaskComments
|
|
6816
|
+
* @name CreateLoanTaskComment
|
|
6817
|
+
* @summary Create
|
|
6818
|
+
* @request POST:/api/loans/{loanId}/tasks/{userLoanTaskId}/comments
|
|
6819
|
+
* @secure
|
|
6820
|
+
*/
|
|
6821
|
+
createLoanTaskComment: (
|
|
6822
|
+
loanId: string,
|
|
6823
|
+
userLoanTaskId: string,
|
|
6824
|
+
data: TaskCommentRequest,
|
|
6825
|
+
params: RequestParams = {},
|
|
6826
|
+
) =>
|
|
6827
|
+
this.request<TaskComment, ProblemDetails>({
|
|
6828
|
+
path: `/api/loans/${loanId}/tasks/${userLoanTaskId}/comments`,
|
|
6829
|
+
method: "POST",
|
|
6830
|
+
body: data,
|
|
6831
|
+
secure: true,
|
|
6832
|
+
type: ContentType.Json,
|
|
6833
|
+
format: "json",
|
|
6834
|
+
...params,
|
|
6835
|
+
}),
|
|
6836
|
+
|
|
6837
|
+
/**
|
|
6838
|
+
* No description
|
|
6839
|
+
*
|
|
6840
|
+
* @tags LoanTaskComments
|
|
6841
|
+
* @name ReplaceLoanTaskComment
|
|
6842
|
+
* @summary Replace
|
|
6843
|
+
* @request PUT:/api/loans/{loanId}/tasks/{userLoanTaskId}/comments/{commentId}
|
|
6844
|
+
* @secure
|
|
6845
|
+
*/
|
|
6846
|
+
replaceLoanTaskComment: (
|
|
6847
|
+
loanId: string,
|
|
6848
|
+
userLoanTaskId: string,
|
|
6849
|
+
commentId: string,
|
|
6850
|
+
data: TaskCommentRequest,
|
|
6851
|
+
params: RequestParams = {},
|
|
6852
|
+
) =>
|
|
6853
|
+
this.request<TaskComment, ProblemDetails>({
|
|
6854
|
+
path: `/api/loans/${loanId}/tasks/${userLoanTaskId}/comments/${commentId}`,
|
|
6855
|
+
method: "PUT",
|
|
6856
|
+
body: data,
|
|
6857
|
+
secure: true,
|
|
6858
|
+
type: ContentType.Json,
|
|
6859
|
+
format: "json",
|
|
6860
|
+
...params,
|
|
6861
|
+
}),
|
|
6862
|
+
|
|
6863
|
+
/**
|
|
6864
|
+
* No description
|
|
6865
|
+
*
|
|
6866
|
+
* @tags LoanTaskComments
|
|
6867
|
+
* @name DeleteLoanTaskComment
|
|
6868
|
+
* @summary Delete
|
|
6869
|
+
* @request DELETE:/api/loans/{loanId}/tasks/{userLoanTaskId}/comments/{commentId}
|
|
6870
|
+
* @secure
|
|
6871
|
+
*/
|
|
6872
|
+
deleteLoanTaskComment: (loanId: string, userLoanTaskId: string, commentId: string, params: RequestParams = {}) =>
|
|
6873
|
+
this.request<void, ProblemDetails>({
|
|
6874
|
+
path: `/api/loans/${loanId}/tasks/${userLoanTaskId}/comments/${commentId}`,
|
|
6875
|
+
method: "DELETE",
|
|
6876
|
+
secure: true,
|
|
6877
|
+
...params,
|
|
6878
|
+
}),
|
|
6879
|
+
|
|
6652
6880
|
/**
|
|
6653
6881
|
* No description
|
|
6654
6882
|
*
|
|
@@ -6997,67 +7225,6 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
6997
7225
|
...params,
|
|
6998
7226
|
}),
|
|
6999
7227
|
|
|
7000
|
-
/**
|
|
7001
|
-
* No description
|
|
7002
|
-
*
|
|
7003
|
-
* @tags NotificationLogs
|
|
7004
|
-
* @name GetNotificationLogs
|
|
7005
|
-
* @summary Get All
|
|
7006
|
-
* @request GET:/api/notifications/logs
|
|
7007
|
-
* @secure
|
|
7008
|
-
*/
|
|
7009
|
-
getNotificationLogs: (
|
|
7010
|
-
query?: {
|
|
7011
|
-
/** @format int32 */
|
|
7012
|
-
pageSize?: number;
|
|
7013
|
-
/** @format int32 */
|
|
7014
|
-
pageNumber?: number;
|
|
7015
|
-
sortBy?: string;
|
|
7016
|
-
sortDirection?: string;
|
|
7017
|
-
},
|
|
7018
|
-
params: RequestParams = {},
|
|
7019
|
-
) =>
|
|
7020
|
-
this.request<NotificationLog[], any>({
|
|
7021
|
-
path: `/api/notifications/logs`,
|
|
7022
|
-
method: "GET",
|
|
7023
|
-
query: query,
|
|
7024
|
-
secure: true,
|
|
7025
|
-
format: "json",
|
|
7026
|
-
...params,
|
|
7027
|
-
}),
|
|
7028
|
-
|
|
7029
|
-
/**
|
|
7030
|
-
* No description
|
|
7031
|
-
*
|
|
7032
|
-
* @tags NotificationLogs
|
|
7033
|
-
* @name SearchNotificationLog
|
|
7034
|
-
* @summary Search
|
|
7035
|
-
* @request POST:/api/notifications/logs/search
|
|
7036
|
-
* @secure
|
|
7037
|
-
*/
|
|
7038
|
-
searchNotificationLog: (
|
|
7039
|
-
data: NotificationLogSearchCriteria,
|
|
7040
|
-
query?: {
|
|
7041
|
-
/** @format int32 */
|
|
7042
|
-
pageSize?: number;
|
|
7043
|
-
/** @format int32 */
|
|
7044
|
-
pageNumber?: number;
|
|
7045
|
-
sortBy?: string;
|
|
7046
|
-
sortDirection?: string;
|
|
7047
|
-
},
|
|
7048
|
-
params: RequestParams = {},
|
|
7049
|
-
) =>
|
|
7050
|
-
this.request<NotificationLogPaginated, any>({
|
|
7051
|
-
path: `/api/notifications/logs/search`,
|
|
7052
|
-
method: "POST",
|
|
7053
|
-
query: query,
|
|
7054
|
-
body: data,
|
|
7055
|
-
secure: true,
|
|
7056
|
-
type: ContentType.Json,
|
|
7057
|
-
format: "json",
|
|
7058
|
-
...params,
|
|
7059
|
-
}),
|
|
7060
|
-
|
|
7061
7228
|
/**
|
|
7062
7229
|
* No description
|
|
7063
7230
|
*
|
|
@@ -7328,7 +7495,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
7328
7495
|
getPartners: (
|
|
7329
7496
|
query?: {
|
|
7330
7497
|
showAll?: boolean;
|
|
7331
|
-
/** @default
|
|
7498
|
+
/** @default "Realtor" */
|
|
7332
7499
|
role?:
|
|
7333
7500
|
| "Borrower"
|
|
7334
7501
|
| "LoanOfficer"
|
|
@@ -7558,25 +7725,6 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
7558
7725
|
...params,
|
|
7559
7726
|
}),
|
|
7560
7727
|
|
|
7561
|
-
/**
|
|
7562
|
-
* No description
|
|
7563
|
-
*
|
|
7564
|
-
* @tags SelfProvisioning
|
|
7565
|
-
* @name CreateSelfProvisioningItem
|
|
7566
|
-
* @summary Create
|
|
7567
|
-
* @request POST:/api/selfprovisioning/newcustomer
|
|
7568
|
-
* @secure
|
|
7569
|
-
*/
|
|
7570
|
-
createSelfProvisioningItem: (data: any, params: RequestParams = {}) =>
|
|
7571
|
-
this.request<void, any>({
|
|
7572
|
-
path: `/api/selfprovisioning/newcustomer`,
|
|
7573
|
-
method: "POST",
|
|
7574
|
-
body: data,
|
|
7575
|
-
secure: true,
|
|
7576
|
-
type: ContentType.Json,
|
|
7577
|
-
...params,
|
|
7578
|
-
}),
|
|
7579
|
-
|
|
7580
7728
|
/**
|
|
7581
7729
|
* No description
|
|
7582
7730
|
*
|