@matech/thebigpos-sdk 2.38.0 → 2.38.1-rc0

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/dist/index.js CHANGED
@@ -104,7 +104,7 @@ export class HttpClient {
104
104
  }
105
105
  /**
106
106
  * @title The Big POS API
107
- * @version v2.38.0
107
+ * @version v2.39.0
108
108
  * @termsOfService https://www.thebigpos.com/terms-of-use/
109
109
  * @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
110
110
  */
@@ -252,6 +252,17 @@ export class Api extends HttpClient {
252
252
  * @response `200` `AuditLogEntryPaginated` Success
253
253
  */
254
254
  searchAuditLogs: (data, query, params = {}) => this.request(Object.assign({ path: `/api/audit-logs/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
255
+ /**
256
+ * No description
257
+ *
258
+ * @tags AuditLog
259
+ * @name GetAuditLogEntityTypes
260
+ * @summary Get entity types
261
+ * @request GET:/api/audit-logs/entity-types
262
+ * @secure
263
+ * @response `200` `(AuditEntityType)[]` Success
264
+ */
265
+ getAuditLogEntityTypes: (params = {}) => this.request(Object.assign({ path: `/api/audit-logs/entity-types`, method: "GET", secure: true, format: "json" }, params)),
255
266
  /**
256
267
  * No description
257
268
  *
@@ -542,6 +553,28 @@ export class Api extends HttpClient {
542
553
  * @response `200` `ClosedLoansReport` Success
543
554
  */
544
555
  getClosedLoansReport: (data, params = {}) => this.request(Object.assign({ path: `/api/loans/reports/closed-loans`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
556
+ /**
557
+ * No description
558
+ *
559
+ * @tags ConsumerConnect
560
+ * @name GetConsumerConnectStatus
561
+ * @summary Get Consumer Connect association status for all borrowers on a loan
562
+ * @request GET:/api/loans/{loanId}/consumer-connect/status
563
+ * @secure
564
+ * @response `200` `(ConsumerConnectStatus)[]` Success
565
+ */
566
+ getConsumerConnectStatus: (loanId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/consumer-connect/status`, method: "GET", secure: true, format: "json" }, params)),
567
+ /**
568
+ * No description
569
+ *
570
+ * @tags ConsumerConnect
571
+ * @name RetryConsumerConnectAssociation
572
+ * @summary Manually retry Consumer Connect association for failed borrowers on a loan. Returns per-borrower results; check individual Success fields for partial failures.
573
+ * @request POST:/api/loans/{loanId}/consumer-connect/retry
574
+ * @secure
575
+ * @response `200` `(ConsumerConnectRetry)[]` Success
576
+ */
577
+ retryConsumerConnectAssociation: (loanId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/consumer-connect/retry`, method: "POST", secure: true, format: "json" }, params)),
545
578
  /**
546
579
  * No description
547
580
  *
@@ -678,6 +711,94 @@ export class Api extends HttpClient {
678
711
  * @response `200` `(LoanOfficerPublic)[]` Success
679
712
  */
680
713
  getLoanOfficersByCorporate: (id, params = {}) => this.request(Object.assign({ path: `/api/corporates/${id}/loan-officers`, method: "GET", secure: true, format: "json" }, params)),
714
+ /**
715
+ * No description
716
+ *
717
+ * @tags CustomFieldDefinitions
718
+ * @name GetCustomFieldDefinitions
719
+ * @summary Get all custom field definitions by entity type
720
+ * @request GET:/api/custom-field-definitions
721
+ * @secure
722
+ * @response `200` `(CustomFieldDefinition)[]` Success
723
+ */
724
+ getCustomFieldDefinitions: (query, params = {}) => this.request(Object.assign({ path: `/api/custom-field-definitions`, method: "GET", query: query, secure: true, format: "json" }, params)),
725
+ /**
726
+ * No description
727
+ *
728
+ * @tags CustomFieldDefinitions
729
+ * @name CreateCustomFieldDefinition
730
+ * @summary Create a custom field definition
731
+ * @request POST:/api/custom-field-definitions
732
+ * @secure
733
+ * @response `201` `CustomFieldDefinition` Created
734
+ * @response `409` `ProblemDetails` Conflict
735
+ * @response `422` `ProblemDetails` Client Error
736
+ */
737
+ createCustomFieldDefinition: (data, params = {}) => this.request(Object.assign({ path: `/api/custom-field-definitions`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
738
+ /**
739
+ * No description
740
+ *
741
+ * @tags CustomFieldDefinitions
742
+ * @name GetCustomFieldDefinitionById
743
+ * @summary Get a custom field definition by ID
744
+ * @request GET:/api/custom-field-definitions/{id}
745
+ * @secure
746
+ * @response `200` `CustomFieldDefinition` Success
747
+ * @response `404` `ProblemDetails` Not Found
748
+ */
749
+ getCustomFieldDefinitionById: (id, params = {}) => this.request(Object.assign({ path: `/api/custom-field-definitions/${id}`, method: "GET", secure: true, format: "json" }, params)),
750
+ /**
751
+ * No description
752
+ *
753
+ * @tags CustomFieldDefinitions
754
+ * @name UpdateCustomFieldDefinition
755
+ * @summary Update a custom field definition
756
+ * @request PUT:/api/custom-field-definitions/{id}
757
+ * @secure
758
+ * @response `200` `CustomFieldDefinition` Success
759
+ * @response `400` `ProblemDetails` Bad Request
760
+ * @response `404` `ProblemDetails` Not Found
761
+ * @response `409` `ProblemDetails` Conflict
762
+ * @response `422` `ProblemDetails` Client Error
763
+ */
764
+ updateCustomFieldDefinition: (id, data, params = {}) => this.request(Object.assign({ path: `/api/custom-field-definitions/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
765
+ /**
766
+ * No description
767
+ *
768
+ * @tags CustomFieldDefinitions
769
+ * @name DeleteCustomFieldDefinition
770
+ * @summary Delete a custom field definition
771
+ * @request DELETE:/api/custom-field-definitions/{id}
772
+ * @secure
773
+ * @response `204` `void` No Content
774
+ * @response `404` `ProblemDetails` Not Found
775
+ * @response `409` `ProblemDetails` Conflict
776
+ */
777
+ deleteCustomFieldDefinition: (id, params = {}) => this.request(Object.assign({ path: `/api/custom-field-definitions/${id}`, method: "DELETE", secure: true }, params)),
778
+ /**
779
+ * No description
780
+ *
781
+ * @tags CustomFieldDefinitions
782
+ * @name DisableCustomFieldDefinition
783
+ * @summary Disable a custom field definition
784
+ * @request POST:/api/custom-field-definitions/{id}/disable
785
+ * @secure
786
+ * @response `204` `void` No Content
787
+ * @response `404` `ProblemDetails` Not Found
788
+ */
789
+ disableCustomFieldDefinition: (id, params = {}) => this.request(Object.assign({ path: `/api/custom-field-definitions/${id}/disable`, method: "POST", secure: true }, params)),
790
+ /**
791
+ * No description
792
+ *
793
+ * @tags CustomFieldDefinitions
794
+ * @name EnableCustomFieldDefinition
795
+ * @summary Enable a custom field definition
796
+ * @request POST:/api/custom-field-definitions/{id}/enable
797
+ * @secure
798
+ * @response `204` `void` No Content
799
+ * @response `404` `ProblemDetails` Not Found
800
+ */
801
+ enableCustomFieldDefinition: (id, params = {}) => this.request(Object.assign({ path: `/api/custom-field-definitions/${id}/enable`, method: "POST", secure: true }, params)),
681
802
  /**
682
803
  * No description
683
804
  *
@@ -886,6 +1007,76 @@ export class Api extends HttpClient {
886
1007
  * @response `200` `DocumentTemplateVersion` Success
887
1008
  */
888
1009
  deleteDocumentTemplateVersion: (documentId, id, params = {}) => this.request(Object.assign({ path: `/api/document-templates/${documentId}/versions/${id}`, method: "DELETE", secure: true, format: "json" }, params)),
1010
+ /**
1011
+ * No description
1012
+ *
1013
+ * @tags Encompass Custom Field Mappings
1014
+ * @name GetEncompassCustomFieldMapping
1015
+ * @request GET:/api/los/encompass/custom-field-mappings/{definitionId}
1016
+ * @secure
1017
+ * @response `200` `EncompassCustomFieldMapping` Success
1018
+ * @response `404` `void` Not Found
1019
+ */
1020
+ getEncompassCustomFieldMapping: (definitionId, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/custom-field-mappings/${definitionId}`, method: "GET", secure: true, format: "json" }, params)),
1021
+ /**
1022
+ * No description
1023
+ *
1024
+ * @tags Encompass Custom Field Mappings
1025
+ * @name AddEncompassCustomFieldMapping
1026
+ * @request POST:/api/los/encompass/custom-field-mappings/{definitionId}
1027
+ * @secure
1028
+ * @response `201` `EncompassCustomFieldMapping` Created
1029
+ * @response `400` `void` Bad Request
1030
+ * @response `404` `void` Not Found
1031
+ * @response `409` `void` Conflict
1032
+ * @response `422` `ProblemDetails` Client Error
1033
+ */
1034
+ addEncompassCustomFieldMapping: (definitionId, data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/custom-field-mappings/${definitionId}`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1035
+ /**
1036
+ * No description
1037
+ *
1038
+ * @tags Encompass Custom Field Mappings
1039
+ * @name DeleteEncompassCustomFieldMapping
1040
+ * @request DELETE:/api/los/encompass/custom-field-mappings/{definitionId}
1041
+ * @secure
1042
+ * @response `204` `void` No Content
1043
+ * @response `404` `void` Not Found
1044
+ * @response `409` `void` Conflict
1045
+ */
1046
+ deleteEncompassCustomFieldMapping: (definitionId, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/custom-field-mappings/${definitionId}`, method: "DELETE", secure: true }, params)),
1047
+ /**
1048
+ * No description
1049
+ *
1050
+ * @tags Encompass Custom Field Mappings
1051
+ * @name DisableEncompassCustomFieldMapping
1052
+ * @request POST:/api/los/encompass/custom-field-mappings/{definitionId}/disable
1053
+ * @secure
1054
+ * @response `204` `void` No Content
1055
+ * @response `404` `void` Not Found
1056
+ */
1057
+ disableEncompassCustomFieldMapping: (definitionId, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/custom-field-mappings/${definitionId}/disable`, method: "POST", secure: true }, params)),
1058
+ /**
1059
+ * No description
1060
+ *
1061
+ * @tags Encompass Custom Field Mappings
1062
+ * @name EnableEncompassCustomFieldMapping
1063
+ * @request POST:/api/los/encompass/custom-field-mappings/{definitionId}/enable
1064
+ * @secure
1065
+ * @response `204` `void` No Content
1066
+ * @response `404` `void` Not Found
1067
+ */
1068
+ enableEncompassCustomFieldMapping: (definitionId, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/custom-field-mappings/${definitionId}/enable`, method: "POST", secure: true }, params)),
1069
+ /**
1070
+ * No description
1071
+ *
1072
+ * @tags Encompass Custom Fields
1073
+ * @name GetEncompassFields
1074
+ * @request GET:/api/los/encompass/custom-fields
1075
+ * @secure
1076
+ * @response `200` `(EncompassFieldListItem)[]` Success
1077
+ * @response `502` `ProblemDetails` Server Error
1078
+ */
1079
+ getEncompassFields: (params = {}) => this.request(Object.assign({ path: `/api/los/encompass/custom-fields`, method: "GET", secure: true, format: "json" }, params)),
889
1080
  /**
890
1081
  * No description
891
1082
  *
@@ -1250,7 +1441,7 @@ export class Api extends HttpClient {
1250
1441
  * @secure
1251
1442
  * @response `200` `GetReport` Success
1252
1443
  */
1253
- getLoansReport: (data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/reports`, method: "POST", body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
1444
+ getLoansReport: (data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/reports`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1254
1445
  /**
1255
1446
  * No description
1256
1447
  *
@@ -1380,7 +1571,7 @@ export class Api extends HttpClient {
1380
1571
  * @secure
1381
1572
  * @response `200` `DocumentDataRequest` Success
1382
1573
  */
1383
- createLegacyLoanDocument: (data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/generatedocument`, method: "POST", body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
1574
+ createLegacyLoanDocument: (data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/generatedocument`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1384
1575
  /**
1385
1576
  * No description
1386
1577
  *
@@ -1482,7 +1673,7 @@ export class Api extends HttpClient {
1482
1673
  * @secure
1483
1674
  * @response `201` `Listing` Created
1484
1675
  */
1485
- createListing: (data, params = {}) => this.request(Object.assign({ path: `/api/listings`, method: "POST", body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
1676
+ createListing: (data, params = {}) => this.request(Object.assign({ path: `/api/listings`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1486
1677
  /**
1487
1678
  * No description
1488
1679
  *
@@ -1642,6 +1833,69 @@ export class Api extends HttpClient {
1642
1833
  * @response `422` `UnprocessableEntity` Client Error
1643
1834
  */
1644
1835
  createLoanComparisonPdf: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/loan-comparison/pdf`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
1836
+ /**
1837
+ * No description
1838
+ *
1839
+ * @tags LoanConsents
1840
+ * @name ResyncLoanConsents
1841
+ * @summary Resync loan consents to LOS
1842
+ * @request POST:/api/loans/{loanId}/consents/resync
1843
+ * @secure
1844
+ * @response `204` `void` No Content
1845
+ * @response `404` `ProblemDetails` Not Found
1846
+ * @response `422` `ProblemDetails` Client Error
1847
+ */
1848
+ resyncLoanConsents: (loanId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/consents/resync`, method: "POST", secure: true }, params)),
1849
+ /**
1850
+ * No description
1851
+ *
1852
+ * @tags LoanCustomFieldValues
1853
+ * @name GetLoanCustomFieldValues
1854
+ * @summary Get all custom field values for a loan
1855
+ * @request GET:/api/loans/{loanId}/custom-fields
1856
+ * @secure
1857
+ * @response `200` `(CustomFieldValue)[]` Success
1858
+ */
1859
+ getLoanCustomFieldValues: (loanId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/custom-fields`, method: "GET", secure: true, format: "json" }, params)),
1860
+ /**
1861
+ * No description
1862
+ *
1863
+ * @tags LoanCustomFieldValues
1864
+ * @name BulkSetLoanCustomFieldValues
1865
+ * @summary Bulk set custom field values for a loan
1866
+ * @request PUT:/api/loans/{loanId}/custom-fields
1867
+ * @secure
1868
+ * @response `204` `void` No Content
1869
+ * @response `400` `ProblemDetails` Bad Request
1870
+ * @response `422` `ProblemDetails` Client Error
1871
+ */
1872
+ bulkSetLoanCustomFieldValues: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/custom-fields`, method: "PUT", body: data, secure: true, type: ContentType.Json }, params)),
1873
+ /**
1874
+ * No description
1875
+ *
1876
+ * @tags LoanCustomFieldValues
1877
+ * @name SetLoanCustomFieldValue
1878
+ * @summary Set a single custom field value
1879
+ * @request PUT:/api/loans/{loanId}/custom-fields/{definitionId}
1880
+ * @secure
1881
+ * @response `204` `void` No Content
1882
+ * @response `400` `ProblemDetails` Bad Request
1883
+ * @response `404` `ProblemDetails` Not Found
1884
+ * @response `422` `ProblemDetails` Client Error
1885
+ */
1886
+ setLoanCustomFieldValue: (loanId, definitionId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/custom-fields/${definitionId}`, method: "PUT", body: data, secure: true, type: ContentType.Json }, params)),
1887
+ /**
1888
+ * No description
1889
+ *
1890
+ * @tags LoanCustomFieldValues
1891
+ * @name DeleteLoanCustomFieldValue
1892
+ * @summary Remove a custom field value
1893
+ * @request DELETE:/api/loans/{loanId}/custom-fields/{definitionId}
1894
+ * @secure
1895
+ * @response `204` `void` No Content
1896
+ * @response `404` `ProblemDetails` Not Found
1897
+ */
1898
+ deleteLoanCustomFieldValue: (loanId, definitionId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/custom-fields/${definitionId}`, method: "DELETE", secure: true }, params)),
1645
1899
  /**
1646
1900
  * No description
1647
1901
  *
@@ -1664,6 +1918,108 @@ export class Api extends HttpClient {
1664
1918
  * @response `201` `(string)[]` Created
1665
1919
  */
1666
1920
  createLoanDocumentBuckets: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/buckets`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1921
+ /**
1922
+ * No description
1923
+ *
1924
+ * @tags LoanDocumentFolders
1925
+ * @name GetLoanDocumentFolders
1926
+ * @summary Get all loan document folders for the current account
1927
+ * @request GET:/api/loan-document-folders
1928
+ * @secure
1929
+ * @response `200` `(LoanDocumentFolder)[]` Success
1930
+ */
1931
+ getLoanDocumentFolders: (params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders`, method: "GET", secure: true, format: "json" }, params)),
1932
+ /**
1933
+ * No description
1934
+ *
1935
+ * @tags LoanDocumentFolders
1936
+ * @name CreateLoanDocumentFolder
1937
+ * @summary Create a loan document folder
1938
+ * @request POST:/api/loan-document-folders
1939
+ * @secure
1940
+ * @response `201` `LoanDocumentFolder` Created
1941
+ * @response `409` `ProblemDetails` Conflict
1942
+ * @response `422` `ProblemDetails` Client Error
1943
+ */
1944
+ createLoanDocumentFolder: (data, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1945
+ /**
1946
+ * No description
1947
+ *
1948
+ * @tags LoanDocumentFolders
1949
+ * @name GetLoanDocumentFolderById
1950
+ * @summary Get a loan document folder by ID
1951
+ * @request GET:/api/loan-document-folders/{id}
1952
+ * @secure
1953
+ * @response `200` `LoanDocumentFolder` Success
1954
+ * @response `404` `ProblemDetails` Not Found
1955
+ */
1956
+ getLoanDocumentFolderById: (id, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders/${id}`, method: "GET", secure: true, format: "json" }, params)),
1957
+ /**
1958
+ * No description
1959
+ *
1960
+ * @tags LoanDocumentFolders
1961
+ * @name UpdateLoanDocumentFolder
1962
+ * @summary Update a loan document folder. Blocked when folder has ever been referenced, except for permission edits on the system-default Unassigned folder.
1963
+ * @request PUT:/api/loan-document-folders/{id}
1964
+ * @secure
1965
+ * @response `200` `LoanDocumentFolder` Success
1966
+ * @response `400` `ProblemDetails` Bad Request
1967
+ * @response `404` `ProblemDetails` Not Found
1968
+ * @response `409` `ProblemDetails` Conflict
1969
+ * @response `422` `ProblemDetails` Client Error
1970
+ */
1971
+ updateLoanDocumentFolder: (id, data, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1972
+ /**
1973
+ * No description
1974
+ *
1975
+ * @tags LoanDocumentFolders
1976
+ * @name DeleteLoanDocumentFolder
1977
+ * @summary Delete a loan document folder. Allowed only when the folder has never been referenced and is not the system-default Unassigned folder.
1978
+ * @request DELETE:/api/loan-document-folders/{id}
1979
+ * @secure
1980
+ * @response `204` `void` No Content
1981
+ * @response `400` `ProblemDetails` Bad Request
1982
+ * @response `404` `ProblemDetails` Not Found
1983
+ * @response `409` `ProblemDetails` Conflict
1984
+ */
1985
+ deleteLoanDocumentFolder: (id, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders/${id}`, method: "DELETE", secure: true }, params)),
1986
+ /**
1987
+ * No description
1988
+ *
1989
+ * @tags LoanDocumentFolders
1990
+ * @name DeactivateLoanDocumentFolder
1991
+ * @summary Deactivate a loan document folder. Rejected for the system-default Unassigned folder.
1992
+ * @request POST:/api/loan-document-folders/{id}/deactivate
1993
+ * @secure
1994
+ * @response `204` `void` No Content
1995
+ * @response `400` `ProblemDetails` Bad Request
1996
+ * @response `404` `ProblemDetails` Not Found
1997
+ */
1998
+ deactivateLoanDocumentFolder: (id, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders/${id}/deactivate`, method: "POST", secure: true }, params)),
1999
+ /**
2000
+ * No description
2001
+ *
2002
+ * @tags LoanDocumentFolders
2003
+ * @name ReactivateLoanDocumentFolder
2004
+ * @summary Reactivate a loan document folder.
2005
+ * @request POST:/api/loan-document-folders/{id}/reactivate
2006
+ * @secure
2007
+ * @response `204` `void` No Content
2008
+ * @response `404` `ProblemDetails` Not Found
2009
+ */
2010
+ reactivateLoanDocumentFolder: (id, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders/${id}/reactivate`, method: "POST", secure: true }, params)),
2011
+ /**
2012
+ * No description
2013
+ *
2014
+ * @tags LoanDocumentFolders
2015
+ * @name GetLoanDocumentFolderUsage
2016
+ * @summary Get folder usage. Returns HasEverBeenReferenced including soft-deleted documents and tasks.
2017
+ * @request GET:/api/loan-document-folders/{id}/usage
2018
+ * @secure
2019
+ * @response `200` `LoanDocumentFolderUsage` Success
2020
+ * @response `404` `ProblemDetails` Not Found
2021
+ */
2022
+ getLoanDocumentFolderUsage: (id, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders/${id}/usage`, method: "GET", secure: true, format: "json" }, params)),
1667
2023
  /**
1668
2024
  * No description
1669
2025
  *
@@ -1676,6 +2032,18 @@ export class Api extends HttpClient {
1676
2032
  * @response `404` `ProblemDetails` Not Found
1677
2033
  */
