@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 CHANGED
@@ -1,2 +1,2 @@
1
- yarn build
1
+ yarn build
2
2
  git add .
package/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2024 Mortgage Automation Technologies
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2024 Mortgage Automation Technologies
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,44 +1,44 @@
1
- # The BIG POS Typescript SDK
2
-
3
- ## Installation
4
- Using npm:
5
-
6
- ```bash
7
- $ npm install @matech/thebigpos-sdk
8
- ```
9
-
10
- Using yarn:
11
-
12
- ```bash
13
- $ yarn add @matech/thebigpos-sdk
14
- ```
15
-
16
- ## Quick Start
17
- ```js
18
- import { Api } from "@matech/thebigpos-sdk";
19
-
20
- const securityWorker = (data: any) => {
21
- return { headers: data }
22
- }
23
-
24
- const setBearerSecurityWorker = (accessToken:string) => {
25
- const data = {
26
- Authorization: `Bearer ${accessToken}`
27
- };
28
-
29
- apiClient.setSecurityData(data);
30
- };
31
-
32
- const apiClient = new Api({
33
- baseURL:
34
- process.env.REACT_APP_POS_API_HOST || 'https://api.thebigpos.com',
35
- securityWorker,
36
- })
37
-
38
- apiClient.api.getSiteConfiguration().then((response) => {
39
- console.log(response.data);
40
- });
41
- ```
42
-
43
- ____
44
- © 2024 Mortgage Automation Technologies. All rights reserved
1
+ # The BIG POS Typescript SDK
2
+
3
+ ## Installation
4
+ Using npm:
5
+
6
+ ```bash
7
+ $ npm install @matech/thebigpos-sdk
8
+ ```
9
+
10
+ Using yarn:
11
+
12
+ ```bash
13
+ $ yarn add @matech/thebigpos-sdk
14
+ ```
15
+
16
+ ## Quick Start
17
+ ```js
18
+ import { Api } from "@matech/thebigpos-sdk";
19
+
20
+ const securityWorker = (data: any) => {
21
+ return { headers: data }
22
+ }
23
+
24
+ const setBearerSecurityWorker = (accessToken:string) => {
25
+ const data = {
26
+ Authorization: `Bearer ${accessToken}`
27
+ };
28
+
29
+ apiClient.setSecurityData(data);
30
+ };
31
+
32
+ const apiClient = new Api({
33
+ baseURL:
34
+ process.env.REACT_APP_POS_API_HOST || 'https://api.thebigpos.com',
35
+ securityWorker,
36
+ })
37
+
38
+ apiClient.api.getSiteConfiguration().then((response) => {
39
+ console.log(response.data);
40
+ });
41
+ ```
42
+
43
+ ____
44
+ © 2024 Mortgage Automation Technologies. All rights reserved
package/dist/index.d.ts CHANGED
@@ -17,7 +17,7 @@ export interface ASOSettings {
17
17
  preApproval: boolean;
18
18
  preQualification: boolean;
19
19
  mi: boolean;
20
- miRadiam: boolean;
20
+ miRadian: boolean;
21
21
  miEssent: boolean;
22
22
  miNational: boolean;
23
23
  miEnact: boolean;
@@ -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 */
@@ -84,6 +93,30 @@ export interface AddressRequest {
84
93
  /** @minLength 1 */
85
94
  postalCode: string;
86
95
  }
96
+ export interface AdminAccessGetForm {
97
+ /** @format date-time */
98
+ createdAt?: string | null;
99
+ /** @format date-time */
100
+ updatedAt?: string | null;
101
+ /** @format date-time */
102
+ deletedAt?: string | null;
103
+ /** @format uuid */
104
+ id: string;
105
+ formJSON: any;
106
+ /** @format int32 */
107
+ type: number;
108
+ target: string;
109
+ authType: string;
110
+ name: string;
111
+ isDefault: boolean;
112
+ description?: string | null;
113
+ slug?: string | null;
114
+ status: string;
115
+ language?: string | null;
116
+ showProgressBar: boolean;
117
+ borrowerType?: BorrowerType | null;
118
+ versions: FormVersion[];
119
+ }
87
120
  export interface AdminAccessGetForms {
88
121
  /** @format date-time */
89
122
  createdAt?: string | null;
@@ -128,6 +161,7 @@ export interface AdminAccessUser {
128
161
  canImpersonate: boolean;
129
162
  loanIDs: string[];
130
163
  drafts: Draft[];
164
+ notificationSettings?: UserNotificationSettings | null;
131
165
  /** @format uuid */
132
166
  accountID?: string | null;
133
167
  loans: UserLoan[];
@@ -239,6 +273,7 @@ export interface BranchUser {
239
273
  canImpersonate: boolean;
240
274
  loanIDs: string[];
241
275
  drafts: Draft[];
276
+ notificationSettings?: UserNotificationSettings | null;
242
277
  /** @format uuid */
243
278
  branchID: string;
244
279
  branchName: string;
@@ -399,6 +434,7 @@ export interface CreateAccountRequest {
399
434
  * @min 0
400
435
  */
401
436
  nlmsid: number;
437
+ settings: AccountSettingsRequest;
402
438
  }
403
439
  export interface CreateBranchRequest {
404
440
  /**
@@ -503,6 +539,7 @@ export interface DetailedUser {
503
539
  canImpersonate: boolean;
504
540
  loanIDs: string[];
505
541
  drafts: Draft[];
542
+ notificationSettings?: UserNotificationSettings | null;
506
543
  }
507
544
  export interface Device {
508
545
  /** @format uuid */
@@ -712,11 +749,13 @@ export interface DraftContentPaginated {
712
749
  /** @format int64 */
713
750
  count: number;
714
751
  }
752
+ export interface DraftLoanOfficerReassignRequest {
753
+ /** @format uuid */
754
+ loanOfficerID: string;
755
+ }
715
756
  export interface DraftRequest {
716
757
  applicationPayload: any;
717
758
  customData?: any;
718
- /** @format uuid */
719
- loanOfficerID?: string | null;
720
759
  }
721
760
  export interface EConsentInformation {
722
761
  status: string;
@@ -744,7 +783,6 @@ export interface EnabledServices {
744
783
  borrowerTasks?: boolean | null;
745
784
  docusign?: boolean | null;
746
785
  emailNotifications?: boolean | null;
747
- textNotifications?: boolean | null;
748
786
  voc?: boolean | null;
749
787
  spanishPrequal?: boolean | null;
750
788
  spanishFullApp?: boolean | null;
@@ -1437,12 +1475,30 @@ export type LoanQueueReason = "Unknown" | "Locked" | "LOSError" | "Exception";
1437
1475
  export interface LoanQueueSearchCriteria {
1438
1476
  searchText?: string | null;
1439
1477
  loanID?: string | null;
1440
- isActive?: boolean | null;
1441
1478
  type?: LoanQueueType | null;
1442
1479
  status?: LOSStatus | null;
1443
1480
  reason?: LoanQueueReason | null;
1444
1481
  }
1445
- export type LoanQueueType = "Unknown" | "New" | "Append" | "Update" | "Document";
1482
+ export type LoanQueueType = "Unknown" | "New" | "Append" | "Update" | "FieldUpdates" | "Document" | "Buckets";
1483
+ export interface LoanQueueWithData {
1484
+ /** @format date-time */
1485
+ createdAt: string;
1486
+ /** @format date-time */
1487
+ updatedAt?: string | null;
1488
+ /** @format date-time */
1489
+ deletedAt?: string | null;
1490
+ /** @format uuid */
1491
+ id: string;
1492
+ loanID?: string | null;
1493
+ type: string;
1494
+ reason: string;
1495
+ status: string;
1496
+ details?: string | null;
1497
+ user: UserPublic;
1498
+ loanOfficer: LoanOfficerPublic;
1499
+ siteConfiguration: SiteConfigurationReduced;
1500
+ data: any;
1501
+ }
1446
1502
  export interface LoanRecord {
1447
1503
  loanGuid: string;
1448
1504
  loanFields: Record<string, string>;
@@ -1527,30 +1583,6 @@ export interface ModuleParameterValue {
1527
1583
  value?: any;
1528
1584
  isInherited: boolean;
1529
1585
  }
1530
- export interface NotificationLog {
1531
- /** @format uuid */
1532
- id: string;
1533
- type: "Email" | "Text" | "PushNotification";
1534
- to: string;
1535
- cc?: string | null;
1536
- subject?: string | null;
1537
- message: string;
1538
- notificationTemplate?: NotificationTemplate | null;
1539
- /** @format date-time */
1540
- createdAt: string;
1541
- }
1542
- export interface NotificationLogPaginated {
1543
- rows: NotificationLog[];
1544
- pagination: Pagination;
1545
- /** @format int64 */
1546
- count: number;
1547
- }
1548
- export interface NotificationLogSearchCriteria {
1549
- searchText?: string | null;
1550
- type?: NotificationType | null;
1551
- to?: string[] | null;
1552
- cc?: string[] | null;
1553
- }
1554
1586
  export interface NotificationTemplate {
1555
1587
  /** @format date-time */
1556
1588
  createdAt?: string | null;
@@ -1630,6 +1662,7 @@ export interface NotificationTemplateVersion {
1630
1662
  isActive: boolean;
1631
1663
  htmlBody: string;
1632
1664
  plainBody: string;
1665
+ textBody: string;
1633
1666
  notificationTemplate: NotificationTemplate;
1634
1667
  }
1635
1668
  export interface NotificationTemplateVersionBase {
@@ -1647,6 +1680,7 @@ export interface NotificationTemplateVersionBase {
1647
1680
  isActive: boolean;
1648
1681
  htmlBody: string;
1649
1682
  plainBody: string;
1683
+ textBody: string;
1650
1684
  }
1651
1685
  export interface NotificationTemplateVersionRequest {
1652
1686
  /** @maxLength 255 */
@@ -1654,6 +1688,7 @@ export interface NotificationTemplateVersionRequest {
1654
1688
  isActive: boolean;
1655
1689
  htmlBody: string;
1656
1690
  plainBody: string;
1691
+ textBody: string;
1657
1692
  }
1658
1693
  export interface NotificationTemplateVersionUpdateRequest {
1659
1694
  /**
@@ -1666,8 +1701,9 @@ export interface NotificationTemplateVersionUpdateRequest {
1666
1701
  htmlBody: string;
1667
1702
  /** @minLength 1 */
1668
1703
  plainBody: string;
1704
+ /** @minLength 1 */
1705
+ textBody: string;
1669
1706
  }
1670
- export type NotificationType = "Email" | "Text" | "PushNotification";
1671
1707
  export interface Operation {
1672
1708
  op?: string;
1673
1709
  value?: object | null;
@@ -1848,6 +1884,7 @@ export interface RunLOCalculation {
1848
1884
  canGeneratePreQual: boolean;
1849
1885
  canGeneratePreApproval: boolean;
1850
1886
  preApprovalNotes?: string | null;
1887
+ additionalPreApprovalNotes?: string | null;
1851
1888
  downPaymentAmount?: string | null;
1852
1889
  downPaymentPercent?: string | null;
1853
1890
  lienType?: string | null;
@@ -1883,6 +1920,7 @@ export interface RunLOCalculationRequest {
1883
1920
  /** @minLength 1 */
1884
1921
  lienType: string;
1885
1922
  preApprovalNotes?: string | null;
1923
+ additionalPreApprovalNotes?: string | null;
1886
1924
  }
1887
1925
  export interface SSOToken {
1888
1926
  /** @format uuid */
@@ -1916,6 +1954,7 @@ export interface SendNotificationForLoanRequest {
1916
1954
  siteConfigurationId?: string | null;
1917
1955
  /** @minLength 1 */
1918
1956
  email: string;
1957
+ phone?: string | null;
1919
1958
  attachments: Attachment[];
1920
1959
  }
1921
1960
  export interface SiteConfiguration {
@@ -2109,6 +2148,7 @@ export interface SiteConfiguration {
2109
2148
  modules: Module[];
2110
2149
  user?: UserPublic | null;
2111
2150
  asoSettings?: ASOSettings | null;
2151
+ accountSettings: AccountSettings;
2112
2152
  }
2113
2153
  export interface SiteConfigurationByUrl {
2114
2154
  /** @format date-time */
@@ -2301,6 +2341,7 @@ export interface SiteConfigurationByUrl {
2301
2341
  modules: Module[];
2302
2342
  user?: UserPublic | null;
2303
2343
  asoSettings?: ASOSettings | null;
2344
+ accountSettings: AccountSettings;
2304
2345
  workflows: Workflow[];
2305
2346
  }
2306
2347
  export interface SiteConfigurationForm {
@@ -2565,6 +2606,26 @@ export interface Task {
2565
2606
  willAutocompleteAfterResponse: boolean;
2566
2607
  hasAutoPropagationOnAdd: boolean;
2567
2608
  }
2609
+ export interface TaskComment {
2610
+ /** @format uuid */
2611
+ id: string;
2612
+ comment: string;
2613
+ createdBy: UserBase;
2614
+ /** @format date-time */
2615
+ createdAt: string;
2616
+ }
2617
+ export interface TaskCommentPaginated {
2618
+ rows: TaskComment[];
2619
+ pagination: Pagination;
2620
+ /** @format int64 */
2621
+ count: number;
2622
+ }
2623
+ export interface TaskCommentRequest {
2624
+ comment: string;
2625
+ }
2626
+ export interface TaskCommentSearchCriteria {
2627
+ searchText?: string | null;
2628
+ }
2568
2629
  export interface TaskPaginated {
2569
2630
  rows: Task[];
2570
2631
  pagination: Pagination;
@@ -2616,6 +2677,7 @@ export interface TestSendNotificationForLoanRequest {
2616
2677
  /** @format uuid */
2617
2678
  siteConfigurationId: string;
2618
2679
  toAddress?: string | null;
2680
+ toPhoneNumber?: string | null;
2619
2681
  templateName?: string | null;
2620
2682
  attachments: Attachment[];
2621
2683
  }
@@ -2712,6 +2774,7 @@ export interface UpdateAccountRequest {
2712
2774
  allowedLoginsWithoutMFA: number;
2713
2775
  losSettings: LOSSettingsUpdateRequest;
2714
2776
  asoSettings?: ASOSettings | null;
2777
+ settings: AccountSettingsRequest;
2715
2778
  }
2716
2779
  export interface UpdateDocumentTemplateRequest {
2717
2780
  /** @minLength 1 */
@@ -2749,6 +2812,9 @@ export interface UpdateListingPhotoRequest {
2749
2812
  /** @format int32 */
2750
2813
  weight: number;
2751
2814
  }
2815
+ export interface UpdateLoanQueueRequest {
2816
+ data: any;
2817
+ }
2752
2818
  export interface UpdateMeRequest {
2753
2819
  phone?: string | null;
2754
2820
  /**
@@ -2764,6 +2830,7 @@ export interface UpdateMeRequest {
2764
2830
  title?: string | null;
2765
2831
  forcePasswordReset: boolean;
2766
2832
  mfaEnabled: boolean;
2833
+ notificationSettings: UserNotificationSettingsUpdateRequest;
2767
2834
  }
2768
2835
  export interface UpdateMobilePhoneRequest {
2769
2836
  phone: string;
@@ -2841,6 +2908,8 @@ export interface UserLoanTask {
2841
2908
  createdBy: User;
2842
2909
  submittedBy?: User | null;
2843
2910
  completedBy?: User | null;
2911
+ /** @format int32 */
2912
+ commentsCount: number;
2844
2913
  }
2845
2914
  export interface UserLoanTaskRequest {
2846
2915
  value?: string | null;
@@ -2858,6 +2927,16 @@ export interface UserMobilePhoneVerificationRequest {
2858
2927
  /** @minLength 1 */
2859
2928
  code: string;
2860
2929
  }
2930
+ export interface UserNotificationSettings {
2931
+ emailEnabled: boolean;
2932
+ textEnabled: boolean;
2933
+ textOptIn?: boolean | null;
2934
+ }
2935
+ export interface UserNotificationSettingsUpdateRequest {
2936
+ emailEnabled: boolean;
2937
+ textEnabled: boolean;
2938
+ textOptIn?: boolean | null;
2939
+ }
2861
2940
  export interface UserPaginated {
2862
2941
  rows: User[];
2863
2942
  pagination: Pagination;
@@ -3820,7 +3899,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3820
3899
  * @request POST:/api/forms
3821
3900
  * @secure
3822
3901
  */
3823
- createForm: (data: FormRequest, params?: RequestParams) => Promise<AxiosResponse<AdminAccessGetForms, any>>;
3902
+ createForm: (data: FormRequest, params?: RequestParams) => Promise<AxiosResponse<AdminAccessGetForm, any>>;
3824
3903
  /**
3825
3904
  * No description
3826
3905
  *
@@ -3830,7 +3909,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3830
3909
  * @request GET:/api/forms/{id}
3831
3910
  * @secure
3832
3911
  */
3833
- getForm: (id: string, params?: RequestParams) => Promise<AxiosResponse<AdminAccessGetForms, any>>;
3912
+ getForm: (id: string, params?: RequestParams) => Promise<AxiosResponse<AdminAccessGetForm, any>>;
3834
3913
  /**
3835
3914
  * No description
3836
3915
  *
@@ -3840,7 +3919,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3840
3919
  * @request PUT:/api/forms/{id}
3841
3920
  * @secure
3842
3921
  */
3843
- replaceForm: (id: string, data: FormRequest, params?: RequestParams) => Promise<AxiosResponse<AdminAccessGetForms, any>>;
3922
+ replaceForm: (id: string, data: FormRequest, params?: RequestParams) => Promise<AxiosResponse<AdminAccessGetForm, any>>;
3844
3923
  /**
3845
3924
  * No description
3846
3925
  *
@@ -3860,7 +3939,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3860
3939
  * @request POST:/api/forms/{id}/restore
3861
3940
  * @secure
3862
3941
  */
3863
- restoreForm: (id: string, params?: RequestParams) => Promise<AxiosResponse<AdminAccessGetForms, any>>;
3942
+ restoreForm: (id: string, params?: RequestParams) => Promise<AxiosResponse<AdminAccessGetForm, any>>;
3864
3943
  /**
3865
3944
  * No description
3866
3945
  *
@@ -4565,6 +4644,16 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4565
4644
  sortBy?: string;
4566
4645
  sortDirection?: string;
4567
4646
  }, params?: RequestParams) => Promise<AxiosResponse<DraftContentPaginated, any>>;
4647
+ /**
4648
+ * No description
4649
+ *
4650
+ * @tags LoanDrafts
4651
+ * @name ReassignLoanOfficer
4652
+ * @summary Reassign Loan officer
4653
+ * @request PUT:/api/loans/drafts/{draftId}/reassign
4654
+ * @secure
4655
+ */
4656
+ reassignLoanOfficer: (draftId: string, data: DraftLoanOfficerReassignRequest, params?: RequestParams) => Promise<AxiosResponse<Draft, any>>;
4568
4657
  /**
4569
4658
  * No description
4570
4659
  *
@@ -4673,22 +4762,22 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4673
4762
  * No description
4674
4763
  *
4675
4764
  * @tags LoanQueue
4676
- * @name GetLoanQueueData
4677
- * @summary Get Data
4678
- * @request GET:/api/loans/queue/{loanQueueId}/data
4765
+ * @name GetLoanQueue
4766
+ * @summary Get Loan Queue Record
4767
+ * @request GET:/api/loans/queue/{loanQueueId}
4679
4768
  * @secure
4680
4769
  */
4681
- getLoanQueueData: (loanQueueId: string, params?: RequestParams) => Promise<AxiosResponse<any, any>>;
4770
+ getLoanQueue: (loanQueueId: string, params?: RequestParams) => Promise<AxiosResponse<any, any>>;
4682
4771
  /**
4683
4772
  * No description
4684
4773
  *
4685
4774
  * @tags LoanQueue
4686
- * @name UpdateLoanQueueData
4687
- * @summary Update Data
4688
- * @request PUT:/api/loans/queue/{loanQueueId}/data
4775
+ * @name ReplaceLoanQueue
4776
+ * @summary Replace Loan Queue Record
4777
+ * @request PUT:/api/loans/queue/{loanQueueId}
4689
4778
  * @secure
4690
4779
  */
4691
- updateLoanQueueData: (loanQueueId: string, data: any, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
4780
+ replaceLoanQueue: (loanQueueId: string, data: UpdateLoanQueueRequest, params?: RequestParams) => Promise<AxiosResponse<LoanQueueWithData, any>>;
4692
4781
  /**
4693
4782
  * No description
4694
4783
  *
@@ -4763,6 +4852,63 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4763
4852
  * @secure
4764
4853
  */
4765
4854
  importLoanFromLos: (loanId: string, params?: RequestParams) => Promise<AxiosResponse<Loan, any>>;
4855
+ /**
4856
+ * No description
4857
+ *
4858
+ * @tags LoanTaskComments
4859
+ * @name SearchLoanTaskComments
4860
+ * @summary Search
4861
+ * @request POST:/api/loans/{loanId}/tasks/{userLoanTaskId}/comments/search
4862
+ * @secure
4863
+ */
4864
+ searchLoanTaskComments: (loanId: string, userLoanTaskId: string, data: TaskCommentSearchCriteria, query?: {
4865
+ /** @format int32 */
4866
+ pageSize?: number;
4867
+ /** @format int32 */
4868
+ pageNumber?: number;
4869
+ sortBy?: string;
4870
+ sortDirection?: string;
4871
+ }, params?: RequestParams) => Promise<AxiosResponse<TaskCommentPaginated, any>>;
4872
+ /**
4873
+ * No description
4874
+ *
4875
+ * @tags LoanTaskComments
4876
+ * @name GetLoanTaskComment
4877
+ * @summary Get by ID
4878
+ * @request GET:/api/loans/{loanId}/tasks/{userLoanTaskId}/comments/{id}
4879
+ * @secure
4880
+ */
4881
+ getLoanTaskComment: (id: string, loanId: string, userLoanTaskId: string, params?: RequestParams) => Promise<AxiosResponse<TaskComment, any>>;
4882
+ /**
4883
+ * No description
4884
+ *
4885
+ * @tags LoanTaskComments
4886
+ * @name CreateLoanTaskComment
4887
+ * @summary Create
4888
+ * @request POST:/api/loans/{loanId}/tasks/{userLoanTaskId}/comments
4889
+ * @secure
4890
+ */
4891
+ createLoanTaskComment: (loanId: string, userLoanTaskId: string, data: TaskCommentRequest, params?: RequestParams) => Promise<AxiosResponse<TaskComment, any>>;
4892
+ /**
4893
+ * No description
4894
+ *
4895
+ * @tags LoanTaskComments
4896
+ * @name ReplaceLoanTaskComment
4897
+ * @summary Replace
4898
+ * @request PUT:/api/loans/{loanId}/tasks/{userLoanTaskId}/comments/{commentId}
4899
+ * @secure
4900
+ */
4901
+ replaceLoanTaskComment: (loanId: string, userLoanTaskId: string, commentId: string, data: TaskCommentRequest, params?: RequestParams) => Promise<AxiosResponse<TaskComment, any>>;
4902
+ /**
4903
+ * No description
4904
+ *
4905
+ * @tags LoanTaskComments
4906
+ * @name DeleteLoanTaskComment
4907
+ * @summary Delete
4908
+ * @request DELETE:/api/loans/{loanId}/tasks/{userLoanTaskId}/comments/{commentId}
4909
+ * @secure
4910
+ */
4911
+ deleteLoanTaskComment: (loanId: string, userLoanTaskId: string, commentId: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
4766
4912
  /**
4767
4913
  * No description
4768
4914
  *
@@ -4948,40 +5094,6 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4948
5094
  * @secure
4949
5095
  */
4950
5096
  deleteMilestone: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
4951
- /**
4952
- * No description
4953
- *
4954
- * @tags NotificationLogs
4955
- * @name GetNotificationLogs
4956
- * @summary Get All
4957
- * @request GET:/api/notifications/logs
4958
- * @secure
4959
- */
4960
- getNotificationLogs: (query?: {
4961
- /** @format int32 */
4962
- pageSize?: number;
4963
- /** @format int32 */
4964
- pageNumber?: number;
4965
- sortBy?: string;
4966
- sortDirection?: string;
4967
- }, params?: RequestParams) => Promise<AxiosResponse<NotificationLog[], any>>;
4968
- /**
4969
- * No description
4970
- *
4971
- * @tags NotificationLogs
4972
- * @name SearchNotificationLog
4973
- * @summary Search
4974
- * @request POST:/api/notifications/logs/search
4975
- * @secure
4976
- */
4977
- searchNotificationLog: (data: NotificationLogSearchCriteria, query?: {
4978
- /** @format int32 */
4979
- pageSize?: number;
4980
- /** @format int32 */
4981
- pageNumber?: number;
4982
- sortBy?: string;
4983
- sortDirection?: string;
4984
- }, params?: RequestParams) => Promise<AxiosResponse<NotificationLogPaginated, any>>;
4985
5097
  /**
4986
5098
  * No description
4987
5099
  *
@@ -5125,7 +5237,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5125
5237
  */
5126
5238
  getPartners: (query?: {
5127
5239
  showAll?: boolean;
5128
- /** @default 4 */
5240
+ /** @default "Realtor" */
5129
5241
  role?: "Borrower" | "LoanOfficer" | "Admin" | "SuperAdmin" | "Realtor" | "SettlementAgent" | "LoanProcessor" | "LoanOfficerAssistant" | "BranchManager" | "SystemAdmin";
5130
5242
  /** @format int32 */
5131
5243
  pageSize?: number;
@@ -5239,16 +5351,6 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5239
5351
  * @secure
5240
5352
  */
5241
5353
  deleteQueueRequest: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
5242
- /**
5243
- * No description
5244
- *
5245
- * @tags SelfProvisioning
5246
- * @name CreateSelfProvisioningItem
5247
- * @summary Create
5248
- * @request POST:/api/selfprovisioning/newcustomer
5249
- * @secure
5250
- */
5251
- createSelfProvisioningItem: (data: any, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
5252
5354
  /**
5253
5355
  * No description
5254
5356
  *