@matech/thebigpos-sdk 2.10.0-rc3 → 2.11.0-rc1

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.d.ts CHANGED
@@ -30,15 +30,13 @@ export interface Account {
30
30
  name: string;
31
31
  fusionCustomerID: string;
32
32
  mfaPreference: string;
33
- losLockoutFieldID?: string | null;
34
- eConsentBucket?: string | null;
35
33
  /** @format date-time */
36
34
  createdAt: string;
37
35
  /** @format date-time */
38
36
  updatedAt?: string | null;
39
37
  /** @format int32 */
40
38
  allowedLoginsWithoutMFA: number;
41
- loanMilestoneNotificationsEnabled: boolean;
39
+ losSettings: LOSSettings;
42
40
  asoSettings: ASOSettings;
43
41
  }
44
42
  export interface AccountUpdateRequest {
@@ -46,7 +44,7 @@ export interface AccountUpdateRequest {
46
44
  mfaPreference: string;
47
45
  /** @format int32 */
48
46
  allowedLoginsWithoutMFA: number;
49
- loanMilestoneNotificationsEnabled: boolean;
47
+ losSettings: LOSSettingsUpdateRequest;
50
48
  asoSettings: ASOSettings;
51
49
  }
52
50
  export interface AccountUpdateRequestJsonPatchDocument {
@@ -312,6 +310,18 @@ export interface CommentUserInformationResponse {
312
310
  entityName?: string | null;
313
311
  entityUri?: string | null;
314
312
  }
313
+ export interface Company {
314
+ name?: string | null;
315
+ siteUrl?: string | null;
316
+ address?: string | null;
317
+ address2?: string | null;
318
+ city?: string | null;
319
+ state?: string | null;
320
+ zip?: string | null;
321
+ phone?: string | null;
322
+ fax?: string | null;
323
+ nmlsid?: string | null;
324
+ }
315
325
  export interface ConditionCommentResponse {
316
326
  commentId: string;
317
327
  comments: string;
@@ -725,6 +735,60 @@ export interface EnabledServices {
725
735
  export interface Error {
726
736
  message: string;
727
737
  }
738
+ export interface ExtendedLoanResponse {
739
+ loanID: string;
740
+ loanNumber?: string | null;
741
+ /** @format date-time */
742
+ initialDisclosureProvidedDate?: string | null;
743
+ /** @format date-time */
744
+ closingDisclosureSentDate?: string | null;
745
+ /** @format date-time */
746
+ underwritingApprovalDate?: string | null;
747
+ /** @format date-time */
748
+ closingDate?: string | null;
749
+ /** @format date-time */
750
+ fundingOrderDate?: string | null;
751
+ /** @format date-time */
752
+ currentStatusDate?: string | null;
753
+ loanChannel?: string | null;
754
+ /** @format double */
755
+ totalLoanAmount?: number | null;
756
+ currentLoanStatus?: string | null;
757
+ currentMilestone?: string | null;
758
+ lastCompletedMilestone?: string | null;
759
+ /** @format date-time */
760
+ startDate?: string | null;
761
+ isInSync: boolean;
762
+ /** @format date-time */
763
+ syncDate?: string | null;
764
+ fileStarter?: string | null;
765
+ isPOSLoan?: boolean | null;
766
+ referenceID: string;
767
+ /** @format int32 */
768
+ term?: number | null;
769
+ loanProgram?: string | null;
770
+ loanType?: string | null;
771
+ status?: string | null;
772
+ loanOfficer: LoanOfficer;
773
+ propertyAddress: Address;
774
+ borrowerContact: Contact;
775
+ coBorrowerContact: Contact;
776
+ loanLogs: LoanLogResponse[];
777
+ isLocked: boolean;
778
+ source?: string | null;
779
+ buyerAgentContact: Contact;
780
+ sellerAgentContact: Contact;
781
+ escrowAgentContact: Contact;
782
+ titleInsuranceAgentContact: Contact;
783
+ settlementAgentContact: Contact;
784
+ loanProcessorContact: Contact;
785
+ }
786
+ export interface ExtendedLoanResponsePaginatedResponse {
787
+ rows: ExtendedLoanResponse[];
788
+ pagination: PaginationResponse;
789
+ /** @format int64 */
790
+ count: number;
791
+ }
728
792
  export interface File {
729
793
  /** @format uuid */
730
794
  id: string;
@@ -1053,6 +1117,16 @@ export interface InviteResponse {
1053
1117
  }
1054
1118
  /** Array of operations to perform */
1055
1119
  export type JsonPatchDocument = Operation[];
1120
+ export interface LOSSettings {
1121
+ loanClosingDateFieldID: string;
1122
+ customEConsentBucketTitle?: string | null;
1123
+ loanMilestoneNotificationsEnabled: boolean;
1124
+ }
1125
+ export interface LOSSettingsUpdateRequest {
1126
+ loanClosingDateFieldID: string;
1127
+ customEConsentBucketTitle?: string | null;
1128
+ loanMilestoneNotificationsEnabled: boolean;
1129
+ }
1056
1130
  export interface Listing {
1057
1131
  /** @format date-time */
1058
1132
  createdAt: string;
@@ -1179,6 +1253,7 @@ export interface Loan {
1179
1253
  propertyAddress: Address;
1180
1254
  borrowerContact: Contact;
1181
1255
  coBorrowerContact: Contact;
1256
+ loanLogs: LoanLogResponse[];
1182
1257
  isLocked: boolean;
1183
1258
  source?: string | null;
1184
1259
  }
@@ -1247,6 +1322,14 @@ export interface LoanDraftSearchCriteria {
1247
1322
  /** @format uuid */
1248
1323
  loanOfficerId?: string | null;
1249
1324
  }
1325
+ export interface LoanLogResponse {
1326
+ /** @format uuid */
1327
+ id: string;
1328
+ level: string;
1329
+ message: string;
1330
+ /** @format date-time */
1331
+ createdAt: string;
1332
+ }
1250
1333
  export interface LoanOfficer {
1251
1334
  /** @format uuid */
1252
1335
  id: string;
@@ -1266,12 +1349,6 @@ export interface LoanOfficerSearchCriteria {
1266
1349
  /** @format uuid */
1267
1350
  brand?: string | null;
1268
1351
  }
1269
- export interface LoanPaginatedResponse {
1270
- rows: Loan[];
1271
- pagination: PaginationResponse;
1272
- /** @format int64 */
1273
- count: number;
1274
- }
1275
1352
  export interface LoanRecord {
1276
1353
  loanGuid: string;
1277
1354
  loanFields: Record<string, string>;
@@ -1501,11 +1578,6 @@ export interface PostLoanComparisonPdfRequest {
1501
1578
  */
1502
1579
  siteConfigurationID: string;
1503
1580
  }
1504
- export interface PostTaskDocumentsRequest {
1505
- /** @minLength 1 */
1506
- loanGuid: string;
1507
- documents: DocumentDataRequest[];
1508
- }
1509
1581
  export interface PreliminaryConditionResponse {
1510
1582
  /** @format uuid */
1511
1583
  id: string;
@@ -1637,69 +1709,71 @@ export interface RunLOCalculationRequest {
1637
1709
  loanAmount: string;
1638
1710
  /** @minLength 1 */
1639
1711
  propertyValue: string;
1640
- propertyType: string;
1641
- zipCode: string;
1642
- county: string;
1712
+ propertyType?: string | null;
1713
+ zipCode?: string | null;
1714
+ county?: string | null;
1643
1715
  /** @minLength 1 */
1644
1716
  loanPurpose: string;
1645
- propertyOccupancy: string;
1646
- escrow: string;
1717
+ propertyOccupancy?: string | null;
1718
+ escrow?: string | null;
1647
1719
  /** @minLength 1 */
1648
1720
  loanTerm1: string;
1649
1721
  /** @minLength 1 */
1650
1722
  loanTerm2: string;
1651
- creditScore: string;
1652
- taxes: string;
1653
- insurance: string;
1654
- rate: string;
1723
+ creditScore?: string | null;
1724
+ taxes?: string | null;
1725
+ insurance?: string | null;
1726
+ rate?: string | null;
1655
1727
  /** @minLength 1 */
1656
1728
  loanType: string;
1657
- flood: string;
1658
- hoa: string;
1659
- miFactor: string;
1660
- downpaymentAmount: string;
1729
+ flood?: string | null;
1730
+ hoa?: string | null;
1731
+ miFactor?: string | null;
1732
+ downpaymentAmount?: string | null;
1661
1733
  /** @minLength 1 */
1662
1734
  lienType: string;
1735
+ preApprovalNotes?: string | null;
1663
1736
  }
1664
1737
  export interface RunLOCalculationResponse {
1665
1738
  loanID: string;
1666
- loanAmount: string;
1667
- totalMortgageAmount: string;
1668
- propertyValue: string;
1669
- propertyType: string;
1670
- loanType: string;
1671
- zipCode: string;
1672
- county: string;
1673
- loanPurpose: string;
1674
- propertyOccupancy: string;
1675
- escrow: string;
1676
- loanTerm1: string;
1677
- loanTerm2: string;
1678
- creditScore: string;
1679
- taxes: string;
1680
- insurance: string;
1681
- borrowerIncome: string;
1682
- loanProgram: string;
1683
- rate: string;
1684
- monthlyPayment: string;
1685
- principleAndInterestPITIField: string;
1686
- dtiFront: string;
1687
- dtiBack: string;
1688
- ltvFront: string;
1689
- ltvBack: string;
1690
- totalCashtoClose: string;
1691
- apr: string;
1692
- flood: string;
1693
- hoa: string;
1694
- miFactor: string;
1695
- mi: string;
1696
- totalAssets: string;
1739
+ loanAmount?: string | null;
1740
+ totalMortgageAmount?: string | null;
1741
+ propertyValue?: string | null;
1742
+ propertyType?: string | null;
1743
+ loanType?: string | null;
1744
+ zipCode?: string | null;
1745
+ county?: string | null;
1746
+ loanPurpose?: string | null;
1747
+ propertyOccupancy?: string | null;
1748
+ escrow?: string | null;
1749
+ loanTerm1?: string | null;
1750
+ loanTerm2?: string | null;
1751
+ creditScore?: string | null;
1752
+ taxes?: string | null;
1753
+ insurance?: string | null;
1754
+ borrowerIncome?: string | null;
1755
+ loanProgram?: string | null;
1756
+ rate?: string | null;
1757
+ monthlyPayment?: string | null;
1758
+ principleAndInterestPITIField?: string | null;
1759
+ dtiFront?: string | null;
1760
+ dtiBack?: string | null;
1761
+ ltvFront?: string | null;
1762
+ ltvBack?: string | null;
1763
+ totalCashtoClose?: string | null;
1764
+ apr?: string | null;
1765
+ flood?: string | null;
1766
+ hoa?: string | null;
1767
+ miFactor?: string | null;
1768
+ mi?: string | null;
1769
+ totalAssets?: string | null;
1697
1770
  loanLocked: boolean;
1698
1771
  canGeneratePreQual: boolean;
1699
1772
  canGeneratePreApproval: boolean;
1700
- downPaymentAmount: string;
1701
- downPaymentPercent: string;
1702
- lienType: string;
1773
+ preApprovalNotes?: string | null;
1774
+ downPaymentAmount?: string | null;
1775
+ downPaymentPercent?: string | null;
1776
+ lienType?: string | null;
1703
1777
  }
1704
1778
  export interface SSOTokenRequest {
1705
1779
  /**
@@ -1753,7 +1827,11 @@ export interface SiteConfiguration {
1753
1827
  name: string;
1754
1828
  introduction?: string | null;
1755
1829
  introductionTitle?: string | null;
1756
- /** @format int32 */
1830
+ /**
1831
+ * @format int64
1832
+ * @min 1000
1833
+ * @max 999999999999
1834
+ */
1757
1835
  nmlsid: number;
1758
1836
  address?: string | null;
1759
1837
  address2?: string | null;
@@ -1903,7 +1981,9 @@ export interface SiteConfiguration {
1903
1981
  calendarUrl?: string | null;
1904
1982
  surveysUrl?: string | null;
1905
1983
  enabledServices: EnabledServices;
1984
+ company: Company;
1906
1985
  companyName?: string | null;
1986
+ companySiteUrl?: string | null;
1907
1987
  companyAddress?: string | null;
1908
1988
  companyAddress2?: string | null;
1909
1989
  companyCity?: string | null;
@@ -1939,7 +2019,11 @@ export interface SiteConfigurationByUrl {
1939
2019
  name: string;
1940
2020
  introduction?: string | null;
1941
2021
  introductionTitle?: string | null;
1942
- /** @format int32 */
2022
+ /**
2023
+ * @format int64
2024
+ * @min 1000
2025
+ * @max 999999999999
2026
+ */
1943
2027
  nmlsid: number;
1944
2028
  address?: string | null;
1945
2029
  address2?: string | null;
@@ -2089,7 +2173,9 @@ export interface SiteConfigurationByUrl {
2089
2173
  calendarUrl?: string | null;
2090
2174
  surveysUrl?: string | null;
2091
2175
  enabledServices: EnabledServices;
2176
+ company: Company;
2092
2177
  companyName?: string | null;
2178
+ companySiteUrl?: string | null;
2093
2179
  companyAddress?: string | null;
2094
2180
  companyAddress2?: string | null;
2095
2181
  companyCity?: string | null;
@@ -2140,7 +2226,7 @@ export interface SiteConfigurationReduced {
2140
2226
  id: string;
2141
2227
  url?: string | null;
2142
2228
  name: string;
2143
- /** @format int32 */
2229
+ /** @format int64 */
2144
2230
  nmlsid: number;
2145
2231
  email?: string | null;
2146
2232
  companyName?: string | null;
@@ -2158,7 +2244,7 @@ export interface SiteConfigurationRequest {
2158
2244
  name: string;
2159
2245
  introduction?: string | null;
2160
2246
  introductionTitle?: string | null;
2161
- /** @format int32 */
2247
+ /** @format int64 */
2162
2248
  nmlsid: number;
2163
2249
  address?: string | null;
2164
2250
  address2?: string | null;
@@ -2733,9 +2819,9 @@ export interface Workflow {
2733
2819
  tileSubtitle: string;
2734
2820
  icon: string;
2735
2821
  }
2736
- import type { AxiosInstance, AxiosRequestConfig, AxiosResponse, ResponseType } from "axios";
2737
2822
  export type QueryParamsType = Record<string | number, any>;
2738
- export interface FullRequestParams extends Omit<AxiosRequestConfig, "data" | "params" | "url" | "responseType"> {
2823
+ export type ResponseFormat = keyof Omit<Body, "body" | "bodyUsed">;
2824
+ export interface FullRequestParams extends Omit<RequestInit, "body"> {
2739
2825
  /** set parameter to `true` for call `securityWorker` for this request */
2740
2826
  secure?: boolean;
2741
2827
  /** request path */
@@ -2745,16 +2831,26 @@ export interface FullRequestParams extends Omit<AxiosRequestConfig, "data" | "pa
2745
2831
  /** query params */
2746
2832
  query?: QueryParamsType;
2747
2833
  /** format of response (i.e. response.json() -> format: "json") */
2748
- format?: ResponseType;
2834
+ format?: ResponseFormat;
2749
2835
  /** request body */
2750
2836
  body?: unknown;
2837
+ /** base url */
2838
+ baseUrl?: string;
2839
+ /** request cancellation token */
2840
+ cancelToken?: CancelToken;
2751
2841
  }
2752
2842
  export type RequestParams = Omit<FullRequestParams, "body" | "method" | "query" | "path">;
2753
- export interface ApiConfig<SecurityDataType = unknown> extends Omit<AxiosRequestConfig, "data" | "cancelToken"> {
2754
- securityWorker?: (securityData: SecurityDataType | null) => Promise<AxiosRequestConfig | void> | AxiosRequestConfig | void;
2755
- secure?: boolean;
2756
- format?: ResponseType;
2843
+ export interface ApiConfig<SecurityDataType = unknown> {
2844
+ baseUrl?: string;
2845
+ baseApiParams?: Omit<RequestParams, "baseUrl" | "cancelToken" | "signal">;
2846
+ securityWorker?: (securityData: SecurityDataType | null) => Promise<RequestParams | void> | RequestParams | void;
2847
+ customFetch?: typeof fetch;
2848
+ }
2849
+ export interface HttpResponse<D extends unknown, E extends unknown = unknown> extends Response {
2850
+ data: D;
2851
+ error: E;
2757
2852
  }
2853
+ type CancelToken = Symbol | string | number;
2758
2854
  export declare enum ContentType {
2759
2855
  Json = "application/json",
2760
2856
  FormData = "multipart/form-data",
@@ -2762,21 +2858,28 @@ export declare enum ContentType {
2762
2858
  Text = "text/plain"
2763
2859
  }
2764
2860
  export declare class HttpClient<SecurityDataType = unknown> {
2765
- instance: AxiosInstance;
2861
+ baseUrl: string;
2766
2862
  private securityData;
2767
2863
  private securityWorker?;
2768
- private secure?;
2769
- private format?;
2770
- constructor({ securityWorker, secure, format, ...axiosConfig }?: ApiConfig<SecurityDataType>);
2864
+ private abortControllers;
2865
+ private customFetch;
2866
+ private baseApiParams;
2867
+ constructor(apiConfig?: ApiConfig<SecurityDataType>);
2771
2868
  setSecurityData: (data: SecurityDataType | null) => void;
2772
- protected mergeRequestParams(params1: AxiosRequestConfig, params2?: AxiosRequestConfig): AxiosRequestConfig;
2773
- protected stringifyFormItem(formItem: unknown): string;
2774
- protected createFormData(input: Record<string, unknown>): FormData;
2775
- request: <T = any, _E = any>({ secure, path, type, query, format, body, ...params }: FullRequestParams) => Promise<AxiosResponse<T>>;
2869
+ protected encodeQueryParam(key: string, value: any): string;
2870
+ protected addQueryParam(query: QueryParamsType, key: string): string;
2871
+ protected addArrayQueryParam(query: QueryParamsType, key: string): any;
2872
+ protected toQueryString(rawQuery?: QueryParamsType): string;
2873
+ protected addQueryParams(rawQuery?: QueryParamsType): string;
2874
+ private contentFormatters;
2875
+ protected mergeRequestParams(params1: RequestParams, params2?: RequestParams): RequestParams;
2876
+ protected createAbortSignal: (cancelToken: CancelToken) => AbortSignal | undefined;
2877
+ abortRequest: (cancelToken: CancelToken) => void;
2878
+ request: <T = any, E = any>({ body, secure, path, type, query, format, baseUrl, cancelToken, ...params }: FullRequestParams) => Promise<HttpResponse<T, E>>;
2776
2879
  }
2777
2880
  /**
2778
2881
  * @title The Big POS API
2779
- * @version v2.10.0
2882
+ * @version v2.11.0
2780
2883
  * @termsOfService https://www.thebigpos.com/terms-of-use/
2781
2884
  * @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
2782
2885
  */
@@ -2789,7 +2892,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
2789
2892
  * @request POST:/
2790
2893
  * @secure
2791
2894
  */
2792
- postRoot: (params?: RequestParams) => Promise<AxiosResponse<void, any>>;
2895
+ postRoot: (params?: RequestParams) => Promise<HttpResponse<void, any>>;
2793
2896
  api: {
2794
2897
  /**
2795
2898
  * No description
@@ -2800,7 +2903,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
2800
2903
  * @request GET:/api/account
2801
2904
  * @secure
2802
2905
  */
2803
- getAccount: (params?: RequestParams) => Promise<AxiosResponse<Account, any>>;
2906
+ getAccount: (params?: RequestParams) => Promise<HttpResponse<Account, ProblemDetails>>;
2804
2907
  /**
2805
2908
  * No description
2806
2909
  *
@@ -2810,7 +2913,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
2810
2913
  * @request PUT:/api/account
2811
2914
  * @secure
2812
2915
  */
2813
- replaceAccount: (data: AccountUpdateRequest, params?: RequestParams) => Promise<AxiosResponse<Account, any>>;
2916
+ replaceAccount: (data: AccountUpdateRequest, params?: RequestParams) => Promise<HttpResponse<Account, ProblemDetails>>;
2814
2917
  /**
2815
2918
  * No description
2816
2919
  *
@@ -2820,7 +2923,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
2820
2923
  * @request PATCH:/api/account
2821
2924
  * @secure
2822
2925
  */
2823
- updateAccount: (data: JsonPatchDocument, params?: RequestParams) => Promise<AxiosResponse<Account, any>>;
2926
+ updateAccount: (data: JsonPatchDocument, params?: RequestParams) => Promise<HttpResponse<Account, ProblemDetails>>;
2824
2927
  /**
2825
2928
  * No description
2826
2929
  *
@@ -2830,7 +2933,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
2830
2933
  * @request GET:/api/account/site-configurations
2831
2934
  * @secure
2832
2935
  */
2833
- getSiteConfigurationByAccount: (params?: RequestParams) => Promise<AxiosResponse<SiteConfiguration, any>>;
2936
+ getSiteConfigurationByAccount: (params?: RequestParams) => Promise<HttpResponse<SiteConfiguration, any>>;
2834
2937
  /**
2835
2938
  * No description
2836
2939
  *
@@ -2840,7 +2943,87 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
2840
2943
  * @request PUT:/api/account/site-configurations
2841
2944
  * @secure
2842
2945
  */
2843
- updateSiteConfigurationForAccount: (data: SiteConfiguration, params?: RequestParams) => Promise<AxiosResponse<SiteConfiguration, any>>;
2946
+ updateSiteConfigurationForAccount: (data: SiteConfiguration, params?: RequestParams) => Promise<HttpResponse<SiteConfiguration, UnprocessableEntityResponse>>;
2947
+ /**
2948
+ * No description
2949
+ *
2950
+ * @tags Accounts
2951
+ * @name GetAccounts
2952
+ * @summary Get All
2953
+ * @request GET:/api/accounts
2954
+ * @secure
2955
+ */
2956
+ getAccounts: (params?: RequestParams) => Promise<HttpResponse<Account[], any>>;
2957
+ /**
2958
+ * No description
2959
+ *
2960
+ * @tags Accounts
2961
+ * @name UpdateLoansByAccount
2962
+ * @summary Update Loans
2963
+ * @request PUT:/api/accounts/{id}/loan
2964
+ * @secure
2965
+ */
2966
+ updateLoansByAccount: (id: string, data: Loan[], params?: RequestParams) => Promise<HttpResponse<void, ProblemDetails | UnprocessableEntityResponse>>;
2967
+ /**
2968
+ * No description
2969
+ *
2970
+ * @tags Accounts
2971
+ * @name GetLoansByAccount
2972
+ * @summary Get Loans
2973
+ * @request GET:/api/accounts/{id}/loan
2974
+ * @secure
2975
+ */
2976
+ getLoansByAccount: (id: string, params?: RequestParams) => Promise<HttpResponse<Loan[], ProblemDetails>>;
2977
+ /**
2978
+ * No description
2979
+ *
2980
+ * @tags Authentication
2981
+ * @name GetTokenFromRefreshToken
2982
+ * @summary Generate Token From Refresh Token
2983
+ * @request POST:/api/refresh-token
2984
+ * @secure
2985
+ */
2986
+ getTokenFromRefreshToken: (data: RefreshTokenRequest, params?: RequestParams) => Promise<HttpResponse<TokenResponse, UnprocessableEntityResponse>>;
2987
+ /**
2988
+ * No description
2989
+ *
2990
+ * @tags Authentication
2991
+ * @name GetToken
2992
+ * @summary Get Token
2993
+ * @request POST:/api/token
2994
+ * @secure
2995
+ */
2996
+ getToken: (data: TokenRequest, params?: RequestParams) => Promise<HttpResponse<TokenResponse, UnprocessableEntityResponse>>;
2997
+ /**
2998
+ * No description
2999
+ *
3000
+ * @tags Authentication
3001
+ * @name GetTokenFromChallengeCode
3002
+ * @summary Get Token From Challenge Code
3003
+ * @request POST:/api/token/code
3004
+ * @secure
3005
+ */
3006
+ getTokenFromChallengeCode: (data: TokenChallengeRequest, params?: RequestParams) => Promise<HttpResponse<TokenResponse, UnprocessableEntityResponse>>;
3007
+ /**
3008
+ * No description
3009
+ *
3010
+ * @tags Authentication
3011
+ * @name GetSystemToken
3012
+ * @summary Get System Token
3013
+ * @request POST:/api/oauth2/token
3014
+ * @secure
3015
+ */
3016
+ getSystemToken: (data: SystemTokenRequest, params?: RequestParams) => Promise<HttpResponse<TokenResponse, UnprocessableEntityResponse>>;
3017
+ /**
3018
+ * No description
3019
+ *
3020
+ * @tags Authentication
3021
+ * @name GetSsoToken
3022
+ * @summary Get SSO Guid Token
3023
+ * @request POST:/api/token/sso
3024
+ * @secure
3025
+ */
3026
+ getSsoToken: (data: SSOTokenRequest, params?: RequestParams) => Promise<HttpResponse<SSOTokenResponse, UnprocessableEntityResponse>>;
2844
3027
  /**
2845
3028
  * No description
2846
3029
  *
@@ -2858,7 +3041,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
2858
3041
  pageNumber?: number;
2859
3042
  sortBy?: string;
2860
3043
  sortDirection?: string;
2861
- }, params?: RequestParams) => Promise<AxiosResponse<GetBranchPaginatedResponse, any>>;
3044
+ }, params?: RequestParams) => Promise<HttpResponse<GetBranchPaginatedResponse, any>>;
2862
3045
  /**
2863
3046
  * No description
2864
3047
  *
@@ -2868,7 +3051,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
2868
3051
  * @request POST:/api/branches
2869
3052
  * @secure
2870
3053
  */
2871
- createBranch: (data: CreateBranchRequest, params?: RequestParams) => Promise<AxiosResponse<GetBranch, any>>;
3054
+ createBranch: (data: CreateBranchRequest, params?: RequestParams) => Promise<HttpResponse<GetBranch, UnprocessableEntityResponse>>;
2872
3055
  /**
2873
3056
  * No description
2874
3057
  *
@@ -2885,7 +3068,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
2885
3068
  pageNumber?: number;
2886
3069
  sortBy?: string;
2887
3070
  sortDirection?: string;
2888
- }, params?: RequestParams) => Promise<AxiosResponse<GetBranchPaginatedResponse, any>>;
3071
+ }, params?: RequestParams) => Promise<HttpResponse<GetBranchPaginatedResponse, any>>;
2889
3072
  /**
2890
3073
  * No description
2891
3074
  *
@@ -2895,7 +3078,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
2895
3078
  * @request GET:/api/branches/{branchId}
2896
3079
  * @secure
2897
3080
  */
2898
- getBranch: (branchId: string, params?: RequestParams) => Promise<AxiosResponse<GetBranch, any>>;
3081
+ getBranch: (branchId: string, params?: RequestParams) => Promise<HttpResponse<GetBranch, any>>;
2899
3082
  /**
2900
3083
  * No description
2901
3084
  *
@@ -2905,7 +3088,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
2905
3088
  * @request PUT:/api/branches/{branchId}
2906
3089
  * @secure
2907
3090
  */
2908
- replaceBranch: (branchId: string, data: CreateBranchRequest, params?: RequestParams) => Promise<AxiosResponse<GetBranch, any>>;
3091
+ replaceBranch: (branchId: string, data: CreateBranchRequest, params?: RequestParams) => Promise<HttpResponse<GetBranch, UnprocessableEntityResponse>>;
2909
3092
  /**
2910
3093
  * No description
2911
3094
  *
@@ -2915,7 +3098,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
2915
3098
  * @request DELETE:/api/branches/{branchId}
2916
3099
  * @secure
2917
3100
  */
2918
- deleteBranch: (branchId: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
3101
+ deleteBranch: (branchId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
2919
3102
  /**
2920
3103
  * No description
2921
3104
  *
@@ -2925,7 +3108,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
2925
3108
  * @request POST:/api/branches/{branchId}/restore
2926
3109
  * @secure
2927
3110
  */
2928
- restoreBranch: (branchId: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
3111
+ restoreBranch: (branchId: string, params?: RequestParams) => Promise<HttpResponse<void, ProblemDetails>>;
2929
3112
  /**
2930
3113
  * No description
2931
3114
  *
@@ -2935,7 +3118,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
2935
3118
  * @request POST:/api/branches/{branchId}/site-configurations
2936
3119
  * @secure
2937
3120
  */
2938
- createBranchSiteConfiguration: (branchId: string, data: SiteConfigurationRequest, params?: RequestParams) => Promise<AxiosResponse<SiteConfiguration, any>>;
3121
+ createBranchSiteConfiguration: (branchId: string, data: SiteConfigurationRequest, params?: RequestParams) => Promise<HttpResponse<SiteConfiguration, UnprocessableEntityResponse>>;
2939
3122
  /**
2940
3123
  * No description
2941
3124
  *
@@ -2945,7 +3128,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
2945
3128
  * @request GET:/api/branches/{branchId}/site-configurations/{siteConfigurationId}
2946
3129
  * @secure
2947
3130
  */
2948
- getBranchSiteConfiguration: (branchId: string, siteConfigurationId: string, params?: RequestParams) => Promise<AxiosResponse<SiteConfigurationWithInheritedResponse, any>>;
3131
+ getBranchSiteConfiguration: (branchId: string, siteConfigurationId: string, params?: RequestParams) => Promise<HttpResponse<SiteConfigurationWithInheritedResponse, any>>;
2949
3132
  /**
2950
3133
  * No description
2951
3134
  *
@@ -2957,7 +3140,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
2957
3140
  */
2958
3141
  replaceBranchSiteConfiguration: (branchId: string, siteConfigurationId: string, data: SiteConfigurationRequest, query?: {
2959
3142
  applyToChildren?: boolean;
2960
- }, params?: RequestParams) => Promise<AxiosResponse<SiteConfiguration, any>>;
3143
+ }, params?: RequestParams) => Promise<HttpResponse<SiteConfiguration, UnprocessableEntityResponse>>;
2961
3144
  /**
2962
3145
  * No description
2963
3146
  *
@@ -2967,7 +3150,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
2967
3150
  * @request GET:/api/branches/{branchId}/loan-officers
2968
3151
  * @secure
2969
3152
  */
2970
- getLoanOfficersByBranch: (branchId: string, params?: RequestParams) => Promise<AxiosResponse<PublicLoanOfficer, any>>;
3153
+ getLoanOfficersByBranch: (branchId: string, params?: RequestParams) => Promise<HttpResponse<PublicLoanOfficer, any>>;
2971
3154
  /**
2972
3155
  * No description
2973
3156
  *
@@ -2979,7 +3162,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
2979
3162
  */
2980
3163
  getBusinessRules: (query?: {
2981
3164
  showAll?: boolean;
2982
- }, params?: RequestParams) => Promise<AxiosResponse<BusinessRule[], any>>;
3165
+ }, params?: RequestParams) => Promise<HttpResponse<BusinessRule[], any>>;
2983
3166
  /**
2984
3167
  * No description
2985
3168
  *
@@ -2989,7 +3172,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
2989
3172
  * @request POST:/api/business-rules
2990
3173
  * @secure
2991
3174
  */
2992
- createBusinessRule: (data: BusinessRuleRequest, params?: RequestParams) => Promise<AxiosResponse<BusinessRule, any>>;
3175
+ createBusinessRule: (data: BusinessRuleRequest, params?: RequestParams) => Promise<HttpResponse<BusinessRule, UnprocessableEntityResponse>>;
2993
3176
  /**
2994
3177
  * No description
2995
3178
  *
@@ -2999,7 +3182,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
2999
3182
  * @request GET:/api/business-rules/{id}
3000
3183
  * @secure
3001
3184
  */
3002
- getBusinessRule: (id: string, params?: RequestParams) => Promise<AxiosResponse<BusinessRule, any>>;
3185
+ getBusinessRule: (id: string, params?: RequestParams) => Promise<HttpResponse<BusinessRule, any>>;
3003
3186
  /**
3004
3187
  * No description
3005
3188
  *
@@ -3009,7 +3192,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3009
3192
  * @request PUT:/api/business-rules/{id}
3010
3193
  * @secure
3011
3194
  */
3012
- replaceBusinessRule: (id: string, data: BusinessRuleRequest, params?: RequestParams) => Promise<AxiosResponse<BusinessRule, any>>;
3195
+ replaceBusinessRule: (id: string, data: BusinessRuleRequest, params?: RequestParams) => Promise<HttpResponse<BusinessRule, UnprocessableEntityResponse>>;
3013
3196
  /**
3014
3197
  * No description
3015
3198
  *
@@ -3019,7 +3202,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3019
3202
  * @request DELETE:/api/business-rules/{id}
3020
3203
  * @secure
3021
3204
  */
3022
- deleteBusinessRule: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
3205
+ deleteBusinessRule: (id: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
3023
3206
  /**
3024
3207
  * No description
3025
3208
  *
@@ -3029,7 +3212,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3029
3212
  * @request POST:/api/business-rules/{id}/restore
3030
3213
  * @secure
3031
3214
  */
3032
- restoreBusinessRule: (id: string, params?: RequestParams) => Promise<AxiosResponse<BusinessRule, any>>;
3215
+ restoreBusinessRule: (id: string, params?: RequestParams) => Promise<HttpResponse<BusinessRule, any>>;
3033
3216
  /**
3034
3217
  * No description
3035
3218
  *
@@ -3047,7 +3230,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3047
3230
  pageNumber?: number;
3048
3231
  sortBy?: string;
3049
3232
  sortDirection?: string;
3050
- }, params?: RequestParams) => Promise<AxiosResponse<CorporateResponsePaginatedResponse, any>>;
3233
+ }, params?: RequestParams) => Promise<HttpResponse<CorporateResponsePaginatedResponse, any>>;
3051
3234
  /**
3052
3235
  * No description
3053
3236
  *
@@ -3057,7 +3240,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3057
3240
  * @request POST:/api/corporates
3058
3241
  * @secure
3059
3242
  */
3060
- createCorporate: (data: CorporateRequest, params?: RequestParams) => Promise<AxiosResponse<CorporateResponse, any>>;
3243
+ createCorporate: (data: CorporateRequest, params?: RequestParams) => Promise<HttpResponse<CorporateResponse, UnprocessableEntityResponse>>;
3061
3244
  /**
3062
3245
  * No description
3063
3246
  *
@@ -3074,7 +3257,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3074
3257
  pageNumber?: number;
3075
3258
  sortBy?: string;
3076
3259
  sortDirection?: string;
3077
- }, params?: RequestParams) => Promise<AxiosResponse<CorporateResponsePaginatedResponse, any>>;
3260
+ }, params?: RequestParams) => Promise<HttpResponse<CorporateResponsePaginatedResponse, any>>;
3078
3261
  /**
3079
3262
  * No description
3080
3263
  *
@@ -3084,7 +3267,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3084
3267
  * @request GET:/api/corporates/{id}
3085
3268
  * @secure
3086
3269
  */
3087
- getCorporate: (id: string, params?: RequestParams) => Promise<AxiosResponse<CorporateResponse, any>>;
3270
+ getCorporate: (id: string, params?: RequestParams) => Promise<HttpResponse<CorporateResponse, any>>;
3088
3271
  /**
3089
3272
  * No description
3090
3273
  *
@@ -3094,7 +3277,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3094
3277
  * @request PUT:/api/corporates/{id}
3095
3278
  * @secure
3096
3279
  */
3097
- replaceCorporate: (id: string, data: CorporateRequest, params?: RequestParams) => Promise<AxiosResponse<CorporateResponse, any>>;
3280
+ replaceCorporate: (id: string, data: CorporateRequest, params?: RequestParams) => Promise<HttpResponse<CorporateResponse, UnprocessableEntityResponse>>;
3098
3281
  /**
3099
3282
  * No description
3100
3283
  *
@@ -3104,7 +3287,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3104
3287
  * @request DELETE:/api/corporates/{id}
3105
3288
  * @secure
3106
3289
  */
3107
- deleteCorporate: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
3290
+ deleteCorporate: (id: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
3108
3291
  /**
3109
3292
  * No description
3110
3293
  *
@@ -3114,7 +3297,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3114
3297
  * @request POST:/api/corporates/{id}/restore
3115
3298
  * @secure
3116
3299
  */
3117
- restoreCorporate: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
3300
+ restoreCorporate: (id: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
3118
3301
  /**
3119
3302
  * No description
3120
3303
  *
@@ -3124,7 +3307,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3124
3307
  * @request POST:/api/corporates/{corporateId}/site-configurations
3125
3308
  * @secure
3126
3309
  */
3127
- createCorporateSiteConfiguration: (corporateId: string, data: SiteConfigurationRequest, params?: RequestParams) => Promise<AxiosResponse<SiteConfiguration, any>>;
3310
+ createCorporateSiteConfiguration: (corporateId: string, data: SiteConfigurationRequest, params?: RequestParams) => Promise<HttpResponse<SiteConfiguration, UnprocessableEntityResponse>>;
3128
3311
  /**
3129
3312
  * No description
3130
3313
  *
@@ -3134,7 +3317,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3134
3317
  * @request GET:/api/corporates/{corporateId}/site-configurations/{siteConfigurationId}
3135
3318
  * @secure
3136
3319
  */
3137
- getCorporateSiteConfiguration: (corporateId: string, siteConfigurationId: string, params?: RequestParams) => Promise<AxiosResponse<SiteConfigurationWithInheritedResponse, any>>;
3320
+ getCorporateSiteConfiguration: (corporateId: string, siteConfigurationId: string, params?: RequestParams) => Promise<HttpResponse<SiteConfigurationWithInheritedResponse, any>>;
3138
3321
  /**
3139
3322
  * No description
3140
3323
  *
@@ -3146,7 +3329,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3146
3329
  */
3147
3330
  replaceCorporateSiteConfiguration: (corporateId: string, siteConfigurationId: string, data: SiteConfigurationRequest, query?: {
3148
3331
  applyToChildren?: boolean;
3149
- }, params?: RequestParams) => Promise<AxiosResponse<SiteConfiguration, any>>;
3332
+ }, params?: RequestParams) => Promise<HttpResponse<SiteConfiguration, UnprocessableEntityResponse>>;
3150
3333
  /**
3151
3334
  * No description
3152
3335
  *
@@ -3156,7 +3339,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3156
3339
  * @request GET:/api/corporates/{id}/branches
3157
3340
  * @secure
3158
3341
  */
3159
- getBranchesByCorporate: (id: string, params?: RequestParams) => Promise<AxiosResponse<BranchReduced[], any>>;
3342
+ getBranchesByCorporate: (id: string, params?: RequestParams) => Promise<HttpResponse<BranchReduced[], any>>;
3160
3343
  /**
3161
3344
  * No description
3162
3345
  *
@@ -3166,7 +3349,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3166
3349
  * @request GET:/api/corporates/{id}/loan-officers
3167
3350
  * @secure
3168
3351
  */
3169
- getLoanOfficersByCorporate: (id: string, params?: RequestParams) => Promise<AxiosResponse<PublicLoanOfficer, any>>;
3352
+ getLoanOfficersByCorporate: (id: string, params?: RequestParams) => Promise<HttpResponse<PublicLoanOfficer, any>>;
3170
3353
  /**
3171
3354
  * No description
3172
3355
  *
@@ -3185,7 +3368,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3185
3368
  pageNumber?: number;
3186
3369
  sortBy?: string;
3187
3370
  sortDirection?: string;
3188
- }, params?: RequestParams) => Promise<AxiosResponse<DeviceResponsePaginatedResponse, any>>;
3371
+ }, params?: RequestParams) => Promise<HttpResponse<DeviceResponsePaginatedResponse, any>>;
3189
3372
  /**
3190
3373
  * No description
3191
3374
  *
@@ -3195,7 +3378,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3195
3378
  * @request GET:/api/devices/{id}
3196
3379
  * @secure
3197
3380
  */
3198
- getDevice: (id: string, params?: RequestParams) => Promise<AxiosResponse<DeviceResponse, any>>;
3381
+ getDevice: (id: string, params?: RequestParams) => Promise<HttpResponse<DeviceResponse, any>>;
3199
3382
  /**
3200
3383
  * No description
3201
3384
  *
@@ -3205,7 +3388,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3205
3388
  * @request PUT:/api/devices/{id}
3206
3389
  * @secure
3207
3390
  */
3208
- updateDevice: (id: string, data: DeviceRequest, params?: RequestParams) => Promise<AxiosResponse<DeviceResponse, any>>;
3391
+ updateDevice: (id: string, data: DeviceRequest, params?: RequestParams) => Promise<HttpResponse<DeviceResponse, any>>;
3209
3392
  /**
3210
3393
  * No description
3211
3394
  *
@@ -3215,7 +3398,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3215
3398
  * @request GET:/api/devices/{sn}/profile
3216
3399
  * @secure
3217
3400
  */
3218
- getDeviceBySerialNumber: (sn: string, params?: RequestParams) => Promise<AxiosResponse<DeviceMDMResponse, any>>;
3401
+ getDeviceBySerialNumber: (sn: string, params?: RequestParams) => Promise<HttpResponse<DeviceMDMResponse, any>>;
3219
3402
  /**
3220
3403
  * No description
3221
3404
  *
@@ -3225,7 +3408,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3225
3408
  * @request POST:/api/devices/{sn}/actions/{actionName}
3226
3409
  * @secure
3227
3410
  */
3228
- createDeviceActionBySerialNumber: (sn: string, actionName: string, params?: RequestParams) => Promise<AxiosResponse<ActionResponse, any>>;
3411
+ createDeviceActionBySerialNumber: (sn: string, actionName: string, params?: RequestParams) => Promise<HttpResponse<ActionResponse, any>>;
3229
3412
  /**
3230
3413
  * No description
3231
3414
  *
@@ -3238,7 +3421,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3238
3421
  getDocumentBuckets: (query?: {
3239
3422
  /** @default false */
3240
3423
  includeSystemBuckets?: boolean;
3241
- }, params?: RequestParams) => Promise<AxiosResponse<string[], any>>;
3424
+ }, params?: RequestParams) => Promise<HttpResponse<string[], any>>;
3242
3425
  /**
3243
3426
  * No description
3244
3427
  *
@@ -3250,7 +3433,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3250
3433
  */
3251
3434
  getDocumentTemplates: (query?: {
3252
3435
  showAll?: boolean;
3253
- }, params?: RequestParams) => Promise<AxiosResponse<DocumentTemplateBaseResponse[], any>>;
3436
+ }, params?: RequestParams) => Promise<HttpResponse<DocumentTemplateBaseResponse[], any>>;
3254
3437
  /**
3255
3438
  * No description
3256
3439
  *
@@ -3260,7 +3443,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3260
3443
  * @request POST:/api/document-templates
3261
3444
  * @secure
3262
3445
  */
3263
- createDocumentTemplate: (data: CreateDocumentTemplateRequest, params?: RequestParams) => Promise<AxiosResponse<DocumentTemplateBaseResponse, any>>;
3446
+ createDocumentTemplate: (data: CreateDocumentTemplateRequest, params?: RequestParams) => Promise<HttpResponse<DocumentTemplateBaseResponse, ProblemDetails | UnprocessableEntityResponse>>;
3264
3447
  /**
3265
3448
  * No description
3266
3449
  *
@@ -3275,7 +3458,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3275
3458
  showAll?: boolean;
3276
3459
  /** @default true */
3277
3460
  publishedOnly?: boolean;
3278
- }, params?: RequestParams) => Promise<AxiosResponse<DocumentTemplateBaseResponse[], any>>;
3461
+ }, params?: RequestParams) => Promise<HttpResponse<DocumentTemplateBaseResponse[], any>>;
3279
3462
  /**
3280
3463
  * No description
3281
3464
  *
@@ -3285,7 +3468,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3285
3468
  * @request GET:/api/document-templates/{id}
3286
3469
  * @secure
3287
3470
  */
3288
- getDocumentTemplate: (id: string, params?: RequestParams) => Promise<AxiosResponse<DocumentTemplateResponse, any>>;
3471
+ getDocumentTemplate: (id: string, params?: RequestParams) => Promise<HttpResponse<DocumentTemplateResponse, ProblemDetails>>;
3289
3472
  /**
3290
3473
  * No description
3291
3474
  *
@@ -3295,7 +3478,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3295
3478
  * @request PUT:/api/document-templates/{id}
3296
3479
  * @secure
3297
3480
  */
3298
- replaceDocumentTemplate: (id: string, data: UpdateDocumentTemplateRequest, params?: RequestParams) => Promise<AxiosResponse<DocumentTemplateBaseResponse, any>>;
3481
+ replaceDocumentTemplate: (id: string, data: UpdateDocumentTemplateRequest, params?: RequestParams) => Promise<HttpResponse<DocumentTemplateBaseResponse, ProblemDetails | UnprocessableEntityResponse>>;
3299
3482
  /**
3300
3483
  * No description
3301
3484
  *
@@ -3305,7 +3488,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3305
3488
  * @request DELETE:/api/document-templates/{id}
3306
3489
  * @secure
3307
3490
  */
3308
- deleteDocumentTemplate: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
3491
+ deleteDocumentTemplate: (id: string, params?: RequestParams) => Promise<HttpResponse<void, ProblemDetails>>;
3309
3492
  /**
3310
3493
  * No description
3311
3494
  *
@@ -3315,7 +3498,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3315
3498
  * @request POST:/api/document-templates/{id}/restore
3316
3499
  * @secure
3317
3500
  */
3318
- restoreDocumentTemplate: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
3501
+ restoreDocumentTemplate: (id: string, params?: RequestParams) => Promise<HttpResponse<void, ProblemDetails>>;
3319
3502
  /**
3320
3503
  * No description
3321
3504
  *
@@ -3325,7 +3508,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3325
3508
  * @request GET:/api/document-templates/{documentId}/versions
3326
3509
  * @secure
3327
3510
  */
3328
- getDocumentTemplateVersions: (documentId: string, params?: RequestParams) => Promise<AxiosResponse<DocumentTemplateVersionResponse[], any>>;
3511
+ getDocumentTemplateVersions: (documentId: string, params?: RequestParams) => Promise<HttpResponse<DocumentTemplateVersionResponse[], any>>;
3329
3512
  /**
3330
3513
  * No description
3331
3514
  *
@@ -3335,7 +3518,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3335
3518
  * @request POST:/api/document-templates/{documentId}/versions
3336
3519
  * @secure
3337
3520
  */
3338
- createDocumentTemplateVersion: (documentId: string, data: DocumentTemplateVersionRequest, params?: RequestParams) => Promise<AxiosResponse<DocumentTemplateVersionResponse, any>>;
3521
+ createDocumentTemplateVersion: (documentId: string, data: DocumentTemplateVersionRequest, params?: RequestParams) => Promise<HttpResponse<DocumentTemplateVersionResponse, any>>;
3339
3522
  /**
3340
3523
  * No description
3341
3524
  *
@@ -3345,7 +3528,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3345
3528
  * @request GET:/api/document-templates/{documentId}/versions/{id}
3346
3529
  * @secure
3347
3530
  */
3348
- getDocumentTemplateVersion: (documentId: string, id: string, params?: RequestParams) => Promise<AxiosResponse<DocumentTemplateVersionResponse, any>>;
3531
+ getDocumentTemplateVersion: (documentId: string, id: string, params?: RequestParams) => Promise<HttpResponse<DocumentTemplateVersionResponse, any>>;
3349
3532
  /**
3350
3533
  * No description
3351
3534
  *
@@ -3355,7 +3538,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3355
3538
  * @request PUT:/api/document-templates/{documentId}/versions/{id}
3356
3539
  * @secure
3357
3540
  */
3358
- replaceDocumentTemplateVersion: (documentId: string, id: string, data: DocumentTemplateVersionUpdateRequest, params?: RequestParams) => Promise<AxiosResponse<DocumentTemplateVersionResponse, any>>;
3541
+ replaceDocumentTemplateVersion: (documentId: string, id: string, data: DocumentTemplateVersionUpdateRequest, params?: RequestParams) => Promise<HttpResponse<DocumentTemplateVersionResponse, any>>;
3359
3542
  /**
3360
3543
  * No description
3361
3544
  *
@@ -3365,7 +3548,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3365
3548
  * @request DELETE:/api/document-templates/{documentId}/versions/{id}
3366
3549
  * @secure
3367
3550
  */
3368
- deleteDocumentTemplateVersion: (documentId: string, id: string, params?: RequestParams) => Promise<AxiosResponse<DocumentTemplateVersionResponse, any>>;
3551
+ deleteDocumentTemplateVersion: (documentId: string, id: string, params?: RequestParams) => Promise<HttpResponse<DocumentTemplateVersionResponse, any>>;
3369
3552
  /**
3370
3553
  * No description
3371
3554
  *
@@ -3384,7 +3567,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3384
3567
  sortDirection?: string;
3385
3568
  /** @default false */
3386
3569
  includeDeleted?: boolean;
3387
- }, params?: RequestParams) => Promise<AxiosResponse<FilePaginatedResponse, any>>;
3570
+ }, params?: RequestParams) => Promise<HttpResponse<FilePaginatedResponse, any>>;
3388
3571
  /**
3389
3572
  * No description
3390
3573
  *
@@ -3400,7 +3583,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3400
3583
  file?: File;
3401
3584
  isPublic?: boolean;
3402
3585
  bucket?: string;
3403
- }, params?: RequestParams) => Promise<AxiosResponse<File, any>>;
3586
+ }, params?: RequestParams) => Promise<HttpResponse<File, UnprocessableEntityResponse>>;
3404
3587
  /**
3405
3588
  * No description
3406
3589
  *
@@ -3410,7 +3593,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3410
3593
  * @request GET:/api/files/{id}
3411
3594
  * @secure
3412
3595
  */
3413
- getFileById: (id: string, params?: RequestParams) => Promise<AxiosResponse<File, any>>;
3596
+ getFileById: (id: string, params?: RequestParams) => Promise<HttpResponse<File, any>>;
3414
3597
  /**
3415
3598
  * No description
3416
3599
  *
@@ -3420,7 +3603,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3420
3603
  * @request PUT:/api/files/{id}
3421
3604
  * @secure
3422
3605
  */
3423
- replaceFile: (id: string, data: FileRequest, params?: RequestParams) => Promise<AxiosResponse<string, any>>;
3606
+ replaceFile: (id: string, data: FileRequest, params?: RequestParams) => Promise<HttpResponse<string, UnprocessableEntityResponse>>;
3424
3607
  /**
3425
3608
  * No description
3426
3609
  *
@@ -3430,7 +3613,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3430
3613
  * @request DELETE:/api/files/{id}
3431
3614
  * @secure
3432
3615
  */
3433
- deleteFile: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
3616
+ deleteFile: (id: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
3434
3617
  /**
3435
3618
  * No description
3436
3619
  *
@@ -3447,7 +3630,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3447
3630
  pageNumber?: number;
3448
3631
  sortBy?: string;
3449
3632
  sortDirection?: string;
3450
- }, params?: RequestParams) => Promise<AxiosResponse<FilePaginatedResponse, any>>;
3633
+ }, params?: RequestParams) => Promise<HttpResponse<FilePaginatedResponse, any>>;
3451
3634
  /**
3452
3635
  * No description
3453
3636
  *
@@ -3459,7 +3642,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3459
3642
  */
3460
3643
  getForms: (query?: {
3461
3644
  showAll?: boolean;
3462
- }, params?: RequestParams) => Promise<AxiosResponse<AdminAccessGetForms[], any>>;
3645
+ }, params?: RequestParams) => Promise<HttpResponse<AdminAccessGetForms[], any>>;
3463
3646
  /**
3464
3647
  * No description
3465
3648
  *
@@ -3469,7 +3652,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3469
3652
  * @request POST:/api/forms
3470
3653
  * @secure
3471
3654
  */
3472
- createForm: (data: FormRequest, params?: RequestParams) => Promise<AxiosResponse<AdminAccessGetForms, any>>;
3655
+ createForm: (data: FormRequest, params?: RequestParams) => Promise<HttpResponse<AdminAccessGetForms, UnprocessableEntityResponse>>;
3473
3656
  /**
3474
3657
  * No description
3475
3658
  *
@@ -3479,7 +3662,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3479
3662
  * @request GET:/api/forms/{id}
3480
3663
  * @secure
3481
3664
  */
3482
- getForm: (id: string, params?: RequestParams) => Promise<AxiosResponse<AdminAccessGetForms, any>>;
3665
+ getForm: (id: string, params?: RequestParams) => Promise<HttpResponse<AdminAccessGetForms, any>>;
3483
3666
  /**
3484
3667
  * No description
3485
3668
  *
@@ -3489,7 +3672,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3489
3672
  * @request PUT:/api/forms/{id}
3490
3673
  * @secure
3491
3674
  */
3492
- replaceForm: (id: string, data: FormRequest, params?: RequestParams) => Promise<AxiosResponse<AdminAccessGetForms, any>>;
3675
+ replaceForm: (id: string, data: FormRequest, params?: RequestParams) => Promise<HttpResponse<AdminAccessGetForms, UnprocessableEntityResponse>>;
3493
3676
  /**
3494
3677
  * No description
3495
3678
  *
@@ -3499,7 +3682,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3499
3682
  * @request DELETE:/api/forms/{id}
3500
3683
  * @secure
3501
3684
  */
3502
- deleteForm: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
3685
+ deleteForm: (id: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
3503
3686
  /**
3504
3687
  * No description
3505
3688
  *
@@ -3509,7 +3692,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3509
3692
  * @request POST:/api/forms/{id}/restore
3510
3693
  * @secure
3511
3694
  */
3512
- restoreForm: (id: string, params?: RequestParams) => Promise<AxiosResponse<AdminAccessGetForms, any>>;
3695
+ restoreForm: (id: string, params?: RequestParams) => Promise<HttpResponse<AdminAccessGetForms, any>>;
3513
3696
  /**
3514
3697
  * No description
3515
3698
  *
@@ -3519,7 +3702,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3519
3702
  * @request POST:/api/forms/{formId}/site-configurations/{siteConfigurationId}
3520
3703
  * @secure
3521
3704
  */
3522
- addFormToSiteConfiguration: (formId: string, siteConfigurationId: string, data: AddFormToSiteConfigurationRequest, params?: RequestParams) => Promise<AxiosResponse<SiteConfigurationForm, any>>;
3705
+ addFormToSiteConfiguration: (formId: string, siteConfigurationId: string, data: AddFormToSiteConfigurationRequest, params?: RequestParams) => Promise<HttpResponse<SiteConfigurationForm, UnprocessableEntityResponse>>;
3523
3706
  /**
3524
3707
  * No description
3525
3708
  *
@@ -3529,7 +3712,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3529
3712
  * @request DELETE:/api/forms/{formId}/site-configurations/{siteConfigurationId}
3530
3713
  * @secure
3531
3714
  */
3532
- removeFormFromSiteConfiguration: (formId: string, siteConfigurationId: string, params?: RequestParams) => Promise<AxiosResponse<AdminAccessGetForms, any>>;
3715
+ removeFormFromSiteConfiguration: (formId: string, siteConfigurationId: string, params?: RequestParams) => Promise<HttpResponse<AdminAccessGetForms, any>>;
3533
3716
  /**
3534
3717
  * No description
3535
3718
  *
@@ -3539,7 +3722,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3539
3722
  * @request GET:/api/forms/{formId}/site-configurations
3540
3723
  * @secure
3541
3724
  */
3542
- getSiteConfigurationsByForm: (formId: string, params?: RequestParams) => Promise<AxiosResponse<SiteConfigurationReduced[], any>>;
3725
+ getSiteConfigurationsByForm: (formId: string, params?: RequestParams) => Promise<HttpResponse<SiteConfigurationReduced[], UnprocessableEntityResponse>>;
3543
3726
  /**
3544
3727
  * No description
3545
3728
  *
@@ -3553,7 +3736,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3553
3736
  /** @format binary */
3554
3737
  file?: File;
3555
3738
  name?: string;
3556
- }, params?: RequestParams) => Promise<AxiosResponse<FormSubmissionFileResponse, any>>;
3739
+ }, params?: RequestParams) => Promise<HttpResponse<FormSubmissionFileResponse, any>>;
3557
3740
  /**
3558
3741
  * No description
3559
3742
  *
@@ -3563,7 +3746,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3563
3746
  * @request DELETE:/api/form-submissions/{formSubmissionId}/files/{formSubmissionFileId}
3564
3747
  * @secure
3565
3748
  */
3566
- deleteFormSubmissionFile: (formSubmissionFileId: string, formSubmissionId: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
3749
+ deleteFormSubmissionFile: (formSubmissionFileId: string, formSubmissionId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
3567
3750
  /**
3568
3751
  * No description
3569
3752
  *
@@ -3580,7 +3763,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3580
3763
  pageNumber?: number;
3581
3764
  sortBy?: string;
3582
3765
  sortDirection?: string;
3583
- }, params?: RequestParams) => Promise<AxiosResponse<FormSubmissionPaginatedResponse, any>>;
3766
+ }, params?: RequestParams) => Promise<HttpResponse<FormSubmissionPaginatedResponse, any>>;
3584
3767
  /**
3585
3768
  * No description
3586
3769
  *
@@ -3592,7 +3775,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3592
3775
  */
3593
3776
  createFormSubmission: (data: FormSubmissionRequest, query?: {
3594
3777
  formID?: string;
3595
- }, params?: RequestParams) => Promise<AxiosResponse<FormSubmission, any>>;
3778
+ }, params?: RequestParams) => Promise<HttpResponse<FormSubmission, any>>;
3596
3779
  /**
3597
3780
  * No description
3598
3781
  *
@@ -3602,7 +3785,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3602
3785
  * @request GET:/api/form-submissions/{id}
3603
3786
  * @secure
3604
3787
  */
3605
- getFormSubmission: (id: string, params?: RequestParams) => Promise<AxiosResponse<FormSubmission, any>>;
3788
+ getFormSubmission: (id: string, params?: RequestParams) => Promise<HttpResponse<FormSubmission, any>>;
3606
3789
  /**
3607
3790
  * No description
3608
3791
  *
@@ -3612,7 +3795,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3612
3795
  * @request PUT:/api/form-submissions/{id}
3613
3796
  * @secure
3614
3797
  */
3615
- replaceFormSubmission: (id: string, data: FormSubmissionRequest, params?: RequestParams) => Promise<AxiosResponse<FormSubmission, any>>;
3798
+ replaceFormSubmission: (id: string, data: FormSubmissionRequest, params?: RequestParams) => Promise<HttpResponse<FormSubmission, any>>;
3616
3799
  /**
3617
3800
  * No description
3618
3801
  *
@@ -3622,7 +3805,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3622
3805
  * @request DELETE:/api/form-submissions/{id}
3623
3806
  * @secure
3624
3807
  */
3625
- deleteFormSubmission: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
3808
+ deleteFormSubmission: (id: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
3626
3809
  /**
3627
3810
  * No description
3628
3811
  *
@@ -3639,7 +3822,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3639
3822
  pageNumber?: number;
3640
3823
  sortBy?: string;
3641
3824
  sortDirection?: string;
3642
- }, params?: RequestParams) => Promise<AxiosResponse<FormSubmissionPaginatedResponse, any>>;
3825
+ }, params?: RequestParams) => Promise<HttpResponse<FormSubmissionPaginatedResponse, any>>;
3643
3826
  /**
3644
3827
  * No description
3645
3828
  *
@@ -3649,7 +3832,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3649
3832
  * @request GET:/api/forms/{formId}/versions
3650
3833
  * @secure
3651
3834
  */
3652
- getFormVersions: (formId: string, params?: RequestParams) => Promise<AxiosResponse<FormVersion[], any>>;
3835
+ getFormVersions: (formId: string, params?: RequestParams) => Promise<HttpResponse<FormVersion[], any>>;
3653
3836
  /**
3654
3837
  * No description
3655
3838
  *
@@ -3659,7 +3842,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3659
3842
  * @request POST:/api/forms/{formId}/versions
3660
3843
  * @secure
3661
3844
  */
3662
- createFormVersion: (formId: string, data: FormVersionRequest, params?: RequestParams) => Promise<AxiosResponse<FormVersion, any>>;
3845
+ createFormVersion: (formId: string, data: FormVersionRequest, params?: RequestParams) => Promise<HttpResponse<FormVersion, any>>;
3663
3846
  /**
3664
3847
  * No description
3665
3848
  *
@@ -3669,7 +3852,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3669
3852
  * @request GET:/api/forms/{formId}/versions/{id}
3670
3853
  * @secure
3671
3854
  */
3672
- getFormVersion: (formId: string, id: string, params?: RequestParams) => Promise<AxiosResponse<FormVersion, any>>;
3855
+ getFormVersion: (formId: string, id: string, params?: RequestParams) => Promise<HttpResponse<FormVersion, any>>;
3673
3856
  /**
3674
3857
  * No description
3675
3858
  *
@@ -3679,7 +3862,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3679
3862
  * @request PUT:/api/forms/{formId}/versions/{id}
3680
3863
  * @secure
3681
3864
  */
3682
- replaceFormVersion: (formId: string, id: string, data: FormVersionUpdateRequest, params?: RequestParams) => Promise<AxiosResponse<FormVersion, any>>;
3865
+ replaceFormVersion: (formId: string, id: string, data: FormVersionUpdateRequest, params?: RequestParams) => Promise<HttpResponse<FormVersion, any>>;
3683
3866
  /**
3684
3867
  * No description
3685
3868
  *
@@ -3689,7 +3872,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3689
3872
  * @request DELETE:/api/forms/{formId}/versions/{id}
3690
3873
  * @secure
3691
3874
  */
3692
- deleteFormVersion: (formId: string, id: string, params?: RequestParams) => Promise<AxiosResponse<FormVersion, any>>;
3875
+ deleteFormVersion: (formId: string, id: string, params?: RequestParams) => Promise<HttpResponse<FormVersion, any>>;
3693
3876
  /**
3694
3877
  * No description
3695
3878
  *
@@ -3699,7 +3882,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3699
3882
  * @request GET:/api/los/loan/application/{loanID}
3700
3883
  * @secure
3701
3884
  */
3702
- getLoanData: (loanId: string, params?: RequestParams) => Promise<AxiosResponse<Record<string, any>, any>>;
3885
+ getLoanData: (loanId: string, params?: RequestParams) => Promise<HttpResponse<Record<string, any>, any>>;
3703
3886
  /**
3704
3887
  * No description
3705
3888
  *
@@ -3709,7 +3892,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3709
3892
  * @request PATCH:/api/los/loan/application/{loanID}
3710
3893
  * @secure
3711
3894
  */
3712
- updateLoan: (loanId: string, data: JsonPatchDocument, params?: RequestParams) => Promise<AxiosResponse<string, any>>;
3895
+ updateLoan: (loanId: string, data: JsonPatchDocument, params?: RequestParams) => Promise<HttpResponse<string, UnprocessableEntityResponse>>;
3713
3896
  /**
3714
3897
  * No description
3715
3898
  *
@@ -3719,7 +3902,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3719
3902
  * @request POST:/api/los/loan/reports
3720
3903
  * @secure
3721
3904
  */
3722
- getLoansReport: (data: GetReportRequest, params?: RequestParams) => Promise<AxiosResponse<GetReportResponse, any>>;
3905
+ getLoansReport: (data: GetReportRequest, params?: RequestParams) => Promise<HttpResponse<GetReportResponse, any>>;
3723
3906
  /**
3724
3907
  * No description
3725
3908
  *
@@ -3729,17 +3912,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3729
3912
  * @request POST:/api/los/loan/application
3730
3913
  * @secure
3731
3914
  */
3732
- createLoan: (data: any, params?: RequestParams) => Promise<AxiosResponse<string, any>>;
3733
- /**
3734
- * No description
3735
- *
3736
- * @tags LegacyLoan
3737
- * @name UploadDocuments
3738
- * @summary Upload Documents
3739
- * @request POST:/api/los/loan/tasks/documents
3740
- * @secure
3741
- */
3742
- uploadDocuments: (data: PostTaskDocumentsRequest, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
3915
+ createLoan: (data: any, params?: RequestParams) => Promise<HttpResponse<string, UnprocessableEntityResponse>>;
3743
3916
  /**
3744
3917
  * No description
3745
3918
  *
@@ -3752,7 +3925,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3752
3925
  getTaskDocumentsByLoan: (loanId: string, query?: {
3753
3926
  /** @default true */
3754
3927
  includeBase64?: boolean;
3755
- }, params?: RequestParams) => Promise<AxiosResponse<DocumentData[], any>>;
3928
+ }, params?: RequestParams) => Promise<HttpResponse<DocumentData[], any>>;
3756
3929
  /**
3757
3930
  * No description
3758
3931
  *
@@ -3765,7 +3938,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3765
3938
  getLoanDocumentContent: (loanId: string, documentId: string, query?: {
3766
3939
  /** @default "base64" */