1678
2034
  getLoanDocument: (loanId, documentId, query, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/${documentId}`, method: "GET", query: query, secure: true, format: "json" }, params)),
2035
+ /**
2036
+ * No description
2037
+ *
2038
+ * @tags LoanDocuments
2039
+ * @name GetLoanDocumentPreviews
2040
+ * @summary Get document previews in batch
2041
+ * @request POST:/api/loans/{loanId}/documents/previews
2042
+ * @secure
2043
+ * @response `200` `Record<string,string>` Success
2044
+ * @response `400` `ProblemDetails` Bad Request
2045
+ */
2046
+ getLoanDocumentPreviews: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/previews`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1679
2047
  /**
1680
2048
  * No description
1681
2049
  *
@@ -1691,13 +2059,15 @@ export class Api extends HttpClient {
1691
2059
  * @description Returns all documents grouped by folder for sidebar display. Use folderNamesOnly=true to get simplified response with folder names and counts for mobile (Files array will be empty).
1692
2060
  *
1693
2061
  * @tags LoanDocuments
1694
- * @name GetLoanDocumentFolders
2062
+ * @name GetLoanDocumentFolders2
1695
2063
  * @summary Get document folder hierarchy
1696
2064
  * @request POST:/api/loans/{loanId}/documents/folders
2065
+ * @originalName getLoanDocumentFolders
2066
+ * @duplicate
1697
2067
  * @secure
1698
2068
  * @response `200` `(DocumentFolder)[]` Success
1699
2069
  */
1700
- getLoanDocumentFolders: (loanId, data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/folders`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2070
+ getLoanDocumentFolders2: (loanId, data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/folders`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1701
2071
  /**
1702
2072
  * No description
1703
2073
  *
@@ -2191,6 +2561,19 @@ export class Api extends HttpClient {
2191
2561
  * @response `404` `ProblemDetails` Not Found
2192
2562
  */
2193
2563
  syncLoanToLos: (loanId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/sync-to-los`, method: "POST", secure: true }, params)),
2564
+ /**
2565
+ * No description
2566
+ *
2567
+ * @tags Loans
2568
+ * @name TriggerAso
2569
+ * @summary Trigger ASO services
2570
+ * @request POST:/api/loans/{loanId}/aso
2571
+ * @secure
2572
+ * @response `200` `AutomatedService` Success
2573
+ * @response `400` `ProblemDetails` Bad Request
2574
+ * @response `404` `ProblemDetails` Not Found
2575
+ */
2576
+ triggerAso: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/aso`, method: "POST", body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
2194
2577
  /**
2195
2578
  * No description
2196
2579
  *
@@ -2202,7 +2585,7 @@ export class Api extends HttpClient {
2202
2585
  * @response `200` `TaskCommentPaginated` Success
2203
2586
  * @response `404` `ProblemDetails` Not Found
2204
2587
  */
2205
- 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.JsonPatch, format: "json" }, params)),
2588
+ 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)),
2206
2589
  /**
2207
2590
  * No description
2208
2591
  *
@@ -2226,7 +2609,7 @@ export class Api extends HttpClient {
2226
2609
  * @response `201` `TaskComment` Created
2227
2610
  * @response `404` `ProblemDetails` Not Found
2228
2611
  */
