@matech/thebigpos-sdk 2.14.0-rc.4 → 2.14.0-rc.7
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 +2 -1
- package/dist/index.d.ts +128 -77
- package/dist/index.js +41 -41
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +173 -116
package/src/index.ts
CHANGED
|
@@ -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 {
|
|
@@ -254,6 +265,19 @@ export type BorrowerRelationship = "NotApplicable" | "Spouse" | "NonSpouse";
|
|
|
254
265
|
|
|
255
266
|
export type BorrowerType = "Borrower" | "CoBorrower" | "Unknown";
|
|
256
267
|
|
|
268
|
+
export interface BranchBase {
|
|
269
|
+
/** @format date-time */
|
|
270
|
+
createdAt: string;
|
|
271
|
+
/** @format date-time */
|
|
272
|
+
updatedAt?: string | null;
|
|
273
|
+
/** @format date-time */
|
|
274
|
+
deletedAt?: string | null;
|
|
275
|
+
/** @format uuid */
|
|
276
|
+
id: string;
|
|
277
|
+
name: string;
|
|
278
|
+
type: string;
|
|
279
|
+
}
|
|
280
|
+
|
|
257
281
|
export interface BranchReduced {
|
|
258
282
|
/** @format uuid */
|
|
259
283
|
id: string;
|
|
@@ -434,6 +458,18 @@ export interface Corporate {
|
|
|
434
458
|
siteConfigurations: SiteConfigurationReduced[];
|
|
435
459
|
}
|
|
436
460
|
|
|
461
|
+
export interface CorporateBase {
|
|
462
|
+
/** @format date-time */
|
|
463
|
+
createdAt: string;
|
|
464
|
+
/** @format date-time */
|
|
465
|
+
updatedAt?: string | null;
|
|
466
|
+
/** @format date-time */
|
|
467
|
+
deletedAt?: string | null;
|
|
468
|
+
/** @format uuid */
|
|
469
|
+
id: string;
|
|
470
|
+
name: string;
|
|
471
|
+
}
|
|
472
|
+
|
|
437
473
|
export interface CorporatePaginated {
|
|
438
474
|
rows: Corporate[];
|
|
439
475
|
pagination: Pagination;
|
|
@@ -470,6 +506,7 @@ export interface CreateAccountRequest {
|
|
|
470
506
|
* @min 0
|
|
471
507
|
*/
|
|
472
508
|
nlmsid: number;
|
|
509
|
+
settings: AccountSettingsRequest;
|
|
473
510
|
}
|
|
474
511
|
|
|
475
512
|
export interface CreateBranchRequest {
|
|
@@ -808,11 +845,14 @@ export interface DraftContentPaginated {
|
|
|
808
845
|
count: number;
|
|
809
846
|
}
|
|
810
847
|
|
|
848
|
+
export interface DraftLoanOfficerReassignRequest {
|
|
849
|
+
/** @format uuid */
|
|
850
|
+
loanOfficerID: string;
|
|
851
|
+
}
|
|
852
|
+
|
|
811
853
|
export interface DraftRequest {
|
|
812
854
|
applicationPayload: any;
|
|
813
855
|
customData?: any;
|
|
814
|
-
/** @format uuid */
|
|
815
|
-
loanOfficerID?: string | null;
|
|
816
856
|
}
|
|
817
857
|
|
|
818
858
|
export interface EConsentInformation {
|
|
@@ -842,7 +882,6 @@ export interface EnabledServices {
|
|
|
842
882
|
borrowerTasks?: boolean | null;
|
|
843
883
|
docusign?: boolean | null;
|
|
844
884
|
emailNotifications?: boolean | null;
|
|
845
|
-
textNotifications?: boolean | null;
|
|
846
885
|
voc?: boolean | null;
|
|
847
886
|
spanishPrequal?: boolean | null;
|
|
848
887
|
spanishFullApp?: boolean | null;
|
|
@@ -876,6 +915,8 @@ export interface Error {
|
|
|
876
915
|
}
|
|
877
916
|
|
|
878
917
|
export interface ExtendedLoan {
|
|
918
|
+
/** @format uuid */
|
|
919
|
+
id: string;
|
|
879
920
|
loanID: string;
|
|
880
921
|
loanNumber?: string | null;
|
|
881
922
|
/** @format date-time */
|
|
@@ -1435,6 +1476,8 @@ export interface ListingSearchCriteria {
|
|
|
1435
1476
|
}
|
|
1436
1477
|
|
|
1437
1478
|
export interface Loan {
|
|
1479
|
+
/** @format uuid */
|
|
1480
|
+
id: string;
|
|
1438
1481
|
loanID: string;
|
|
1439
1482
|
loanNumber?: string | null;
|
|
1440
1483
|
/** @format date-time */
|
|
@@ -1599,11 +1642,12 @@ export interface LoanQueue {
|
|
|
1599
1642
|
deletedAt?: string | null;
|
|
1600
1643
|
/** @format uuid */
|
|
1601
1644
|
id: string;
|
|
1602
|
-
|
|
1645
|
+
loan?: Loan | null;
|
|
1603
1646
|
type: string;
|
|
1604
1647
|
reason: string;
|
|
1605
1648
|
status: string;
|
|
1606
1649
|
details?: string | null;
|
|
1650
|
+
jobID?: string | null;
|
|
1607
1651
|
user: UserPublic;
|
|
1608
1652
|
loanOfficer: LoanOfficerPublic;
|
|
1609
1653
|
siteConfiguration: SiteConfigurationReduced;
|
|
@@ -1637,15 +1681,16 @@ export interface LoanQueueWithData {
|
|
|
1637
1681
|
deletedAt?: string | null;
|
|
1638
1682
|
/** @format uuid */
|
|
1639
1683
|
id: string;
|
|
1640
|
-
|
|
1684
|
+
loan?: Loan | null;
|
|
1641
1685
|
type: string;
|
|
1642
1686
|
reason: string;
|
|
1643
1687
|
status: string;
|
|
1644
1688
|
details?: string | null;
|
|
1689
|
+
jobID?: string | null;
|
|
1645
1690
|
user: UserPublic;
|
|
1646
1691
|
loanOfficer: LoanOfficerPublic;
|
|
1647
1692
|
siteConfiguration: SiteConfigurationReduced;
|
|
1648
|
-
data
|
|
1693
|
+
data?: any;
|
|
1649
1694
|
}
|
|
1650
1695
|
|
|
1651
1696
|
export interface LoanRecord {
|
|
@@ -2060,6 +2105,7 @@ export interface RunLOCalculation {
|
|
|
2060
2105
|
canGeneratePreQual: boolean;
|
|
2061
2106
|
canGeneratePreApproval: boolean;
|
|
2062
2107
|
preApprovalNotes?: string | null;
|
|
2108
|
+
additionalPreApprovalNotes?: string | null;
|
|
2063
2109
|
downPaymentAmount?: string | null;
|
|
2064
2110
|
downPaymentPercent?: string | null;
|
|
2065
2111
|
lienType?: string | null;
|
|
@@ -2096,6 +2142,7 @@ export interface RunLOCalculationRequest {
|
|
|
2096
2142
|
/** @minLength 1 */
|
|
2097
2143
|
lienType: string;
|
|
2098
2144
|
preApprovalNotes?: string | null;
|
|
2145
|
+
additionalPreApprovalNotes?: string | null;
|
|
2099
2146
|
}
|
|
2100
2147
|
|
|
2101
2148
|
export interface SSOToken {
|
|
@@ -2328,6 +2375,7 @@ export interface SiteConfiguration {
|
|
|
2328
2375
|
modules: Module[];
|
|
2329
2376
|
user?: UserPublic | null;
|
|
2330
2377
|
asoSettings?: ASOSettings | null;
|
|
2378
|
+
accountSettings: AccountSettings;
|
|
2331
2379
|
}
|
|
2332
2380
|
|
|
2333
2381
|
export interface SiteConfigurationByUrl {
|
|
@@ -2521,6 +2569,7 @@ export interface SiteConfigurationByUrl {
|
|
|
2521
2569
|
modules: Module[];
|
|
2522
2570
|
user?: UserPublic | null;
|
|
2523
2571
|
asoSettings?: ASOSettings | null;
|
|
2572
|
+
accountSettings: AccountSettings;
|
|
2524
2573
|
workflows: Workflow[];
|
|
2525
2574
|
}
|
|
2526
2575
|
|
|
@@ -2546,13 +2595,6 @@ export interface SiteConfigurationForm {
|
|
|
2546
2595
|
entityTypes: string[];
|
|
2547
2596
|
}
|
|
2548
2597
|
|
|
2549
|
-
export interface SiteConfigurationPaginated {
|
|
2550
|
-
rows: SiteConfiguration[];
|
|
2551
|
-
pagination: Pagination;
|
|
2552
|
-
/** @format int64 */
|
|
2553
|
-
count: number;
|
|
2554
|
-
}
|
|
2555
|
-
|
|
2556
2598
|
export interface SiteConfigurationReduced {
|
|
2557
2599
|
/** @format uuid */
|
|
2558
2600
|
id: string;
|
|
@@ -2735,6 +2777,39 @@ export interface SiteConfigurationSearchCriteria {
|
|
|
2735
2777
|
searchText?: string | null;
|
|
2736
2778
|
isActive?: boolean | null;
|
|
2737
2779
|
entityType?: string | null;
|
|
2780
|
+
/** @format uuid */
|
|
2781
|
+
branch?: string | null;
|
|
2782
|
+
/** @format uuid */
|
|
2783
|
+
brand?: string | null;
|
|
2784
|
+
role?: UserRole | null;
|
|
2785
|
+
branchType?: string | null;
|
|
2786
|
+
}
|
|
2787
|
+
|
|
2788
|
+
export interface SiteConfigurationWithBranchBrandLOInformation {
|
|
2789
|
+
/** @format uuid */
|
|
2790
|
+
id: string;
|
|
2791
|
+
url?: string | null;
|
|
2792
|
+
name: string;
|
|
2793
|
+
/** @format int64 */
|
|
2794
|
+
nmlsid: number;
|
|
2795
|
+
email?: string | null;
|
|
2796
|
+
companyName?: string | null;
|
|
2797
|
+
/** @format date-time */
|
|
2798
|
+
createdAt?: string | null;
|
|
2799
|
+
/** @format date-time */
|
|
2800
|
+
deletedAt?: string | null;
|
|
2801
|
+
branch?: BranchBase | null;
|
|
2802
|
+
corporate?: CorporateBase | null;
|
|
2803
|
+
loanOfficer?: User | null;
|
|
2804
|
+
realtor?: User | null;
|
|
2805
|
+
branchName?: string | null;
|
|
2806
|
+
}
|
|
2807
|
+
|
|
2808
|
+
export interface SiteConfigurationWithBranchBrandLOInformationPaginated {
|
|
2809
|
+
rows: SiteConfigurationWithBranchBrandLOInformation[];
|
|
2810
|
+
pagination: Pagination;
|
|
2811
|
+
/** @format int64 */
|
|
2812
|
+
count: number;
|
|
2738
2813
|
}
|
|
2739
2814
|
|
|
2740
2815
|
export interface SiteConfigurationWithInherited {
|
|
@@ -2794,8 +2869,6 @@ export interface Task {
|
|
|
2794
2869
|
usedInBusinessRule: boolean;
|
|
2795
2870
|
willAutocompleteAfterResponse: boolean;
|
|
2796
2871
|
hasAutoPropagationOnAdd: boolean;
|
|
2797
|
-
/** @format int32 */
|
|
2798
|
-
commentsCount: number;
|
|
2799
2872
|
}
|
|
2800
2873
|
|
|
2801
2874
|
export interface TaskComment {
|
|
@@ -2982,6 +3055,7 @@ export interface UpdateAccountRequest {
|
|
|
2982
3055
|
allowedLoginsWithoutMFA: number;
|
|
2983
3056
|
losSettings: LOSSettingsUpdateRequest;
|
|
2984
3057
|
asoSettings?: ASOSettings | null;
|
|
3058
|
+
settings: AccountSettingsRequest;
|
|
2985
3059
|
}
|
|
2986
3060
|
|
|
2987
3061
|
export interface UpdateDocumentTemplateRequest {
|
|
@@ -3152,12 +3226,14 @@ export interface UserMobilePhoneVerificationRequest {
|
|
|
3152
3226
|
|
|
3153
3227
|
export interface UserNotificationSettings {
|
|
3154
3228
|
emailEnabled: boolean;
|
|
3155
|
-
textEnabled
|
|
3229
|
+
textEnabled: boolean;
|
|
3230
|
+
textOptIn?: boolean | null;
|
|
3156
3231
|
}
|
|
3157
3232
|
|
|
3158
3233
|
export interface UserNotificationSettingsUpdateRequest {
|
|
3159
3234
|
emailEnabled: boolean;
|
|
3160
|
-
textEnabled
|
|
3235
|
+
textEnabled: boolean;
|
|
3236
|
+
textOptIn?: boolean | null;
|
|
3161
3237
|
}
|
|
3162
3238
|
|
|
3163
3239
|
export interface UserPaginated {
|
|
@@ -3250,27 +3326,6 @@ export interface UserSearchCriteria {
|
|
|
3250
3326
|
roles?: string[] | null;
|
|
3251
3327
|
}
|
|
3252
3328
|
|
|
3253
|
-
export interface Verification {
|
|
3254
|
-
requestId: string;
|
|
3255
|
-
message?: string | null;
|
|
3256
|
-
status?: string | null;
|
|
3257
|
-
ssoUrls?: Record<string, string>;
|
|
3258
|
-
}
|
|
3259
|
-
|
|
3260
|
-
export interface VerificationRequest {
|
|
3261
|
-
requestID?: string | null;
|
|
3262
|
-
loanID?: string | null;
|
|
3263
|
-
/** @minItems 1 */
|
|
3264
|
-
operations: string[];
|
|
3265
|
-
/** @format int32 */
|
|
3266
|
-
_VerificationOperations?: number | null;
|
|
3267
|
-
/** @format int32 */
|
|
3268
|
-
verificationOperations: number;
|
|
3269
|
-
newRequest?: boolean | null;
|
|
3270
|
-
/** @format uuid */
|
|
3271
|
-
loanTaskID?: string | null;
|
|
3272
|
-
}
|
|
3273
|
-
|
|
3274
3329
|
export interface VerifyPasswordRequest {
|
|
3275
3330
|
/**
|
|
3276
3331
|
* @format email
|
|
@@ -3440,7 +3495,7 @@ export class HttpClient<SecurityDataType = unknown> {
|
|
|
3440
3495
|
|
|
3441
3496
|
/**
|
|
3442
3497
|
* @title The Big POS API
|
|
3443
|
-
* @version v2.
|
|
3498
|
+
* @version v2.14.1
|
|
3444
3499
|
* @termsOfService https://www.thebigpos.com/terms-of-use/
|
|
3445
3500
|
* @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
|
|
3446
3501
|
*/
|
|
@@ -6344,6 +6399,26 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
6344
6399
|
...params,
|
|
6345
6400
|
}),
|
|
6346
6401
|
|
|
6402
|
+
/**
|
|
6403
|
+
* No description
|
|
6404
|
+
*
|
|
6405
|
+
* @tags LoanDrafts
|
|
6406
|
+
* @name ReassignLoanOfficer
|
|
6407
|
+
* @summary Reassign Loan officer
|
|
6408
|
+
* @request PUT:/api/loans/drafts/{draftId}/reassign
|
|
6409
|
+
* @secure
|
|
6410
|
+
*/
|
|
6411
|
+
reassignLoanOfficer: (draftId: string, data: DraftLoanOfficerReassignRequest, params: RequestParams = {}) =>
|
|
6412
|
+
this.request<Draft, any>({
|
|
6413
|
+
path: `/api/loans/drafts/${draftId}/reassign`,
|
|
6414
|
+
method: "PUT",
|
|
6415
|
+
body: data,
|
|
6416
|
+
secure: true,
|
|
6417
|
+
type: ContentType.Json,
|
|
6418
|
+
format: "json",
|
|
6419
|
+
...params,
|
|
6420
|
+
}),
|
|
6421
|
+
|
|
6347
6422
|
/**
|
|
6348
6423
|
* No description
|
|
6349
6424
|
*
|
|
@@ -6555,7 +6630,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
6555
6630
|
* @secure
|
|
6556
6631
|
*/
|
|
6557
6632
|
getLoanQueue: (loanQueueId: string, params: RequestParams = {}) =>
|
|
6558
|
-
this.request<any,
|
|
6633
|
+
this.request<any, ProblemDetails>({
|
|
6559
6634
|
path: `/api/loans/queue/${loanQueueId}`,
|
|
6560
6635
|
method: "GET",
|
|
6561
6636
|
secure: true,
|
|
@@ -6573,7 +6648,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
6573
6648
|
* @secure
|
|
6574
6649
|
*/
|
|
6575
6650
|
replaceLoanQueue: (loanQueueId: string, data: UpdateLoanQueueRequest, params: RequestParams = {}) =>
|
|
6576
|
-
this.request<LoanQueueWithData,
|
|
6651
|
+
this.request<LoanQueueWithData, ProblemDetails>({
|
|
6577
6652
|
path: `/api/loans/queue/${loanQueueId}`,
|
|
6578
6653
|
method: "PUT",
|
|
6579
6654
|
body: data,
|
|
@@ -6583,6 +6658,23 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
6583
6658
|
...params,
|
|
6584
6659
|
}),
|
|
6585
6660
|
|
|
6661
|
+
/**
|
|
6662
|
+
* No description
|
|
6663
|
+
*
|
|
6664
|
+
* @tags LoanQueue
|
|
6665
|
+
* @name DeleteLoanQueue
|
|
6666
|
+
* @summary Delete Loan Queue Item
|
|
6667
|
+
* @request DELETE:/api/loans/queue/{loanQueueId}
|
|
6668
|
+
* @secure
|
|
6669
|
+
*/
|
|
6670
|
+
deleteLoanQueue: (loanQueueId: string, params: RequestParams = {}) =>
|
|
6671
|
+
this.request<void, ProblemDetails>({
|
|
6672
|
+
path: `/api/loans/queue/${loanQueueId}`,
|
|
6673
|
+
method: "DELETE",
|
|
6674
|
+
secure: true,
|
|
6675
|
+
...params,
|
|
6676
|
+
}),
|
|
6677
|
+
|
|
6586
6678
|
/**
|
|
6587
6679
|
* No description
|
|
6588
6680
|
*
|
|
@@ -6593,7 +6685,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
6593
6685
|
* @secure
|
|
6594
6686
|
*/
|
|
6595
6687
|
retryLoanQueue: (loanQueueId: string, params: RequestParams = {}) =>
|
|
6596
|
-
this.request<void,
|
|
6688
|
+
this.request<void, ProblemDetails>({
|
|
6597
6689
|
path: `/api/loans/queue/${loanQueueId}/retry`,
|
|
6598
6690
|
method: "POST",
|
|
6599
6691
|
secure: true,
|
|
@@ -6724,12 +6816,12 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
6724
6816
|
* @tags LoanTaskComments
|
|
6725
6817
|
* @name SearchLoanTaskComments
|
|
6726
6818
|
* @summary Search
|
|
6727
|
-
* @request POST:/api/loans/{loanId}/tasks/{
|
|
6819
|
+
* @request POST:/api/loans/{loanId}/tasks/{userLoanTaskId}/comments/search
|
|
6728
6820
|
* @secure
|
|
6729
6821
|
*/
|
|
6730
6822
|
searchLoanTaskComments: (
|
|
6731
6823
|
loanId: string,
|
|
6732
|
-
|
|
6824
|
+
userLoanTaskId: string,
|
|
6733
6825
|
data: TaskCommentSearchCriteria,
|
|
6734
6826
|
query?: {
|
|
6735
6827
|
/** @format int32 */
|
|
@@ -6742,7 +6834,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
6742
6834
|
params: RequestParams = {},
|
|
6743
6835
|
) =>
|
|
6744
6836
|
this.request<TaskCommentPaginated, ProblemDetails>({
|
|
6745
|
-
path: `/api/loans/${loanId}/tasks/${
|
|
6837
|
+
path: `/api/loans/${loanId}/tasks/${userLoanTaskId}/comments/search`,
|
|
6746
6838
|
method: "POST",
|
|
6747
6839
|
query: query,
|
|
6748
6840
|
body: data,
|
|
@@ -6758,12 +6850,12 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
6758
6850
|
* @tags LoanTaskComments
|
|
6759
6851
|
* @name GetLoanTaskComment
|
|
6760
6852
|
* @summary Get by ID
|
|
6761
|
-
* @request GET:/api/loans/{loanId}/tasks/{
|
|
6853
|
+
* @request GET:/api/loans/{loanId}/tasks/{userLoanTaskId}/comments/{id}
|
|
6762
6854
|
* @secure
|
|
6763
6855
|
*/
|
|
6764
|
-
getLoanTaskComment: (id: string, loanId: string,
|
|
6856
|
+
getLoanTaskComment: (id: string, loanId: string, userLoanTaskId: string, params: RequestParams = {}) =>
|
|
6765
6857
|
this.request<TaskComment, ProblemDetails>({
|
|
6766
|
-
path: `/api/loans/${loanId}/tasks/${
|
|
6858
|
+
path: `/api/loans/${loanId}/tasks/${userLoanTaskId}/comments/${id}`,
|
|
6767
6859
|
method: "GET",
|
|
6768
6860
|
secure: true,
|
|
6769
6861
|
format: "json",
|
|
@@ -6776,12 +6868,17 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
6776
6868
|
* @tags LoanTaskComments
|
|
6777
6869
|
* @name CreateLoanTaskComment
|
|
6778
6870
|
* @summary Create
|
|
6779
|
-
* @request POST:/api/loans/{loanId}/tasks/{
|
|
6871
|
+
* @request POST:/api/loans/{loanId}/tasks/{userLoanTaskId}/comments
|
|
6780
6872
|
* @secure
|
|
6781
6873
|
*/
|
|
6782
|
-
createLoanTaskComment: (
|
|
6874
|
+
createLoanTaskComment: (
|
|
6875
|
+
loanId: string,
|
|
6876
|
+
userLoanTaskId: string,
|
|
6877
|
+
data: TaskCommentRequest,
|
|
6878
|
+
params: RequestParams = {},
|
|
6879
|
+
) =>
|
|
6783
6880
|
this.request<TaskComment, ProblemDetails>({
|
|
6784
|
-
path: `/api/loans/${loanId}/tasks/${
|
|
6881
|
+
path: `/api/loans/${loanId}/tasks/${userLoanTaskId}/comments`,
|
|
6785
6882
|
method: "POST",
|
|
6786
6883
|
body: data,
|
|
6787
6884
|
secure: true,
|
|
@@ -6796,18 +6893,18 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
6796
6893
|
* @tags LoanTaskComments
|
|
6797
6894
|
* @name ReplaceLoanTaskComment
|
|
6798
6895
|
* @summary Replace
|
|
6799
|
-
* @request PUT:/api/loans/{loanId}/tasks/{
|
|
6896
|
+
* @request PUT:/api/loans/{loanId}/tasks/{userLoanTaskId}/comments/{commentId}
|
|
6800
6897
|
* @secure
|
|
6801
6898
|
*/
|
|
6802
6899
|
replaceLoanTaskComment: (
|
|
6803
6900
|
loanId: string,
|
|
6804
|
-
|
|
6901
|
+
userLoanTaskId: string,
|
|
6805
6902
|
commentId: string,
|
|
6806
6903
|
data: TaskCommentRequest,
|
|
6807
6904
|
params: RequestParams = {},
|
|
6808
6905
|
) =>
|
|
6809
6906
|
this.request<TaskComment, ProblemDetails>({
|
|
6810
|
-
path: `/api/loans/${loanId}/tasks/${
|
|
6907
|
+
path: `/api/loans/${loanId}/tasks/${userLoanTaskId}/comments/${commentId}`,
|
|
6811
6908
|
method: "PUT",
|
|
6812
6909
|
body: data,
|
|
6813
6910
|
secure: true,
|
|
@@ -6822,12 +6919,12 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
6822
6919
|
* @tags LoanTaskComments
|
|
6823
6920
|
* @name DeleteLoanTaskComment
|
|
6824
6921
|
* @summary Delete
|
|
6825
|
-
* @request DELETE:/api/loans/{loanId}/tasks/{
|
|
6922
|
+
* @request DELETE:/api/loans/{loanId}/tasks/{userLoanTaskId}/comments/{commentId}
|
|
6826
6923
|
* @secure
|
|
6827
6924
|
*/
|
|
6828
|
-
deleteLoanTaskComment: (loanId: string,
|
|
6925
|
+
deleteLoanTaskComment: (loanId: string, userLoanTaskId: string, commentId: string, params: RequestParams = {}) =>
|
|
6829
6926
|
this.request<void, ProblemDetails>({
|
|
6830
|
-
path: `/api/loans/${loanId}/tasks/${
|
|
6927
|
+
path: `/api/loans/${loanId}/tasks/${userLoanTaskId}/comments/${commentId}`,
|
|
6831
6928
|
method: "DELETE",
|
|
6832
6929
|
secure: true,
|
|
6833
6930
|
...params,
|
|
@@ -7034,6 +7131,24 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
7034
7131
|
...params,
|
|
7035
7132
|
}),
|
|
7036
7133
|
|
|
7134
|
+
/**
|
|
7135
|
+
* No description
|
|
7136
|
+
*
|
|
7137
|
+
* @tags LoanTaskVerifications
|
|
7138
|
+
* @name CreateLoanTaskVerification
|
|
7139
|
+
* @summary Create
|
|
7140
|
+
* @request POST:/api/loans/{loanID}/tasks/{loanTaskId}/verifications
|
|
7141
|
+
* @secure
|
|
7142
|
+
*/
|
|
7143
|
+
createLoanTaskVerification: (loanId: string, loanTaskId: string, params: RequestParams = {}) =>
|
|
7144
|
+
this.request<UserLoanTask, ProblemDetails | UnprocessableEntity>({
|
|
7145
|
+
path: `/api/loans/${loanId}/tasks/${loanTaskId}/verifications`,
|
|
7146
|
+
method: "POST",
|
|
7147
|
+
secure: true,
|
|
7148
|
+
format: "json",
|
|
7149
|
+
...params,
|
|
7150
|
+
}),
|
|
7151
|
+
|
|
7037
7152
|
/**
|
|
7038
7153
|
* No description
|
|
7039
7154
|
*
|
|
@@ -7807,7 +7922,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
7807
7922
|
},
|
|
7808
7923
|
params: RequestParams = {},
|
|
7809
7924
|
) =>
|
|
7810
|
-
this.request<
|
|
7925
|
+
this.request<SiteConfigurationWithBranchBrandLOInformationPaginated, UnprocessableEntity>({
|
|
7811
7926
|
path: `/api/site-configurations/search`,
|
|
7812
7927
|
method: "POST",
|
|
7813
7928
|
query: query,
|
|
@@ -8730,64 +8845,6 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
8730
8845
|
...params,
|
|
8731
8846
|
}),
|
|
8732
8847
|
|
|
8733
|
-
/**
|
|
8734
|
-
* No description
|
|
8735
|
-
*
|
|
8736
|
-
* @tags Verifications
|
|
8737
|
-
* @name Verify
|
|
8738
|
-
* @summary Verify
|
|
8739
|
-
* @request POST:/api/verifications/verify
|
|
8740
|
-
* @secure
|
|
8741
|
-
*/
|
|
8742
|
-
verify: (data: VerificationRequest, params: RequestParams = {}) =>
|
|
8743
|
-
this.request<Verification, UnprocessableEntity>({
|
|
8744
|
-
path: `/api/verifications/verify`,
|
|
8745
|
-
method: "POST",
|
|
8746
|
-
body: data,
|
|
8747
|
-
secure: true,
|
|
8748
|
-
type: ContentType.Json,
|
|
8749
|
-
format: "json",
|
|
8750
|
-
...params,
|
|
8751
|
-
}),
|
|
8752
|
-
|
|
8753
|
-
/**
|
|
8754
|
-
* No description
|
|
8755
|
-
*
|
|
8756
|
-
* @tags Verifications
|
|
8757
|
-
* @name GetVerificationStatus
|
|
8758
|
-
* @summary Get Status
|
|
8759
|
-
* @request POST:/api/verifications/status
|
|
8760
|
-
* @secure
|
|
8761
|
-
*/
|
|
8762
|
-
getVerificationStatus: (data: VerificationRequest, params: RequestParams = {}) =>
|
|
8763
|
-
this.request<Verification, UnprocessableEntity>({
|
|
8764
|
-
path: `/api/verifications/status`,
|
|
8765
|
-
method: "POST",
|
|
8766
|
-
body: data,
|
|
8767
|
-
secure: true,
|
|
8768
|
-
type: ContentType.Json,
|
|
8769
|
-
format: "json",
|
|
8770
|
-
...params,
|
|
8771
|
-
}),
|
|
8772
|
-
|
|
8773
|
-
/**
|
|
8774
|
-
* No description
|
|
8775
|
-
*
|
|
8776
|
-
* @tags Verifications
|
|
8777
|
-
* @name GetVerificationFrontEndMaterials
|
|
8778
|
-
* @summary Get Front End Materials
|
|
8779
|
-
* @request GET:/api/verifications/frontend-materials/{requestId}
|
|
8780
|
-
* @secure
|
|
8781
|
-
*/
|
|
8782
|
-
getVerificationFrontEndMaterials: (requestId: string, params: RequestParams = {}) =>
|
|
8783
|
-
this.request<Verification, UnprocessableEntity>({
|
|
8784
|
-
path: `/api/verifications/frontend-materials/${requestId}`,
|
|
8785
|
-
method: "GET",
|
|
8786
|
-
secure: true,
|
|
8787
|
-
format: "json",
|
|
8788
|
-
...params,
|
|
8789
|
-
}),
|
|
8790
|
-
|
|
8791
8848
|
/**
|
|
8792
8849
|
* No description
|
|
8793
8850
|
*
|