3767
3940
  contentType?: string;
3768
- }, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
3941
+ }, params?: RequestParams) => Promise<HttpResponse<void, any>>;
3769
3942
  /**
3770
3943
  * No description
3771
3944
  *
@@ -3775,7 +3948,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3775
3948
  * @request GET:/api/los/loan/recipients/{loanID}
3776
3949
  * @secure
3777
3950
  */
3778
- getLoanRecipients: (loanId: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
3951
+ getLoanRecipients: (loanId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
3779
3952
  /**
3780
3953
  * No description
3781
3954
  *
@@ -3785,7 +3958,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3785
3958
  * @request GET:/api/los/loan/contacts/{loanID}
3786
3959
  * @secure
3787
3960
  */
3788
- getLoanContactInformation: (loanId: string, params?: RequestParams) => Promise<AxiosResponse<Record<string, ContactRowData>, any>>;
3961
+ getLoanContactInformation: (loanId: string, params?: RequestParams) => Promise<HttpResponse<Record<string, ContactRowData>, any>>;
3789
3962
  /**
3790
3963
  * No description
3791
3964
  *
@@ -3795,7 +3968,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3795
3968
  * @request GET:/api/los/loan/{loanID}/conditions/preliminary
3796
3969
  * @secure
3797
3970
  */
3798
- getPreliminaryConditionsForLoan: (loanId: string, params?: RequestParams) => Promise<AxiosResponse<PreliminaryConditionResponse[], any>>;
3971
+ getPreliminaryConditionsForLoan: (loanId: string, params?: RequestParams) => Promise<HttpResponse<PreliminaryConditionResponse[], any>>;
3799
3972
  /**
3800
3973
  * No description
3801
3974
  *
@@ -3805,7 +3978,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3805
3978
  * @request GET:/api/los/loan/{loanID}/conditions/underwriting
3806
3979
  * @secure
3807
3980
  */
3808
- getUnderwritingConditionsForLoan: (loanId: string, params?: RequestParams) => Promise<AxiosResponse<UnderwritingConditionResponse[], any>>;
3981
+ getUnderwritingConditionsForLoan: (loanId: string, params?: RequestParams) => Promise<HttpResponse<UnderwritingConditionResponse[], any>>;
3809
3982
  /**
3810
3983
  * No description
3811
3984
  *
@@ -3815,7 +3988,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3815
3988
  * @request POST:/api/los/loan/embeddedsigning/{envelopeId}/{userName}/{email}
3816
3989
  * @secure
3817
3990
  */
3818
- getLoanEmbeddedSigningLink: (envelopeId: string, userName: string, email: string, params?: RequestParams) => Promise<AxiosResponse<string, any>>;
3991
+ getLoanEmbeddedSigningLink: (envelopeId: string, userName: string, email: string, params?: RequestParams) => Promise<HttpResponse<string, any>>;
3819
3992
  /**
3820
3993
  * No description
3821
3994
  *
@@ -3826,7 +3999,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3826
3999
  * @deprecated
3827
4000
  * @secure
3828
4001
  */
3829
- createLegacyLoanDocument: (data: GenerateDocumentRequest, params?: RequestParams) => Promise<AxiosResponse<DocumentDataRequest, any>>;
4002
+ createLegacyLoanDocument: (data: GenerateDocumentRequest, params?: RequestParams) => Promise<HttpResponse<DocumentDataRequest, any>>;
3830
4003
  /**
3831
4004
  * No description
3832
4005
  *
@@ -3841,7 +4014,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3841
4014
  file?: File;
3842
4015
  /** @format int32 */
3843
4016
  weight?: number;
3844
- }, params?: RequestParams) => Promise<AxiosResponse<ListingFile, any>>;
4017
+ }, params?: RequestParams) => Promise<HttpResponse<ListingFile, any>>;
3845
4018
  /**
3846
4019
  * No description
3847
4020
  *
@@ -3851,7 +4024,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3851
4024
  * @request PATCH:/api/listings/{listingId}/files
3852
4025
  * @secure
3853
4026
  */