2229
- createLoanTaskComment: (loanId, userLoanTaskId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${userLoanTaskId}/comments`, method: "POST", body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
2612
+ 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)),
2230
2613
  /**
2231
2614
  * No description
2232
2615
  *
@@ -2291,7 +2674,43 @@ export class Api extends HttpClient {
2291
2674
  /**
2292
2675
  * No description
2293
2676
  *
2677
+ * @tags LoanTaskNotifications
2678
+ * @name SendLoanTaskReminder
2679
+ * @summary Send Loan Task Reminder
2680
+ * @request POST:/api/loans/{loanID}/tasks/reminders
2681
+ * @secure
2682
+ * @response `204` `void` No Content
2683
+ * @response `400` `ProblemDetails` Bad Request
2684
+ * @response `404` `ProblemDetails` Not Found
2685
+ */
2686
+ sendLoanTaskReminder: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/reminders`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
2687
+ /**
2688
+ * @description Search tasks across all loans
2689
+ *
2690
+ * @tags LoanTasks
2691
+ * @name SearchLoanTasks
2692
+ * @summary Search
2693
+ * @request POST:/api/loans/tasks/search
2694
+ * @secure
2695
+ * @response `200` `UserLoanTaskPaginated` Success
2696
+ */
2697
+ searchLoanTasks: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/tasks/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2698
+ /**
2699
+ * @description Returns task counts grouped by status for loans accessible to the current user based on their role
2700
+ *
2294
2701
  * @tags LoanTasks
2702
+ * @name SearchLoanTasksSummary
2703
+ * @summary Search Summary
2704
+ * @request POST:/api/loans/tasks/search/summary
2705
+ * @secure
2706
+ * @response `200` `(LoanTaskStatusSummary)[]` Success
2707
+ * @response `422` `UnprocessableEntity` Client Error
2708
+ */
2709
+ searchLoanTasksSummary: (data, params = {}) => this.request(Object.assign({ path: `/api/loans/tasks/search/summary`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2710
+ /**
2711
+ * No description
2712
+ *
2713
+ * @tags LoanTasksForSingleLoan
2295
2714
  * @name GetLoanTasks
2296
2715
  * @summary Get All
2297
2716
  * @request GET:/api/loans/{loanID}/tasks
@@ -2303,7 +2722,7 @@ export class Api extends HttpClient {
2303
2722
  /**
2304
2723
  * No description
2305
2724
  *
2306
- * @tags LoanTasks
2725
+ * @tags LoanTasksForSingleLoan
2307
2726
  * @name GetLoanTask
2308
2727
  * @summary Get by ID
2309
2728
  * @request GET:/api/loans/{loanID}/tasks/{id}
@@ -2315,7 +2734,7 @@ export class Api extends HttpClient {
2315
2734
  /**
2316
2735
  * @description Get the difference between the current loan tasks and the tasks generated by business rules
2317
2736
  *
2318
- * @tags LoanTasks
2737
+ * @tags LoanTasksForSingleLoan
2319
2738
  * @name GetLoanTaskDifference
2320
2739
  * @summary Get Difference
2321
2740
  * @request GET:/api/loans/{loanID}/tasks/diff
@@ -2327,7 +2746,7 @@ export class Api extends HttpClient {
2327
2746
  /**
2328
2747
  * No description
2329
2748
  *
2330
- * @tags LoanTasks
2749
+ * @tags LoanTasksForSingleLoan
2331
2750
  * @name CreateLoanTask
2332
2751
  * @summary Create
2333
2752
  * @request POST:/api/loans/{loanID}/tasks/{taskID}
@@ -2339,7 +2758,7 @@ export class Api extends HttpClient {
2339
2758
  /**
2340
2759
  * No description
2341
2760
  *
2342
- * @tags LoanTasks
2761
+ * @tags LoanTasksForSingleLoan
2343
2762
  * @name ImportLoanTask
2344
2763
  * @summary Import
2345
2764
  * @request POST:/api/loans/{loanID}/tasks/import
@@ -2351,7 +2770,7 @@ export class Api extends HttpClient {
2351
2770
  /**
2352
2771
  * No description
2353
2772
  *
2354
- * @tags LoanTasks
2773
+ * @tags LoanTasksForSingleLoan
2355
2774
  * @name ReplaceLoanTask
2356
2775
  * @summary Replace
2357
2776
  * @request PUT:/api/loans/{loanID}/tasks/{userLoanTaskID}
@@ -2363,7 +2782,7 @@ export class Api extends HttpClient {
2363
2782
  /**
2364
2783
  * No description
2365
2784
  *
2366
- * @tags LoanTasks
2785
+ * @tags LoanTasksForSingleLoan
2367
2786
  * @name DeleteLoanTask
2368
2787
  * @summary Delete
2369
2788
  * @request DELETE:/api/loans/{loanID}/tasks/{userLoanTaskID}
@@ -2394,6 +2813,7 @@ export class Api extends HttpClient {
2394
2813
  * @request GET:/api/loans/{loanId}/users/{userId}/consents
2395
2814
  * @secure
2396
2815
  * @response `200` `(UserLoanConsent)[]` Success
2816
+ * @response `403` `ProblemDetails` Forbidden
2397
2817
  */
2398
2818
  getLoanUserConsents: (loanId, userId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/users/${userId}/consents`, method: "GET", secure: true, format: "json" }, params)),
2399
2819
  /**
@@ -2440,6 +2860,17 @@ export class Api extends HttpClient {
2440
2860
  * @response `204` `void` No Content
2441
2861
  */
2442
2862
  sendLoanUserInviteReminderNotification: (loanId, userId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/users/${userId}/invite-reminder`, method: "POST", secure: true }, params)),
2863
+ /**
2864
+ * No description
2865
+ *
2866
+ * @tags LosOperationTracking
2867
+ * @name SearchLosOperationTracking
2868
+ * @summary Search LOS operation tracking
2869
+ * @request POST:/api/los-operation-tracking/search
2870
+ * @secure
2871
+ * @response `200` `LosOperationTrackingPaginated` Success
2872
+ */
2873
+ searchLosOperationTracking: (data, query, params = {}) => this.request(Object.assign({ path: `/api/los-operation-tracking/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2443
2874
  /**
2444
2875
  * No description
2445
2876
  *
@@ -3052,6 +3483,77 @@ export class Api extends HttpClient {
3052
3483
  * @response `200` `EncompassRequestLogPaginated` Success
3053
3484
  */
3054
3485
  searchEncompassLogs: (losId, query, data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/logs/${losId}/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3486
+ /**
3487
+ * No description
3488
+ *
3489
+ * @tags TheBigPOS
3490
+ * @name GetEncompassCredentials
3491
+ * @request GET:/api/los/encompass/credentials
3492
+ * @secure
3493
+ * @response `200` `EncompassCredentialsDetail` Success
3494
+ * @response `204` `void` No Content
3495
+ */
3496
+ getEncompassCredentials: (params = {}) => this.request(Object.assign({ path: `/api/los/encompass/credentials`, method: "GET", secure: true, format: "json" }, params)),
3497
+ /**
3498
+ * No description
3499
+ *
3500
+ * @tags TheBigPOS
3501
+ * @name CreateEncompassCredentials
3502
+ * @request POST:/api/los/encompass/credentials
3503
+ * @secure
3504
+ * @response `201` `LosCredentials` Created
3505
+ */
3506
+ createEncompassCredentials: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/credentials`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3507
+ /**
3508
+ * No description
3509
+ *
3510
+ * @tags TheBigPOS
3511
+ * @name UpdateEncompassCredentials
3512
+ * @request PUT:/api/los/encompass/credentials
3513
+ * @secure
3514
+ * @response `200` `EncompassCredentialsDetail` Success
3515
+ */
3516
+ updateEncompassCredentials: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/credentials`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3517
+ /**
3518
+ * No description
3519
+ *
3520
+ * @tags TheBigPOS
3521
+ * @name GetEncompassWebhooks
3522
+ * @request GET:/api/los/encompass/webhooks
3523
+ * @secure
3524
+ * @response `200` `(LosWebhook)[]` Success
3525
+ */
3526
+ getEncompassWebhooks: (params = {}) => this.request(Object.assign({ path: `/api/los/encompass/webhooks`, method: "GET", secure: true, format: "json" }, params)),
3527
+ /**
3528
+ * No description
3529
+ *
3530
+ * @tags TheBigPOS
3531
+ * @name CreateEncompassWebhook
3532
+ * @request POST:/api/los/encompass/webhooks
3533
+ * @secure
3534
+ * @response `201` `LosWebhook` Created
3535
+ */
3536
+ createEncompassWebhook: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/webhooks`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3537
+ /**
3538
+ * No description
3539
+ *
3540
+ * @tags TheBigPOS
3541
+ * @name DeleteEncompassWebhook
3542
+ * @request DELETE:/api/los/encompass/webhooks/{webhookId}
3543
+ * @secure
3544
+ * @response `204` `void` No Content
3545
+ */
3546
+ deleteEncompassWebhook: (webhookId, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/webhooks/${webhookId}`, method: "DELETE", secure: true }, params)),
3547
+ /**
3548
+ * No description
3549
+ *
3550
+ * @tags TheBigPOS
3551
+ * @name SearchLosSyncs
3552
+ * @request POST:/api/los/encompass/syncs/{loanId}/search
3553
+ * @secure
3554
+ * @response `200` `LosSyncPaginated` Success
3555
+ */
3556
+ searchLosSyncs: (loanId, query, data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/syncs/${loanId}/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3055
3557
  /**
3056
3558
  * No description
3057
3559
  *