@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/.husky/pre-commit
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
yarn build
|
|
1
|
+
yarn build
|
|
2
|
+
git add .
|
package/dist/index.d.ts
CHANGED
|
@@ -38,6 +38,15 @@ export interface Account {
|
|
|
38
38
|
allowedLoginsWithoutMFA: number;
|
|
39
39
|
losSettings: LOSSettings;
|
|
40
40
|
asoSettings?: ASOSettings | null;
|
|
41
|
+
settings: AccountSettings;
|
|
42
|
+
}
|
|
43
|
+
export interface AccountSettings {
|
|
44
|
+
isSmsEnabled: boolean;
|
|
45
|
+
smsNumber?: string | null;
|
|
46
|
+
}
|
|
47
|
+
export interface AccountSettingsRequest {
|
|
48
|
+
isSmsEnabled: boolean;
|
|
49
|
+
smsNumber?: string | null;
|
|
41
50
|
}
|
|
42
51
|
export interface Action {
|
|
43
52
|
/** @format uuid */
|
|
@@ -228,6 +237,18 @@ export interface Attachment {
|
|
|
228
237
|
}
|
|
229
238
|
export type BorrowerRelationship = "NotApplicable" | "Spouse" | "NonSpouse";
|
|
230
239
|
export type BorrowerType = "Borrower" | "CoBorrower" | "Unknown";
|
|
240
|
+
export interface BranchBase {
|
|
241
|
+
/** @format date-time */
|
|
242
|
+
createdAt: string;
|
|
243
|
+
/** @format date-time */
|
|
244
|
+
updatedAt?: string | null;
|
|
245
|
+
/** @format date-time */
|
|
246
|
+
deletedAt?: string | null;
|
|
247
|
+
/** @format uuid */
|
|
248
|
+
id: string;
|
|
249
|
+
name: string;
|
|
250
|
+
type: string;
|
|
251
|
+
}
|
|
231
252
|
export interface BranchReduced {
|
|
232
253
|
/** @format uuid */
|
|
233
254
|
id: string;
|
|
@@ -392,6 +413,17 @@ export interface Corporate {
|
|
|
392
413
|
branchIDs: string[];
|
|
393
414
|
siteConfigurations: SiteConfigurationReduced[];
|
|
394
415
|
}
|
|
416
|
+
export interface CorporateBase {
|
|
417
|
+
/** @format date-time */
|
|
418
|
+
createdAt: string;
|
|
419
|
+
/** @format date-time */
|
|
420
|
+
updatedAt?: string | null;
|
|
421
|
+
/** @format date-time */
|
|
422
|
+
deletedAt?: string | null;
|
|
423
|
+
/** @format uuid */
|
|
424
|
+
id: string;
|
|
425
|
+
name: string;
|
|
426
|
+
}
|
|
395
427
|
export interface CorporatePaginated {
|
|
396
428
|
rows: Corporate[];
|
|
397
429
|
pagination: Pagination;
|
|
@@ -425,6 +457,7 @@ export interface CreateAccountRequest {
|
|
|
425
457
|
* @min 0
|
|
426
458
|
*/
|
|
427
459
|
nlmsid: number;
|
|
460
|
+
settings: AccountSettingsRequest;
|
|
428
461
|
}
|
|
429
462
|
export interface CreateBranchRequest {
|
|
430
463
|
/**
|
|
@@ -739,11 +772,13 @@ export interface DraftContentPaginated {
|
|
|
739
772
|
/** @format int64 */
|
|
740
773
|
count: number;
|
|
741
774
|
}
|
|
775
|
+
export interface DraftLoanOfficerReassignRequest {
|
|
776
|
+
/** @format uuid */
|
|
777
|
+
loanOfficerID: string;
|
|
778
|
+
}
|
|
742
779
|
export interface DraftRequest {
|
|
743
780
|
applicationPayload: any;
|
|
744
781
|
customData?: any;
|
|
745
|
-
/** @format uuid */
|
|
746
|
-
loanOfficerID?: string | null;
|
|
747
782
|
}
|
|
748
783
|
export interface EConsentInformation {
|
|
749
784
|
status: string;
|
|
@@ -771,7 +806,6 @@ export interface EnabledServices {
|
|
|
771
806
|
borrowerTasks?: boolean | null;
|
|
772
807
|
docusign?: boolean | null;
|
|
773
808
|
emailNotifications?: boolean | null;
|
|
774
|
-
textNotifications?: boolean | null;
|
|
775
809
|
voc?: boolean | null;
|
|
776
810
|
spanishPrequal?: boolean | null;
|
|
777
811
|
spanishFullApp?: boolean | null;
|
|
@@ -803,6 +837,8 @@ export interface Error {
|
|
|
803
837
|
message: string;
|
|
804
838
|
}
|
|
805
839
|
export interface ExtendedLoan {
|
|
840
|
+
/** @format uuid */
|
|
841
|
+
id: string;
|
|
806
842
|
loanID: string;
|
|
807
843
|
loanNumber?: string | null;
|
|
808
844
|
/** @format date-time */
|
|
@@ -1291,6 +1327,8 @@ export interface ListingSearchCriteria {
|
|
|
1291
1327
|
partnerIds?: string[] | null;
|
|
1292
1328
|
}
|
|
1293
1329
|
export interface Loan {
|
|
1330
|
+
/** @format uuid */
|
|
1331
|
+
id: string;
|
|
1294
1332
|
loanID: string;
|
|
1295
1333
|
loanNumber?: string | null;
|
|
1296
1334
|
/** @format date-time */
|
|
@@ -1445,11 +1483,12 @@ export interface LoanQueue {
|
|
|
1445
1483
|
deletedAt?: string | null;
|
|
1446
1484
|
/** @format uuid */
|
|
1447
1485
|
id: string;
|
|
1448
|
-
|
|
1486
|
+
loan?: Loan | null;
|
|
1449
1487
|
type: string;
|
|
1450
1488
|
reason: string;
|
|
1451
1489
|
status: string;
|
|
1452
1490
|
details?: string | null;
|
|
1491
|
+
jobID?: string | null;
|
|
1453
1492
|
user: UserPublic;
|
|
1454
1493
|
loanOfficer: LoanOfficerPublic;
|
|
1455
1494
|
siteConfiguration: SiteConfigurationReduced;
|
|
@@ -1478,15 +1517,16 @@ export interface LoanQueueWithData {
|
|
|
1478
1517
|
deletedAt?: string | null;
|
|
1479
1518
|
/** @format uuid */
|
|
1480
1519
|
id: string;
|
|
1481
|
-
|
|
1520
|
+
loan?: Loan | null;
|
|
1482
1521
|
type: string;
|
|
1483
1522
|
reason: string;
|
|
1484
1523
|
status: string;
|
|
1485
1524
|
details?: string | null;
|
|
1525
|
+
jobID?: string | null;
|
|
1486
1526
|
user: UserPublic;
|
|
1487
1527
|
loanOfficer: LoanOfficerPublic;
|
|
1488
1528
|
siteConfiguration: SiteConfigurationReduced;
|
|
1489
|
-
data
|
|
1529
|
+
data?: any;
|
|
1490
1530
|
}
|
|
1491
1531
|
export interface LoanRecord {
|
|
1492
1532
|
loanGuid: string;
|
|
@@ -1873,6 +1913,7 @@ export interface RunLOCalculation {
|
|
|
1873
1913
|
canGeneratePreQual: boolean;
|
|
1874
1914
|
canGeneratePreApproval: boolean;
|
|
1875
1915
|
preApprovalNotes?: string | null;
|
|
1916
|
+
additionalPreApprovalNotes?: string | null;
|
|
1876
1917
|
downPaymentAmount?: string | null;
|
|
1877
1918
|
downPaymentPercent?: string | null;
|
|
1878
1919
|
lienType?: string | null;
|
|
@@ -1908,6 +1949,7 @@ export interface RunLOCalculationRequest {
|
|
|
1908
1949
|
/** @minLength 1 */
|
|
1909
1950
|
lienType: string;
|
|
1910
1951
|
preApprovalNotes?: string | null;
|
|
1952
|
+
additionalPreApprovalNotes?: string | null;
|
|
1911
1953
|
}
|
|
1912
1954
|
export interface SSOToken {
|
|
1913
1955
|
/** @format uuid */
|
|
@@ -2135,6 +2177,7 @@ export interface SiteConfiguration {
|
|
|
2135
2177
|
modules: Module[];
|
|
2136
2178
|
user?: UserPublic | null;
|
|
2137
2179
|
asoSettings?: ASOSettings | null;
|
|
2180
|
+
accountSettings: AccountSettings;
|
|
2138
2181
|
}
|
|
2139
2182
|
export interface SiteConfigurationByUrl {
|
|
2140
2183
|
/** @format date-time */
|
|
@@ -2327,6 +2370,7 @@ export interface SiteConfigurationByUrl {
|
|
|
2327
2370
|
modules: Module[];
|
|
2328
2371
|
user?: UserPublic | null;
|
|
2329
2372
|
asoSettings?: ASOSettings | null;
|
|
2373
|
+
accountSettings: AccountSettings;
|
|
2330
2374
|
workflows: Workflow[];
|
|
2331
2375
|
}
|
|
2332
2376
|
export interface SiteConfigurationForm {
|
|
@@ -2350,12 +2394,6 @@ export interface SiteConfigurationForm {
|
|
|
2350
2394
|
icon: string;
|
|
2351
2395
|
entityTypes: string[];
|
|
2352
2396
|
}
|
|
2353
|
-
export interface SiteConfigurationPaginated {
|
|
2354
|
-
rows: SiteConfiguration[];
|
|
2355
|
-
pagination: Pagination;
|
|
2356
|
-
/** @format int64 */
|
|
2357
|
-
count: number;
|
|
2358
|
-
}
|
|
2359
2397
|
export interface SiteConfigurationReduced {
|
|
2360
2398
|
/** @format uuid */
|
|
2361
2399
|
id: string;
|
|
@@ -2536,6 +2574,37 @@ export interface SiteConfigurationSearchCriteria {
|
|
|
2536
2574
|
searchText?: string | null;
|
|
2537
2575
|
isActive?: boolean | null;
|
|
2538
2576
|
entityType?: string | null;
|
|
2577
|
+
/** @format uuid */
|
|
2578
|
+
branch?: string | null;
|
|
2579
|
+
/** @format uuid */
|
|
2580
|
+
brand?: string | null;
|
|
2581
|
+
role?: UserRole | null;
|
|
2582
|
+
branchType?: string | null;
|
|
2583
|
+
}
|
|
2584
|
+
export interface SiteConfigurationWithBranchBrandLOInformation {
|
|
2585
|
+
/** @format uuid */
|
|
2586
|
+
id: string;
|
|
2587
|
+
url?: string | null;
|
|
2588
|
+
name: string;
|
|
2589
|
+
/** @format int64 */
|
|
2590
|
+
nmlsid: number;
|
|
2591
|
+
email?: string | null;
|
|
2592
|
+
companyName?: string | null;
|
|
2593
|
+
/** @format date-time */
|
|
2594
|
+
createdAt?: string | null;
|
|
2595
|
+
/** @format date-time */
|
|
2596
|
+
deletedAt?: string | null;
|
|
2597
|
+
branch?: BranchBase | null;
|
|
2598
|
+
corporate?: CorporateBase | null;
|
|
2599
|
+
loanOfficer?: User | null;
|
|
2600
|
+
realtor?: User | null;
|
|
2601
|
+
branchName?: string | null;
|
|
2602
|
+
}
|
|
2603
|
+
export interface SiteConfigurationWithBranchBrandLOInformationPaginated {
|
|
2604
|
+
rows: SiteConfigurationWithBranchBrandLOInformation[];
|
|
2605
|
+
pagination: Pagination;
|
|
2606
|
+
/** @format int64 */
|
|
2607
|
+
count: number;
|
|
2539
2608
|
}
|
|
2540
2609
|
export interface SiteConfigurationWithInherited {
|
|
2541
2610
|
siteConfiguration: SiteConfiguration;
|
|
@@ -2590,8 +2659,6 @@ export interface Task {
|
|
|
2590
2659
|
usedInBusinessRule: boolean;
|
|
2591
2660
|
willAutocompleteAfterResponse: boolean;
|
|
2592
2661
|
hasAutoPropagationOnAdd: boolean;
|
|
2593
|
-
/** @format int32 */
|
|
2594
|
-
commentsCount: number;
|
|
2595
2662
|
}
|
|
2596
2663
|
export interface TaskComment {
|
|
2597
2664
|
/** @format uuid */
|
|
@@ -2761,6 +2828,7 @@ export interface UpdateAccountRequest {
|
|
|
2761
2828
|
allowedLoginsWithoutMFA: number;
|
|
2762
2829
|
losSettings: LOSSettingsUpdateRequest;
|
|
2763
2830
|
asoSettings?: ASOSettings | null;
|
|
2831
|
+
settings: AccountSettingsRequest;
|
|
2764
2832
|
}
|
|
2765
2833
|
export interface UpdateDocumentTemplateRequest {
|
|
2766
2834
|
/** @minLength 1 */
|
|
@@ -2915,11 +2983,13 @@ export interface UserMobilePhoneVerificationRequest {
|
|
|
2915
2983
|
}
|
|
2916
2984
|
export interface UserNotificationSettings {
|
|
2917
2985
|
emailEnabled: boolean;
|
|
2918
|
-
textEnabled
|
|
2986
|
+
textEnabled: boolean;
|
|
2987
|
+
textOptIn?: boolean | null;
|
|
2919
2988
|
}
|
|
2920
2989
|
export interface UserNotificationSettingsUpdateRequest {
|
|
2921
2990
|
emailEnabled: boolean;
|
|
2922
|
-
textEnabled
|
|
2991
|
+
textEnabled: boolean;
|
|
2992
|
+
textOptIn?: boolean | null;
|
|
2923
2993
|
}
|
|
2924
2994
|
export interface UserPaginated {
|
|
2925
2995
|
rows: User[];
|
|
@@ -2994,25 +3064,6 @@ export interface UserSearchCriteria {
|
|
|
2994
3064
|
isActive?: boolean | null;
|
|
2995
3065
|
roles?: string[] | null;
|
|
2996
3066
|
}
|
|
2997
|
-
export interface Verification {
|
|
2998
|
-
requestId: string;
|
|
2999
|
-
message?: string | null;
|
|
3000
|
-
status?: string | null;
|
|
3001
|
-
ssoUrls?: Record<string, string>;
|
|
3002
|
-
}
|
|
3003
|
-
export interface VerificationRequest {
|
|
3004
|
-
requestID?: string | null;
|
|
3005
|
-
loanID?: string | null;
|
|
3006
|
-
/** @minItems 1 */
|
|
3007
|
-
operations: string[];
|
|
3008
|
-
/** @format int32 */
|
|
3009
|
-
_VerificationOperations?: number | null;
|
|
3010
|
-
/** @format int32 */
|
|
3011
|
-
verificationOperations: number;
|
|
3012
|
-
newRequest?: boolean | null;
|
|
3013
|
-
/** @format uuid */
|
|
3014
|
-
loanTaskID?: string | null;
|
|
3015
|
-
}
|
|
3016
3067
|
export interface VerifyPasswordRequest {
|
|
3017
3068
|
/**
|
|
3018
3069
|
* @format email
|
|
@@ -3087,7 +3138,7 @@ export declare class HttpClient<SecurityDataType = unknown> {
|
|
|
3087
3138
|
}
|
|
3088
3139
|
/**
|
|
3089
3140
|
* @title The Big POS API
|
|
3090
|
-
* @version v2.
|
|
3141
|
+
* @version v2.14.1
|
|
3091
3142
|
* @termsOfService https://www.thebigpos.com/terms-of-use/
|
|
3092
3143
|
* @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
|
|
3093
3144
|
*/
|
|
@@ -4628,6 +4679,16 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
4628
4679
|
sortBy?: string;
|
|
4629
4680
|
sortDirection?: string;
|
|
4630
4681
|
}, params?: RequestParams) => Promise<AxiosResponse<DraftContentPaginated, any>>;
|
|
4682
|
+
/**
|
|
4683
|
+
* No description
|
|
4684
|
+
*
|
|
4685
|
+
* @tags LoanDrafts
|
|
4686
|
+
* @name ReassignLoanOfficer
|
|
4687
|
+
* @summary Reassign Loan officer
|
|
4688
|
+
* @request PUT:/api/loans/drafts/{draftId}/reassign
|
|
4689
|
+
* @secure
|
|
4690
|
+
*/
|
|
4691
|
+
reassignLoanOfficer: (draftId: string, data: DraftLoanOfficerReassignRequest, params?: RequestParams) => Promise<AxiosResponse<Draft, any>>;
|
|
4631
4692
|
/**
|
|
4632
4693
|
* No description
|
|
4633
4694
|
*
|
|
@@ -4752,6 +4813,16 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
4752
4813
|
* @secure
|
|
4753
4814
|
*/
|
|
4754
4815
|
replaceLoanQueue: (loanQueueId: string, data: UpdateLoanQueueRequest, params?: RequestParams) => Promise<AxiosResponse<LoanQueueWithData, any>>;
|
|
4816
|
+
/**
|
|
4817
|
+
* No description
|
|
4818
|
+
*
|
|
4819
|
+
* @tags LoanQueue
|
|
4820
|
+
* @name DeleteLoanQueue
|
|
4821
|
+
* @summary Delete Loan Queue Item
|
|
4822
|
+
* @request DELETE:/api/loans/queue/{loanQueueId}
|
|
4823
|
+
* @secure
|
|
4824
|
+
*/
|
|
4825
|
+
deleteLoanQueue: (loanQueueId: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
|
|
4755
4826
|
/**
|
|
4756
4827
|
* No description
|
|
4757
4828
|
*
|
|
@@ -4832,10 +4903,10 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
4832
4903
|
* @tags LoanTaskComments
|
|
4833
4904
|
* @name SearchLoanTaskComments
|
|
4834
4905
|
* @summary Search
|
|
4835
|
-
* @request POST:/api/loans/{loanId}/tasks/{
|
|
4906
|
+
* @request POST:/api/loans/{loanId}/tasks/{userLoanTaskId}/comments/search
|
|
4836
4907
|
* @secure
|
|
4837
4908
|
*/
|
|
4838
|
-
searchLoanTaskComments: (loanId: string,
|
|
4909
|
+
searchLoanTaskComments: (loanId: string, userLoanTaskId: string, data: TaskCommentSearchCriteria, query?: {
|
|
4839
4910
|
/** @format int32 */
|
|
4840
4911
|
pageSize?: number;
|
|
4841
4912
|
/** @format int32 */
|
|
@@ -4849,40 +4920,40 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
4849
4920
|
* @tags LoanTaskComments
|
|
4850
4921
|
* @name GetLoanTaskComment
|
|
4851
4922
|
* @summary Get by ID
|
|
4852
|
-
* @request GET:/api/loans/{loanId}/tasks/{
|
|
4923
|
+
* @request GET:/api/loans/{loanId}/tasks/{userLoanTaskId}/comments/{id}
|
|
4853
4924
|
* @secure
|
|
4854
4925
|
*/
|
|
4855
|
-
getLoanTaskComment: (id: string, loanId: string,
|
|
4926
|
+
getLoanTaskComment: (id: string, loanId: string, userLoanTaskId: string, params?: RequestParams) => Promise<AxiosResponse<TaskComment, any>>;
|
|
4856
4927
|
/**
|
|
4857
4928
|
* No description
|
|
4858
4929
|
*
|
|
4859
4930
|
* @tags LoanTaskComments
|
|
4860
4931
|
* @name CreateLoanTaskComment
|
|
4861
4932
|
* @summary Create
|
|
4862
|
-
* @request POST:/api/loans/{loanId}/tasks/{
|
|
4933
|
+
* @request POST:/api/loans/{loanId}/tasks/{userLoanTaskId}/comments
|
|
4863
4934
|
* @secure
|
|
4864
4935
|
*/
|
|
4865
|
-
createLoanTaskComment: (loanId: string,
|
|
4936
|
+
createLoanTaskComment: (loanId: string, userLoanTaskId: string, data: TaskCommentRequest, params?: RequestParams) => Promise<AxiosResponse<TaskComment, any>>;
|
|
4866
4937
|
/**
|
|
4867
4938
|
* No description
|
|
4868
4939
|
*
|
|
4869
4940
|
* @tags LoanTaskComments
|
|
4870
4941
|
* @name ReplaceLoanTaskComment
|
|
4871
4942
|
* @summary Replace
|
|
4872
|
-
* @request PUT:/api/loans/{loanId}/tasks/{
|
|
4943
|
+
* @request PUT:/api/loans/{loanId}/tasks/{userLoanTaskId}/comments/{commentId}
|
|
4873
4944
|
* @secure
|
|
4874
4945
|
*/
|
|
4875
|
-
replaceLoanTaskComment: (loanId: string,
|
|
4946
|
+
replaceLoanTaskComment: (loanId: string, userLoanTaskId: string, commentId: string, data: TaskCommentRequest, params?: RequestParams) => Promise<AxiosResponse<TaskComment, any>>;
|
|
4876
4947
|
/**
|
|
4877
4948
|
* No description
|
|
4878
4949
|
*
|
|
4879
4950
|
* @tags LoanTaskComments
|
|
4880
4951
|
* @name DeleteLoanTaskComment
|
|
4881
4952
|
* @summary Delete
|
|
4882
|
-
* @request DELETE:/api/loans/{loanId}/tasks/{
|
|
4953
|
+
* @request DELETE:/api/loans/{loanId}/tasks/{userLoanTaskId}/comments/{commentId}
|
|
4883
4954
|
* @secure
|
|
4884
4955
|
*/
|
|
4885
|
-
deleteLoanTaskComment: (loanId: string,
|
|
4956
|
+
deleteLoanTaskComment: (loanId: string, userLoanTaskId: string, commentId: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
|
|
4886
4957
|
/**
|
|
4887
4958
|
* No description
|
|
4888
4959
|
*
|
|
@@ -4988,6 +5059,16 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
4988
5059
|
* @secure
|
|
4989
5060
|
*/
|
|
4990
5061
|
sendOutstandingLoanTaskNotification: (loanId: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
|
|
5062
|
+
/**
|
|
5063
|
+
* No description
|
|
5064
|
+
*
|
|
5065
|
+
* @tags LoanTaskVerifications
|
|
5066
|
+
* @name CreateLoanTaskVerification
|
|
5067
|
+
* @summary Create
|
|
5068
|
+
* @request POST:/api/loans/{loanID}/tasks/{loanTaskId}/verifications
|
|
5069
|
+
* @secure
|
|
5070
|
+
*/
|
|
5071
|
+
createLoanTaskVerification: (loanId: string, loanTaskId: string, params?: RequestParams) => Promise<AxiosResponse<UserLoanTask, any>>;
|
|
4991
5072
|
/**
|
|
4992
5073
|
* No description
|
|
4993
5074
|
*
|
|
@@ -5395,7 +5476,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
5395
5476
|
pageNumber?: number;
|
|
5396
5477
|
sortBy?: string;
|
|
5397
5478
|
sortDirection?: string;
|
|
5398
|
-
}, params?: RequestParams) => Promise<AxiosResponse<
|
|
5479
|
+
}, params?: RequestParams) => Promise<AxiosResponse<SiteConfigurationWithBranchBrandLOInformationPaginated, any>>;
|
|
5399
5480
|
/**
|
|
5400
5481
|
* No description
|
|
5401
5482
|
*
|
|
@@ -5890,36 +5971,6 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
5890
5971
|
* @secure
|
|
5891
5972
|
*/
|
|
5892
5973
|
deleteMe: (data: UserAccountDeletionRequest, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
|
|
5893
|
-
/**
|
|
5894
|
-
* No description
|
|
5895
|
-
*
|
|
5896
|
-
* @tags Verifications
|
|
5897
|
-
* @name Verify
|
|
5898
|
-
* @summary Verify
|
|
5899
|
-
* @request POST:/api/verifications/verify
|
|
5900
|
-
* @secure
|
|
5901
|
-
*/
|
|
5902
|
-
verify: (data: VerificationRequest, params?: RequestParams) => Promise<AxiosResponse<Verification, any>>;
|
|
5903
|
-
/**
|
|
5904
|
-
* No description
|
|
5905
|
-
*
|
|
5906
|
-
* @tags Verifications
|
|
5907
|
-
* @name GetVerificationStatus
|
|
5908
|
-
* @summary Get Status
|
|
5909
|
-
* @request POST:/api/verifications/status
|
|
5910
|
-
* @secure
|
|
5911
|
-
*/
|
|
5912
|
-
getVerificationStatus: (data: VerificationRequest, params?: RequestParams) => Promise<AxiosResponse<Verification, any>>;
|
|
5913
|
-
/**
|
|
5914
|
-
* No description
|
|
5915
|
-
*
|
|
5916
|
-
* @tags Verifications
|
|
5917
|
-
* @name GetVerificationFrontEndMaterials
|
|
5918
|
-
* @summary Get Front End Materials
|
|
5919
|
-
* @request GET:/api/verifications/frontend-materials/{requestId}
|
|
5920
|
-
* @secure
|
|
5921
|
-
*/
|
|
5922
|
-
getVerificationFrontEndMaterials: (requestId: string, params?: RequestParams) => Promise<AxiosResponse<Verification, any>>;
|
|
5923
5974
|
/**
|
|
5924
5975
|
* No description
|
|
5925
5976
|
*
|
package/dist/index.js
CHANGED
|
@@ -93,7 +93,7 @@ export class HttpClient {
|
|
|
93
93
|
}
|
|
94
94
|
/**
|
|
95
95
|
* @title The Big POS API
|
|
96
|
-
* @version v2.
|
|
96
|
+
* @version v2.14.1
|
|
97
97
|
* @termsOfService https://www.thebigpos.com/terms-of-use/
|
|
98
98
|
* @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
|
|
99
99
|
*/
|
|
@@ -1481,6 +1481,16 @@ export class Api extends HttpClient {
|
|
|
1481
1481
|
* @secure
|
|
1482
1482
|
*/
|
|
1483
1483
|
searchLoanDrafts: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1484
|
+
/**
|
|
1485
|
+
* No description
|
|
1486
|
+
*
|
|
1487
|
+
* @tags LoanDrafts
|
|
1488
|
+
* @name ReassignLoanOfficer
|
|
1489
|
+
* @summary Reassign Loan officer
|
|
1490
|
+
* @request PUT:/api/loans/drafts/{draftId}/reassign
|
|
1491
|
+
* @secure
|
|
1492
|
+
*/
|
|
1493
|
+
reassignLoanOfficer: (draftId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/${draftId}/reassign`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1484
1494
|
/**
|
|
1485
1495
|
* No description
|
|
1486
1496
|
*
|
|
@@ -1581,6 +1591,16 @@ export class Api extends HttpClient {
|
|
|
1581
1591
|
* @secure
|
|
1582
1592
|
*/
|
|
1583
1593
|
replaceLoanQueue: (loanQueueId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/queue/${loanQueueId}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1594
|
+
/**
|
|
1595
|
+
* No description
|
|
1596
|
+
*
|
|
1597
|
+
* @tags LoanQueue
|
|
1598
|
+
* @name DeleteLoanQueue
|
|
1599
|
+
* @summary Delete Loan Queue Item
|
|
1600
|
+
* @request DELETE:/api/loans/queue/{loanQueueId}
|
|
1601
|
+
* @secure
|
|
1602
|
+
*/
|
|
1603
|
+
deleteLoanQueue: (loanQueueId, params = {}) => this.request(Object.assign({ path: `/api/loans/queue/${loanQueueId}`, method: "DELETE", secure: true }, params)),
|
|
1584
1604
|
/**
|
|
1585
1605
|
* No description
|
|
1586
1606
|
*
|
|
@@ -1647,50 +1667,50 @@ export class Api extends HttpClient {
|
|
|
1647
1667
|
* @tags LoanTaskComments
|
|
1648
1668
|
* @name SearchLoanTaskComments
|
|
1649
1669
|
* @summary Search
|
|
1650
|
-
* @request POST:/api/loans/{loanId}/tasks/{
|
|
1670
|
+
* @request POST:/api/loans/{loanId}/tasks/{userLoanTaskId}/comments/search
|
|
1651
1671
|
* @secure
|
|
1652
1672
|
*/
|
|
1653
|
-
searchLoanTaskComments: (loanId,
|
|
1673
|
+
searchLoanTaskComments: (loanId, userLoanTaskId, data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${userLoanTaskId}/comments/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1654
1674
|
/**
|
|
1655
1675
|
* No description
|
|
1656
1676
|
*
|
|
1657
1677
|
* @tags LoanTaskComments
|
|
1658
1678
|
* @name GetLoanTaskComment
|
|
1659
1679
|
* @summary Get by ID
|
|
1660
|
-
* @request GET:/api/loans/{loanId}/tasks/{
|
|
1680
|
+
* @request GET:/api/loans/{loanId}/tasks/{userLoanTaskId}/comments/{id}
|
|
1661
1681
|
* @secure
|
|
1662
1682
|
*/
|
|
1663
|
-
getLoanTaskComment: (id, loanId,
|
|
1683
|
+
getLoanTaskComment: (id, loanId, userLoanTaskId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${userLoanTaskId}/comments/${id}`, method: "GET", secure: true, format: "json" }, params)),
|
|
1664
1684
|
/**
|
|
1665
1685
|
* No description
|
|
1666
1686
|
*
|
|
1667
1687
|
* @tags LoanTaskComments
|
|
1668
1688
|
* @name CreateLoanTaskComment
|
|
1669
1689
|
* @summary Create
|
|
1670
|
-
* @request POST:/api/loans/{loanId}/tasks/{
|
|
1690
|
+
* @request POST:/api/loans/{loanId}/tasks/{userLoanTaskId}/comments
|
|
1671
1691
|
* @secure
|
|
1672
1692
|
*/
|
|
1673
|
-
createLoanTaskComment: (loanId,
|
|
1693
|
+
createLoanTaskComment: (loanId, userLoanTaskId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${userLoanTaskId}/comments`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1674
1694
|
/**
|
|
1675
1695
|
* No description
|
|
1676
1696
|
*
|
|
1677
1697
|
* @tags LoanTaskComments
|
|
1678
1698
|
* @name ReplaceLoanTaskComment
|
|
1679
1699
|
* @summary Replace
|
|
1680
|
-
* @request PUT:/api/loans/{loanId}/tasks/{
|
|
1700
|
+
* @request PUT:/api/loans/{loanId}/tasks/{userLoanTaskId}/comments/{commentId}
|
|
1681
1701
|
* @secure
|
|
1682
1702
|
*/
|
|
1683
|
-
replaceLoanTaskComment: (loanId,
|
|
1703
|
+
replaceLoanTaskComment: (loanId, userLoanTaskId, commentId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${userLoanTaskId}/comments/${commentId}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1684
1704
|
/**
|
|
1685
1705
|
* No description
|
|
1686
1706
|
*
|
|
1687
1707
|
* @tags LoanTaskComments
|
|
1688
1708
|
* @name DeleteLoanTaskComment
|
|
1689
1709
|
* @summary Delete
|
|
1690
|
-
* @request DELETE:/api/loans/{loanId}/tasks/{
|
|
1710
|
+
* @request DELETE:/api/loans/{loanId}/tasks/{userLoanTaskId}/comments/{commentId}
|
|
1691
1711
|
* @secure
|
|
1692
1712
|
*/
|
|
1693
|
-
deleteLoanTaskComment: (loanId,
|
|
1713
|
+
deleteLoanTaskComment: (loanId, userLoanTaskId, commentId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${userLoanTaskId}/comments/${commentId}`, method: "DELETE", secure: true }, params)),
|
|
1694
1714
|
/**
|
|
1695
1715
|
* No description
|
|
1696
1716
|
*
|
|
@@ -1791,6 +1811,16 @@ export class Api extends HttpClient {
|
|
|
1791
1811
|
* @secure
|
|
1792
1812
|
*/
|
|
1793
1813
|
sendOutstandingLoanTaskNotification: (loanId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/reminders/outstanding`, method: "POST", secure: true }, params)),
|
|
1814
|
+
/**
|
|
1815
|
+
* No description
|
|
1816
|
+
*
|
|
1817
|
+
* @tags LoanTaskVerifications
|
|
1818
|
+
* @name CreateLoanTaskVerification
|
|
1819
|
+
* @summary Create
|
|
1820
|
+
* @request POST:/api/loans/{loanID}/tasks/{loanTaskId}/verifications
|
|
1821
|
+
* @secure
|
|
1822
|
+
*/
|
|
1823
|
+
createLoanTaskVerification: (loanId, loanTaskId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${loanTaskId}/verifications`, method: "POST", secure: true, format: "json" }, params)),
|
|
1794
1824
|
/**
|
|
1795
1825
|
* No description
|
|
1796
1826
|
*
|
|
@@ -2626,36 +2656,6 @@ export class Api extends HttpClient {
|
|
|
2626
2656
|
* @secure
|
|
2627
2657
|
*/
|
|
2628
2658
|
deleteMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me/delete`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
2629
|
-
/**
|
|
2630
|
-
* No description
|
|
2631
|
-
*
|
|
2632
|
-
* @tags Verifications
|
|
2633
|
-
* @name Verify
|
|
2634
|
-
* @summary Verify
|
|
2635
|
-
* @request POST:/api/verifications/verify
|
|
2636
|
-
* @secure
|
|
2637
|
-
*/
|
|
2638
|
-
verify: (data, params = {}) => this.request(Object.assign({ path: `/api/verifications/verify`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2639
|
-
/**
|
|
2640
|
-
* No description
|
|
2641
|
-
*
|
|
2642
|
-
* @tags Verifications
|
|
2643
|
-
* @name GetVerificationStatus
|
|
2644
|
-
* @summary Get Status
|
|
2645
|
-
* @request POST:/api/verifications/status
|
|
2646
|
-
* @secure
|
|
2647
|
-
*/
|
|
2648
|
-
getVerificationStatus: (data, params = {}) => this.request(Object.assign({ path: `/api/verifications/status`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2649
|
-
/**
|
|
2650
|
-
* No description
|
|
2651
|
-
*
|
|
2652
|
-
* @tags Verifications
|
|
2653
|
-
* @name GetVerificationFrontEndMaterials
|
|
2654
|
-
* @summary Get Front End Materials
|
|
2655
|
-
* @request GET:/api/verifications/frontend-materials/{requestId}
|
|
2656
|
-
* @secure
|
|
2657
|
-
*/
|
|
2658
|
-
getVerificationFrontEndMaterials: (requestId, params = {}) => this.request(Object.assign({ path: `/api/verifications/frontend-materials/${requestId}`, method: "GET", secure: true, format: "json" }, params)),
|
|
2659
2659
|
/**
|
|
2660
2660
|
* No description
|
|
2661
2661
|
*
|