3854
- updateListingFiles: (listingId: string, data: JsonPatchDocument, params?: RequestParams) => Promise<AxiosResponse<ListingFile, any>>;
4027
+ updateListingFiles: (listingId: string, data: JsonPatchDocument, params?: RequestParams) => Promise<HttpResponse<ListingFile, any>>;
3855
4028
  /**
3856
4029
  * No description
3857
4030
  *
@@ -3861,7 +4034,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3861
4034
  * @request DELETE:/api/listings/{listingId}/files/{id}
3862
4035
  * @secure
3863
4036
  */
3864
- removeListingFile: (listingId: string, id: string, params?: RequestParams) => Promise<AxiosResponse<Listing, any>>;
4037
+ removeListingFile: (listingId: string, id: string, params?: RequestParams) => Promise<HttpResponse<Listing, any>>;
3865
4038
  /**
3866
4039
  * No description
3867
4040
  *
@@ -3878,7 +4051,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3878
4051
  file?: File;
3879
4052
  /** @format int32 */
3880
4053
  weight?: number;
3881
- }, params?: RequestParams) => Promise<AxiosResponse<ListingPhoto, any>>;
4054
+ }, params?: RequestParams) => Promise<HttpResponse<ListingPhoto, any>>;
3882
4055
  /**
3883
4056
  * No description
3884
4057
  *
@@ -3888,7 +4061,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3888
4061
  * @request PATCH:/api/listings/{listingId}/photos
3889
4062
  * @secure
3890
4063
  */
3891
- updateListingPhotos: (listingId: string, data: JsonPatchDocument, params?: RequestParams) => Promise<AxiosResponse<ListingPhoto[], any>>;
4064
+ updateListingPhotos: (listingId: string, data: JsonPatchDocument, params?: RequestParams) => Promise<HttpResponse<ListingPhoto[], any>>;
3892
4065
  /**
3893
4066
  * No description
3894
4067
  *
@@ -3898,7 +4071,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3898
4071
  * @request DELETE:/api/listings/{listingId}/photos/{id}
3899
4072
  * @secure
3900
4073
  */
3901
- removeListingPhoto: (listingId: string, id: string, params?: RequestParams) => Promise<AxiosResponse<Listing, any>>;
4074
+ removeListingPhoto: (listingId: string, id: string, params?: RequestParams) => Promise<HttpResponse<Listing, any>>;
3902
4075
  /**
3903
4076
  * No description
3904
4077
  *
@@ -3915,7 +4088,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3915
4088
  pageNumber?: number;
3916
4089
  sortBy?: string;
3917
4090
  sortDirection?: string;
3918
- }, params?: RequestParams) => Promise<AxiosResponse<ListingPaginatedResponse, any>>;
4091
+ }, params?: RequestParams) => Promise<HttpResponse<ListingPaginatedResponse, any>>;
3919
4092
  /**
3920
4093
  * No description
3921
4094
  *
@@ -3925,7 +4098,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3925
4098
  * @request POST:/api/listings
3926
4099
  * @secure
3927
4100
  */
3928
- createListing: (data: ListingRequest, params?: RequestParams) => Promise<AxiosResponse<Listing, any>>;
4101
+ createListing: (data: ListingRequest, params?: RequestParams) => Promise<HttpResponse<Listing, any>>;
3929
4102
  /**
3930
4103
  * No description
3931
4104
  *
@@ -3935,7 +4108,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3935
4108
  * @request GET:/api/listings/slug/{slug}
3936
4109
  * @secure
3937
4110
  */
3938
- getListingBySlug: (slug: string, params?: RequestParams) => Promise<AxiosResponse<Listing, any>>;
4111
+ getListingBySlug: (slug: string, params?: RequestParams) => Promise<HttpResponse<Listing, any>>;
3939
4112
  /**
3940
4113
  * No description
3941
4114
  *
@@ -3945,7 +4118,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3945
4118
  * @request GET:/api/listings/{id}
3946
4119
  * @secure
3947
4120
  */
3948
- getListing: (id: string, params?: RequestParams) => Promise<AxiosResponse<Listing, any>>;
4121
+ getListing: (id: string, params?: RequestParams) => Promise<HttpResponse<Listing, any>>;
3949
4122
  /**
3950
4123
  * No description
3951
4124
  *
@@ -3955,7 +4128,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3955
4128
  * @request PUT:/api/listings/{id}
3956
4129
  * @secure
3957
4130
  */
3958
- replaceListing: (id: string, data: ListingRequest, params?: RequestParams) => Promise<AxiosResponse<Listing, any>>;
4131
+ replaceListing: (id: string, data: ListingRequest, params?: RequestParams) => Promise<HttpResponse<Listing, any>>;
3959
4132
  /**
3960
4133
  * No description
3961
4134
  *
@@ -3965,7 +4138,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3965
4138
  * @request DELETE:/api/listings/{id}
3966
4139
  * @secure
3967
4140
  */
3968
- deleteListing: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
4141
+ deleteListing: (id: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
3969
4142
  /**
3970
4143
  * No description
3971
4144
  *
@@ -3982,7 +4155,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3982
4155
  pageNumber?: number;
3983
4156
  sortBy?: string;
3984
4157
  sortDirection?: string;
3985
- }, params?: RequestParams) => Promise<AxiosResponse<ListingPaginatedResponse, any>>;
4158
+ }, params?: RequestParams) => Promise<HttpResponse<ListingPaginatedResponse, any>>;
3986
4159
  /**
3987
4160
  * No description
3988
4161
  *
@@ -3995,7 +4168,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3995
4168
  updateListingBackgroundImage: (id: string, data: {
3996
4169
  /** @format binary */
3997
4170
  file?: File;
3998
- }, params?: RequestParams) => Promise<AxiosResponse<File, any>>;
4171
+ }, params?: RequestParams) => Promise<HttpResponse<File, any>>;
3999
4172
  /**
4000
4173
  * No description
4001
4174
  *
@@ -4005,7 +4178,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4005
4178
  * @request GET:/api/listings/{id}/open-house-flyer
4006
4179
  * @secure
4007
4180
  */
4008
- getListingOpenHouseFlyer: (id: string, params?: RequestParams) => Promise<AxiosResponse<File, any>>;
4181
+ getListingOpenHouseFlyer: (id: string, params?: RequestParams) => Promise<HttpResponse<File, any>>;
4009
4182
  /**
4010
4183
  * No description
4011
4184
  *
@@ -4015,7 +4188,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4015
4188
  * @request GET:/api/loans/{loanID}/calculators/loan-calculator
4016
4189
  * @secure
4017
4190
  */
4018
- getLoanCalculator: (loanId: string, params?: RequestParams) => Promise<AxiosResponse<RunLOCalculationResponse, any>>;
4191
+ getLoanCalculator: (loanId: string, params?: RequestParams) => Promise<HttpResponse<RunLOCalculationResponse, any>>;
4019
4192
  /**
4020
4193
  * No description
4021
4194
  *
@@ -4025,7 +4198,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4025
4198
  * @request POST:/api/loans/{loanID}/calculators/loan-calculator
4026
4199
  * @secure
4027
4200
  */
4028
- runLoanCalculator: (loanId: string, data: RunLOCalculationRequest, params?: RequestParams) => Promise<AxiosResponse<RunLOCalculationResponse, any>>;
4201
+ runLoanCalculator: (loanId: string, data: RunLOCalculationRequest, params?: RequestParams) => Promise<HttpResponse<RunLOCalculationResponse, UnprocessableEntityResponse>>;
4029
4202
  /**
4030
4203
  * No description
4031
4204
  *
@@ -4035,7 +4208,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4035
4208
  * @request GET:/api/loans/{loanID}/loan-comparison
4036
4209
  * @secure
4037
4210
  */
4038
- getLoanComparisons: (loanId: string, params?: RequestParams) => Promise<AxiosResponse<LoanComparisonResponse, any>>;
4211
+ getLoanComparisons: (loanId: string, params?: RequestParams) => Promise<HttpResponse<LoanComparisonResponse, any>>;
4039
4212
  /**
4040
4213
  * No description
4041
4214
  *
@@ -4045,7 +4218,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4045
4218
  * @request POST:/api/loans/{loanID}/loan-comparison/{index}
4046
4219
  * @secure
4047
4220
  */
4048
- createLoanComparison: (loanId: string, index: number, data: LoanComparisonScenario, params?: RequestParams) => Promise<AxiosResponse<LoanComparisonScenario, any>>;
4221
+ createLoanComparison: (loanId: string, index: number, data: LoanComparisonScenario, params?: RequestParams) => Promise<HttpResponse<LoanComparisonScenario, UnprocessableEntityResponse>>;
4049
4222
  /**
4050
4223
  * No description
4051
4224
  *
@@ -4055,7 +4228,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4055
4228
  * @request DELETE:/api/loans/{loanID}/loan-comparison/{index}
4056
4229
  * @secure
4057
4230
  */
4058
- deleteLoanComparison: (loanId: string, index: number, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
4231
+ deleteLoanComparison: (loanId: string, index: number, params?: RequestParams) => Promise<HttpResponse<void, any>>;
4059
4232
  /**
4060
4233
  * No description
4061
4234
  *
@@ -4065,7 +4238,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4065
4238
  * @request POST:/api/loans/{loanID}/loan-comparison/pdf
4066
4239
  * @secure
4067
4240
  */
4068
- createLoanComparisonPdf: (loanId: string, data: PostLoanComparisonPdfRequest, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
4241
+ createLoanComparisonPdf: (loanId: string, data: PostLoanComparisonPdfRequest, params?: RequestParams) => Promise<HttpResponse<void, UnprocessableEntityResponse>>;
4069
4242
  /**
4070
4243
  * No description
4071
4244
  *
@@ -4075,7 +4248,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4075
4248
  * @request GET:/api/loans/{loanId}/documents/buckets
4076
4249
  * @secure
4077
4250
  */
4078
- getLoanDocumentBuckets: (loanId: string, params?: RequestParams) => Promise<AxiosResponse<string[], any>>;
4251
+ getLoanDocumentBuckets: (loanId: string, params?: RequestParams) => Promise<HttpResponse<string[], any>>;
4079
4252
  /**
4080
4253
  * No description
4081
4254
  *
@@ -4085,7 +4258,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4085
4258
  * @request POST:/api/loans/{loanId}/documents/buckets
4086
4259
  * @secure
4087
4260
  */
4088
- createLoanDocumentBuckets: (loanId: string, data: string[], params?: RequestParams) => Promise<AxiosResponse<string[], any>>;
4261
+ createLoanDocumentBuckets: (loanId: string, data: string[], params?: RequestParams) => Promise<HttpResponse<string[], any>>;
4089
4262
  /**
4090
4263
  * No description
4091
4264
  *
@@ -4098,7 +4271,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4098
4271
  getLoanDocument: (loanId: string, documentId: string, query?: {
4099
4272
  /** @default false */
4100
4273
  preview?: boolean;
4101
- }, params?: RequestParams) => Promise<AxiosResponse<LoanDocument, any>>;
4274
+ }, params?: RequestParams) => Promise<HttpResponse<LoanDocument, ProblemDetails>>;
4102
4275
  /**
4103
4276
  * No description
4104
4277
  *
@@ -4108,7 +4281,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4108
4281
  * @request GET:/api/loans/{loanId}/documents/{documentId}/download
4109
4282
  * @secure
4110
4283
  */
4111
- downloadLoanDocument: (loanId: string, documentId: string, params?: RequestParams) => Promise<AxiosResponse<LoanDocument, any>>;
4284
+ downloadLoanDocument: (loanId: string, documentId: string, params?: RequestParams) => Promise<HttpResponse<string, ProblemDetails>>;
4112
4285
  /**
4113
4286
  * No description
4114
4287
  *
@@ -4123,7 +4296,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4123
4296
  /** @format binary */
4124
4297
  file?: File;
4125
4298
  bucket?: string;
4126
- }, params?: RequestParams) => Promise<AxiosResponse<LoanDocument, any>>;
4299
+ }, params?: RequestParams) => Promise<HttpResponse<LoanDocument, ProblemDetails | UnprocessableEntityResponse>>;
4127
4300
  /**
4128
4301
  * No description
4129
4302
  *
@@ -4133,7 +4306,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4133
4306
  * @request POST:/api/loans/{loanId}/documents/{documentId}/retry
4134
4307
  * @secure
4135
4308
  */
4136
- retryFailedLoanDocument: (loanId: string, documentId: string, params?: RequestParams) => Promise<AxiosResponse<LoanDocument, any>>;
4309
+ retryFailedLoanDocument: (loanId: string, documentId: string, params?: RequestParams) => Promise<HttpResponse<LoanDocument, ProblemDetails | UnprocessableEntityResponse>>;
4137
4310
  /**
4138
4311
  * No description
4139
4312
  *
@@ -4143,7 +4316,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4143
4316
  * @request POST:/api/loans/drafts
4144
4317
  * @secure
4145
4318
  */
4146
- createLoanDraft: (data: DraftRequest, params?: RequestParams) => Promise<AxiosResponse<DraftResponse, any>>;
4319
+ createLoanDraft: (data: DraftRequest, params?: RequestParams) => Promise<HttpResponse<DraftResponse, any>>;
4147
4320
  /**
4148
4321
  * No description
4149
4322
  *
@@ -4153,7 +4326,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4153
4326
  * @request GET:/api/loans/drafts
4154
4327
  * @secure
4155
4328
  */
4156
- getLoanDrafts: (params?: RequestParams) => Promise<AxiosResponse<DraftContentResponse[], any>>;
4329
+ getLoanDrafts: (params?: RequestParams) => Promise<HttpResponse<DraftContentResponse[], any>>;
4157
4330
  /**
4158
4331
  * No description
4159
4332
  *
@@ -4170,7 +4343,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4170
4343
  pageNumber?: number;
4171
4344
  sortBy?: string;
4172
4345
  sortDirection?: string;
4173
- }, params?: RequestParams) => Promise<AxiosResponse<DraftContentResponsePaginatedResponse, any>>;
4346
+ }, params?: RequestParams) => Promise<HttpResponse<DraftContentResponsePaginatedResponse, any>>;
4174
4347
  /**
4175
4348
  * No description
4176
4349
  *
@@ -4180,7 +4353,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4180
4353
  * @request PUT:/api/loans/drafts/{draftId}
4181
4354
  * @secure
4182
4355
  */
4183
- replaceLoanDraft: (draftId: string, data: DraftRequest, params?: RequestParams) => Promise<AxiosResponse<DraftResponse, any>>;
4356
+ replaceLoanDraft: (draftId: string, data: DraftRequest, params?: RequestParams) => Promise<HttpResponse<DraftResponse, any>>;
4184
4357
  /**
4185
4358
  * No description
4186
4359
  *
@@ -4190,7 +4363,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4190
4363
  * @request GET:/api/loans/drafts/{draftId}
4191
4364
  * @secure
4192
4365
  */
4193
- getLoanDraft: (draftId: string, params?: RequestParams) => Promise<AxiosResponse<DraftContentResponse, any>>;
4366
+ getLoanDraft: (draftId: string, params?: RequestParams) => Promise<HttpResponse<DraftContentResponse, any>>;
4194
4367
  /**
4195
4368
  * No description
4196
4369
  *
@@ -4200,7 +4373,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4200
4373
  * @request DELETE:/api/loans/drafts/{draftId}
4201
4374
  * @secure
4202
4375
  */
4203
- deleteLoanDraft: (draftId: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
4376
+ deleteLoanDraft: (draftId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
4204
4377
  /**
4205
4378
  * No description
4206
4379
  *
@@ -4218,7 +4391,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4218
4391
  pageNumber?: number;
4219
4392
  sortBy?: string;
4220
4393
  sortDirection?: string;
4221
- }, params?: RequestParams) => Promise<AxiosResponse<BranchUserPaginatedResponse, any>>;
4394
+ }, params?: RequestParams) => Promise<HttpResponse<BranchUserPaginatedResponse, any>>;
4222
4395
  /**
4223
4396
  * No description
4224
4397
  *
@@ -4235,7 +4408,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4235
4408
  pageNumber?: number;
4236
4409
  sortBy?: string;
4237
4410
  sortDirection?: string;
4238
- }, params?: RequestParams) => Promise<AxiosResponse<BranchUserPaginatedResponse, any>>;
4411
+ }, params?: RequestParams) => Promise<HttpResponse<BranchUserPaginatedResponse, any>>;
4239
4412
  /**
4240
4413
  * No description
4241
4414
  *
@@ -4245,7 +4418,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4245
4418
  * @request GET:/api/loan-officers/{id}
4246
4419
  * @secure
4247
4420
  */
4248
- getLoanOfficer: (id: string, params?: RequestParams) => Promise<AxiosResponse<BranchUser, any>>;
4421
+ getLoanOfficer: (id: string, params?: RequestParams) => Promise<HttpResponse<BranchUser, any>>;
4249
4422
  /**
4250
4423
  * No description
4251
4424
  *
@@ -4255,7 +4428,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4255
4428
  * @request GET:/api/loan-officers/applications
4256
4429
  * @secure
4257
4430
  */
4258
- getLoanOfficerLoans: (params?: RequestParams) => Promise<AxiosResponse<GetApplicationsResponse, any>>;
4431
+ getLoanOfficerLoans: (params?: RequestParams) => Promise<HttpResponse<GetApplicationsResponse, any>>;
4259
4432
  /**
4260
4433
  * No description
4261
4434
  *
@@ -4265,7 +4438,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4265
4438
  * @request POST:/api/loan-officers/{loanOfficerId}/site-configurations
4266
4439
  * @secure
4267
4440
  */
4268
- createLoanOfficerSiteConfiguration: (loanOfficerId: string, data: SiteConfigurationRequest, params?: RequestParams) => Promise<AxiosResponse<SiteConfiguration, any>>;
4441
+ createLoanOfficerSiteConfiguration: (loanOfficerId: string, data: SiteConfigurationRequest, params?: RequestParams) => Promise<HttpResponse<SiteConfiguration, UnprocessableEntityResponse>>;
4269
4442
  /**
4270
4443
  * No description
4271
4444
  *
@@ -4275,7 +4448,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4275
4448
  * @request GET:/api/loan-officers/{loanOfficerId}/site-configurations/{siteConfigurationId}
4276
4449
  * @secure
4277
4450
  */
4278
- getLoanOfficerSiteConfiguration: (loanOfficerId: string, siteConfigurationId: string, params?: RequestParams) => Promise<AxiosResponse<SiteConfigurationWithInheritedResponse, any>>;
4451
+ getLoanOfficerSiteConfiguration: (loanOfficerId: string, siteConfigurationId: string, params?: RequestParams) => Promise<HttpResponse<SiteConfigurationWithInheritedResponse, any>>;
4279
4452
  /**
4280
4453
  * No description
4281
4454
  *
@@ -4287,7 +4460,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4287
4460
  */
4288
4461
  replaceLoanOfficerSiteConfiguration: (loanOfficerId: string, siteConfigurationId: string, data: SiteConfigurationRequest, query?: {
4289
4462
  applyToChildren?: boolean;
4290
- }, params?: RequestParams) => Promise<AxiosResponse<SiteConfiguration, any>>;
4463
+ }, params?: RequestParams) => Promise<HttpResponse<SiteConfiguration, UnprocessableEntityResponse>>;
4291
4464
  /**
4292
4465
  * No description
4293
4466
  *
@@ -4297,17 +4470,17 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4297
4470
  * @request GET:/api/loans
4298
4471
  * @secure
4299
4472
  */
4300
- getLoans: (params?: RequestParams) => Promise<AxiosResponse<GetApplicationsResponse, any>>;
4473
+ getLoans: (params?: RequestParams) => Promise<HttpResponse<GetApplicationsResponse, any>>;
4301
4474
  /**
4302
4475
  * No description
4303
4476
  *
4304
4477
  * @tags Loans
4305
4478
  * @name GetLoan
4306
- * @summary Gey By ID
4479
+ * @summary Get By ID
4307
4480
  * @request GET:/api/loans/{loanID}
4308
4481
  * @secure
4309
4482
  */
4310
- getLoan: (loanId: string, params?: RequestParams) => Promise<AxiosResponse<Loan, any>>;
4483
+ getLoan: (loanId: string, params?: RequestParams) => Promise<HttpResponse<Loan, ProblemDetails>>;
4311
4484
  /**
4312
4485
  * No description
4313
4486
  *
@@ -4324,17 +4497,17 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4324
4497
  pageNumber?: number;
4325
4498
  sortBy?: string;
4326
4499
  sortDirection?: string;
4327
- }, params?: RequestParams) => Promise<AxiosResponse<LoanPaginatedResponse, any>>;
4500
+ }, params?: RequestParams) => Promise<HttpResponse<ExtendedLoanResponsePaginatedResponse, any>>;
4328
4501
  /**
4329
4502
  * No description
4330
4503
  *
4331
4504
  * @tags Loans
4332
4505
  * @name ImportLoanFromLos
4333
- * @summary importFromLOS
4506
+ * @summary Import from LOS
4334
4507
  * @request POST:/api/loans/import-from-los/{loanId}
4335
4508
  * @secure
4336
4509
  */
4337
- importLoanFromLos: (loanId: string, params?: RequestParams) => Promise<AxiosResponse<Loan, any>>;
4510
+ importLoanFromLos: (loanId: string, params?: RequestParams) => Promise<HttpResponse<Loan, any>>;
4338
4511
  /**
4339
4512
  * No description
4340
4513
  *
@@ -4349,7 +4522,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4349
4522
  /** @format binary */
4350
4523
  file?: File;
4351
4524
  bucket?: string;
4352
- }, params?: RequestParams) => Promise<AxiosResponse<UserLoanTask, any>>;
4525
+ }, params?: RequestParams) => Promise<HttpResponse<UserLoanTask, ProblemDetails | UnprocessableEntityResponse>>;
4353
4526
  /**
4354
4527
  * No description
4355
4528
  *
@@ -4359,7 +4532,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4359
4532
  * @request POST:/api/loans/{loanID}/tasks/{loanTaskId}/documents/bucket
4360
4533
  * @secure
4361
4534
  */
4362
- createLoanTaskDocumentBucket: (loanId: string, loanTaskId: string, params?: RequestParams) => Promise<AxiosResponse<UserLoanTask, any>>;
4535
+ createLoanTaskDocumentBucket: (loanId: string, loanTaskId: string, params?: RequestParams) => Promise<HttpResponse<UserLoanTask, UnprocessableEntityResponse>>;
4363
4536
  /**
4364
4537
  * No description
4365
4538
  *
@@ -4369,7 +4542,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4369
4542
  * @request GET:/api/loans/{loanID}/tasks
4370
4543
  * @secure
4371
4544
  */
4372
- getLoanTasks: (loanId: string, params?: RequestParams) => Promise<AxiosResponse<UserLoanTask[], any>>;
4545
+ getLoanTasks: (loanId: string, params?: RequestParams) => Promise<HttpResponse<UserLoanTask[], ProblemDetails>>;
4373
4546
  /**
4374
4547
  * No description
4375
4548
  *
@@ -4379,7 +4552,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4379
4552
  * @request GET:/api/loans/{loanID}/tasks/{id}
4380
4553
  * @secure
4381
4554
  */
4382
- getLoanTask: (id: string, loanId: string, params?: RequestParams) => Promise<AxiosResponse<UserLoanTask, any>>;
4555
+ getLoanTask: (id: string, loanId: string, params?: RequestParams) => Promise<HttpResponse<UserLoanTask, ProblemDetails>>;
4383
4556
  /**
4384
4557
  * @description Get the difference between the current loan tasks and the tasks generated by business rules
4385
4558
  *
@@ -4389,7 +4562,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4389
4562
  * @request GET:/api/loans/{loanID}/tasks/diff
4390
4563
  * @secure
4391
4564
  */
4392
- getLoanTaskDifference: (loanId: string, params?: RequestParams) => Promise<AxiosResponse<UserLoanTask, any>>;
4565
+ getLoanTaskDifference: (loanId: string, params?: RequestParams) => Promise<HttpResponse<UserLoanTask, ProblemDetails>>;
4393
4566
  /**
4394
4567
  * No description
4395
4568
  *
@@ -4399,7 +4572,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4399
4572
  * @request POST:/api/loans/{loanID}/tasks/{taskID}
4400
4573
  * @secure
4401
4574
  */
4402
- createLoanTask: (loanId: string, taskId: string, data: UserLoanTaskRequest, params?: RequestParams) => Promise<AxiosResponse<UserLoanTask, any>>;
4575
+ createLoanTask: (loanId: string, taskId: string, data: UserLoanTaskRequest, params?: RequestParams) => Promise<HttpResponse<UserLoanTask, ProblemDetails>>;
4403
4576
  /**
4404
4577
  * No description
4405
4578
  *
@@ -4409,7 +4582,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4409
4582
  * @request POST:/api/loans/{loanID}/tasks/import
4410
4583
  * @secure
4411
4584
  */
4412
- importLoanTask: (loanId: string, data: ImportUserLoanTaskRequest[], params?: RequestParams) => Promise<AxiosResponse<UserLoanTask[], any>>;
4585
+ importLoanTask: (loanId: string, data: ImportUserLoanTaskRequest[], params?: RequestParams) => Promise<HttpResponse<UserLoanTask[], ProblemDetails>>;
4413
4586
  /**
4414
4587
  * No description
4415
4588
  *
@@ -4419,7 +4592,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4419
4592
  * @request PUT:/api/loans/{loanID}/tasks/{userLoanTaskID}
4420
4593
  * @secure
4421
4594
  */
4422
- replaceLoanTask: (loanId: string, userLoanTaskId: string, data: UserLoanTaskUpdateRequest, params?: RequestParams) => Promise<AxiosResponse<UserLoanTask, any>>;
4595
+ replaceLoanTask: (loanId: string, userLoanTaskId: string, data: UserLoanTaskUpdateRequest, params?: RequestParams) => Promise<HttpResponse<UserLoanTask, ProblemDetails>>;
4423
4596
  /**
4424
4597
  * No description
4425
4598
  *
@@ -4429,7 +4602,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4429
4602
  * @request DELETE:/api/loans/{loanID}/tasks/{userLoanTaskID}
4430
4603
  * @secure
4431
4604
  */
4432
- deleteLoanTask: (loanId: string, userLoanTaskId: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
4605
+ deleteLoanTask: (loanId: string, userLoanTaskId: string, params?: RequestParams) => Promise<HttpResponse<void, ProblemDetails>>;
4433
4606
  /**
4434
4607
  * No description
4435
4608
  *
@@ -4439,7 +4612,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4439
4612
  * @request POST:/api/loans/{loanID}/tasks/reminders/outstanding
4440
4613
  * @secure
4441
4614
  */
4442
- sendOutstandingLoanTaskNotification: (loanId: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
4615
+ sendOutstandingLoanTaskNotification: (loanId: string, params?: RequestParams) => Promise<HttpResponse<void, ProblemDetails>>;
4443
4616
  /**
4444
4617
  * No description
4445
4618
  *
@@ -4449,7 +4622,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4449
4622
  * @request GET:/api/loans/{loanId}/users
4450
4623
  * @secure
4451
4624
  */
4452
- getLoanUsers: (loanId: string, params?: RequestParams) => Promise<AxiosResponse<LoanUser[], any>>;
4625
+ getLoanUsers: (loanId: string, params?: RequestParams) => Promise<HttpResponse<LoanUser[], any>>;
4453
4626
  /**
4454
4627
  * No description
4455
4628
  *
@@ -4459,7 +4632,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4459
4632
  * @request GET:/api/loans/{loanId}/users/{userId}
4460
4633
  * @secure
4461
4634
  */
4462
- getLoanUser: (loanId: string, userId: string, params?: RequestParams) => Promise<AxiosResponse<LoanUser, any>>;
4635
+ getLoanUser: (loanId: string, userId: string, params?: RequestParams) => Promise<HttpResponse<LoanUser, any>>;
4463
4636
  /**
4464
4637
  * No description
4465
4638
  *
@@ -4469,7 +4642,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4469
4642
  * @request POST:/api/loans/{loanId}/users/{userId}
4470
4643
  * @secure
4471
4644
  */
4472
- addLoanUser: (loanId: string, userId: string, params?: RequestParams) => Promise<AxiosResponse<LoanUser, any>>;
4645
+ addLoanUser: (loanId: string, userId: string, params?: RequestParams) => Promise<HttpResponse<LoanUser, any>>;
4473
4646
  /**
4474
4647
  * No description
4475
4648
  *
@@ -4479,7 +4652,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4479
4652
  * @request GET:/api/milestones
4480
4653
  * @secure
4481
4654
  */
4482
- getMilestones: (params?: RequestParams) => Promise<AxiosResponse<MilestoneConfigurationResponse[], any>>;
4655
+ getMilestones: (params?: RequestParams) => Promise<HttpResponse<MilestoneConfigurationResponse[], any>>;
4483
4656
  /**
4484
4657
  * No description
4485
4658
  *
@@ -4489,7 +4662,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4489
4662
  * @request POST:/api/milestones
4490
4663
  * @secure
4491
4664
  */
4492
- createMilestone: (data: MilestoneConfigurationRequest, params?: RequestParams) => Promise<AxiosResponse<MilestoneConfigurationResponse, any>>;
4665
+ createMilestone: (data: MilestoneConfigurationRequest, params?: RequestParams) => Promise<HttpResponse<MilestoneConfigurationResponse, UnprocessableEntityResponse>>;
4493
4666
  /**
4494
4667
  * No description
4495
4668
  *
@@ -4499,7 +4672,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4499
4672
  * @request GET:/api/milestones/{id}
4500
4673
  * @secure
4501
4674
  */
4502
- getMilestone: (id: string, params?: RequestParams) => Promise<AxiosResponse<MilestoneConfigurationResponse, any>>;
4675
+ getMilestone: (id: string, params?: RequestParams) => Promise<HttpResponse<MilestoneConfigurationResponse, Error>>;
4503
4676
  /**
4504
4677
  * No description
4505
4678
  *
@@ -4509,7 +4682,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4509
4682
  * @request PUT:/api/milestones/{id}
4510
4683
  * @secure
4511
4684
  */
4512
- replaceMilestone: (id: string, data: MilestoneConfigurationRequest, params?: RequestParams) => Promise<AxiosResponse<MilestoneConfigurationResponse, any>>;
4685
+ replaceMilestone: (id: string, data: MilestoneConfigurationRequest, params?: RequestParams) => Promise<HttpResponse<MilestoneConfigurationResponse, Error | UnprocessableEntityResponse>>;
4513
4686
  /**
4514
4687
  * No description
4515
4688
  *
@@ -4519,7 +4692,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4519
4692
  * @request DELETE:/api/milestones/{id}
4520
4693
  * @secure
4521
4694
  */
4522
- deleteMilestone: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
4695
+ deleteMilestone: (id: string, params?: RequestParams) => Promise<HttpResponse<void, Error>>;
4523
4696
  /**
4524
4697
  * No description
4525
4698
  *
@@ -4529,7 +4702,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4529
4702
  * @request POST:/api/notifications
4530
4703
  * @secure
4531
4704
  */
4532
- sendNotificationForLoan: (data: SendNotificationForLoanRequest, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
4705
+ sendNotificationForLoan: (data: SendNotificationForLoanRequest, params?: RequestParams) => Promise<HttpResponse<void, UnprocessableEntityResponse>>;
4533
4706
  /**
4534
4707
  * No description
4535
4708
  *
@@ -4539,7 +4712,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4539
4712
  * @request POST:/api/notifications/test
4540
4713
  * @secure
4541
4714
  */
4542
- sendTestNotificationForLoan: (data: TestSendNotificationForLoanRequest, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
4715
+ sendTestNotificationForLoan: (data: TestSendNotificationForLoanRequest, params?: RequestParams) => Promise<HttpResponse<void, UnprocessableEntityResponse>>;
4543
4716
  /**
4544
4717
  * No description
4545
4718
  *
@@ -4551,7 +4724,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4551
4724
  */
4552
4725
  getNotificationTemplates: (query?: {
4553
4726
  showAll?: boolean;
4554
- }, params?: RequestParams) => Promise<AxiosResponse<NotificationTemplateBase[], any>>;
4727
+ }, params?: RequestParams) => Promise<HttpResponse<NotificationTemplateBase[], any>>;
4555
4728
  /**
4556
4729
  * No description
4557
4730
  *
@@ -4561,7 +4734,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4561
4734
  * @request POST:/api/notification-templates
4562
4735
  * @secure
4563
4736
  */
4564
- createNotificationTemplate: (data: NotificationTemplateRequest, params?: RequestParams) => Promise<AxiosResponse<NotificationTemplate, any>>;
4737
+ createNotificationTemplate: (data: NotificationTemplateRequest, params?: RequestParams) => Promise<HttpResponse<NotificationTemplate, UnprocessableEntityResponse>>;
4565
4738
  /**
4566
4739
  * No description
4567
4740
  *
@@ -4571,7 +4744,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4571
4744
  * @request GET:/api/notification-templates/{id}
4572
4745
  * @secure
4573
4746
  */
4574
- getNotificationTemplate: (id: string, params?: RequestParams) => Promise<AxiosResponse<NotificationTemplate, any>>;
4747
+ getNotificationTemplate: (id: string, params?: RequestParams) => Promise<HttpResponse<NotificationTemplate, any>>;
4575
4748
  /**
4576
4749
  * No description
4577
4750
  *
@@ -4581,7 +4754,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4581
4754
  * @request PUT:/api/notification-templates/{id}
4582
4755
  * @secure
4583
4756
  */
4584
- replaceNotificationTemplate: (id: string, data: NotificationTemplateRequest, params?: RequestParams) => Promise<AxiosResponse<NotificationTemplate, any>>;
4757
+ replaceNotificationTemplate: (id: string, data: NotificationTemplateRequest, params?: RequestParams) => Promise<HttpResponse<NotificationTemplate, UnprocessableEntityResponse>>;
4585
4758
  /**
4586
4759
  * No description
4587
4760
  *
@@ -4591,7 +4764,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4591
4764
  * @request DELETE:/api/notification-templates/{id}
4592
4765
  * @secure
4593
4766
  */
4594
- deleteNotificationTemplate: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
4767
+ deleteNotificationTemplate: (id: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
4595
4768
  /**
4596
4769
  * No description
4597
4770
  *
@@ -4601,7 +4774,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4601
4774
  * @request POST:/api/notification-templates/{id}/restore
4602
4775
  * @secure
4603
4776
  */
4604
- restoreNotificationTemplate: (id: string, params?: RequestParams) => Promise<AxiosResponse<NotificationTemplate, any>>;
4777
+ restoreNotificationTemplate: (id: string, params?: RequestParams) => Promise<HttpResponse<NotificationTemplate, any>>;
4605
4778
  /**
4606
4779
  * No description
4607
4780
  *
@@ -4611,7 +4784,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4611
4784
  * @request GET:/api/notification-templates/{notificationId}/versions
4612
4785
  * @secure
4613
4786
  */
4614
- getNotificationTemplateVersions: (notificationId: string, params?: RequestParams) => Promise<AxiosResponse<NotificationTemplateVersion[], any>>;
4787
+ getNotificationTemplateVersions: (notificationId: string, params?: RequestParams) => Promise<HttpResponse<NotificationTemplateVersion[], any>>;
4615
4788
  /**
4616
4789
  * No description
4617
4790
  *
@@ -4621,7 +4794,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4621
4794
  * @request POST:/api/notification-templates/{notificationId}/versions
4622
4795
  * @secure
4623
4796
  */
4624
- createNotificationTemplateVersion: (notificationId: string, data: NotificationTemplateVersionRequest, params?: RequestParams) => Promise<AxiosResponse<NotificationTemplateVersion, any>>;
4797
+ createNotificationTemplateVersion: (notificationId: string, data: NotificationTemplateVersionRequest, params?: RequestParams) => Promise<HttpResponse<NotificationTemplateVersion, any>>;
4625
4798
  /**
4626
4799
  * No description
4627
4800
  *
@@ -4631,7 +4804,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4631
4804
  * @request GET:/api/notification-templates/{notificationId}/versions/{id}
4632
4805
  * @secure
4633
4806
  */
4634
- getNotificationTemplateVersion: (notificationId: string, id: string, params?: RequestParams) => Promise<AxiosResponse<NotificationTemplateVersion, any>>;
4807
+ getNotificationTemplateVersion: (notificationId: string, id: string, params?: RequestParams) => Promise<HttpResponse<NotificationTemplateVersion, any>>;
4635
4808
  /**
4636
4809
  * No description
4637
4810
  *
@@ -4641,7 +4814,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4641
4814
  * @request PUT:/api/notification-templates/{notificationId}/versions/{id}
4642
4815
  * @secure
4643
4816
  */
4644
- replaceNotificationTemplateVersion: (notificationId: string, id: string, data: NotificationTemplateVersionUpdateRequest, params?: RequestParams) => Promise<AxiosResponse<NotificationTemplateVersion, any>>;
4817
+ replaceNotificationTemplateVersion: (notificationId: string, id: string, data: NotificationTemplateVersionUpdateRequest, params?: RequestParams) => Promise<HttpResponse<NotificationTemplateVersion, any>>;
4645
4818
  /**
4646
4819
  * No description
4647
4820
  *
@@ -4651,7 +4824,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4651
4824
  * @request DELETE:/api/notification-templates/{notificationId}/versions/{id}
4652
4825
  * @secure
4653
4826
  */
4654
- deleteNotificationTemplateVersion: (notificationId: string, id: string, params?: RequestParams) => Promise<AxiosResponse<NotificationTemplateVersion, any>>;
4827
+ deleteNotificationTemplateVersion: (notificationId: string, id: string, params?: RequestParams) => Promise<HttpResponse<NotificationTemplateVersion, any>>;
4655
4828
  /**
4656
4829
  * No description
4657
4830
  *
@@ -4670,7 +4843,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4670
4843
  pageNumber?: number;
4671
4844
  sortBy?: string;
4672
4845
  sortDirection?: string;
4673
- }, params?: RequestParams) => Promise<AxiosResponse<BranchUserPaginatedResponse, any>>;
4846
+ }, params?: RequestParams) => Promise<HttpResponse<BranchUserPaginatedResponse, any>>;
4674
4847
  /**
4675
4848
  * No description
4676
4849
  *
@@ -4687,7 +4860,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4687
4860
  pageNumber?: number;
4688
4861
  sortBy?: string;
4689
4862
  sortDirection?: string;
4690
- }, params?: RequestParams) => Promise<AxiosResponse<BranchUserPaginatedResponse, any>>;
4863
+ }, params?: RequestParams) => Promise<HttpResponse<BranchUserPaginatedResponse, any>>;
4691
4864
  /**
4692
4865
  * No description
4693
4866
  *
@@ -4697,7 +4870,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4697
4870
  * @request GET:/api/partners/{id}
4698
4871
  * @secure
4699
4872
  */
4700
- getPartner: (id: string, params?: RequestParams) => Promise<AxiosResponse<BranchUser, any>>;
4873
+ getPartner: (id: string, params?: RequestParams) => Promise<HttpResponse<BranchUser, any>>;
4701
4874
  /**
4702
4875
  * No description
4703
4876
  *
@@ -4707,7 +4880,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4707
4880
  * @request POST:/api/partners/{realtorId}/site-configurations
4708
4881
  * @secure
4709
4882
  */
4710
- createPartnerSiteConfiguration: (realtorId: string, data: SiteConfigurationRequest, params?: RequestParams) => Promise<AxiosResponse<SiteConfiguration, any>>;
4883
+ createPartnerSiteConfiguration: (realtorId: string, data: SiteConfigurationRequest, params?: RequestParams) => Promise<HttpResponse<SiteConfiguration, UnprocessableEntityResponse>>;
4711
4884
  /**
4712
4885
  * No description
4713
4886
  *
@@ -4717,7 +4890,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4717
4890
  * @request GET:/api/partners/{realtorId}/site-configurations/{siteConfigurationId}
4718
4891
  * @secure
4719
4892
  */
4720
- getPartnerSiteConfiguration: (realtorId: string, siteConfigurationId: string, params?: RequestParams) => Promise<AxiosResponse<SiteConfigurationWithInheritedResponse, any>>;
4893
+ getPartnerSiteConfiguration: (realtorId: string, siteConfigurationId: string, params?: RequestParams) => Promise<HttpResponse<SiteConfigurationWithInheritedResponse, any>>;
4721
4894
  /**
4722
4895
  * No description
4723
4896
  *
@@ -4729,7 +4902,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4729
4902
  */
4730
4903
  replacePartnerSiteConfiguration: (realtorId: string, siteConfigurationId: string, data: SiteConfigurationRequest, query?: {
4731
4904
  applyToChildren?: boolean;
4732
- }, params?: RequestParams) => Promise<AxiosResponse<SiteConfiguration, any>>;
4905
+ }, params?: RequestParams) => Promise<HttpResponse<SiteConfiguration, UnprocessableEntityResponse>>;
4733
4906
  /**
4734
4907
  * No description
4735
4908
  *
@@ -4739,7 +4912,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4739
4912
  * @request POST:/api/pricing/calculator
4740
4913
  * @secure
4741
4914
  */
4742
- getPricingCalculation: (data: GetPricingCalculationRequest, params?: RequestParams) => Promise<AxiosResponse<GetPricingForLoanOfficerResponse, any>>;
4915
+ getPricingCalculation: (data: GetPricingCalculationRequest, params?: RequestParams) => Promise<HttpResponse<GetPricingForLoanOfficerResponse, UnprocessableEntityResponse>>;
4743
4916
  /**
4744
4917
  * No description
4745
4918
  *
@@ -4749,7 +4922,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4749
4922
  * @request GET:/api/request-queues
4750
4923
  * @secure
4751
4924
  */
4752
- getRequestQueues: (params?: RequestParams) => Promise<AxiosResponse<RequestQueue[], any>>;
4925
+ getRequestQueues: (params?: RequestParams) => Promise<HttpResponse<RequestQueue[], any>>;
4753
4926
  /**
4754
4927
  * No description
4755
4928
  *
@@ -4762,7 +4935,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4762
4935
  runRequestQueue: (id: string, query?: {
4763
4936
  /** @default false */
4764
4937
  force?: boolean;
4765
- }, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
4938
+ }, params?: RequestParams) => Promise<HttpResponse<void, any>>;
4766
4939
  /**
4767
4940
  * No description
4768
4941
  *
@@ -4772,7 +4945,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4772
4945
  * @request DELETE:/api/request-queues/{id}
4773
4946
  * @secure
4774
4947
  */
4775
- deleteQueueRequest: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
4948
+ deleteQueueRequest: (id: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
4776
4949
  /**
4777
4950
  * No description
4778
4951
  *
@@ -4782,7 +4955,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4782
4955
  * @request POST:/api/selfprovisioning/newcustomer
4783
4956
  * @secure
4784
4957
  */
4785
- createSelfProvisioningItem: (data: any, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
4958
+ createSelfProvisioningItem: (data: any, params?: RequestParams) => Promise<HttpResponse<void, any>>;
4786
4959
  /**
4787
4960
  * No description
4788
4961
  *
@@ -4792,7 +4965,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4792
4965
  * @request GET:/api/site-configurations/{id}
4793
4966
  * @secure
4794
4967
  */
4795
- getSiteConfiguration: (id: string, params?: RequestParams) => Promise<AxiosResponse<SiteConfiguration, any>>;
4968
+ getSiteConfiguration: (id: string, params?: RequestParams) => Promise<HttpResponse<SiteConfiguration, any>>;
4796
4969
  /**
4797
4970
  * No description
4798
4971
  *
@@ -4803,7 +4976,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4803
4976
  * @deprecated
4804
4977
  * @secure
4805
4978
  */
4806
- searchSiteConfigurationByUrl: (data: GetSiteConfigurationRequest, params?: RequestParams) => Promise<AxiosResponse<SiteConfigurationByUrl, any>>;
4979
+ searchSiteConfigurationByUrl: (data: GetSiteConfigurationRequest, params?: RequestParams) => Promise<HttpResponse<SiteConfigurationByUrl, UnprocessableEntityResponse>>;
4807
4980
  /**
4808
4981
  * No description
4809
4982
  *
@@ -4815,7 +4988,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4815
4988
  */
4816
4989
  getSiteConfigurationByUrl: (query?: {
4817
4990
  url?: string;
4818
- }, params?: RequestParams) => Promise<AxiosResponse<SiteConfigurationByUrl, any>>;
4991
+ }, params?: RequestParams) => Promise<HttpResponse<SiteConfigurationByUrl, UnprocessableEntityResponse>>;
4819
4992
  /**
4820
4993
  * No description
4821
4994
  *
@@ -4826,7 +4999,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4826
4999
  * @deprecated
4827
5000
  * @secure
4828
5001
  */
4829
- searchSiteConfigurationByLoanOfficerUser: (data: GetSiteConfigurationByLOUserIDRequest, params?: RequestParams) => Promise<AxiosResponse<SiteConfiguration, any>>;
5002
+ searchSiteConfigurationByLoanOfficerUser: (data: GetSiteConfigurationByLOUserIDRequest, params?: RequestParams) => Promise<HttpResponse<SiteConfiguration, UnprocessableEntityResponse>>;
4830
5003
  /**
4831
5004
  * No description
4832
5005
  *
@@ -4836,7 +5009,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4836
5009
  * @request GET:/api/site-configurations/louser/{loUserId}
4837
5010
  * @secure
4838
5011
  */
4839
- getSiteConfigurationByLoanOfficerUser: (loUserId: string, params?: RequestParams) => Promise<AxiosResponse<SiteConfiguration, any>>;
5012
+ getSiteConfigurationByLoanOfficerUser: (loUserId: string, params?: RequestParams) => Promise<HttpResponse<SiteConfiguration, UnprocessableEntityResponse>>;
4840
5013
  /**
4841
5014
  * No description
4842
5015
  *
@@ -4853,7 +5026,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4853
5026
  pageNumber?: number;
4854
5027
  sortBy?: string;
4855
5028
  sortDirection?: string;
4856
- }, params?: RequestParams) => Promise<AxiosResponse<SiteConfigurationPaginatedResponse, any>>;
5029
+ }, params?: RequestParams) => Promise<HttpResponse<SiteConfigurationPaginatedResponse, UnprocessableEntityResponse>>;
4857
5030
  /**
4858
5031
  * No description
4859
5032
  *
@@ -4863,7 +5036,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4863
5036
  * @request GET:/api/site-configurations/{id}/forms
4864
5037
  * @secure
4865
5038
  */
4866
- getFormsBySiteConfiguration: (id: string, params?: RequestParams) => Promise<AxiosResponse<AdminAccessGetForms[], any>>;
5039
+ getFormsBySiteConfiguration: (id: string, params?: RequestParams) => Promise<HttpResponse<AdminAccessGetForms[], any>>;
4867
5040
  /**
4868
5041
  * No description
4869
5042
  *
@@ -4873,7 +5046,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4873
5046
  * @request GET:/api/site-configurations/sso/saml/{ssoIntegration}/metadata
4874
5047
  * @secure
4875
5048
  */
4876
- getSamlMetadata: (ssoIntegration: string, params?: RequestParams) => Promise<AxiosResponse<string, any>>;
5049
+ getSamlMetadata: (ssoIntegration: string, params?: RequestParams) => Promise<HttpResponse<string, any>>;
4877
5050
  /**
4878
5051
  * No description
4879
5052
  *
@@ -4883,7 +5056,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4883
5056
  * @request POST:/api/site-forms
4884
5057
  * @secure
4885
5058
  */
4886
- getFormBySiteConfigurationSlug: (data: GetSiteFormRequest, params?: RequestParams) => Promise<AxiosResponse<GetForm, any>>;
5059
+ getFormBySiteConfigurationSlug: (data: GetSiteFormRequest, params?: RequestParams) => Promise<HttpResponse<GetForm, any>>;
4887
5060
  /**
4888
5061
  * No description
4889
5062
  *
@@ -4893,7 +5066,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4893
5066
  * @request GET:/api/site-forms
4894
5067
  * @secure
4895
5068
  */
4896
- getSiteForms: (params?: RequestParams) => Promise<AxiosResponse<SiteConfigurationForm[], any>>;
5069
+ getSiteForms: (params?: RequestParams) => Promise<HttpResponse<SiteConfigurationForm[], any>>;
4897
5070
  /**
4898
5071
  * No description
4899
5072
  *
@@ -4906,7 +5079,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4906
5079
  getSurveysByUsers: (query?: {
4907
5080
  /** @format int32 */
4908
5081
  limit?: number;
4909
- }, params?: RequestParams) => Promise<AxiosResponse<SocialSurveyRecord[], any>>;
5082
+ }, params?: RequestParams) => Promise<HttpResponse<SocialSurveyRecord[], any>>;
4910
5083
  /**
4911
5084
  * No description
4912
5085
  *
@@ -4916,7 +5089,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4916
5089
  * @request POST:/api/surveys
4917
5090
  * @secure
4918
5091
  */
4919
- getSurveysByUser: (data: SurveyEmailRequest, params?: RequestParams) => Promise<AxiosResponse<SocialSurveyRecord[], any>>;
5092
+ getSurveysByUser: (data: SurveyEmailRequest, params?: RequestParams) => Promise<HttpResponse<SocialSurveyRecord[], UnprocessableEntityResponse>>;
4920
5093
  /**
4921
5094
  * No description
4922
5095
  *
@@ -4933,7 +5106,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4933
5106
  pageNumber?: number;
4934
5107
  sortBy?: string;
4935
5108
  sortDirection?: string;
4936
- }, params?: RequestParams) => Promise<AxiosResponse<Task, any>>;
5109
+ }, params?: RequestParams) => Promise<HttpResponse<Task, ProblemDetails>>;
4937
5110
  /**
4938
5111
  * No description
4939
5112
  *
@@ -4943,7 +5116,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4943
5116
  * @request POST:/api/tasks
4944
5117
  * @secure
4945
5118
  */
4946
- createTask: (data: TaskRequest, params?: RequestParams) => Promise<AxiosResponse<Task, any>>;
5119
+ createTask: (data: TaskRequest, params?: RequestParams) => Promise<HttpResponse<Task, any>>;
4947
5120
  /**
4948
5121
  * No description
4949
5122
  *
@@ -4953,7 +5126,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4953
5126
  * @request GET:/api/tasks/{id}
4954
5127
  * @secure
4955
5128
  */
4956
- getTask: (id: string, params?: RequestParams) => Promise<AxiosResponse<Task, any>>;
5129
+ getTask: (id: string, params?: RequestParams) => Promise<HttpResponse<Task, ProblemDetails>>;
4957
5130
  /**
4958
5131
  * No description
4959
5132
  *
@@ -4963,7 +5136,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4963
5136
  * @request PUT:/api/tasks/{id}
4964
5137
  * @secure
4965
5138
  */
4966
- replaceTask: (id: string, data: TaskRequest, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
5139
+ replaceTask: (id: string, data: TaskRequest, params?: RequestParams) => Promise<HttpResponse<void, ProblemDetails>>;
4967
5140
  /**
4968
5141
  * No description
4969
5142
  *
@@ -4973,7 +5146,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4973
5146
  * @request DELETE:/api/tasks/{id}
4974
5147
  * @secure
4975
5148
  */
4976
- deleteTask: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
5149
+ deleteTask: (id: string, params?: RequestParams) => Promise<HttpResponse<void, ProblemDetails>>;
4977
5150
  /**
4978
5151
  * No description
4979
5152
  *
@@ -4990,7 +5163,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4990
5163
  pageNumber?: number;
4991
5164
  sortBy?: string;
4992
5165
  sortDirection?: string;
4993
- }, params?: RequestParams) => Promise<AxiosResponse<Task[], any>>;
5166
+ }, params?: RequestParams) => Promise<HttpResponse<Task[], any>>;
4994
5167
  /**
4995
5168
  * No description
4996
5169
  *
@@ -5000,7 +5173,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5000
5173
  * @request POST:/api/users/impersonation/request
5001
5174
  * @secure
5002
5175
  */
5003
- requestImpersonation: (data: RequestImpersonationRequest, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
5176
+ requestImpersonation: (data: RequestImpersonationRequest, params?: RequestParams) => Promise<HttpResponse<void, Error | UnprocessableEntityResponse>>;
5004
5177
  /**
5005
5178
  * No description
5006
5179
  *
@@ -5010,7 +5183,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5010
5183
  * @request POST:/api/users/impersonation/allow
5011
5184
  * @secure
5012
5185
  */
5013
- allowImpersonation: (data: AllowImpersonationRequest, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
5186
+ allowImpersonation: (data: AllowImpersonationRequest, params?: RequestParams) => Promise<HttpResponse<void, Error | UnprocessableEntityResponse>>;
5014
5187
  /**
5015
5188
  * No description
5016
5189
  *
@@ -5020,7 +5193,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5020
5193
  * @request POST:/api/users/impersonation/allow/{allowToken}
5021
5194
  * @secure
5022
5195
  */
5023
- allowImpersonationWithGuid: (allowToken: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
5196
+ allowImpersonationWithGuid: (allowToken: string, params?: RequestParams) => Promise<HttpResponse<void, Error | UnprocessableEntityResponse>>;
5024
5197
  /**
5025
5198
  * No description
5026
5199
  *
@@ -5030,7 +5203,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5030
5203
  * @request POST:/api/users/impersonation
5031
5204
  * @secure
5032
5205
  */
5033
- beginImpersonation: (params?: RequestParams) => Promise<AxiosResponse<void, any>>;
5206
+ beginImpersonation: (params?: RequestParams) => Promise<HttpResponse<void, UnprocessableEntityResponse>>;
5034
5207
  /**
5035
5208
  * No description
5036
5209
  *
@@ -5040,7 +5213,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5040
5213
  * @request DELETE:/api/users/impersonation
5041
5214
  * @secure
5042
5215
  */
5043
- stopImpersonation: (params?: RequestParams) => Promise<AxiosResponse<void, any>>;
5216
+ stopImpersonation: (params?: RequestParams) => Promise<HttpResponse<void, UnprocessableEntityResponse>>;
5044
5217
  /**
5045
5218
  * No description
5046
5219
  *
@@ -5050,7 +5223,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5050
5223
  * @request POST:/api/users/impersonation/force
5051
5224
  * @secure
5052
5225
  */
5053
- forceImpersonation: (data: RequestImpersonationRequest, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
5226
+ forceImpersonation: (data: RequestImpersonationRequest, params?: RequestParams) => Promise<HttpResponse<void, Error | UnprocessableEntityResponse>>;
5054
5227
  /**
5055
5228
  * No description
5056
5229
  *
@@ -5060,7 +5233,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5060
5233
  * @request POST:/api/users/impersonation/extend
5061
5234
  * @secure
5062
5235
  */
5063
- extendImpersonation: (params?: RequestParams) => Promise<AxiosResponse<void, any>>;
5236
+ extendImpersonation: (params?: RequestParams) => Promise<HttpResponse<void, UnprocessableEntityResponse>>;
5064
5237
  /**
5065
5238
  * No description
5066
5239
  *
@@ -5070,7 +5243,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5070
5243
  * @request POST:/api/users/invites
5071
5244
  * @secure
5072
5245
  */
5073
- inviteUser: (data: CreateInviteRequest, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
5246
+ inviteUser: (data: CreateInviteRequest, params?: RequestParams) => Promise<HttpResponse<void, UnprocessableEntityResponse>>;
5074
5247
  /**
5075
5248
  * No description
5076
5249
  *
@@ -5080,7 +5253,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5080
5253
  * @request GET:/api/users/invites/{token}/verify
5081
5254
  * @secure
5082
5255
  */
5083
- verifyUserInvite: (token: string, params?: RequestParams) => Promise<AxiosResponse<InviteResponse, any>>;
5256
+ verifyUserInvite: (token: string, params?: RequestParams) => Promise<HttpResponse<InviteResponse, UnprocessableEntityResponse>>;
5084
5257
  /**
5085
5258
  * No description
5086
5259
  *
@@ -5090,7 +5263,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5090
5263
  * @request GET:/api/users/{userID}/relations
5091
5264
  * @secure
5092
5265
  */
5093
- getUserRelations: (userId: string, params?: RequestParams) => Promise<AxiosResponse<UserRelationResponse[], any>>;
5266
+ getUserRelations: (userId: string, params?: RequestParams) => Promise<HttpResponse<UserRelationResponse[], any>>;
5094
5267
  /**
5095
5268
  * No description
5096
5269
  *
@@ -5100,7 +5273,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5100
5273
  * @request POST:/api/users/{userID}/relations
5101
5274
  * @secure
5102
5275
  */
5103
- createUserRelation: (userId: string, data: CreateUserRelationRequest, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
5276
+ createUserRelation: (userId: string, data: CreateUserRelationRequest, params?: RequestParams) => Promise<HttpResponse<void, any>>;
5104
5277
  /**
5105
5278
  * No description
5106
5279
  *
@@ -5110,7 +5283,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5110
5283
  * @request GET:/api/users/{userID}/relations/{id}
5111
5284
  * @secure
5112
5285
  */
5113
- getUserRelation: (userId: string, id: string, params?: RequestParams) => Promise<AxiosResponse<UserRelationResponse, any>>;
5286
+ getUserRelation: (userId: string, id: string, params?: RequestParams) => Promise<HttpResponse<UserRelationResponse, any>>;
5114
5287
  /**
5115
5288
  * No description
5116
5289
  *
@@ -5120,7 +5293,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5120
5293
  * @request DELETE:/api/users/{userID}/relations/{id}
5121
5294
  * @secure
5122
5295
  */
5123
- deleteUserRelation: (userId: string, id: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
5296
+ deleteUserRelation: (userId: string, id: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
5124
5297
  /**
5125
5298
  * No description
5126
5299
  *
@@ -5137,7 +5310,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5137
5310
  pageNumber?: number;
5138
5311
  sortBy?: string;
5139
5312
  sortDirection?: string;
5140
- }, params?: RequestParams) => Promise<AxiosResponse<User[], any>>;
5313
+ }, params?: RequestParams) => Promise<HttpResponse<User[], any>>;
5141
5314
  /**
5142
5315
  * No description
5143
5316
  *
@@ -5147,7 +5320,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5147
5320
  * @request POST:/api/users
5148
5321
  * @secure
5149
5322
  */
5150
- createUser: (data: CreateUserRequest, params?: RequestParams) => Promise<AxiosResponse<DetailedUser, any>>;
5323
+ createUser: (data: CreateUserRequest, params?: RequestParams) => Promise<HttpResponse<DetailedUser, UnprocessableEntityResponse>>;
5151
5324
  /**
5152
5325
  * No description
5153
5326
  *
@@ -5164,7 +5337,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5164
5337
  pageNumber?: number;
5165
5338
  sortBy?: string;
5166
5339
  sortDirection?: string;
5167
- }, params?: RequestParams) => Promise<AxiosResponse<UserPaginatedResponse, any>>;
5340
+ }, params?: RequestParams) => Promise<HttpResponse<UserPaginatedResponse, any>>;
5168
5341
  /**
5169
5342
  * No description
5170
5343
  *
@@ -5174,7 +5347,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5174
5347
  * @request POST:/api/users/byemail
5175
5348
  * @secure
5176
5349
  */
5177
- getUserByEmail: (data: GetUserByEmailRequest, params?: RequestParams) => Promise<AxiosResponse<AdminAccessUser, any>>;
5350
+ getUserByEmail: (data: GetUserByEmailRequest, params?: RequestParams) => Promise<HttpResponse<AdminAccessUser, any>>;
5178
5351
  /**
5179
5352
  * No description
5180
5353
  *
@@ -5184,7 +5357,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5184
5357
  * @request POST:/api/users/register
5185
5358
  * @secure
5186
5359
  */
5187
- signUp: (data: RegisterUserRequest, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
5360
+ signUp: (data: RegisterUserRequest, params?: RequestParams) => Promise<HttpResponse<void, UnprocessableEntityResponse>>;
5188
5361
  /**
5189
5362
  * No description
5190
5363
  *
@@ -5194,7 +5367,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5194
5367
  * @request PUT:/api/users/{id}
5195
5368
  * @secure
5196
5369
  */
5197
- replaceUser: (id: string, data: UpdateUserRequest, params?: RequestParams) => Promise<AxiosResponse<DetailedUser, any>>;
5370
+ replaceUser: (id: string, data: UpdateUserRequest, params?: RequestParams) => Promise<HttpResponse<DetailedUser, UnprocessableEntityResponse>>;
5198
5371
  /**
5199
5372
  * No description
5200
5373
  *
@@ -5207,7 +5380,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5207
5380
  deleteUser: (id: string, query?: {
5208
5381
  /** @default false */
5209
5382
  permanent?: boolean;
5210
- }, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
5383
+ }, params?: RequestParams) => Promise<HttpResponse<void, any>>;
5211
5384
  /**
5212
5385
  * No description
5213
5386
  *
@@ -5217,7 +5390,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5217
5390
  * @request POST:/api/users/{id}/restore
5218
5391
  * @secure
5219
5392
  */
5220
- restoreUser: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
5393
+ restoreUser: (id: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
5221
5394
  /**
5222
5395
  * No description
5223
5396
  *
@@ -5227,7 +5400,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5227
5400
  * @request POST:/api/users/change-password
5228
5401
  * @secure
5229
5402
  */
5230
- changePassword: (data: ChangePasswordRequest, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
5403
+ changePassword: (data: ChangePasswordRequest, params?: RequestParams) => Promise<HttpResponse<void, UnprocessableEntityResponse>>;
5231
5404
  /**
5232
5405
  * No description
5233
5406
  *
@@ -5237,7 +5410,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5237
5410
  * @request POST:/api/users/verify-password
5238
5411
  * @secure
5239
5412
  */
5240
- verifyPassword: (data: VerifyPasswordRequest, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
5413
+ verifyPassword: (data: VerifyPasswordRequest, params?: RequestParams) => Promise<HttpResponse<void, UnprocessableEntityResponse>>;
5241
5414
  /**
5242
5415
  * No description
5243
5416
  *
@@ -5247,7 +5420,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5247
5420
  * @request POST:/api/users/{id}/override-password
5248
5421
  * @secure
5249
5422
  */
5250
- overridePassword: (id: string, data: OverridePasswordRequest, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
5423
+ overridePassword: (id: string, data: OverridePasswordRequest, params?: RequestParams) => Promise<HttpResponse<void, UnprocessableEntityResponse>>;
5251
5424
  /**
5252
5425
  * No description
5253
5426
  *
@@ -5257,7 +5430,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5257
5430
  * @request POST:/api/users/forgot-password
5258
5431
  * @secure
5259
5432
  */
5260
- forgotPassword: (data: SendForgotPasswordRequest, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
5433
+ forgotPassword: (data: SendForgotPasswordRequest, params?: RequestParams) => Promise<HttpResponse<void, UnprocessableEntityResponse>>;
5261
5434
  /**
5262
5435
  * No description
5263
5436
  *
@@ -5267,7 +5440,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5267
5440
  * @request POST:/api/users/mobile-phone/send-code
5268
5441
  * @secure
5269
5442
  */
5270
- sendMobilePhoneVerificationCode: (params?: RequestParams) => Promise<AxiosResponse<void, any>>;
5443
+ sendMobilePhoneVerificationCode: (params?: RequestParams) => Promise<HttpResponse<void, UnprocessableEntityResponse>>;
5271
5444
  /**
5272
5445
  * No description
5273
5446
  *
@@ -5277,7 +5450,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5277
5450
  * @request PUT:/api/users/mobile-phone/verify-code
5278
5451
  * @secure
5279
5452
  */
5280
- verifyUserMobilePhone: (data: UserMobilePhoneVerificationRequest, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
5453
+ verifyUserMobilePhone: (data: UserMobilePhoneVerificationRequest, params?: RequestParams) => Promise<HttpResponse<void, UnprocessableEntityResponse>>;
5281
5454
  /**
5282
5455
  * No description
5283
5456
  *
@@ -5287,7 +5460,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5287
5460
  * @request GET:/api/users/me
5288
5461
  * @secure
5289
5462
  */
5290
- getMe: (params?: RequestParams) => Promise<AxiosResponse<DetailedUser, any>>;
5463
+ getMe: (params?: RequestParams) => Promise<HttpResponse<DetailedUser, any>>;
5291
5464
  /**
5292
5465
  * No description
5293
5466
  *
@@ -5297,7 +5470,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5297
5470
  * @request PUT:/api/users/me
5298
5471
  * @secure
5299
5472
  */
5300
- replaceMe: (data: UpdateMeRequest, params?: RequestParams) => Promise<AxiosResponse<DetailedUser, any>>;
5473
+ replaceMe: (data: UpdateMeRequest, params?: RequestParams) => Promise<HttpResponse<DetailedUser, any>>;
5301
5474
  /**
5302
5475
  * @description Update the phone number If changed will send a verification code to the new number
5303
5476
  *
@@ -5307,7 +5480,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5307
5480
  * @request PUT:/api/users/me/phone-number
5308
5481
  * @secure
5309
5482
  */
5310
- updateMyPhone: (data: UpdateMobilePhoneRequest, params?: RequestParams) => Promise<AxiosResponse<DetailedUser, any>>;
5483
+ updateMyPhone: (data: UpdateMobilePhoneRequest, params?: RequestParams) => Promise<HttpResponse<DetailedUser, any>>;
5311
5484
  /**
5312
5485
  * No description
5313
5486
  *
@@ -5317,7 +5490,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5317
5490
  * @request GET:/api/users/me/relationships
5318
5491
  * @secure
5319
5492
  */
5320
- getMyRelationships: (params?: RequestParams) => Promise<AxiosResponse<UserRelationship[], any>>;
5493
+ getMyRelationships: (params?: RequestParams) => Promise<HttpResponse<UserRelationship[], any>>;
5321
5494
  /**
5322
5495
  * No description
5323
5496
  *
@@ -5327,7 +5500,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5327
5500
  * @request GET:/api/users/me/relationships/prospects
5328
5501
  * @secure
5329
5502
  */
5330
- getMyRelationshipProspects: (params?: RequestParams) => Promise<AxiosResponse<UserRelationshipProspect[], any>>;
5503
+ getMyRelationshipProspects: (params?: RequestParams) => Promise<HttpResponse<UserRelationshipProspect[], any>>;
5331
5504
  /**
5332
5505
  * No description
5333
5506
  *
@@ -5337,7 +5510,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5337
5510
  * @request DELETE:/api/users/me/relationships/prospects/{id}
5338
5511
  * @secure
5339
5512
  */
5340
- deleteRelationshipProspect: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
5513
+ deleteRelationshipProspect: (id: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
5341
5514
  /**
5342
5515
  * No description
5343
5516
  *
@@ -5347,7 +5520,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5347
5520
  * @request POST:/api/users/me/delete
5348
5521
  * @secure
5349
5522
  */
5350
- deleteMe: (data: UserAccountDeletionRequest, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
5523
+ deleteMe: (data: UserAccountDeletionRequest, params?: RequestParams) => Promise<HttpResponse<void, any>>;
5351
5524
  /**
5352
5525
  * No description
5353
5526
  *
@@ -5357,7 +5530,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5357
5530
  * @request POST:/api/verifications/verify
5358
5531
  * @secure
5359
5532
  */
5360
- verify: (data: VerificationRequest, params?: RequestParams) => Promise<AxiosResponse<VerificationResponse, any>>;
5533
+ verify: (data: VerificationRequest, params?: RequestParams) => Promise<HttpResponse<VerificationResponse, UnprocessableEntityResponse>>;
5361
5534
  /**
5362
5535
  * No description
5363
5536
  *
@@ -5367,7 +5540,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5367
5540
  * @request POST:/api/verifications/status
5368
5541
  * @secure
5369
5542
  */
5370
- getVerificationStatus: (data: VerificationRequest, params?: RequestParams) => Promise<AxiosResponse<VerificationResponse, any>>;
5543
+ getVerificationStatus: (data: VerificationRequest, params?: RequestParams) => Promise<HttpResponse<VerificationResponse, UnprocessableEntityResponse>>;
5371
5544
  /**
5372
5545
  * No description
5373
5546
  *
@@ -5377,7 +5550,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5377
5550
  * @request GET:/api/verifications/frontend-materials/{requestId}
5378
5551
  * @secure
5379
5552
  */
5380
- getVerificationFrontEndMaterials: (requestId: string, params?: RequestParams) => Promise<AxiosResponse<VerificationResponse, any>>;
5553
+ getVerificationFrontEndMaterials: (requestId: string, params?: RequestParams) => Promise<HttpResponse<VerificationResponse, UnprocessableEntityResponse>>;
5381
5554
  /**
5382
5555
  * No description
5383
5556
  *
@@ -5387,94 +5560,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5387
5560
  * @request POST:/api/workflow
5388
5561
  * @secure
5389
5562
  */
5390
- getWorkflow: (data: GetWorkflowRequest, params?: RequestParams) => Promise<AxiosResponse<GetForm, any>>;
5391
- };
5392
- accounts: {
5393
- /**
5394
- * No description
5395
- *
5396
- * @tags Accounts
5397
- * @name GetAccounts
5398
- * @summary Get All
5399
- * @request GET:/accounts
5400
- * @secure
5401
- */
5402
- getAccounts: (params?: RequestParams) => Promise<AxiosResponse<Account[], any>>;
5403
- /**
5404
- * No description
5405
- *
5406
- * @tags Accounts
5407
- * @name UpdateLoansByAccount
5408
- * @summary Update Loans
5409
- * @request PUT:/accounts/{id}/loan
5410
- * @secure
5411
- */
5412
- updateLoansByAccount: (id: string, data: Loan[], params?: RequestParams) => Promise<AxiosResponse<void, any>>;
5413
- /**
5414
- * No description
5415
- *
5416
- * @tags Accounts
5417
- * @name GetLoansByAccount
5418
- * @summary Get Loans
5419
- * @request GET:/accounts/{id}/loan
5420
- * @secure
5421
- */
5422
- getLoansByAccount: (id: string, params?: RequestParams) => Promise<AxiosResponse<Loan[], any>>;
5423
- };
5424
- refreshToken: {
5425
- /**
5426
- * No description
5427
- *
5428
- * @tags Authentication
5429
- * @name GetTokenFromRefreshToken
5430
- * @summary Generate Token From Refresh Token
5431
- * @request POST:/refresh-token
5432
- * @secure
5433
- */
5434
- getTokenFromRefreshToken: (data: RefreshTokenRequest, params?: RequestParams) => Promise<AxiosResponse<TokenResponse, any>>;
5435
- };
5436
- token: {
5437
- /**
5438
- * No description
5439
- *
5440
- * @tags Authentication
5441
- * @name GetToken
5442
- * @summary Get Token
5443
- * @request POST:/token
5444
- * @secure
5445
- */
5446
- getToken: (data: TokenRequest, params?: RequestParams) => Promise<AxiosResponse<TokenResponse, any>>;
5447
- /**
5448
- * No description
5449
- *
5450
- * @tags Authentication
5451
- * @name GetTokenFromChallengeCode
5452
- * @summary Get Token From Challenge Code
5453
- * @request POST:/token/code
5454
- * @secure
5455
- */
5456
- getTokenFromChallengeCode: (data: TokenChallengeRequest, params?: RequestParams) => Promise<AxiosResponse<TokenResponse, any>>;
5457
- /**
5458
- * No description
5459
- *
5460
- * @tags Authentication
5461
- * @name GetSsoToken
5462
- * @summary Get SSO Guid Token
5463
- * @request POST:/token/sso
5464
- * @secure
5465
- */
5466
- getSsoToken: (data: SSOTokenRequest, params?: RequestParams) => Promise<AxiosResponse<SSOTokenResponse, any>>;
5467
- };
5468
- oauth2: {
5469
- /**
5470
- * No description
5471
- *
5472
- * @tags Authentication
5473
- * @name GetSystemToken
5474
- * @summary Get System Token
5475
- * @request POST:/oauth2/token
5476
- * @secure
5477
- */
5478
- getSystemToken: (data: SystemTokenRequest, params?: RequestParams) => Promise<AxiosResponse<TokenResponse, any>>;
5563
+ getWorkflow: (data: GetWorkflowRequest, params?: RequestParams) => Promise<HttpResponse<GetForm, any>>;
5479
5564
  };
5480
5565
  }
5566
+ export {};