@matech/thebigpos-sdk 2.9.0-rc3 → 2.10.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
@@ -49,6 +49,17 @@ export interface AccountUpdateRequest {
49
49
  loanMilestoneNotificationsEnabled: boolean;
50
50
  asoSettings: ASOSettings;
51
51
  }
52
+ export interface AccountUpdateRequestJsonPatchDocument {
53
+ operations?: AccountUpdateRequestOperation[] | null;
54
+ contractResolver: IContractResolver;
55
+ }
56
+ export interface AccountUpdateRequestOperation {
57
+ operationType: OperationType;
58
+ path?: string | null;
59
+ op?: string | null;
60
+ from?: string | null;
61
+ value?: any;
62
+ }
52
63
  export interface ActionResponse {
53
64
  /** @format uuid */
54
65
  id: string;
@@ -60,17 +71,17 @@ export interface ActionResponse {
60
71
  surveysToken?: string | null;
61
72
  }
62
73
  export interface AddFormToSiteConfigurationRequest {
63
- /** @minLength 1 */
64
- slug: string;
65
- userRole: string;
66
- borrowerType: string;
74
+ slug?: string | null;
75
+ formType?: string | null;
76
+ userRole?: string | null;
77
+ borrowerType?: string | null;
67
78
  showProgressBar: boolean;
68
79
  showTile: boolean;
69
- tileLocation: string;
70
- tileText: string;
71
- tileSubtitle: string;
72
- icon: string;
73
- entityTypes: string[];
80
+ tileLocation?: string | null;
81
+ tileText?: string | null;
82
+ tileSubtitle?: string | null;
83
+ icon?: string | null;
84
+ entityTypes?: string[] | null;
74
85
  }
75
86
  export interface Address {
76
87
  /** @format uuid */
@@ -111,6 +122,9 @@ export interface AdminAccessGetForms {
111
122
  description?: string | null;
112
123
  slug?: string | null;
113
124
  status: string;
125
+ language?: string | null;
126
+ borrowerType: BorrowerType;
127
+ showProgressBar: boolean;
114
128
  }
115
129
  export interface AdminAccessUser {
116
130
  /** @format date-time */
@@ -203,6 +217,7 @@ export interface Attachment {
203
217
  base64Data?: string | null;
204
218
  }
205
219
  export type BorrowerRelationship = "NotApplicable" | "Spouse" | "NonSpouse";
220
+ export type BorrowerType = "Borrower" | "CoBorrower" | "Unknown";
206
221
  export interface BranchReduced {
207
222
  /** @format uuid */
208
223
  id: string;
@@ -381,10 +396,6 @@ export interface CreateDocumentTemplateRequest {
381
396
  description?: string | null;
382
397
  status: string;
383
398
  }
384
- export interface CreateDraftRequest {
385
- applicationPayload: any;
386
- customData?: any;
387
- }
388
399
  export interface CreateInviteRequest {
389
400
  /** @minLength 1 */
390
401
  firstName: string;
@@ -642,6 +653,10 @@ export interface DraftContentResponsePaginatedResponse {
642
653
  /** @format int64 */
643
654
  count: number;
644
655
  }
656
+ export interface DraftRequest {
657
+ applicationPayload: any;
658
+ customData?: any;
659
+ }
645
660
  export interface DraftResponse {
646
661
  /** @format uuid */
647
662
  id: string;
@@ -745,6 +760,8 @@ export interface FormRequest {
745
760
  slug?: string | null;
746
761
  status: string;
747
762
  language?: string | null;
763
+ borrowerType: BorrowerType;
764
+ showProgressBar: boolean;
748
765
  }
749
766
  export interface FormSubmission {
750
767
  /** @format date-time */
@@ -916,12 +933,14 @@ export interface GetForm {
916
933
  type: number;
917
934
  target: string;
918
935
  authType: string;
936
+ inviteUser: boolean;
919
937
  name: string;
920
- isDefault: boolean;
921
938
  description?: string | null;
922
939
  slug?: string | null;
923
940
  status: string;
924
- language: string;
941
+ language?: string | null;
942
+ borrowerType: BorrowerType;
943
+ showProgressBar: boolean;
925
944
  /** @format uuid */
926
945
  id: string;
927
946
  }
@@ -996,6 +1015,7 @@ export interface GetWorkflowRequest {
996
1015
  userRole?: string | null;
997
1016
  language?: string | null;
998
1017
  }
1018
+ export type IContractResolver = object;
999
1019
  export interface ImportUserLoanTaskRequest {
1000
1020
  /**
1001
1021
  * @format uuid
@@ -1026,6 +1046,8 @@ export interface InviteResponse {
1026
1046
  /** @format date-time */
1027
1047
  createdAt: string;
1028
1048
  }
1049
+ /** Array of operations to perform */
1050
+ export type JsonPatchDocument = Operation[];
1029
1051
  export interface Listing {
1030
1052
  /** @format date-time */
1031
1053
  createdAt: string;
@@ -1117,11 +1139,17 @@ export interface ListingSearchCriteria {
1117
1139
  export interface Loan {
1118
1140
  loanID: string;
1119
1141
  loanNumber?: string | null;
1142
+ /** @format date-time */
1120
1143
  initialDisclosureProvidedDate?: string | null;
1144
+ /** @format date-time */
1121
1145
  closingDisclosureSentDate?: string | null;
1146
+ /** @format date-time */
1122
1147
  underwritingApprovalDate?: string | null;
1148
+ /** @format date-time */
1123
1149
  closingDate?: string | null;
1150
+ /** @format date-time */
1124
1151
  fundingOrderDate?: string | null;
1152
+ /** @format date-time */
1125
1153
  currentStatusDate?: string | null;
1126
1154
  loanChannel?: string | null;
1127
1155
  /** @format double */
@@ -1129,6 +1157,7 @@ export interface Loan {
1129
1157
  currentLoanStatus?: string | null;
1130
1158
  currentMilestone?: string | null;
1131
1159
  lastCompletedMilestone?: string | null;
1160
+ /** @format date-time */
1132
1161
  startDate?: string | null;
1133
1162
  isInSync: boolean;
1134
1163
  /** @format date-time */
@@ -1145,6 +1174,8 @@ export interface Loan {
1145
1174
  propertyAddress: Address;
1146
1175
  borrowerContact: Contact;
1147
1176
  coBorrowerContact: Contact;
1177
+ isLocked: boolean;
1178
+ source?: string | null;
1148
1179
  }
1149
1180
  export interface LoanComparisonResponse {
1150
1181
  loanID: string;
@@ -1436,6 +1467,12 @@ export interface NotificationTemplateVersionUpdateRequest {
1436
1467
  /** @minLength 1 */
1437
1468
  plainBody: string;
1438
1469
  }
1470
+ export interface Operation {
1471
+ op?: string;
1472
+ value?: object | null;
1473
+ path?: string;
1474
+ }
1475
+ export type OperationType = "Add" | "Remove" | "Replace" | "Move" | "Copy" | "Test" | "Invalid";
1439
1476
  export interface OverridePasswordRequest {
1440
1477
  /** @minLength 8 */
1441
1478
  password: string;
@@ -1452,19 +1489,6 @@ export interface PartnerSearchCriteria {
1452
1489
  brands?: string[] | null;
1453
1490
  roles?: UserRole[] | null;
1454
1491
  }
1455
- export interface PostCreditAuthorizationRequest {
1456
- /** @minLength 1 */
1457
- loanID: string;
1458
- /** @format uuid */
1459
- accountId?: string | null;
1460
- }
1461
- export interface PostEConsentRequest {
1462
- /** @minLength 1 */
1463
- loanID: string;
1464
- /** @format uuid */
1465
- siteConfigurationID: string;
1466
- clientIP?: string | null;
1467
- }
1468
1492
  export interface PostLoanComparisonPdfRequest {
1469
1493
  /**
1470
1494
  * @format uuid
@@ -1577,7 +1601,6 @@ export interface RegisterUserRequest {
1577
1601
  * @minLength 1
1578
1602
  */
1579
1603
  siteConfigurationId: string;
1580
- sendNotification: boolean;
1581
1604
  /** @format uuid */
1582
1605
  inviteCode?: string | null;
1583
1606
  }
@@ -2288,169 +2311,9 @@ export interface SiteConfigurationSearchCriteria {
2288
2311
  isActive?: boolean | null;
2289
2312
  entityType?: string | null;
2290
2313
  }
2291
- export interface SiteConfigurationUpdateRequest {
2292
- /** @format uuid */
2293
- entityID: string;
2294
- /** @format int32 */
2295
- entityType: number;
2296
- url: string;
2297
- name: string;
2298
- introduction?: string | null;
2299
- introductionTitle?: string | null;
2300
- /** @format int32 */
2301
- nmlsid: number;
2302
- address?: string | null;
2303
- address2?: string | null;
2304
- city?: string | null;
2305
- state?: string | null;
2306
- zip?: string | null;
2307
- phone?: string | null;
2308
- fax?: string | null;
2309
- tollFree?: string | null;
2310
- logoUrl?: string | null;
2311
- portalLogoUrl?: string | null;
2312
- mobileAppLogoUrl?: string | null;
2313
- iconUrl?: string | null;
2314
- bannerUrl?: string | null;
2315
- secondaryBannerUrl?: string | null;
2316
- profilePhotoUrl?: string | null;
2317
- primaryColor?: string | null;
2318
- secondaryColor?: string | null;
2319
- textColor?: string | null;
2320
- companyUrl?: string | null;
2321
- termsUrl?: string | null;
2322
- privacyPolicyUrl?: string | null;
2323
- facebookUrl?: string | null;
2324
- twitterUrl?: string | null;
2325
- instagramUrl?: string | null;
2326
- linkedInUrl?: string | null;
2327
- licenses: string[];
2328
- contactUsUrl?: string | null;
2329
- licenseInfoUrl?: string | null;
2330
- backgroundColor?: string | null;
2331
- headerAlignment?: string | null;
2332
- email?: string | null;
2333
- /** @format int32 */
2334
- landingPageType?: number | null;
2335
- confirmPassword?: boolean | null;
2336
- pageNotFoundUrl?: string | null;
2337
- footerDisclaimerText1?: string | null;
2338
- footerDisclaimerText2?: string | null;
2339
- locationImageUrl?: string | null;
2340
- eppsUserName?: string | null;
2341
- mobilePrequalIconUrl?: string | null;
2342
- fullAppIconUrl?: string | null;
2343
- ringCenralIconUrl?: string | null;
2344
- alexaIconUrl?: string | null;
2345
- mobileAppIconUrl?: string | null;
2346
- profilePhotoPlaceholderUrl?: string | null;
2347
- losUserID?: string | null;
2348
- iconColor?: string | null;
2349
- /** @format uuid */
2350
- byPhoneStaticIconID?: string | null;
2351
- /** @format uuid */
2352
- byPhoneAnimatedIconID?: string | null;
2353
- /** @format uuid */
2354
- shortAppStaticIconID?: string | null;
2355
- /** @format uuid */
2356
- shortAppAnimatedIconID?: string | null;
2357
- /** @format uuid */
2358
- fullAppStaticIconID?: string | null;
2359
- /** @format uuid */
2360
- fullAppAnimatedIconID?: string | null;
2361
- /** @format uuid */
2362
- rulesStaticIconID?: string | null;
2363
- /** @format uuid */
2364
- rulesAnimatedIconID?: string | null;
2365
- /** @format uuid */
2366
- myProfileStaticIconID?: string | null;
2367
- /** @format uuid */
2368
- myProfileAnimatedIconID?: string | null;
2369
- /** @format uuid */
2370
- accountSettingsStaticIconID?: string | null;
2371
- /** @format uuid */
2372
- accountSettingsAnimatedIconID?: string | null;
2373
- /** @format uuid */
2374
- brandStaticIconID?: string | null;
2375
- /** @format uuid */
2376
- brandAnimatedIconID?: string | null;
2377
- /** @format uuid */
2378
- branchesStaticIconID?: string | null;
2379
- /** @format uuid */
2380
- branchesAnimatedIconID?: string | null;
2381
- /** @format uuid */
2382
- loanOfficersStaticIconID?: string | null;
2383
- /** @format uuid */
2384
- loanOfficersAnimatedIconID?: string | null;
2385
- /** @format uuid */
2386
- usersStaticIconID?: string | null;
2387
- /** @format uuid */
2388
- usersAnimatedIconID?: string | null;
2389
- counties: string[];
2390
- /** @format uuid */
2391
- pipelineStaticIconID?: string | null;
2392
- /** @format uuid */
2393
- pipelineAnimatedIconID?: string | null;
2394
- /** @format uuid */
2395
- loanApplicationsStaticIconID?: string | null;
2396
- /** @format uuid */
2397
- loanApplicationsAnimatedIconID?: string | null;
2398
- /** @format uuid */
2399
- documentsStaticIconID?: string | null;
2400
- /** @format uuid */
2401
- documentsAnimatedIconID?: string | null;
2402
- /** @format uuid */
2403
- calculatorStaticIconID?: string | null;
2404
- /** @format uuid */
2405
- calculatorAnimatedIconID?: string | null;
2406
- /** @format uuid */
2407
- dashboardStaticIconID?: string | null;
2408
- /** @format uuid */
2409
- dashboardAnimatedIconID?: string | null;
2410
- /** @format uuid */
2411
- signOutAnimatedIconID?: string | null;
2412
- /** @format uuid */
2413
- signInStaticIconID?: string | null;
2414
- /** @format uuid */
2415
- signInAnimatedIconID?: string | null;
2416
- /** @format uuid */
2417
- signOutStaticIconID?: string | null;
2418
- backgroundImageUrl?: string | null;
2419
- disclosuresUrl?: string | null;
2420
- /** @format uuid */
2421
- addCoBorrowerStaticIconID?: string | null;
2422
- /** @format uuid */
2423
- addCoBorrowerAnimatedIconID?: string | null;
2424
- disclosuresSSOSiteID?: string | null;
2425
- loanChannel?: string | null;
2426
- loanFolder?: string | null;
2427
- loanTemplate?: string | null;
2428
- fromEmail?: string | null;
2429
- ccEmails?: string | null;
2430
- irsVerificationUrl?: string | null;
2431
- byPhoneTitle?: string | null;
2432
- byPhoneSubtitle?: string | null;
2433
- shortAppTitle?: string | null;
2434
- shortAppSubtitle?: string | null;
2435
- fullAppTitle?: string | null;
2436
- fullAppSubtitle?: string | null;
2437
- spanishPrequalTitle?: string | null;
2438
- spanishPrequalSubtitle?: string | null;
2439
- spanishFullAppTitle?: string | null;
2440
- spanishFullAppSubtitle?: string | null;
2441
- darkModeLogoUrl?: string | null;
2442
- darkModePortalLogoUrl?: string | null;
2443
- darkModeIconUrl?: string | null;
2444
- darkModePrimaryColor?: string | null;
2445
- darkModeSecondaryColor?: string | null;
2446
- calendarUrl?: string | null;
2447
- surveysUrl?: string | null;
2448
- enabledServices: EnabledServices;
2449
- modules?: Module[] | null;
2450
- /** @format uuid */
2451
- userID?: string | null;
2452
- /** @format uuid */
2453
- id: string;
2314
+ export interface SiteConfigurationWithInheritedResponse {
2315
+ siteConfiguration: SiteConfiguration;
2316
+ inheritedSiteConfiguration: SiteConfiguration;
2454
2317
  }
2455
2318
  export interface SocialSurveyRecord {
2456
2319
  /** @format date-time */
@@ -2510,7 +2373,6 @@ export interface TaskRequest {
2510
2373
  /**
2511
2374
  * @format int32
2512
2375
  * @min 0
2513
- * @exclusiveMin true
2514
2376
  */
2515
2377
  daysDueFromApplication?: number | null;
2516
2378
  isGlobal: boolean;
@@ -2729,11 +2591,14 @@ export interface UserLoanTask {
2729
2591
  }
2730
2592
  export interface UserLoanTaskRequest {
2731
2593
  value?: string | null;
2732
- /** @format uuid */
2594
+ /**
2595
+ * @format uuid
2596
+ * @minLength 1
2597
+ */
2733
2598
  userID: string;
2734
2599
  }
2735
2600
  export interface UserLoanTaskUpdateRequest {
2736
- status: string;
2601
+ status?: string | null;
2737
2602
  value?: string | null;
2738
2603
  }
2739
2604
  export interface UserMobilePhoneVerificationRequest {
@@ -2815,8 +2680,7 @@ export interface UserSearchCriteria {
2815
2680
  }
2816
2681
  export interface VerificationRequest {
2817
2682
  requestID?: string | null;
2818
- /** @minLength 1 */
2819
- loanID: string;
2683
+ loanID?: string | null;
2820
2684
  /** @minItems 1 */
2821
2685
  operations: string[];
2822
2686
  /** @format int32 */
@@ -2864,9 +2728,9 @@ export interface Workflow {
2864
2728
  tileSubtitle: string;
2865
2729
  icon: string;
2866
2730
  }
2867
- import type { AxiosInstance, AxiosRequestConfig, AxiosResponse, ResponseType } from "axios";
2868
2731
  export type QueryParamsType = Record<string | number, any>;
2869
- export interface FullRequestParams extends Omit<AxiosRequestConfig, "data" | "params" | "url" | "responseType"> {
2732
+ export type ResponseFormat = keyof Omit<Body, "body" | "bodyUsed">;
2733
+ export interface FullRequestParams extends Omit<RequestInit, "body"> {
2870
2734
  /** set parameter to `true` for call `securityWorker` for this request */
2871
2735
  secure?: boolean;
2872
2736
  /** request path */
@@ -2876,16 +2740,26 @@ export interface FullRequestParams extends Omit<AxiosRequestConfig, "data" | "pa
2876
2740
  /** query params */
2877
2741
  query?: QueryParamsType;
2878
2742
  /** format of response (i.e. response.json() -> format: "json") */
2879
- format?: ResponseType;
2743
+ format?: ResponseFormat;
2880
2744
  /** request body */
2881
2745
  body?: unknown;
2746
+ /** base url */
2747
+ baseUrl?: string;
2748
+ /** request cancellation token */
2749
+ cancelToken?: CancelToken;
2882
2750
  }
2883
2751
  export type RequestParams = Omit<FullRequestParams, "body" | "method" | "query" | "path">;
2884
- export interface ApiConfig<SecurityDataType = unknown> extends Omit<AxiosRequestConfig, "data" | "cancelToken"> {
2885
- securityWorker?: (securityData: SecurityDataType | null) => Promise<AxiosRequestConfig | void> | AxiosRequestConfig | void;
2886
- secure?: boolean;
2887
- format?: ResponseType;
2752
+ export interface ApiConfig<SecurityDataType = unknown> {
2753
+ baseUrl?: string;
2754
+ baseApiParams?: Omit<RequestParams, "baseUrl" | "cancelToken" | "signal">;
2755
+ securityWorker?: (securityData: SecurityDataType | null) => Promise<RequestParams | void> | RequestParams | void;
2756
+ customFetch?: typeof fetch;
2888
2757
  }
2758
+ export interface HttpResponse<D extends unknown, E extends unknown = unknown> extends Response {
2759
+ data: D;
2760
+ error: E;
2761
+ }
2762
+ type CancelToken = Symbol | string | number;
2889
2763
  export declare enum ContentType {
2890
2764
  Json = "application/json",
2891
2765
  FormData = "multipart/form-data",
@@ -2893,21 +2767,28 @@ export declare enum ContentType {
2893
2767
  Text = "text/plain"
2894
2768
  }
2895
2769
  export declare class HttpClient<SecurityDataType = unknown> {
2896
- instance: AxiosInstance;
2770
+ baseUrl: string;
2897
2771
  private securityData;
2898
2772
  private securityWorker?;
2899
- private secure?;
2900
- private format?;
2901
- constructor({ securityWorker, secure, format, ...axiosConfig }?: ApiConfig<SecurityDataType>);
2773
+ private abortControllers;
2774
+ private customFetch;
2775
+ private baseApiParams;
2776
+ constructor(apiConfig?: ApiConfig<SecurityDataType>);
2902
2777
  setSecurityData: (data: SecurityDataType | null) => void;
2903
- protected mergeRequestParams(params1: AxiosRequestConfig, params2?: AxiosRequestConfig): AxiosRequestConfig;
2904
- protected stringifyFormItem(formItem: unknown): string;
2905
- protected createFormData(input: Record<string, unknown>): FormData;
2906
- request: <T = any, _E = any>({ secure, path, type, query, format, body, ...params }: FullRequestParams) => Promise<AxiosResponse<T>>;
2778
+ protected encodeQueryParam(key: string, value: any): string;
2779
+ protected addQueryParam(query: QueryParamsType, key: string): string;
2780
+ protected addArrayQueryParam(query: QueryParamsType, key: string): any;
2781
+ protected toQueryString(rawQuery?: QueryParamsType): string;
2782
+ protected addQueryParams(rawQuery?: QueryParamsType): string;
2783
+ private contentFormatters;
2784
+ protected mergeRequestParams(params1: RequestParams, params2?: RequestParams): RequestParams;
2785
+ protected createAbortSignal: (cancelToken: CancelToken) => AbortSignal | undefined;
2786
+ abortRequest: (cancelToken: CancelToken) => void;
2787
+ request: <T = any, E = any>({ body, secure, path, type, query, format, baseUrl, cancelToken, ...params }: FullRequestParams) => Promise<HttpResponse<T, E>>;
2907
2788
  }
2908
2789
  /**
2909
2790
  * @title The Big POS API
2910
- * @version v2.8.7
2791
+ * @version v2.10.0
2911
2792
  * @termsOfService https://www.thebigpos.com/terms-of-use/
2912
2793
  * @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
2913
2794
  */
@@ -2920,7 +2801,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
2920
2801
  * @request POST:/
2921
2802
  * @secure
2922
2803
  */
2923
- postRoot: (params?: RequestParams) => Promise<AxiosResponse<void, any>>;
2804
+ postRoot: (params?: RequestParams) => Promise<HttpResponse<void, any>>;
2924
2805
  api: {
2925
2806
  /**
2926
2807
  * No description
@@ -2931,7 +2812,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
2931
2812
  * @request GET:/api/account
2932
2813
  * @secure
2933
2814
  */
2934
- getAccount: (params?: RequestParams) => Promise<AxiosResponse<Account, any>>;
2815
+ getAccount: (params?: RequestParams) => Promise<HttpResponse<Account, ProblemDetails>>;
2935
2816
  /**
2936
2817
  * No description
2937
2818
  *
@@ -2941,7 +2822,17 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
2941
2822
  * @request PUT:/api/account
2942
2823
  * @secure
2943
2824
  */
2944
- replaceAccount: (data: AccountUpdateRequest, params?: RequestParams) => Promise<AxiosResponse<Account, any>>;
2825
+ replaceAccount: (data: AccountUpdateRequest, params?: RequestParams) => Promise<HttpResponse<Account, ProblemDetails>>;
2826
+ /**
2827
+ * No description
2828
+ *
2829
+ * @tags Account
2830
+ * @name UpdateAccount
2831
+ * @summary Update
2832
+ * @request PATCH:/api/account
2833
+ * @secure
2834
+ */
2835
+ updateAccount: (data: JsonPatchDocument, params?: RequestParams) => Promise<HttpResponse<Account, ProblemDetails>>;
2945
2836
  /**
2946
2837
  * No description
2947
2838
  *
@@ -2951,7 +2842,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
2951
2842
  * @request GET:/api/account/site-configurations
2952
2843
  * @secure
2953
2844
  */
2954
- getSiteConfigurationByAccount: (params?: RequestParams) => Promise<AxiosResponse<SiteConfiguration, any>>;
2845
+ getSiteConfigurationByAccount: (params?: RequestParams) => Promise<HttpResponse<SiteConfiguration, any>>;
2955
2846
  /**
2956
2847
  * No description
2957
2848
  *
@@ -2961,7 +2852,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
2961
2852
  * @request PUT:/api/account/site-configurations
2962
2853
  * @secure
2963
2854
  */
2964
- updateSiteConfigurationForAccount: (data: SiteConfiguration, params?: RequestParams) => Promise<AxiosResponse<SiteConfiguration, any>>;
2855
+ updateSiteConfigurationForAccount: (data: SiteConfiguration, params?: RequestParams) => Promise<HttpResponse<SiteConfiguration, UnprocessableEntityResponse>>;
2965
2856
  /**
2966
2857
  * No description
2967
2858
  *
@@ -2979,7 +2870,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
2979
2870
  pageNumber?: number;
2980
2871
  sortBy?: string;
2981
2872
  sortDirection?: string;
2982
- }, params?: RequestParams) => Promise<AxiosResponse<GetBranchPaginatedResponse, any>>;
2873
+ }, params?: RequestParams) => Promise<HttpResponse<GetBranchPaginatedResponse, any>>;
2983
2874
  /**
2984
2875
  * No description
2985
2876
  *
@@ -2989,7 +2880,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
2989
2880
  * @request POST:/api/branches
2990
2881
  * @secure
2991
2882
  */
2992
- createBranch: (data: CreateBranchRequest, params?: RequestParams) => Promise<AxiosResponse<GetBranch, any>>;
2883
+ createBranch: (data: CreateBranchRequest, params?: RequestParams) => Promise<HttpResponse<GetBranch, UnprocessableEntityResponse>>;
2993
2884
  /**
2994
2885
  * No description
2995
2886
  *
@@ -3006,7 +2897,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3006
2897
  pageNumber?: number;
3007
2898
  sortBy?: string;
3008
2899
  sortDirection?: string;
3009
- }, params?: RequestParams) => Promise<AxiosResponse<GetBranchPaginatedResponse, any>>;
2900
+ }, params?: RequestParams) => Promise<HttpResponse<GetBranchPaginatedResponse, any>>;
3010
2901
  /**
3011
2902
  * No description
3012
2903
  *
@@ -3016,7 +2907,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3016
2907
  * @request GET:/api/branches/{branchId}
3017
2908
  * @secure
3018
2909
  */
3019
- getBranch: (branchId: string, params?: RequestParams) => Promise<AxiosResponse<GetBranch, any>>;
2910
+ getBranch: (branchId: string, params?: RequestParams) => Promise<HttpResponse<GetBranch, any>>;
3020
2911
  /**
3021
2912
  * No description
3022
2913
  *
@@ -3026,7 +2917,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3026
2917
  * @request PUT:/api/branches/{branchId}
3027
2918
  * @secure
3028
2919
  */
3029
- replaceBranch: (branchId: string, data: CreateBranchRequest, params?: RequestParams) => Promise<AxiosResponse<GetBranch, any>>;
2920
+ replaceBranch: (branchId: string, data: CreateBranchRequest, params?: RequestParams) => Promise<HttpResponse<GetBranch, UnprocessableEntityResponse>>;
3030
2921
  /**
3031
2922
  * No description
3032
2923
  *
@@ -3036,7 +2927,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3036
2927
  * @request DELETE:/api/branches/{branchId}
3037
2928
  * @secure
3038
2929
  */
3039
- deleteBranch: (branchId: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
2930
+ deleteBranch: (branchId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
3040
2931
  /**
3041
2932
  * No description
3042
2933
  *
@@ -3046,7 +2937,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3046
2937
  * @request POST:/api/branches/{branchId}/restore
3047
2938
  * @secure
3048
2939
  */
3049
- restoreBranch: (branchId: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
2940
+ restoreBranch: (branchId: string, params?: RequestParams) => Promise<HttpResponse<void, ProblemDetails>>;
3050
2941
  /**
3051
2942
  * No description
3052
2943
  *
@@ -3056,29 +2947,29 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3056
2947
  * @request POST:/api/branches/{branchId}/site-configurations
3057
2948
  * @secure
3058
2949
  */
3059
- createBranchSiteConfiguration: (branchId: string, data: SiteConfigurationRequest, params?: RequestParams) => Promise<AxiosResponse<SiteConfiguration, any>>;
2950
+ createBranchSiteConfiguration: (branchId: string, data: SiteConfigurationRequest, params?: RequestParams) => Promise<HttpResponse<SiteConfiguration, UnprocessableEntityResponse>>;
3060
2951
  /**
3061
2952
  * No description
3062
2953
  *
3063
2954
  * @tags Branches
3064
- * @name ReplaceBranchSiteConfiguration
3065
- * @summary Replace Branch Site Configuration
3066
- * @request PUT:/api/branches/{branchId}/site-configurations
2955
+ * @name GetBranchSiteConfiguration
2956
+ * @summary Get Branch Site Configuration
2957
+ * @request GET:/api/branches/{branchId}/site-configurations/{siteConfigurationId}
3067
2958
  * @secure
3068
2959
  */
3069
- replaceBranchSiteConfiguration: (branchId: string, data: SiteConfigurationUpdateRequest, query?: {
3070
- applyToChildren?: boolean;
3071
- }, params?: RequestParams) => Promise<AxiosResponse<SiteConfiguration, any>>;
2960
+ getBranchSiteConfiguration: (branchId: string, siteConfigurationId: string, params?: RequestParams) => Promise<HttpResponse<SiteConfigurationWithInheritedResponse, any>>;
3072
2961
  /**
3073
2962
  * No description
3074
2963
  *
3075
2964
  * @tags Branches
3076
- * @name GetBranchSiteConfiguration
3077
- * @summary Get Branch Site Configuration
3078
- * @request GET:/api/branches/{branchId}/site-configurations/{siteConfigurationId}
2965
+ * @name ReplaceBranchSiteConfiguration
2966
+ * @summary Replace Branch Site Configuration
2967
+ * @request PUT:/api/branches/{branchId}/site-configurations/{siteConfigurationId}
3079
2968
  * @secure
3080
2969
  */
3081
- getBranchSiteConfiguration: (branchId: string, siteConfigurationId: string, params?: RequestParams) => Promise<AxiosResponse<SiteConfiguration, any>>;
2970
+ replaceBranchSiteConfiguration: (branchId: string, siteConfigurationId: string, data: SiteConfigurationRequest, query?: {
2971
+ applyToChildren?: boolean;
2972
+ }, params?: RequestParams) => Promise<HttpResponse<SiteConfiguration, UnprocessableEntityResponse>>;
3082
2973
  /**
3083
2974
  * No description
3084
2975
  *
@@ -3088,7 +2979,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3088
2979
  * @request GET:/api/branches/{branchId}/loan-officers
3089
2980
  * @secure
3090
2981
  */
3091
- getLoanOfficersByBranch: (branchId: string, params?: RequestParams) => Promise<AxiosResponse<PublicLoanOfficer, any>>;
2982
+ getLoanOfficersByBranch: (branchId: string, params?: RequestParams) => Promise<HttpResponse<PublicLoanOfficer, any>>;
3092
2983
  /**
3093
2984
  * No description
3094
2985
  *
@@ -3100,7 +2991,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3100
2991
  */
3101
2992
  getBusinessRules: (query?: {
3102
2993
  showAll?: boolean;
3103
- }, params?: RequestParams) => Promise<AxiosResponse<BusinessRule[], any>>;
2994
+ }, params?: RequestParams) => Promise<HttpResponse<BusinessRule[], any>>;
3104
2995
  /**
3105
2996
  * No description
3106
2997
  *
@@ -3110,7 +3001,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3110
3001
  * @request POST:/api/business-rules
3111
3002
  * @secure
3112
3003
  */
3113
- createBusinessRule: (data: BusinessRuleRequest, params?: RequestParams) => Promise<AxiosResponse<BusinessRule, any>>;
3004
+ createBusinessRule: (data: BusinessRuleRequest, params?: RequestParams) => Promise<HttpResponse<BusinessRule, UnprocessableEntityResponse>>;
3114
3005
  /**
3115
3006
  * No description
3116
3007
  *
@@ -3120,7 +3011,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3120
3011
  * @request GET:/api/business-rules/{id}
3121
3012
  * @secure
3122
3013
  */
3123
- getBusinessRule: (id: string, params?: RequestParams) => Promise<AxiosResponse<BusinessRule, any>>;
3014
+ getBusinessRule: (id: string, params?: RequestParams) => Promise<HttpResponse<BusinessRule, any>>;
3124
3015
  /**
3125
3016
  * No description
3126
3017
  *
@@ -3130,7 +3021,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3130
3021
  * @request PUT:/api/business-rules/{id}
3131
3022
  * @secure
3132
3023
  */
3133
- replaceBusinessRule: (id: string, data: BusinessRuleRequest, params?: RequestParams) => Promise<AxiosResponse<BusinessRule, any>>;
3024
+ replaceBusinessRule: (id: string, data: BusinessRuleRequest, params?: RequestParams) => Promise<HttpResponse<BusinessRule, UnprocessableEntityResponse>>;
3134
3025
  /**
3135
3026
  * No description
3136
3027
  *
@@ -3140,7 +3031,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3140
3031
  * @request DELETE:/api/business-rules/{id}
3141
3032
  * @secure
3142
3033
  */
3143
- deleteBusinessRule: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
3034
+ deleteBusinessRule: (id: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
3144
3035
  /**
3145
3036
  * No description
3146
3037
  *
@@ -3150,7 +3041,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3150
3041
  * @request POST:/api/business-rules/{id}/restore
3151
3042
  * @secure
3152
3043
  */
3153
- restoreBusinessRule: (id: string, params?: RequestParams) => Promise<AxiosResponse<BusinessRule, any>>;
3044
+ restoreBusinessRule: (id: string, params?: RequestParams) => Promise<HttpResponse<BusinessRule, any>>;
3154
3045
  /**
3155
3046
  * No description
3156
3047
  *
@@ -3168,7 +3059,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3168
3059
  pageNumber?: number;
3169
3060
  sortBy?: string;
3170
3061
  sortDirection?: string;
3171
- }, params?: RequestParams) => Promise<AxiosResponse<CorporateResponsePaginatedResponse, any>>;
3062
+ }, params?: RequestParams) => Promise<HttpResponse<CorporateResponsePaginatedResponse, any>>;
3172
3063
  /**
3173
3064
  * No description
3174
3065
  *
@@ -3178,7 +3069,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3178
3069
  * @request POST:/api/corporates
3179
3070
  * @secure
3180
3071
  */
3181
- createCorporate: (data: CorporateRequest, params?: RequestParams) => Promise<AxiosResponse<CorporateResponse, any>>;
3072
+ createCorporate: (data: CorporateRequest, params?: RequestParams) => Promise<HttpResponse<CorporateResponse, UnprocessableEntityResponse>>;
3182
3073
  /**
3183
3074
  * No description
3184
3075
  *
@@ -3195,7 +3086,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3195
3086
  pageNumber?: number;
3196
3087
  sortBy?: string;
3197
3088
  sortDirection?: string;
3198
- }, params?: RequestParams) => Promise<AxiosResponse<CorporateResponsePaginatedResponse, any>>;
3089
+ }, params?: RequestParams) => Promise<HttpResponse<CorporateResponsePaginatedResponse, any>>;
3199
3090
  /**
3200
3091
  * No description
3201
3092
  *
@@ -3205,7 +3096,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3205
3096
  * @request GET:/api/corporates/{id}
3206
3097
  * @secure
3207
3098
  */
3208
- getCorporate: (id: string, params?: RequestParams) => Promise<AxiosResponse<CorporateResponse, any>>;
3099
+ getCorporate: (id: string, params?: RequestParams) => Promise<HttpResponse<CorporateResponse, any>>;
3209
3100
  /**
3210
3101
  * No description
3211
3102
  *
@@ -3215,7 +3106,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3215
3106
  * @request PUT:/api/corporates/{id}
3216
3107
  * @secure
3217
3108
  */
3218
- replaceCorporate: (id: string, data: CorporateRequest, params?: RequestParams) => Promise<AxiosResponse<CorporateResponse, any>>;
3109
+ replaceCorporate: (id: string, data: CorporateRequest, params?: RequestParams) => Promise<HttpResponse<CorporateResponse, UnprocessableEntityResponse>>;
3219
3110
  /**
3220
3111
  * No description
3221
3112
  *
@@ -3225,7 +3116,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3225
3116
  * @request DELETE:/api/corporates/{id}
3226
3117
  * @secure
3227
3118
  */
3228
- deleteCorporate: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
3119
+ deleteCorporate: (id: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
3229
3120
  /**
3230
3121
  * No description
3231
3122
  *
@@ -3235,7 +3126,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3235
3126
  * @request POST:/api/corporates/{id}/restore
3236
3127
  * @secure
3237
3128
  */
3238
- restoreCorporate: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
3129
+ restoreCorporate: (id: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
3239
3130
  /**
3240
3131
  * No description
3241
3132
  *
@@ -3245,7 +3136,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3245
3136
  * @request POST:/api/corporates/{corporateId}/site-configurations
3246
3137
  * @secure
3247
3138
  */
3248
- createCorporateSiteConfiguration: (corporateId: string, data: SiteConfigurationRequest, params?: RequestParams) => Promise<AxiosResponse<SiteConfiguration, any>>;
3139
+ createCorporateSiteConfiguration: (corporateId: string, data: SiteConfigurationRequest, params?: RequestParams) => Promise<HttpResponse<SiteConfiguration, UnprocessableEntityResponse>>;
3249
3140
  /**
3250
3141
  * No description
3251
3142
  *
@@ -3255,7 +3146,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3255
3146
  * @request GET:/api/corporates/{corporateId}/site-configurations/{siteConfigurationId}
3256
3147
  * @secure
3257
3148
  */
3258
- getCorporateSiteConfiguration: (corporateId: string, siteConfigurationId: string, params?: RequestParams) => Promise<AxiosResponse<SiteConfiguration, any>>;
3149
+ getCorporateSiteConfiguration: (corporateId: string, siteConfigurationId: string, params?: RequestParams) => Promise<HttpResponse<SiteConfigurationWithInheritedResponse, any>>;
3259
3150
  /**
3260
3151
  * No description
3261
3152
  *
@@ -3265,9 +3156,9 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3265
3156
  * @request PUT:/api/corporates/{corporateId}/site-configurations/{siteConfigurationId}
3266
3157
  * @secure
3267
3158
  */
3268
- replaceCorporateSiteConfiguration: (corporateId: string, siteConfigurationId: string, data: SiteConfigurationUpdateRequest, query?: {
3159
+ replaceCorporateSiteConfiguration: (corporateId: string, siteConfigurationId: string, data: SiteConfigurationRequest, query?: {
3269
3160
  applyToChildren?: boolean;
3270
- }, params?: RequestParams) => Promise<AxiosResponse<SiteConfiguration, any>>;
3161
+ }, params?: RequestParams) => Promise<HttpResponse<SiteConfiguration, UnprocessableEntityResponse>>;
3271
3162
  /**
3272
3163
  * No description
3273
3164
  *
@@ -3277,7 +3168,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3277
3168
  * @request GET:/api/corporates/{id}/branches
3278
3169
  * @secure
3279
3170
  */
3280
- getBranchesByCorporate: (id: string, params?: RequestParams) => Promise<AxiosResponse<BranchReduced[], any>>;
3171
+ getBranchesByCorporate: (id: string, params?: RequestParams) => Promise<HttpResponse<BranchReduced[], any>>;
3281
3172
  /**
3282
3173
  * No description
3283
3174
  *
@@ -3287,7 +3178,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3287
3178
  * @request GET:/api/corporates/{id}/loan-officers
3288
3179
  * @secure
3289
3180
  */
3290
- getLoanOfficersByCorporate: (id: string, params?: RequestParams) => Promise<AxiosResponse<PublicLoanOfficer, any>>;
3181
+ getLoanOfficersByCorporate: (id: string, params?: RequestParams) => Promise<HttpResponse<PublicLoanOfficer, any>>;
3291
3182
  /**
3292
3183
  * No description
3293
3184
  *
@@ -3306,7 +3197,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3306
3197
  pageNumber?: number;
3307
3198
  sortBy?: string;
3308
3199
  sortDirection?: string;
3309
- }, params?: RequestParams) => Promise<AxiosResponse<DeviceResponsePaginatedResponse, any>>;
3200
+ }, params?: RequestParams) => Promise<HttpResponse<DeviceResponsePaginatedResponse, any>>;
3310
3201
  /**
3311
3202
  * No description
3312
3203
  *
@@ -3316,7 +3207,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3316
3207
  * @request GET:/api/devices/{id}
3317
3208
  * @secure
3318
3209
  */
3319
- getDeviceById: (id: string, params?: RequestParams) => Promise<AxiosResponse<DeviceResponse, any>>;
3210
+ getDeviceById: (id: string, params?: RequestParams) => Promise<HttpResponse<DeviceResponse, any>>;
3320
3211
  /**
3321
3212
  * No description
3322
3213
  *
@@ -3326,7 +3217,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3326
3217
  * @request GET:/api/devices/{sn}/profile
3327
3218
  * @secure
3328
3219
  */
3329
- getDeviceBySerialNumber: (sn: string, params?: RequestParams) => Promise<AxiosResponse<DeviceMDMResponse, any>>;
3220
+ getDeviceBySerialNumber: (sn: string, params?: RequestParams) => Promise<HttpResponse<DeviceMDMResponse, any>>;
3330
3221
  /**
3331
3222
  * No description
3332
3223
  *
@@ -3336,7 +3227,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3336
3227
  * @request POST:/api/devices/{sn}/actions/{actionName}
3337
3228
  * @secure
3338
3229
  */
3339
- createActionBySerialNumber: (sn: string, actionName: string, params?: RequestParams) => Promise<AxiosResponse<ActionResponse, any>>;
3230
+ createActionBySerialNumber: (sn: string, actionName: string, params?: RequestParams) => Promise<HttpResponse<ActionResponse, any>>;
3340
3231
  /**
3341
3232
  * No description
3342
3233
  *
@@ -3349,7 +3240,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3349
3240
  getDocumentBuckets: (query?: {
3350
3241
  /** @default false */
3351
3242
  includeSystemBuckets?: boolean;
3352
- }, params?: RequestParams) => Promise<AxiosResponse<string[], any>>;
3243
+ }, params?: RequestParams) => Promise<HttpResponse<string[], any>>;
3353
3244
  /**
3354
3245
  * No description
3355
3246
  *
@@ -3361,7 +3252,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3361
3252
  */
3362
3253
  getDocumentTemplates: (query?: {
3363
3254
  showAll?: boolean;
3364
- }, params?: RequestParams) => Promise<AxiosResponse<DocumentTemplateBaseResponse[], any>>;
3255
+ }, params?: RequestParams) => Promise<HttpResponse<DocumentTemplateBaseResponse[], any>>;
3365
3256
  /**
3366
3257
  * No description
3367
3258
  *
@@ -3371,7 +3262,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3371
3262
  * @request POST:/api/document-templates
3372
3263
  * @secure
3373
3264
  */
3374
- createDocumentTemplate: (data: CreateDocumentTemplateRequest, params?: RequestParams) => Promise<AxiosResponse<DocumentTemplateBaseResponse, any>>;
3265
+ createDocumentTemplate: (data: CreateDocumentTemplateRequest, params?: RequestParams) => Promise<HttpResponse<DocumentTemplateBaseResponse, ProblemDetails | UnprocessableEntityResponse>>;
3375
3266
  /**
3376
3267
  * No description
3377
3268
  *
@@ -3386,7 +3277,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3386
3277
  showAll?: boolean;
3387
3278
  /** @default true */
3388
3279
  publishedOnly?: boolean;
3389
- }, params?: RequestParams) => Promise<AxiosResponse<DocumentTemplateBaseResponse[], any>>;
3280
+ }, params?: RequestParams) => Promise<HttpResponse<DocumentTemplateBaseResponse[], any>>;
3390
3281
  /**
3391
3282
  * No description
3392
3283
  *
@@ -3396,7 +3287,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3396
3287
  * @request GET:/api/document-templates/{id}
3397
3288
  * @secure
3398
3289
  */
3399
- getDocumentTemplate: (id: string, params?: RequestParams) => Promise<AxiosResponse<DocumentTemplateResponse, any>>;
3290
+ getDocumentTemplate: (id: string, params?: RequestParams) => Promise<HttpResponse<DocumentTemplateResponse, ProblemDetails>>;
3400
3291
  /**
3401
3292
  * No description
3402
3293
  *
@@ -3406,7 +3297,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3406
3297
  * @request PUT:/api/document-templates/{id}
3407
3298
  * @secure
3408
3299
  */
3409
- replaceDocumentTemplate: (id: string, data: UpdateDocumentTemplateRequest, params?: RequestParams) => Promise<AxiosResponse<DocumentTemplateBaseResponse, any>>;
3300
+ replaceDocumentTemplate: (id: string, data: UpdateDocumentTemplateRequest, params?: RequestParams) => Promise<HttpResponse<DocumentTemplateBaseResponse, ProblemDetails | UnprocessableEntityResponse>>;
3410
3301
  /**
3411
3302
  * No description
3412
3303
  *
@@ -3416,7 +3307,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3416
3307
  * @request DELETE:/api/document-templates/{id}
3417
3308
  * @secure
3418
3309
  */
3419
- deleteDocumentTemplate: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
3310
+ deleteDocumentTemplate: (id: string, params?: RequestParams) => Promise<HttpResponse<void, ProblemDetails>>;
3420
3311
  /**
3421
3312
  * No description
3422
3313
  *
@@ -3426,7 +3317,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3426
3317
  * @request POST:/api/document-templates/{id}/restore
3427
3318
  * @secure
3428
3319
  */
3429
- restoreDocumentTemplate: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
3320
+ restoreDocumentTemplate: (id: string, params?: RequestParams) => Promise<HttpResponse<void, ProblemDetails>>;
3430
3321
  /**
3431
3322
  * No description
3432
3323
  *
@@ -3436,7 +3327,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3436
3327
  * @request GET:/api/document-templates/{documentId}/versions
3437
3328
  * @secure
3438
3329
  */
3439
- getDocumentTemplateVersions: (documentId: string, params?: RequestParams) => Promise<AxiosResponse<DocumentTemplateVersionResponse[], any>>;
3330
+ getDocumentTemplateVersions: (documentId: string, params?: RequestParams) => Promise<HttpResponse<DocumentTemplateVersionResponse[], any>>;
3440
3331
  /**
3441
3332
  * No description
3442
3333
  *
@@ -3446,7 +3337,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3446
3337
  * @request POST:/api/document-templates/{documentId}/versions
3447
3338
  * @secure
3448
3339
  */
3449
- createDocumentTemplateVersion: (documentId: string, data: DocumentTemplateVersionRequest, params?: RequestParams) => Promise<AxiosResponse<DocumentTemplateVersionResponse, any>>;
3340
+ createDocumentTemplateVersion: (documentId: string, data: DocumentTemplateVersionRequest, params?: RequestParams) => Promise<HttpResponse<DocumentTemplateVersionResponse, any>>;
3450
3341
  /**
3451
3342
  * No description
3452
3343
  *
@@ -3456,7 +3347,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3456
3347
  * @request GET:/api/document-templates/{documentId}/versions/{id}
3457
3348
  * @secure
3458
3349
  */
3459
- getDocumentTemplateVersion: (documentId: string, id: string, params?: RequestParams) => Promise<AxiosResponse<DocumentTemplateVersionResponse, any>>;
3350
+ getDocumentTemplateVersion: (documentId: string, id: string, params?: RequestParams) => Promise<HttpResponse<DocumentTemplateVersionResponse, any>>;
3460
3351
  /**
3461
3352
  * No description
3462
3353
  *
@@ -3466,7 +3357,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3466
3357
  * @request PUT:/api/document-templates/{documentId}/versions/{id}
3467
3358
  * @secure
3468
3359
  */
3469
- replaceDocumentTemplateVersion: (documentId: string, id: string, data: DocumentTemplateVersionUpdateRequest, params?: RequestParams) => Promise<AxiosResponse<DocumentTemplateVersionResponse, any>>;
3360
+ replaceDocumentTemplateVersion: (documentId: string, id: string, data: DocumentTemplateVersionUpdateRequest, params?: RequestParams) => Promise<HttpResponse<DocumentTemplateVersionResponse, any>>;
3470
3361
  /**
3471
3362
  * No description
3472
3363
  *
@@ -3476,7 +3367,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3476
3367
  * @request DELETE:/api/document-templates/{documentId}/versions/{id}
3477
3368
  * @secure
3478
3369
  */
3479
- deleteDocumentTemplateVersion: (documentId: string, id: string, params?: RequestParams) => Promise<AxiosResponse<DocumentTemplateVersionResponse, any>>;
3370
+ deleteDocumentTemplateVersion: (documentId: string, id: string, params?: RequestParams) => Promise<HttpResponse<DocumentTemplateVersionResponse, any>>;
3480
3371
  /**
3481
3372
  * No description
3482
3373
  *
@@ -3495,7 +3386,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3495
3386
  sortDirection?: string;
3496
3387
  /** @default false */
3497
3388
  includeDeleted?: boolean;
3498
- }, params?: RequestParams) => Promise<AxiosResponse<FilePaginatedResponse, any>>;
3389
+ }, params?: RequestParams) => Promise<HttpResponse<FilePaginatedResponse, any>>;
3499
3390
  /**
3500
3391
  * No description
3501
3392
  *
@@ -3511,7 +3402,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3511
3402
  file?: File;
3512
3403
  isPublic?: boolean;
3513
3404
  bucket?: string;
3514
- }, params?: RequestParams) => Promise<AxiosResponse<File, any>>;
3405
+ }, params?: RequestParams) => Promise<HttpResponse<File, UnprocessableEntityResponse>>;
3515
3406
  /**
3516
3407
  * No description
3517
3408
  *
@@ -3521,7 +3412,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3521
3412
  * @request GET:/api/files/{id}
3522
3413
  * @secure
3523
3414
  */
3524
- getFileById: (id: string, params?: RequestParams) => Promise<AxiosResponse<File, any>>;
3415
+ getFileById: (id: string, params?: RequestParams) => Promise<HttpResponse<File, any>>;
3525
3416
  /**
3526
3417
  * No description
3527
3418
  *
@@ -3531,7 +3422,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3531
3422
  * @request PUT:/api/files/{id}
3532
3423
  * @secure
3533
3424
  */
3534
- replaceFile: (id: string, data: FileRequest, params?: RequestParams) => Promise<AxiosResponse<string, any>>;
3425
+ replaceFile: (id: string, data: FileRequest, params?: RequestParams) => Promise<HttpResponse<string, UnprocessableEntityResponse>>;
3535
3426
  /**
3536
3427
  * No description
3537
3428
  *
@@ -3541,7 +3432,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3541
3432
  * @request DELETE:/api/files/{id}
3542
3433
  * @secure
3543
3434
  */
3544
- deleteFile: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
3435
+ deleteFile: (id: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
3545
3436
  /**
3546
3437
  * No description
3547
3438
  *
@@ -3558,7 +3449,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3558
3449
  pageNumber?: number;
3559
3450
  sortBy?: string;
3560
3451
  sortDirection?: string;
3561
- }, params?: RequestParams) => Promise<AxiosResponse<FilePaginatedResponse, any>>;
3452
+ }, params?: RequestParams) => Promise<HttpResponse<FilePaginatedResponse, any>>;
3562
3453
  /**
3563
3454
  * No description
3564
3455
  *
@@ -3570,7 +3461,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3570
3461
  */
3571
3462
  getForms: (query?: {
3572
3463
  showAll?: boolean;
3573
- }, params?: RequestParams) => Promise<AxiosResponse<AdminAccessGetForms[], any>>;
3464
+ }, params?: RequestParams) => Promise<HttpResponse<AdminAccessGetForms[], any>>;
3574
3465
  /**
3575
3466
  * No description
3576
3467
  *
@@ -3580,7 +3471,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3580
3471
  * @request POST:/api/forms
3581
3472
  * @secure
3582
3473
  */
3583
- createForm: (data: FormRequest, params?: RequestParams) => Promise<AxiosResponse<AdminAccessGetForms, any>>;
3474
+ createForm: (data: FormRequest, params?: RequestParams) => Promise<HttpResponse<AdminAccessGetForms, UnprocessableEntityResponse>>;
3584
3475
  /**
3585
3476
  * No description
3586
3477
  *
@@ -3590,7 +3481,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3590
3481
  * @request GET:/api/forms/{id}
3591
3482
  * @secure
3592
3483
  */
3593
- getForm: (id: string, params?: RequestParams) => Promise<AxiosResponse<AdminAccessGetForms, any>>;
3484
+ getForm: (id: string, params?: RequestParams) => Promise<HttpResponse<AdminAccessGetForms, any>>;
3594
3485
  /**
3595
3486
  * No description
3596
3487
  *
@@ -3600,7 +3491,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3600
3491
  * @request PUT:/api/forms/{id}
3601
3492
  * @secure
3602
3493
  */
3603
- replaceForm: (id: string, data: FormRequest, params?: RequestParams) => Promise<AxiosResponse<AdminAccessGetForms, any>>;
3494
+ replaceForm: (id: string, data: FormRequest, params?: RequestParams) => Promise<HttpResponse<AdminAccessGetForms, UnprocessableEntityResponse>>;
3604
3495
  /**
3605
3496
  * No description
3606
3497
  *
@@ -3610,7 +3501,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3610
3501
  * @request DELETE:/api/forms/{id}
3611
3502
  * @secure
3612
3503
  */
3613
- deleteForm: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
3504
+ deleteForm: (id: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
3614
3505
  /**
3615
3506
  * No description
3616
3507
  *
@@ -3620,7 +3511,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3620
3511
  * @request POST:/api/forms/{id}/restore
3621
3512
  * @secure
3622
3513
  */
3623
- restoreForm: (id: string, params?: RequestParams) => Promise<AxiosResponse<AdminAccessGetForms, any>>;
3514
+ restoreForm: (id: string, params?: RequestParams) => Promise<HttpResponse<AdminAccessGetForms, any>>;
3624
3515
  /**
3625
3516
  * No description
3626
3517
  *
@@ -3630,7 +3521,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3630
3521
  * @request POST:/api/forms/{formId}/site-configurations/{siteConfigurationId}
3631
3522
  * @secure
3632
3523
  */
3633
- addFormToSiteConfiguration: (formId: string, siteConfigurationId: string, data: AddFormToSiteConfigurationRequest, params?: RequestParams) => Promise<AxiosResponse<SiteConfigurationForm, any>>;
3524
+ addFormToSiteConfiguration: (formId: string, siteConfigurationId: string, data: AddFormToSiteConfigurationRequest, params?: RequestParams) => Promise<HttpResponse<SiteConfigurationForm, UnprocessableEntityResponse>>;
3634
3525
  /**
3635
3526
  * No description
3636
3527
  *
@@ -3640,7 +3531,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3640
3531
  * @request DELETE:/api/forms/{formId}/site-configurations/{siteConfigurationId}
3641
3532
  * @secure
3642
3533
  */
3643
- removeFormFromSiteConfiguration: (formId: string, siteConfigurationId: string, params?: RequestParams) => Promise<AxiosResponse<AdminAccessGetForms, any>>;
3534
+ removeFormFromSiteConfiguration: (formId: string, siteConfigurationId: string, params?: RequestParams) => Promise<HttpResponse<AdminAccessGetForms, any>>;
3644
3535
  /**
3645
3536
  * No description
3646
3537
  *
@@ -3650,7 +3541,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3650
3541
  * @request GET:/api/forms/{formId}/site-configurations
3651
3542
  * @secure
3652
3543
  */
3653
- getSiteConfigurationsByForm: (formId: string, params?: RequestParams) => Promise<AxiosResponse<SiteConfigurationReduced[], any>>;
3544
+ getSiteConfigurationsByForm: (formId: string, params?: RequestParams) => Promise<HttpResponse<SiteConfigurationReduced[], UnprocessableEntityResponse>>;
3654
3545
  /**
3655
3546
  * No description
3656
3547
  *
@@ -3664,7 +3555,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3664
3555
  /** @format binary */
3665
3556
  file?: File;
3666
3557
  name?: string;
3667
- }, params?: RequestParams) => Promise<AxiosResponse<FormSubmissionFileResponse, any>>;
3558
+ }, params?: RequestParams) => Promise<HttpResponse<FormSubmissionFileResponse, any>>;
3668
3559
  /**
3669
3560
  * No description
3670
3561
  *
@@ -3674,7 +3565,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3674
3565
  * @request DELETE:/api/form-submissions/{formSubmissionId}/files/{formSubmissionFileId}
3675
3566
  * @secure
3676
3567
  */
3677
- deleteFormSubmissionFile: (formSubmissionFileId: string, formSubmissionId: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
3568
+ deleteFormSubmissionFile: (formSubmissionFileId: string, formSubmissionId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
3678
3569
  /**
3679
3570
  * No description
3680
3571
  *
@@ -3691,7 +3582,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3691
3582
  pageNumber?: number;
3692
3583
  sortBy?: string;
3693
3584
  sortDirection?: string;
3694
- }, params?: RequestParams) => Promise<AxiosResponse<FormSubmissionPaginatedResponse, any>>;
3585
+ }, params?: RequestParams) => Promise<HttpResponse<FormSubmissionPaginatedResponse, any>>;
3695
3586
  /**
3696
3587
  * No description
3697
3588
  *
@@ -3703,7 +3594,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3703
3594
  */
3704
3595
  createFormSubmission: (data: FormSubmissionRequest, query?: {
3705
3596
  formID?: string;
3706
- }, params?: RequestParams) => Promise<AxiosResponse<FormSubmission, any>>;
3597
+ }, params?: RequestParams) => Promise<HttpResponse<FormSubmission, any>>;
3707
3598
  /**
3708
3599
  * No description
3709
3600
  *
@@ -3713,7 +3604,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3713
3604
  * @request GET:/api/form-submissions/{id}
3714
3605
  * @secure
3715
3606
  */
3716
- getFormSubmission: (id: string, params?: RequestParams) => Promise<AxiosResponse<FormSubmission, any>>;
3607
+ getFormSubmission: (id: string, params?: RequestParams) => Promise<HttpResponse<FormSubmission, any>>;
3717
3608
  /**
3718
3609
  * No description
3719
3610
  *
@@ -3723,7 +3614,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3723
3614
  * @request PUT:/api/form-submissions/{id}
3724
3615
  * @secure
3725
3616
  */
3726
- replaceFormSubmission: (id: string, data: FormSubmissionRequest, params?: RequestParams) => Promise<AxiosResponse<FormSubmission, any>>;
3617
+ replaceFormSubmission: (id: string, data: FormSubmissionRequest, params?: RequestParams) => Promise<HttpResponse<FormSubmission, any>>;
3727
3618
  /**
3728
3619
  * No description
3729
3620
  *
@@ -3733,7 +3624,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3733
3624
  * @request DELETE:/api/form-submissions/{id}
3734
3625
  * @secure
3735
3626
  */
3736
- deleteFormSubmission: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
3627
+ deleteFormSubmission: (id: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
3737
3628
  /**
3738
3629
  * No description
3739
3630
  *
@@ -3750,7 +3641,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3750
3641
  pageNumber?: number;
3751
3642
  sortBy?: string;
3752
3643
  sortDirection?: string;
3753
- }, params?: RequestParams) => Promise<AxiosResponse<FormSubmissionPaginatedResponse, any>>;
3644
+ }, params?: RequestParams) => Promise<HttpResponse<FormSubmissionPaginatedResponse, any>>;
3754
3645
  /**
3755
3646
  * No description
3756
3647
  *
@@ -3760,7 +3651,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3760
3651
  * @request GET:/api/forms/{formId}/versions
3761
3652
  * @secure
3762
3653
  */
3763
- getFormVersions: (formId: string, params?: RequestParams) => Promise<AxiosResponse<FormVersion[], any>>;
3654
+ getFormVersions: (formId: string, params?: RequestParams) => Promise<HttpResponse<FormVersion[], any>>;
3764
3655
  /**
3765
3656
  * No description
3766
3657
  *
@@ -3770,7 +3661,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3770
3661
  * @request POST:/api/forms/{formId}/versions
3771
3662
  * @secure
3772
3663
  */
3773
- createFormVersion: (formId: string, data: FormVersionRequest, params?: RequestParams) => Promise<AxiosResponse<FormVersion, any>>;
3664
+ createFormVersion: (formId: string, data: FormVersionRequest, params?: RequestParams) => Promise<HttpResponse<FormVersion, any>>;
3774
3665
  /**
3775
3666
  * No description
3776
3667
  *
@@ -3780,7 +3671,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3780
3671
  * @request GET:/api/forms/{formId}/versions/{id}
3781
3672
  * @secure
3782
3673
  */
3783
- getFormVersion: (formId: string, id: string, params?: RequestParams) => Promise<AxiosResponse<FormVersion, any>>;
3674
+ getFormVersion: (formId: string, id: string, params?: RequestParams) => Promise<HttpResponse<FormVersion, any>>;
3784
3675
  /**
3785
3676
  * No description
3786
3677
  *
@@ -3790,7 +3681,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3790
3681
  * @request PUT:/api/forms/{formId}/versions/{id}
3791
3682
  * @secure
3792
3683
  */
3793
- replaceFormVersion: (formId: string, id: string, data: FormVersionUpdateRequest, params?: RequestParams) => Promise<AxiosResponse<FormVersion, any>>;
3684
+ replaceFormVersion: (formId: string, id: string, data: FormVersionUpdateRequest, params?: RequestParams) => Promise<HttpResponse<FormVersion, any>>;
3794
3685
  /**
3795
3686
  * No description
3796
3687
  *
@@ -3800,17 +3691,17 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3800
3691
  * @request DELETE:/api/forms/{formId}/versions/{id}
3801
3692
  * @secure
3802
3693
  */
3803
- deleteFormVersion: (formId: string, id: string, params?: RequestParams) => Promise<AxiosResponse<FormVersion, any>>;
3694
+ deleteFormVersion: (formId: string, id: string, params?: RequestParams) => Promise<HttpResponse<FormVersion, any>>;
3804
3695
  /**
3805
3696
  * No description
3806
3697
  *
3807
3698
  * @tags LegacyLoan
3808
- * @name GetLoan
3699
+ * @name GetLoanData
3809
3700
  * @summary Get By ID
3810
3701
  * @request GET:/api/los/loan/application/{loanID}
3811
3702
  * @secure
3812
3703
  */
3813
- getLoan: (loanId: string, params?: RequestParams) => Promise<AxiosResponse<Record<string, any>, any>>;
3704
+ getLoanData: (loanId: string, params?: RequestParams) => Promise<HttpResponse<Record<string, any>, any>>;
3814
3705
  /**
3815
3706
  * No description
3816
3707
  *
@@ -3820,7 +3711,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3820
3711
  * @request PATCH:/api/los/loan/application/{loanID}
3821
3712
  * @secure
3822
3713
  */
3823
- updateLoan: (loanId: string, data: any, params?: RequestParams) => Promise<AxiosResponse<string, any>>;
3714
+ updateLoan: (loanId: string, data: JsonPatchDocument, params?: RequestParams) => Promise<HttpResponse<string, UnprocessableEntityResponse>>;
3824
3715
  /**
3825
3716
  * No description
3826
3717
  *
@@ -3830,7 +3721,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3830
3721
  * @request POST:/api/los/loan/reports
3831
3722
  * @secure
3832
3723
  */
3833
- getLoansReport: (data: GetReportRequest, params?: RequestParams) => Promise<AxiosResponse<GetReportResponse, any>>;
3724
+ getLoansReport: (data: GetReportRequest, params?: RequestParams) => Promise<HttpResponse<GetReportResponse, any>>;
3834
3725
  /**
3835
3726
  * No description
3836
3727
  *
@@ -3840,7 +3731,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3840
3731
  * @request POST:/api/los/loan/application
3841
3732
  * @secure
3842
3733
  */
3843
- createLoan: (data: any, params?: RequestParams) => Promise<AxiosResponse<string, any>>;
3734
+ createLoan: (data: any, params?: RequestParams) => Promise<HttpResponse<string, UnprocessableEntityResponse>>;
3844
3735
  /**
3845
3736
  * No description
3846
3737
  *
@@ -3850,27 +3741,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3850
3741
  * @request POST:/api/los/loan/tasks/documents
3851
3742
  * @secure
3852
3743
  */
3853
- uploadDocuments: (data: PostTaskDocumentsRequest, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
3854
- /**
3855
- * No description
3856
- *
3857
- * @tags LegacyLoan
3858
- * @name CreateEConsent
3859
- * @summary Create EConsent
3860
- * @request POST:/api/los/loan/econsent
3861
- * @secure
3862
- */
3863
- createEConsent: (data: PostEConsentRequest, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
3864
- /**
3865
- * No description
3866
- *
3867
- * @tags LegacyLoan
3868
- * @name CreateCreditAuthorization
3869
- * @summary Create Credit Authorization
3870
- * @request POST:/api/los/loan/creditauth
3871
- * @secure
3872
- */
3873
- createCreditAuthorization: (data: PostCreditAuthorizationRequest, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
3744
+ uploadDocuments: (data: PostTaskDocumentsRequest, params?: RequestParams) => Promise<HttpResponse<void, UnprocessableEntityResponse>>;
3874
3745
  /**
3875
3746
  * No description
3876
3747
  *
@@ -3883,7 +3754,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3883
3754
  getTaskDocumentsByLoan: (loanId: string, query?: {
3884
3755
  /** @default true */
3885
3756
  includeBase64?: boolean;
3886
- }, params?: RequestParams) => Promise<AxiosResponse<DocumentData[], any>>;
3757
+ }, params?: RequestParams) => Promise<HttpResponse<DocumentData[], any>>;
3887
3758
  /**
3888
3759
  * No description
3889
3760
  *
@@ -3896,7 +3767,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3896
3767
  getLoanDocumentContent: (loanId: string, documentId: string, query?: {
3897
3768
  /** @default "base64" */
3898
3769
  contentType?: string;
3899
- }, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
3770
+ }, params?: RequestParams) => Promise<HttpResponse<void, any>>;
3900
3771
  /**
3901
3772
  * No description
3902
3773
  *
@@ -3906,7 +3777,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3906
3777
  * @request GET:/api/los/loan/recipients/{loanID}
3907
3778
  * @secure
3908
3779
  */
3909
- getLoanRecipients: (loanId: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
3780
+ getLoanRecipients: (loanId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
3910
3781
  /**
3911
3782
  * No description
3912
3783
  *
@@ -3916,7 +3787,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3916
3787
  * @request GET:/api/los/loan/contacts/{loanID}
3917
3788
  * @secure
3918
3789
  */
3919
- getLoanContactInformation: (loanId: string, params?: RequestParams) => Promise<AxiosResponse<Record<string, ContactRowData>, any>>;
3790
+ getLoanContactInformation: (loanId: string, params?: RequestParams) => Promise<HttpResponse<Record<string, ContactRowData>, any>>;
3920
3791
  /**
3921
3792
  * No description
3922
3793
  *
@@ -3926,7 +3797,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3926
3797
  * @request GET:/api/los/loan/{loanID}/conditions/preliminary
3927
3798
  * @secure
3928
3799
  */
3929
- getPreliminaryConditionsForLoan: (loanId: string, params?: RequestParams) => Promise<AxiosResponse<PreliminaryConditionResponse[], any>>;
3800
+ getPreliminaryConditionsForLoan: (loanId: string, params?: RequestParams) => Promise<HttpResponse<PreliminaryConditionResponse[], any>>;
3930
3801
  /**
3931
3802
  * No description
3932
3803
  *
@@ -3936,7 +3807,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3936
3807
  * @request GET:/api/los/loan/{loanID}/conditions/underwriting
3937
3808
  * @secure
3938
3809
  */
3939
- getUnderwritingConditionsForLoan: (loanId: string, params?: RequestParams) => Promise<AxiosResponse<UnderwritingConditionResponse[], any>>;
3810
+ getUnderwritingConditionsForLoan: (loanId: string, params?: RequestParams) => Promise<HttpResponse<UnderwritingConditionResponse[], any>>;
3940
3811
  /**
3941
3812
  * No description
3942
3813
  *
@@ -3946,7 +3817,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3946
3817
  * @request POST:/api/los/loan/embeddedsigning/{envelopeId}/{userName}/{email}
3947
3818
  * @secure
3948
3819
  */
3949
- getLoanEmbeddedSigningLink: (envelopeId: string, userName: string, email: string, params?: RequestParams) => Promise<AxiosResponse<string, any>>;
3820
+ getLoanEmbeddedSigningLink: (envelopeId: string, userName: string, email: string, params?: RequestParams) => Promise<HttpResponse<string, any>>;
3950
3821
  /**
3951
3822
  * No description
3952
3823
  *
@@ -3957,7 +3828,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3957
3828
  * @deprecated
3958
3829
  * @secure
3959
3830
  */
3960
- createLegacyLoanDocument: (data: GenerateDocumentRequest, params?: RequestParams) => Promise<AxiosResponse<DocumentDataRequest, any>>;
3831
+ createLegacyLoanDocument: (data: GenerateDocumentRequest, params?: RequestParams) => Promise<HttpResponse<DocumentDataRequest, any>>;
3961
3832
  /**
3962
3833
  * No description
3963
3834
  *
@@ -3972,7 +3843,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3972
3843
  file?: File;
3973
3844
  /** @format int32 */
3974
3845
  weight?: number;
3975
- }, params?: RequestParams) => Promise<AxiosResponse<ListingFile, any>>;
3846
+ }, params?: RequestParams) => Promise<HttpResponse<ListingFile, any>>;
3976
3847
  /**
3977
3848
  * No description
3978
3849
  *
@@ -3982,7 +3853,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3982
3853
  * @request PATCH:/api/listings/{listingId}/files
3983
3854
  * @secure
3984
3855
  */
3985
- updateListingFiles: (listingId: string, data: UpdateListingFileRequest[], params?: RequestParams) => Promise<AxiosResponse<ListingFile, any>>;
3856
+ updateListingFiles: (listingId: string, data: JsonPatchDocument, params?: RequestParams) => Promise<HttpResponse<ListingFile, any>>;
3986
3857
  /**
3987
3858
  * No description
3988
3859
  *
@@ -3992,7 +3863,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3992
3863
  * @request DELETE:/api/listings/{listingId}/files/{id}
3993
3864
  * @secure
3994
3865
  */
3995
- removeListingFile: (listingId: string, id: string, params?: RequestParams) => Promise<AxiosResponse<Listing, any>>;
3866
+ removeListingFile: (listingId: string, id: string, params?: RequestParams) => Promise<HttpResponse<Listing, any>>;
3996
3867
  /**
3997
3868
  * No description
3998
3869
  *
@@ -4009,7 +3880,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4009
3880
  file?: File;
4010
3881
  /** @format int32 */
4011
3882
  weight?: number;
4012
- }, params?: RequestParams) => Promise<AxiosResponse<ListingPhoto, any>>;
3883
+ }, params?: RequestParams) => Promise<HttpResponse<ListingPhoto, any>>;
4013
3884
  /**
4014
3885
  * No description
4015
3886
  *
@@ -4019,7 +3890,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4019
3890
  * @request PATCH:/api/listings/{listingId}/photos
4020
3891
  * @secure
4021
3892
  */
4022
- updateListingPhotos: (listingId: string, data: UpdateListingPhotoRequest[], params?: RequestParams) => Promise<AxiosResponse<ListingPhoto[], any>>;
3893
+ updateListingPhotos: (listingId: string, data: JsonPatchDocument, params?: RequestParams) => Promise<HttpResponse<ListingPhoto[], any>>;
4023
3894
  /**
4024
3895
  * No description
4025
3896
  *
@@ -4029,7 +3900,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4029
3900
  * @request DELETE:/api/listings/{listingId}/photos/{id}
4030
3901
  * @secure
4031
3902
  */
4032
- removeListingPhoto: (listingId: string, id: string, params?: RequestParams) => Promise<AxiosResponse<Listing, any>>;
3903
+ removeListingPhoto: (listingId: string, id: string, params?: RequestParams) => Promise<HttpResponse<Listing, any>>;
4033
3904
  /**
4034
3905
  * No description
4035
3906
  *
@@ -4046,7 +3917,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4046
3917
  pageNumber?: number;
4047
3918
  sortBy?: string;
4048
3919
  sortDirection?: string;
4049
- }, params?: RequestParams) => Promise<AxiosResponse<ListingPaginatedResponse, any>>;
3920
+ }, params?: RequestParams) => Promise<HttpResponse<ListingPaginatedResponse, any>>;
4050
3921
  /**
4051
3922
  * No description
4052
3923
  *
@@ -4056,7 +3927,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4056
3927
  * @request POST:/api/listings
4057
3928
  * @secure
4058
3929
  */
4059
- createListing: (data: ListingRequest, params?: RequestParams) => Promise<AxiosResponse<Listing, any>>;
3930
+ createListing: (data: ListingRequest, params?: RequestParams) => Promise<HttpResponse<Listing, any>>;
4060
3931
  /**
4061
3932
  * No description
4062
3933
  *
@@ -4066,7 +3937,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4066
3937
  * @request GET:/api/listings/slug/{slug}
4067
3938
  * @secure
4068
3939
  */
4069
- getListingBySlug: (slug: string, params?: RequestParams) => Promise<AxiosResponse<Listing, any>>;
3940
+ getListingBySlug: (slug: string, params?: RequestParams) => Promise<HttpResponse<Listing, any>>;
4070
3941
  /**
4071
3942
  * No description
4072
3943
  *
@@ -4076,7 +3947,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4076
3947
  * @request GET:/api/listings/{id}
4077
3948
  * @secure
4078
3949
  */
4079
- getListing: (id: string, params?: RequestParams) => Promise<AxiosResponse<Listing, any>>;
3950
+ getListing: (id: string, params?: RequestParams) => Promise<HttpResponse<Listing, any>>;
4080
3951
  /**
4081
3952
  * No description
4082
3953
  *
@@ -4086,7 +3957,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4086
3957
  * @request PUT:/api/listings/{id}
4087
3958
  * @secure
4088
3959
  */
4089
- replaceListing: (id: string, data: ListingRequest, params?: RequestParams) => Promise<AxiosResponse<Listing, any>>;
3960
+ replaceListing: (id: string, data: ListingRequest, params?: RequestParams) => Promise<HttpResponse<Listing, any>>;
4090
3961
  /**
4091
3962
  * No description
4092
3963
  *
@@ -4096,7 +3967,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4096
3967
  * @request DELETE:/api/listings/{id}
4097
3968
  * @secure
4098
3969
  */
4099
- deleteListing: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
3970
+ deleteListing: (id: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
4100
3971
  /**
4101
3972
  * No description
4102
3973
  *
@@ -4113,7 +3984,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4113
3984
  pageNumber?: number;
4114
3985
  sortBy?: string;
4115
3986
  sortDirection?: string;
4116
- }, params?: RequestParams) => Promise<AxiosResponse<ListingPaginatedResponse, any>>;
3987
+ }, params?: RequestParams) => Promise<HttpResponse<ListingPaginatedResponse, any>>;
4117
3988
  /**
4118
3989
  * No description
4119
3990
  *
@@ -4126,7 +3997,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4126
3997
  updateListingBackgroundImage: (id: string, data: {
4127
3998
  /** @format binary */
4128
3999
  file?: File;
4129
- }, params?: RequestParams) => Promise<AxiosResponse<File, any>>;
4000
+ }, params?: RequestParams) => Promise<HttpResponse<File, any>>;
4130
4001
  /**
4131
4002
  * No description
4132
4003
  *
@@ -4136,7 +4007,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4136
4007
  * @request GET:/api/listings/{id}/open-house-flyer
4137
4008
  * @secure
4138
4009
  */
4139
- getListingOpenHouseFlyer: (id: string, params?: RequestParams) => Promise<AxiosResponse<File, any>>;
4010
+ getListingOpenHouseFlyer: (id: string, params?: RequestParams) => Promise<HttpResponse<File, any>>;
4140
4011
  /**
4141
4012
  * No description
4142
4013
  *
@@ -4146,7 +4017,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4146
4017
  * @request GET:/api/loans/{loanID}/calculators/loan-calculator
4147
4018
  * @secure
4148
4019
  */
4149
- getLoanCalculator: (loanId: string, params?: RequestParams) => Promise<AxiosResponse<RunLOCalculationResponse, any>>;
4020
+ getLoanCalculator: (loanId: string, params?: RequestParams) => Promise<HttpResponse<RunLOCalculationResponse, any>>;
4150
4021
  /**
4151
4022
  * No description
4152
4023
  *
@@ -4156,7 +4027,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4156
4027
  * @request POST:/api/loans/{loanID}/calculators/loan-calculator
4157
4028
  * @secure
4158
4029
  */
4159
- runLoanCalculator: (loanId: string, data: RunLOCalculationRequest, params?: RequestParams) => Promise<AxiosResponse<RunLOCalculationResponse, any>>;
4030
+ runLoanCalculator: (loanId: string, data: RunLOCalculationRequest, params?: RequestParams) => Promise<HttpResponse<RunLOCalculationResponse, UnprocessableEntityResponse>>;
4160
4031
  /**
4161
4032
  * No description
4162
4033
  *
@@ -4166,7 +4037,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4166
4037
  * @request GET:/api/loans/{loanID}/loan-comparison
4167
4038
  * @secure
4168
4039
  */
4169
- getLoanComparisons: (loanId: string, params?: RequestParams) => Promise<AxiosResponse<LoanComparisonResponse, any>>;
4040
+ getLoanComparisons: (loanId: string, params?: RequestParams) => Promise<HttpResponse<LoanComparisonResponse, any>>;
4170
4041
  /**
4171
4042
  * No description
4172
4043
  *
@@ -4176,7 +4047,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4176
4047
  * @request POST:/api/loans/{loanID}/loan-comparison/{index}
4177
4048
  * @secure
4178
4049
  */
4179
- createLoanComparison: (loanId: string, index: number, data: LoanComparisonScenario, params?: RequestParams) => Promise<AxiosResponse<LoanComparisonScenario, any>>;
4050
+ createLoanComparison: (loanId: string, index: number, data: LoanComparisonScenario, params?: RequestParams) => Promise<HttpResponse<LoanComparisonScenario, UnprocessableEntityResponse>>;
4180
4051
  /**
4181
4052
  * No description
4182
4053
  *
@@ -4186,7 +4057,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4186
4057
  * @request DELETE:/api/loans/{loanID}/loan-comparison/{index}
4187
4058
  * @secure
4188
4059
  */
4189
- deleteLoanComparison: (loanId: string, index: number, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
4060
+ deleteLoanComparison: (loanId: string, index: number, params?: RequestParams) => Promise<HttpResponse<void, any>>;
4190
4061
  /**
4191
4062
  * No description
4192
4063
  *
@@ -4196,7 +4067,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4196
4067
  * @request POST:/api/loans/{loanID}/loan-comparison/pdf
4197
4068
  * @secure
4198
4069
  */
4199
- createLoanComparisonPdf: (loanId: string, data: PostLoanComparisonPdfRequest, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
4070
+ createLoanComparisonPdf: (loanId: string, data: PostLoanComparisonPdfRequest, params?: RequestParams) => Promise<HttpResponse<void, UnprocessableEntityResponse>>;
4200
4071
  /**
4201
4072
  * No description
4202
4073
  *
@@ -4206,7 +4077,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4206
4077
  * @request GET:/api/loans/{loanId}/documents/buckets
4207
4078
  * @secure
4208
4079
  */
4209
- getLoanDocumentBuckets: (loanId: string, params?: RequestParams) => Promise<AxiosResponse<string[], any>>;
4080
+ getLoanDocumentBuckets: (loanId: string, params?: RequestParams) => Promise<HttpResponse<string[], any>>;
4210
4081
  /**
4211
4082
  * No description
4212
4083
  *
@@ -4216,7 +4087,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4216
4087
  * @request POST:/api/loans/{loanId}/documents/buckets
4217
4088
  * @secure
4218
4089
  */
4219
- createLoanDocumentBuckets: (loanId: string, data: string[], params?: RequestParams) => Promise<AxiosResponse<string[], any>>;
4090
+ createLoanDocumentBuckets: (loanId: string, data: string[], params?: RequestParams) => Promise<HttpResponse<string[], any>>;
4220
4091
  /**
4221
4092
  * No description
4222
4093
  *
@@ -4229,7 +4100,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4229
4100
  getLoanDocument: (loanId: string, documentId: string, query?: {
4230
4101
  /** @default false */
4231
4102
  preview?: boolean;
4232
- }, params?: RequestParams) => Promise<AxiosResponse<LoanDocument, any>>;
4103
+ }, params?: RequestParams) => Promise<HttpResponse<LoanDocument, ProblemDetails>>;
4233
4104
  /**
4234
4105
  * No description
4235
4106
  *
@@ -4239,7 +4110,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4239
4110
  * @request GET:/api/loans/{loanId}/documents/{documentId}/download
4240
4111
  * @secure
4241
4112
  */
4242
- downloadLoanDocument: (loanId: string, documentId: string, params?: RequestParams) => Promise<AxiosResponse<LoanDocument, any>>;
4113
+ downloadLoanDocument: (loanId: string, documentId: string, params?: RequestParams) => Promise<HttpResponse<LoanDocument, ProblemDetails>>;
4243
4114
  /**
4244
4115
  * No description
4245
4116
  *
@@ -4254,7 +4125,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4254
4125
  /** @format binary */
4255
4126
  file?: File;
4256
4127
  bucket?: string;
4257
- }, params?: RequestParams) => Promise<AxiosResponse<LoanDocument, any>>;
4128
+ }, params?: RequestParams) => Promise<HttpResponse<LoanDocument, ProblemDetails | UnprocessableEntityResponse>>;
4258
4129
  /**
4259
4130
  * No description
4260
4131
  *
@@ -4264,7 +4135,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4264
4135
  * @request POST:/api/loans/{loanId}/documents/{documentId}/retry
4265
4136
  * @secure
4266
4137
  */
4267
- retryFailedLoanDocument: (loanId: string, documentId: string, params?: RequestParams) => Promise<AxiosResponse<LoanDocument, any>>;
4138
+ retryFailedLoanDocument: (loanId: string, documentId: string, params?: RequestParams) => Promise<HttpResponse<LoanDocument, ProblemDetails | UnprocessableEntityResponse>>;
4268
4139
  /**
4269
4140
  * No description
4270
4141
  *
@@ -4274,7 +4145,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4274
4145
  * @request POST:/api/loans/drafts
4275
4146
  * @secure
4276
4147
  */
4277
- createLoanDraft: (data: CreateDraftRequest, params?: RequestParams) => Promise<AxiosResponse<DraftResponse, any>>;
4148
+ createLoanDraft: (data: DraftRequest, params?: RequestParams) => Promise<HttpResponse<DraftResponse, any>>;
4278
4149
  /**
4279
4150
  * No description
4280
4151
  *
@@ -4284,7 +4155,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4284
4155
  * @request GET:/api/loans/drafts
4285
4156
  * @secure
4286
4157
  */
4287
- getLoanDrafts: (params?: RequestParams) => Promise<AxiosResponse<DraftContentResponse[], any>>;
4158
+ getLoanDrafts: (params?: RequestParams) => Promise<HttpResponse<DraftContentResponse[], any>>;
4288
4159
  /**
4289
4160
  * No description
4290
4161
  *
@@ -4301,7 +4172,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4301
4172
  pageNumber?: number;
4302
4173
  sortBy?: string;
4303
4174
  sortDirection?: string;
4304
- }, params?: RequestParams) => Promise<AxiosResponse<DraftContentResponsePaginatedResponse, any>>;
4175
+ }, params?: RequestParams) => Promise<HttpResponse<DraftContentResponsePaginatedResponse, any>>;
4305
4176
  /**
4306
4177
  * No description
4307
4178
  *
@@ -4311,7 +4182,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4311
4182
  * @request PUT:/api/loans/drafts/{draftId}
4312
4183
  * @secure
4313
4184
  */
4314
- replaceLoanDraft: (draftId: string, data: CreateDraftRequest, params?: RequestParams) => Promise<AxiosResponse<DraftResponse, any>>;
4185
+ replaceLoanDraft: (draftId: string, data: DraftRequest, params?: RequestParams) => Promise<HttpResponse<DraftResponse, any>>;
4315
4186
  /**
4316
4187
  * No description
4317
4188
  *
@@ -4321,7 +4192,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4321
4192
  * @request GET:/api/loans/drafts/{draftId}
4322
4193
  * @secure
4323
4194
  */
4324
- getLoanDraft: (draftId: string, params?: RequestParams) => Promise<AxiosResponse<DraftContentResponse, any>>;
4195
+ getLoanDraft: (draftId: string, params?: RequestParams) => Promise<HttpResponse<DraftContentResponse, any>>;
4325
4196
  /**
4326
4197
  * No description
4327
4198
  *
@@ -4331,7 +4202,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4331
4202
  * @request DELETE:/api/loans/drafts/{draftId}
4332
4203
  * @secure
4333
4204
  */
4334
- deleteLoanDraft: (draftId: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
4205
+ deleteLoanDraft: (draftId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
4335
4206
  /**
4336
4207
  * No description
4337
4208
  *
@@ -4349,7 +4220,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4349
4220
  pageNumber?: number;
4350
4221
  sortBy?: string;
4351
4222
  sortDirection?: string;
4352
- }, params?: RequestParams) => Promise<AxiosResponse<BranchUserPaginatedResponse, any>>;
4223
+ }, params?: RequestParams) => Promise<HttpResponse<BranchUserPaginatedResponse, any>>;
4353
4224
  /**
4354
4225
  * No description
4355
4226
  *
@@ -4366,7 +4237,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4366
4237
  pageNumber?: number;
4367
4238
  sortBy?: string;
4368
4239
  sortDirection?: string;
4369
- }, params?: RequestParams) => Promise<AxiosResponse<BranchUserPaginatedResponse, any>>;
4240
+ }, params?: RequestParams) => Promise<HttpResponse<BranchUserPaginatedResponse, any>>;
4370
4241
  /**
4371
4242
  * No description
4372
4243
  *
@@ -4376,7 +4247,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4376
4247
  * @request GET:/api/loan-officers/{id}
4377
4248
  * @secure
4378
4249
  */
4379
- getLoanOfficer: (id: string, params?: RequestParams) => Promise<AxiosResponse<BranchUser, any>>;
4250
+ getLoanOfficer: (id: string, params?: RequestParams) => Promise<HttpResponse<BranchUser, any>>;
4380
4251
  /**
4381
4252
  * No description
4382
4253
  *
@@ -4386,7 +4257,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4386
4257
  * @request GET:/api/loan-officers/applications
4387
4258
  * @secure
4388
4259
  */
4389
- getLoanOfficerLoans: (params?: RequestParams) => Promise<AxiosResponse<GetApplicationsResponse, any>>;
4260
+ getLoanOfficerLoans: (params?: RequestParams) => Promise<HttpResponse<GetApplicationsResponse, any>>;
4390
4261
  /**
4391
4262
  * No description
4392
4263
  *
@@ -4396,7 +4267,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4396
4267
  * @request POST:/api/loan-officers/{loanOfficerId}/site-configurations
4397
4268
  * @secure
4398
4269
  */
4399
- createLoanOfficerSiteConfiguration: (loanOfficerId: string, data: SiteConfigurationRequest, params?: RequestParams) => Promise<AxiosResponse<SiteConfiguration, any>>;
4270
+ createLoanOfficerSiteConfiguration: (loanOfficerId: string, data: SiteConfigurationRequest, params?: RequestParams) => Promise<HttpResponse<SiteConfiguration, UnprocessableEntityResponse>>;
4400
4271
  /**
4401
4272
  * No description
4402
4273
  *
@@ -4406,7 +4277,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4406
4277
  * @request GET:/api/loan-officers/{loanOfficerId}/site-configurations/{siteConfigurationId}
4407
4278
  * @secure
4408
4279
  */
4409
- getLoanOfficerSiteConfiguration: (loanOfficerId: string, siteConfigurationId: string, params?: RequestParams) => Promise<AxiosResponse<SiteConfiguration, any>>;
4280
+ getLoanOfficerSiteConfiguration: (loanOfficerId: string, siteConfigurationId: string, params?: RequestParams) => Promise<HttpResponse<SiteConfigurationWithInheritedResponse, any>>;
4410
4281
  /**
4411
4282
  * No description
4412
4283
  *
@@ -4418,7 +4289,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4418
4289
  */
4419
4290
  replaceLoanOfficerSiteConfiguration: (loanOfficerId: string, siteConfigurationId: string, data: SiteConfigurationRequest, query?: {
4420
4291
  applyToChildren?: boolean;
4421
- }, params?: RequestParams) => Promise<AxiosResponse<SiteConfiguration, any>>;
4292
+ }, params?: RequestParams) => Promise<HttpResponse<SiteConfiguration, UnprocessableEntityResponse>>;
4422
4293
  /**
4423
4294
  * No description
4424
4295
  *
@@ -4428,7 +4299,17 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4428
4299
  * @request GET:/api/loans
4429
4300
  * @secure
4430
4301
  */
4431
- getLoans: (params?: RequestParams) => Promise<AxiosResponse<GetApplicationsResponse, any>>;
4302
+ getLoans: (params?: RequestParams) => Promise<HttpResponse<GetApplicationsResponse, any>>;
4303
+ /**
4304
+ * No description
4305
+ *
4306
+ * @tags Loans
4307
+ * @name GetLoan
4308
+ * @summary Gey By ID
4309
+ * @request GET:/api/loans/{loanID}
4310
+ * @secure
4311
+ */
4312
+ getLoan: (loanId: string, params?: RequestParams) => Promise<HttpResponse<Loan, ProblemDetails>>;
4432
4313
  /**
4433
4314
  * No description
4434
4315
  *
@@ -4445,7 +4326,17 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4445
4326
  pageNumber?: number;
4446
4327
  sortBy?: string;
4447
4328
  sortDirection?: string;
4448
- }, params?: RequestParams) => Promise<AxiosResponse<LoanPaginatedResponse, any>>;
4329
+ }, params?: RequestParams) => Promise<HttpResponse<LoanPaginatedResponse, any>>;
4330
+ /**
4331
+ * No description
4332
+ *
4333
+ * @tags Loans
4334
+ * @name ImportLoanFromLos
4335
+ * @summary importFromLOS
4336
+ * @request POST:/api/loans/import-from-los/{loanId}
4337
+ * @secure
4338
+ */
4339
+ importLoanFromLos: (loanId: string, params?: RequestParams) => Promise<HttpResponse<Loan, any>>;
4449
4340
  /**
4450
4341
  * No description
4451
4342
  *
@@ -4460,7 +4351,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4460
4351
  /** @format binary */
4461
4352
  file?: File;
4462
4353
  bucket?: string;
4463
- }, params?: RequestParams) => Promise<AxiosResponse<UserLoanTask, any>>;
4354
+ }, params?: RequestParams) => Promise<HttpResponse<UserLoanTask, ProblemDetails | UnprocessableEntityResponse>>;
4464
4355
  /**
4465
4356
  * No description
4466
4357
  *
@@ -4470,7 +4361,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4470
4361
  * @request POST:/api/loans/{loanID}/tasks/{loanTaskId}/documents/bucket
4471
4362
  * @secure
4472
4363
  */
4473
- createLoanTaskDocumentBucket: (loanId: string, loanTaskId: string, params?: RequestParams) => Promise<AxiosResponse<UserLoanTask, any>>;
4364
+ createLoanTaskDocumentBucket: (loanId: string, loanTaskId: string, params?: RequestParams) => Promise<HttpResponse<UserLoanTask, UnprocessableEntityResponse>>;
4474
4365
  /**
4475
4366
  * No description
4476
4367
  *
@@ -4480,7 +4371,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4480
4371
  * @request GET:/api/loans/{loanID}/tasks
4481
4372
  * @secure
4482
4373
  */
4483
- getLoanTasks: (loanId: string, params?: RequestParams) => Promise<AxiosResponse<UserLoanTask[], any>>;
4374
+ getLoanTasks: (loanId: string, params?: RequestParams) => Promise<HttpResponse<UserLoanTask[], ProblemDetails>>;
4484
4375
  /**
4485
4376
  * No description
4486
4377
  *
@@ -4490,7 +4381,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4490
4381
  * @request GET:/api/loans/{loanID}/tasks/{id}
4491
4382
  * @secure
4492
4383
  */
4493
- getLoanTask: (id: string, loanId: string, params?: RequestParams) => Promise<AxiosResponse<UserLoanTask, any>>;
4384
+ getLoanTask: (id: string, loanId: string, params?: RequestParams) => Promise<HttpResponse<UserLoanTask, ProblemDetails>>;
4494
4385
  /**
4495
4386
  * @description Get the difference between the current loan tasks and the tasks generated by business rules
4496
4387
  *
@@ -4500,7 +4391,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4500
4391
  * @request GET:/api/loans/{loanID}/tasks/diff
4501
4392
  * @secure
4502
4393
  */
4503
- getLoanTaskDifference: (loanId: string, params?: RequestParams) => Promise<AxiosResponse<UserLoanTask, any>>;
4394
+ getLoanTaskDifference: (loanId: string, params?: RequestParams) => Promise<HttpResponse<UserLoanTask, ProblemDetails>>;
4504
4395
  /**
4505
4396
  * No description
4506
4397
  *
@@ -4510,7 +4401,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4510
4401
  * @request POST:/api/loans/{loanID}/tasks/{taskID}
4511
4402
  * @secure
4512
4403
  */
4513
- createLoanTask: (loanId: string, taskId: string, data: UserLoanTaskRequest, params?: RequestParams) => Promise<AxiosResponse<UserLoanTask, any>>;
4404
+ createLoanTask: (loanId: string, taskId: string, data: UserLoanTaskRequest, params?: RequestParams) => Promise<HttpResponse<UserLoanTask, ProblemDetails>>;
4514
4405
  /**
4515
4406
  * No description
4516
4407
  *
@@ -4520,7 +4411,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4520
4411
  * @request POST:/api/loans/{loanID}/tasks/import
4521
4412
  * @secure
4522
4413
  */
4523
- importLoanTask: (loanId: string, data: ImportUserLoanTaskRequest[], params?: RequestParams) => Promise<AxiosResponse<UserLoanTask[], any>>;
4414
+ importLoanTask: (loanId: string, data: ImportUserLoanTaskRequest[], params?: RequestParams) => Promise<HttpResponse<UserLoanTask[], ProblemDetails>>;
4524
4415
  /**
4525
4416
  * No description
4526
4417
  *
@@ -4530,7 +4421,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4530
4421
  * @request PUT:/api/loans/{loanID}/tasks/{userLoanTaskID}
4531
4422
  * @secure
4532
4423
  */
4533
- replaceLoanTask: (loanId: string, userLoanTaskId: string, data: UserLoanTaskUpdateRequest, params?: RequestParams) => Promise<AxiosResponse<UserLoanTask, any>>;
4424
+ replaceLoanTask: (loanId: string, userLoanTaskId: string, data: UserLoanTaskUpdateRequest, params?: RequestParams) => Promise<HttpResponse<UserLoanTask, ProblemDetails>>;
4534
4425
  /**
4535
4426
  * No description
4536
4427
  *
@@ -4540,7 +4431,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4540
4431
  * @request DELETE:/api/loans/{loanID}/tasks/{userLoanTaskID}
4541
4432
  * @secure
4542
4433
  */
4543
- deleteLoanTask: (loanId: string, userLoanTaskId: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
4434
+ deleteLoanTask: (loanId: string, userLoanTaskId: string, params?: RequestParams) => Promise<HttpResponse<void, ProblemDetails>>;
4544
4435
  /**
4545
4436
  * No description
4546
4437
  *
@@ -4550,7 +4441,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4550
4441
  * @request POST:/api/loans/{loanID}/tasks/reminders/outstanding
4551
4442
  * @secure
4552
4443
  */
4553
- sendOutstandingLoanTaskNotification: (loanId: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
4444
+ sendOutstandingLoanTaskNotification: (loanId: string, params?: RequestParams) => Promise<HttpResponse<void, ProblemDetails>>;
4554
4445
  /**
4555
4446
  * No description
4556
4447
  *
@@ -4560,7 +4451,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4560
4451
  * @request GET:/api/loans/{loanId}/users
4561
4452
  * @secure
4562
4453
  */
4563
- getLoanUsers: (loanId: string, params?: RequestParams) => Promise<AxiosResponse<LoanUser[], any>>;
4454
+ getLoanUsers: (loanId: string, params?: RequestParams) => Promise<HttpResponse<LoanUser[], any>>;
4564
4455
  /**
4565
4456
  * No description
4566
4457
  *
@@ -4570,7 +4461,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4570
4461
  * @request GET:/api/loans/{loanId}/users/{userId}
4571
4462
  * @secure
4572
4463
  */
4573
- getLoanUser: (loanId: string, userId: string, params?: RequestParams) => Promise<AxiosResponse<LoanUser, any>>;
4464
+ getLoanUser: (loanId: string, userId: string, params?: RequestParams) => Promise<HttpResponse<LoanUser, any>>;
4574
4465
  /**
4575
4466
  * No description
4576
4467
  *
@@ -4580,7 +4471,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4580
4471
  * @request POST:/api/loans/{loanId}/users/{userId}
4581
4472
  * @secure
4582
4473
  */
4583
- addLoanUser: (loanId: string, userId: string, params?: RequestParams) => Promise<AxiosResponse<LoanUser, any>>;
4474
+ addLoanUser: (loanId: string, userId: string, params?: RequestParams) => Promise<HttpResponse<LoanUser, any>>;
4584
4475
  /**
4585
4476
  * No description
4586
4477
  *
@@ -4590,7 +4481,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4590
4481
  * @request GET:/api/milestones
4591
4482
  * @secure
4592
4483
  */
4593
- getMilestones: (params?: RequestParams) => Promise<AxiosResponse<MilestoneConfigurationResponse[], any>>;
4484
+ getMilestones: (params?: RequestParams) => Promise<HttpResponse<MilestoneConfigurationResponse[], any>>;
4594
4485
  /**
4595
4486
  * No description
4596
4487
  *
@@ -4600,7 +4491,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4600
4491
  * @request POST:/api/milestones
4601
4492
  * @secure
4602
4493
  */
4603
- createMilestone: (data: MilestoneConfigurationRequest, params?: RequestParams) => Promise<AxiosResponse<MilestoneConfigurationResponse, any>>;
4494
+ createMilestone: (data: MilestoneConfigurationRequest, params?: RequestParams) => Promise<HttpResponse<MilestoneConfigurationResponse, UnprocessableEntityResponse>>;
4604
4495
  /**
4605
4496
  * No description
4606
4497
  *
@@ -4610,7 +4501,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4610
4501
  * @request GET:/api/milestones/{id}
4611
4502
  * @secure
4612
4503
  */
4613
- getMilestone: (id: string, params?: RequestParams) => Promise<AxiosResponse<MilestoneConfigurationResponse, any>>;
4504
+ getMilestone: (id: string, params?: RequestParams) => Promise<HttpResponse<MilestoneConfigurationResponse, Error>>;
4614
4505
  /**
4615
4506
  * No description
4616
4507
  *
@@ -4620,7 +4511,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4620
4511
  * @request PUT:/api/milestones/{id}
4621
4512
  * @secure
4622
4513
  */
4623
- replaceMilestone: (id: string, data: MilestoneConfigurationRequest, params?: RequestParams) => Promise<AxiosResponse<MilestoneConfigurationResponse, any>>;
4514
+ replaceMilestone: (id: string, data: MilestoneConfigurationRequest, params?: RequestParams) => Promise<HttpResponse<MilestoneConfigurationResponse, Error | UnprocessableEntityResponse>>;
4624
4515
  /**
4625
4516
  * No description
4626
4517
  *
@@ -4630,7 +4521,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4630
4521
  * @request DELETE:/api/milestones/{id}
4631
4522
  * @secure
4632
4523
  */
4633
- deleteMilestone: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
4524
+ deleteMilestone: (id: string, params?: RequestParams) => Promise<HttpResponse<void, Error>>;
4634
4525
  /**
4635
4526
  * No description
4636
4527
  *
@@ -4640,7 +4531,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4640
4531
  * @request POST:/api/notifications
4641
4532
  * @secure
4642
4533
  */
4643
- sendNotificationForLoan: (data: SendNotificationForLoanRequest, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
4534
+ sendNotificationForLoan: (data: SendNotificationForLoanRequest, params?: RequestParams) => Promise<HttpResponse<void, UnprocessableEntityResponse>>;
4644
4535
  /**
4645
4536
  * No description
4646
4537
  *
@@ -4650,7 +4541,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4650
4541
  * @request POST:/api/notifications/test
4651
4542
  * @secure
4652
4543
  */
4653
- sendTestNotificationForLoan: (data: TestSendNotificationForLoanRequest, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
4544
+ sendTestNotificationForLoan: (data: TestSendNotificationForLoanRequest, params?: RequestParams) => Promise<HttpResponse<void, UnprocessableEntityResponse>>;
4654
4545
  /**
4655
4546
  * No description
4656
4547
  *
@@ -4662,7 +4553,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4662
4553
  */
4663
4554
  getNotificationTemplates: (query?: {
4664
4555
  showAll?: boolean;
4665
- }, params?: RequestParams) => Promise<AxiosResponse<NotificationTemplateBase[], any>>;
4556
+ }, params?: RequestParams) => Promise<HttpResponse<NotificationTemplateBase[], any>>;
4666
4557
  /**
4667
4558
  * No description
4668
4559
  *
@@ -4672,7 +4563,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4672
4563
  * @request POST:/api/notification-templates
4673
4564
  * @secure
4674
4565
  */
4675
- createNotificationTemplate: (data: NotificationTemplateRequest, params?: RequestParams) => Promise<AxiosResponse<NotificationTemplate, any>>;
4566
+ createNotificationTemplate: (data: NotificationTemplateRequest, params?: RequestParams) => Promise<HttpResponse<NotificationTemplate, UnprocessableEntityResponse>>;
4676
4567
  /**
4677
4568
  * No description
4678
4569
  *
@@ -4682,7 +4573,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4682
4573
  * @request GET:/api/notification-templates/{id}
4683
4574
  * @secure
4684
4575
  */
4685
- getNotificationTemplate: (id: string, params?: RequestParams) => Promise<AxiosResponse<NotificationTemplate, any>>;
4576
+ getNotificationTemplate: (id: string, params?: RequestParams) => Promise<HttpResponse<NotificationTemplate, any>>;
4686
4577
  /**
4687
4578
  * No description
4688
4579
  *
@@ -4692,7 +4583,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4692
4583
  * @request PUT:/api/notification-templates/{id}
4693
4584
  * @secure
4694
4585
  */
4695
- replaceNotificationTemplate: (id: string, data: NotificationTemplateRequest, params?: RequestParams) => Promise<AxiosResponse<NotificationTemplate, any>>;
4586
+ replaceNotificationTemplate: (id: string, data: NotificationTemplateRequest, params?: RequestParams) => Promise<HttpResponse<NotificationTemplate, UnprocessableEntityResponse>>;
4696
4587
  /**
4697
4588
  * No description
4698
4589
  *
@@ -4702,7 +4593,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4702
4593
  * @request DELETE:/api/notification-templates/{id}
4703
4594
  * @secure
4704
4595
  */
4705
- deleteNotificationTemplate: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
4596
+ deleteNotificationTemplate: (id: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
4706
4597
  /**
4707
4598
  * No description
4708
4599
  *
@@ -4712,7 +4603,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4712
4603
  * @request POST:/api/notification-templates/{id}/restore
4713
4604
  * @secure
4714
4605
  */
4715
- restoreNotificationTemplate: (id: string, params?: RequestParams) => Promise<AxiosResponse<NotificationTemplate, any>>;
4606
+ restoreNotificationTemplate: (id: string, params?: RequestParams) => Promise<HttpResponse<NotificationTemplate, any>>;
4716
4607
  /**
4717
4608
  * No description
4718
4609
  *
@@ -4722,7 +4613,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4722
4613
  * @request GET:/api/notification-templates/{notificationId}/versions
4723
4614
  * @secure
4724
4615
  */
4725
- getNotificationTemplateVersions: (notificationId: string, params?: RequestParams) => Promise<AxiosResponse<NotificationTemplateVersion[], any>>;
4616
+ getNotificationTemplateVersions: (notificationId: string, params?: RequestParams) => Promise<HttpResponse<NotificationTemplateVersion[], any>>;
4726
4617
  /**
4727
4618
  * No description
4728
4619
  *
@@ -4732,7 +4623,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4732
4623
  * @request POST:/api/notification-templates/{notificationId}/versions
4733
4624
  * @secure
4734
4625
  */
4735
- createNotificationTemplateVersion: (notificationId: string, data: NotificationTemplateVersionRequest, params?: RequestParams) => Promise<AxiosResponse<NotificationTemplateVersion, any>>;
4626
+ createNotificationTemplateVersion: (notificationId: string, data: NotificationTemplateVersionRequest, params?: RequestParams) => Promise<HttpResponse<NotificationTemplateVersion, any>>;
4736
4627
  /**
4737
4628
  * No description
4738
4629
  *
@@ -4742,7 +4633,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4742
4633
  * @request GET:/api/notification-templates/{notificationId}/versions/{id}
4743
4634
  * @secure
4744
4635
  */
4745
- getNotificationTemplateVersion: (notificationId: string, id: string, params?: RequestParams) => Promise<AxiosResponse<NotificationTemplateVersion, any>>;
4636
+ getNotificationTemplateVersion: (notificationId: string, id: string, params?: RequestParams) => Promise<HttpResponse<NotificationTemplateVersion, any>>;
4746
4637
  /**
4747
4638
  * No description
4748
4639
  *
@@ -4752,7 +4643,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4752
4643
  * @request PUT:/api/notification-templates/{notificationId}/versions/{id}
4753
4644
  * @secure
4754
4645
  */
4755
- replaceNotificationTemplateVersion: (notificationId: string, id: string, data: NotificationTemplateVersionUpdateRequest, params?: RequestParams) => Promise<AxiosResponse<NotificationTemplateVersion, any>>;
4646
+ replaceNotificationTemplateVersion: (notificationId: string, id: string, data: NotificationTemplateVersionUpdateRequest, params?: RequestParams) => Promise<HttpResponse<NotificationTemplateVersion, any>>;
4756
4647
  /**
4757
4648
  * No description
4758
4649
  *
@@ -4762,7 +4653,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4762
4653
  * @request DELETE:/api/notification-templates/{notificationId}/versions/{id}
4763
4654
  * @secure
4764
4655
  */
4765
- deleteNotificationTemplateVersion: (notificationId: string, id: string, params?: RequestParams) => Promise<AxiosResponse<NotificationTemplateVersion, any>>;
4656
+ deleteNotificationTemplateVersion: (notificationId: string, id: string, params?: RequestParams) => Promise<HttpResponse<NotificationTemplateVersion, any>>;
4766
4657
  /**
4767
4658
  * No description
4768
4659
  *
@@ -4781,7 +4672,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4781
4672
  pageNumber?: number;
4782
4673
  sortBy?: string;
4783
4674
  sortDirection?: string;
4784
- }, params?: RequestParams) => Promise<AxiosResponse<BranchUserPaginatedResponse, any>>;
4675
+ }, params?: RequestParams) => Promise<HttpResponse<BranchUserPaginatedResponse, any>>;
4785
4676
  /**
4786
4677
  * No description
4787
4678
  *
@@ -4798,7 +4689,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4798
4689
  pageNumber?: number;
4799
4690
  sortBy?: string;
4800
4691
  sortDirection?: string;
4801
- }, params?: RequestParams) => Promise<AxiosResponse<BranchUserPaginatedResponse, any>>;
4692
+ }, params?: RequestParams) => Promise<HttpResponse<BranchUserPaginatedResponse, any>>;
4802
4693
  /**
4803
4694
  * No description
4804
4695
  *
@@ -4808,7 +4699,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4808
4699
  * @request GET:/api/partners/{id}
4809
4700
  * @secure
4810
4701
  */
4811
- getPartner: (id: string, params?: RequestParams) => Promise<AxiosResponse<BranchUser, any>>;
4702
+ getPartner: (id: string, params?: RequestParams) => Promise<HttpResponse<BranchUser, any>>;
4812
4703
  /**
4813
4704
  * No description
4814
4705
  *
@@ -4818,7 +4709,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4818
4709
  * @request POST:/api/partners/{realtorId}/site-configurations
4819
4710
  * @secure
4820
4711
  */
4821
- createPartnerSiteConfiguration: (realtorId: string, data: SiteConfigurationRequest, params?: RequestParams) => Promise<AxiosResponse<SiteConfiguration, any>>;
4712
+ createPartnerSiteConfiguration: (realtorId: string, data: SiteConfigurationRequest, params?: RequestParams) => Promise<HttpResponse<SiteConfiguration, UnprocessableEntityResponse>>;
4822
4713
  /**
4823
4714
  * No description
4824
4715
  *
@@ -4828,7 +4719,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4828
4719
  * @request GET:/api/partners/{realtorId}/site-configurations/{siteConfigurationId}
4829
4720
  * @secure
4830
4721
  */
4831
- getPartnerSiteConfiguration: (realtorId: string, siteConfigurationId: string, params?: RequestParams) => Promise<AxiosResponse<SiteConfiguration, any>>;
4722
+ getPartnerSiteConfiguration: (realtorId: string, siteConfigurationId: string, params?: RequestParams) => Promise<HttpResponse<SiteConfigurationWithInheritedResponse, any>>;
4832
4723
  /**
4833
4724
  * No description
4834
4725
  *
@@ -4838,9 +4729,9 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4838
4729
  * @request PUT:/api/partners/{realtorId}/site-configurations/{siteConfigurationId}
4839
4730
  * @secure
4840
4731
  */
4841
- replacePartnerSiteConfiguration: (realtorId: string, siteConfigurationId: string, data: SiteConfigurationUpdateRequest, query?: {
4732
+ replacePartnerSiteConfiguration: (realtorId: string, siteConfigurationId: string, data: SiteConfigurationRequest, query?: {
4842
4733
  applyToChildren?: boolean;
4843
- }, params?: RequestParams) => Promise<AxiosResponse<SiteConfiguration, any>>;
4734
+ }, params?: RequestParams) => Promise<HttpResponse<SiteConfiguration, UnprocessableEntityResponse>>;
4844
4735
  /**
4845
4736
  * No description
4846
4737
  *
@@ -4850,7 +4741,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4850
4741
  * @request POST:/api/pricing/calculator
4851
4742
  * @secure
4852
4743
  */
4853
- getPricingCalculation: (data: GetPricingCalculationRequest, params?: RequestParams) => Promise<AxiosResponse<GetPricingForLoanOfficerResponse, any>>;
4744
+ getPricingCalculation: (data: GetPricingCalculationRequest, params?: RequestParams) => Promise<HttpResponse<GetPricingForLoanOfficerResponse, UnprocessableEntityResponse>>;
4854
4745
  /**
4855
4746
  * No description
4856
4747
  *
@@ -4860,7 +4751,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4860
4751
  * @request GET:/api/request-queues
4861
4752
  * @secure
4862
4753
  */
4863
- getRequestQueues: (params?: RequestParams) => Promise<AxiosResponse<RequestQueue[], any>>;
4754
+ getRequestQueues: (params?: RequestParams) => Promise<HttpResponse<RequestQueue[], any>>;
4864
4755
  /**
4865
4756
  * No description
4866
4757
  *
@@ -4873,7 +4764,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4873
4764
  runRequestQueue: (id: string, query?: {
4874
4765
  /** @default false */
4875
4766
  force?: boolean;
4876
- }, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
4767
+ }, params?: RequestParams) => Promise<HttpResponse<void, any>>;
4877
4768
  /**
4878
4769
  * No description
4879
4770
  *
@@ -4883,7 +4774,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4883
4774
  * @request DELETE:/api/request-queues/{id}
4884
4775
  * @secure
4885
4776
  */
4886
- deleteQueueRequest: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
4777
+ deleteQueueRequest: (id: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
4887
4778
  /**
4888
4779
  * No description
4889
4780
  *
@@ -4893,7 +4784,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4893
4784
  * @request POST:/api/selfprovisioning/newcustomer
4894
4785
  * @secure
4895
4786
  */
4896
- createSelfProvisioningItem: (data: any, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
4787
+ createSelfProvisioningItem: (data: any, params?: RequestParams) => Promise<HttpResponse<void, any>>;
4897
4788
  /**
4898
4789
  * No description
4899
4790
  *
@@ -4903,7 +4794,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4903
4794
  * @request GET:/api/site-configurations/{id}
4904
4795
  * @secure
4905
4796
  */
4906
- getSiteConfiguration: (id: string, params?: RequestParams) => Promise<AxiosResponse<SiteConfiguration, any>>;
4797
+ getSiteConfiguration: (id: string, params?: RequestParams) => Promise<HttpResponse<SiteConfiguration, any>>;
4907
4798
  /**
4908
4799
  * No description
4909
4800
  *
@@ -4914,7 +4805,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4914
4805
  * @deprecated
4915
4806
  * @secure
4916
4807
  */
4917
- searchSiteConfigurationByUrl: (data: GetSiteConfigurationRequest, params?: RequestParams) => Promise<AxiosResponse<SiteConfigurationByUrl, any>>;
4808
+ searchSiteConfigurationByUrl: (data: GetSiteConfigurationRequest, params?: RequestParams) => Promise<HttpResponse<SiteConfigurationByUrl, UnprocessableEntityResponse>>;
4918
4809
  /**
4919
4810
  * No description
4920
4811
  *
@@ -4926,7 +4817,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4926
4817
  */
4927
4818
  getSiteConfigurationByUrl: (query?: {
4928
4819
  url?: string;
4929
- }, params?: RequestParams) => Promise<AxiosResponse<SiteConfigurationByUrl, any>>;
4820
+ }, params?: RequestParams) => Promise<HttpResponse<SiteConfigurationByUrl, UnprocessableEntityResponse>>;
4930
4821
  /**
4931
4822
  * No description
4932
4823
  *
@@ -4937,7 +4828,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4937
4828
  * @deprecated
4938
4829
  * @secure
4939
4830
  */
4940
- searchSiteConfigurationByLoanOfficerUser: (data: GetSiteConfigurationByLOUserIDRequest, params?: RequestParams) => Promise<AxiosResponse<SiteConfiguration, any>>;
4831
+ searchSiteConfigurationByLoanOfficerUser: (data: GetSiteConfigurationByLOUserIDRequest, params?: RequestParams) => Promise<HttpResponse<SiteConfiguration, UnprocessableEntityResponse>>;
4941
4832
  /**
4942
4833
  * No description
4943
4834
  *
@@ -4947,7 +4838,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4947
4838
  * @request GET:/api/site-configurations/louser/{loUserId}
4948
4839
  * @secure
4949
4840
  */
4950
- getSiteConfigurationByLoanOfficerUser: (loUserId: string, params?: RequestParams) => Promise<AxiosResponse<SiteConfiguration, any>>;
4841
+ getSiteConfigurationByLoanOfficerUser: (loUserId: string, params?: RequestParams) => Promise<HttpResponse<SiteConfiguration, UnprocessableEntityResponse>>;
4951
4842
  /**
4952
4843
  * No description
4953
4844
  *
@@ -4964,7 +4855,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4964
4855
  pageNumber?: number;
4965
4856
  sortBy?: string;
4966
4857
  sortDirection?: string;
4967
- }, params?: RequestParams) => Promise<AxiosResponse<SiteConfigurationPaginatedResponse, any>>;
4858
+ }, params?: RequestParams) => Promise<HttpResponse<SiteConfigurationPaginatedResponse, UnprocessableEntityResponse>>;
4968
4859
  /**
4969
4860
  * No description
4970
4861
  *
@@ -4974,7 +4865,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4974
4865
  * @request GET:/api/site-configurations/{id}/forms
4975
4866
  * @secure
4976
4867
  */
4977
- getFormsBySiteConfiguration: (id: string, params?: RequestParams) => Promise<AxiosResponse<AdminAccessGetForms[], any>>;
4868
+ getFormsBySiteConfiguration: (id: string, params?: RequestParams) => Promise<HttpResponse<AdminAccessGetForms[], any>>;
4978
4869
  /**
4979
4870
  * No description
4980
4871
  *
@@ -4984,7 +4875,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4984
4875
  * @request GET:/api/site-configurations/sso/saml/{ssoIntegration}/metadata
4985
4876
  * @secure
4986
4877
  */
4987
- getSamlMetadata: (ssoIntegration: string, params?: RequestParams) => Promise<AxiosResponse<string, any>>;
4878
+ getSamlMetadata: (ssoIntegration: string, params?: RequestParams) => Promise<HttpResponse<string, any>>;
4988
4879
  /**
4989
4880
  * No description
4990
4881
  *
@@ -4994,7 +4885,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4994
4885
  * @request POST:/api/site-forms
4995
4886
  * @secure
4996
4887
  */
4997
- getFormBySiteConfigurationSlug: (data: GetSiteFormRequest, params?: RequestParams) => Promise<AxiosResponse<GetForm, any>>;
4888
+ getFormBySiteConfigurationSlug: (data: GetSiteFormRequest, params?: RequestParams) => Promise<HttpResponse<GetForm, any>>;
4998
4889
  /**
4999
4890
  * No description
5000
4891
  *
@@ -5004,7 +4895,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5004
4895
  * @request GET:/api/site-forms
5005
4896
  * @secure
5006
4897
  */
5007
- getSiteForms: (params?: RequestParams) => Promise<AxiosResponse<SiteConfigurationForm[], any>>;
4898
+ getSiteForms: (params?: RequestParams) => Promise<HttpResponse<SiteConfigurationForm[], any>>;
5008
4899
  /**
5009
4900
  * No description
5010
4901
  *
@@ -5017,7 +4908,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5017
4908
  getSurveysByUsers: (query?: {
5018
4909
  /** @format int32 */
5019
4910
  limit?: number;
5020
- }, params?: RequestParams) => Promise<AxiosResponse<SocialSurveyRecord[], any>>;
4911
+ }, params?: RequestParams) => Promise<HttpResponse<SocialSurveyRecord[], any>>;
5021
4912
  /**
5022
4913
  * No description
5023
4914
  *
@@ -5027,7 +4918,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5027
4918
  * @request POST:/api/surveys
5028
4919
  * @secure
5029
4920
  */
5030
- getSurveysByUser: (data: SurveyEmailRequest, params?: RequestParams) => Promise<AxiosResponse<SocialSurveyRecord[], any>>;
4921
+ getSurveysByUser: (data: SurveyEmailRequest, params?: RequestParams) => Promise<HttpResponse<SocialSurveyRecord[], UnprocessableEntityResponse>>;
5031
4922
  /**
5032
4923
  * No description
5033
4924
  *
@@ -5044,7 +4935,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5044
4935
  pageNumber?: number;
5045
4936
  sortBy?: string;
5046
4937
  sortDirection?: string;
5047
- }, params?: RequestParams) => Promise<AxiosResponse<Task, any>>;
4938
+ }, params?: RequestParams) => Promise<HttpResponse<Task, ProblemDetails>>;
5048
4939
  /**
5049
4940
  * No description
5050
4941
  *
@@ -5054,7 +4945,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5054
4945
  * @request POST:/api/tasks
5055
4946
  * @secure
5056
4947
  */
5057
- createTask: (data: TaskRequest, params?: RequestParams) => Promise<AxiosResponse<Task, any>>;
4948
+ createTask: (data: TaskRequest, params?: RequestParams) => Promise<HttpResponse<Task, any>>;
5058
4949
  /**
5059
4950
  * No description
5060
4951
  *
@@ -5064,7 +4955,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5064
4955
  * @request GET:/api/tasks/{id}
5065
4956
  * @secure
5066
4957
  */
5067
- getTask: (id: string, params?: RequestParams) => Promise<AxiosResponse<Task, any>>;
4958
+ getTask: (id: string, params?: RequestParams) => Promise<HttpResponse<Task, ProblemDetails>>;
5068
4959
  /**
5069
4960
  * No description
5070
4961
  *
@@ -5074,7 +4965,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5074
4965
  * @request PUT:/api/tasks/{id}
5075
4966
  * @secure
5076
4967
  */
5077
- replaceTask: (id: string, data: TaskRequest, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
4968
+ replaceTask: (id: string, data: TaskRequest, params?: RequestParams) => Promise<HttpResponse<void, ProblemDetails>>;
5078
4969
  /**
5079
4970
  * No description
5080
4971
  *
@@ -5084,7 +4975,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5084
4975
  * @request DELETE:/api/tasks/{id}
5085
4976
  * @secure
5086
4977
  */
5087
- deleteTask: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
4978
+ deleteTask: (id: string, params?: RequestParams) => Promise<HttpResponse<void, ProblemDetails>>;
5088
4979
  /**
5089
4980
  * No description
5090
4981
  *
@@ -5101,7 +4992,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5101
4992
  pageNumber?: number;
5102
4993
  sortBy?: string;
5103
4994
  sortDirection?: string;
5104
- }, params?: RequestParams) => Promise<AxiosResponse<Task[], any>>;
4995
+ }, params?: RequestParams) => Promise<HttpResponse<Task[], any>>;
5105
4996
  /**
5106
4997
  * No description
5107
4998
  *
@@ -5111,7 +5002,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5111
5002
  * @request POST:/api/users/impersonation/request
5112
5003
  * @secure
5113
5004
  */
5114
- requestImpersonation: (data: RequestImpersonationRequest, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
5005
+ requestImpersonation: (data: RequestImpersonationRequest, params?: RequestParams) => Promise<HttpResponse<void, Error | UnprocessableEntityResponse>>;
5115
5006
  /**
5116
5007
  * No description
5117
5008
  *
@@ -5121,7 +5012,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5121
5012
  * @request POST:/api/users/impersonation/allow
5122
5013
  * @secure
5123
5014
  */
5124
- allowImpersonation: (data: AllowImpersonationRequest, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
5015
+ allowImpersonation: (data: AllowImpersonationRequest, params?: RequestParams) => Promise<HttpResponse<void, Error | UnprocessableEntityResponse>>;
5125
5016
  /**
5126
5017
  * No description
5127
5018
  *
@@ -5131,7 +5022,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5131
5022
  * @request POST:/api/users/impersonation/allow/{allowToken}
5132
5023
  * @secure
5133
5024
  */
5134
- allowImpersonationWithGuid: (allowToken: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
5025
+ allowImpersonationWithGuid: (allowToken: string, params?: RequestParams) => Promise<HttpResponse<void, Error | UnprocessableEntityResponse>>;
5135
5026
  /**
5136
5027
  * No description
5137
5028
  *
@@ -5141,7 +5032,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5141
5032
  * @request POST:/api/users/impersonation
5142
5033
  * @secure
5143
5034
  */
5144
- beginImpersonation: (params?: RequestParams) => Promise<AxiosResponse<void, any>>;
5035
+ beginImpersonation: (params?: RequestParams) => Promise<HttpResponse<void, UnprocessableEntityResponse>>;
5145
5036
  /**
5146
5037
  * No description
5147
5038
  *
@@ -5151,7 +5042,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5151
5042
  * @request DELETE:/api/users/impersonation
5152
5043
  * @secure
5153
5044
  */
5154
- stopImpersonation: (params?: RequestParams) => Promise<AxiosResponse<void, any>>;
5045
+ stopImpersonation: (params?: RequestParams) => Promise<HttpResponse<void, UnprocessableEntityResponse>>;
5155
5046
  /**
5156
5047
  * No description
5157
5048
  *
@@ -5161,7 +5052,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5161
5052
  * @request POST:/api/users/impersonation/force
5162
5053
  * @secure
5163
5054
  */
5164
- forceImpersonation: (data: RequestImpersonationRequest, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
5055
+ forceImpersonation: (data: RequestImpersonationRequest, params?: RequestParams) => Promise<HttpResponse<void, Error | UnprocessableEntityResponse>>;
5165
5056
  /**
5166
5057
  * No description
5167
5058
  *
@@ -5171,7 +5062,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5171
5062
  * @request POST:/api/users/impersonation/extend
5172
5063
  * @secure
5173
5064
  */
5174
- extendImpersonation: (params?: RequestParams) => Promise<AxiosResponse<void, any>>;
5065
+ extendImpersonation: (params?: RequestParams) => Promise<HttpResponse<void, UnprocessableEntityResponse>>;
5175
5066
  /**
5176
5067
  * No description
5177
5068
  *
@@ -5181,7 +5072,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5181
5072
  * @request POST:/api/users/invites
5182
5073
  * @secure
5183
5074
  */
5184
- inviteUser: (data: CreateInviteRequest, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
5075
+ inviteUser: (data: CreateInviteRequest, params?: RequestParams) => Promise<HttpResponse<void, UnprocessableEntityResponse>>;
5185
5076
  /**
5186
5077
  * No description
5187
5078
  *
@@ -5191,47 +5082,47 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5191
5082
  * @request GET:/api/users/invites/{token}/verify
5192
5083
  * @secure
5193
5084
  */
5194
- verifyUserInvite: (token: string, params?: RequestParams) => Promise<AxiosResponse<InviteResponse, any>>;
5085
+ verifyUserInvite: (token: string, params?: RequestParams) => Promise<HttpResponse<InviteResponse, UnprocessableEntityResponse>>;
5195
5086
  /**
5196
5087
  * No description
5197
5088
  *
5198
5089
  * @tags UserRelations
5199
- * @name CreateUserRelation
5200
- * @summary Create
5201
- * @request POST:/api/users/{userId}/relations
5090
+ * @name GetUserRelations
5091
+ * @summary Get All
5092
+ * @request GET:/api/users/{userID}/relations
5202
5093
  * @secure
5203
5094
  */
5204
- createUserRelation: (userId: string, data: CreateUserRelationRequest, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
5095
+ getUserRelations: (userId: string, params?: RequestParams) => Promise<HttpResponse<UserRelationResponse[], any>>;
5205
5096
  /**
5206
5097
  * No description
5207
5098
  *
5208
5099
  * @tags UserRelations
5209
- * @name GetUserRelations
5210
- * @summary Get All
5211
- * @request GET:/api/users/{userId}/relations
5100
+ * @name CreateUserRelation
5101
+ * @summary Create
5102
+ * @request POST:/api/users/{userID}/relations
5212
5103
  * @secure
5213
5104
  */
5214
- getUserRelations: (userId: string, params?: RequestParams) => Promise<AxiosResponse<UserRelationResponse[], any>>;
5105
+ createUserRelation: (userId: string, data: CreateUserRelationRequest, params?: RequestParams) => Promise<HttpResponse<void, any>>;
5215
5106
  /**
5216
5107
  * No description
5217
5108
  *
5218
5109
  * @tags UserRelations
5219
- * @name GetUserRelationsByAccount
5220
- * @summary Get by Account
5221
- * @request GET:/api/users/{userId}/relations/account
5110
+ * @name GetUserRelation
5111
+ * @summary Get by ID
5112
+ * @request GET:/api/users/{userID}/relations/{id}
5222
5113
  * @secure
5223
5114
  */
5224
- getUserRelationsByAccount: (userId: string, params?: RequestParams) => Promise<AxiosResponse<UserRelationResponse[], any>>;
5115
+ getUserRelation: (userId: string, id: string, params?: RequestParams) => Promise<HttpResponse<UserRelationResponse, any>>;
5225
5116
  /**
5226
5117
  * No description
5227
5118
  *
5228
5119
  * @tags UserRelations
5229
5120
  * @name DeleteUserRelation
5230
5121
  * @summary Delete
5231
- * @request DELETE:/api/users/{userId}/relations/{id}
5122
+ * @request DELETE:/api/users/{userID}/relations/{id}
5232
5123
  * @secure
5233
5124
  */
5234
- deleteUserRelation: (id: string, userId: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
5125
+ deleteUserRelation: (userId: string, id: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
5235
5126
  /**
5236
5127
  * No description
5237
5128
  *
@@ -5248,7 +5139,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5248
5139
  pageNumber?: number;
5249
5140
  sortBy?: string;
5250
5141
  sortDirection?: string;
5251
- }, params?: RequestParams) => Promise<AxiosResponse<User[], any>>;
5142
+ }, params?: RequestParams) => Promise<HttpResponse<User[], any>>;
5252
5143
  /**
5253
5144
  * No description
5254
5145
  *
@@ -5258,7 +5149,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5258
5149
  * @request POST:/api/users
5259
5150
  * @secure
5260
5151
  */
5261
- createUser: (data: CreateUserRequest, params?: RequestParams) => Promise<AxiosResponse<DetailedUser, any>>;
5152
+ createUser: (data: CreateUserRequest, params?: RequestParams) => Promise<HttpResponse<DetailedUser, UnprocessableEntityResponse>>;
5262
5153
  /**
5263
5154
  * No description
5264
5155
  *
@@ -5275,7 +5166,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5275
5166
  pageNumber?: number;
5276
5167
  sortBy?: string;
5277
5168
  sortDirection?: string;
5278
- }, params?: RequestParams) => Promise<AxiosResponse<UserPaginatedResponse, any>>;
5169
+ }, params?: RequestParams) => Promise<HttpResponse<UserPaginatedResponse, any>>;
5279
5170
  /**
5280
5171
  * No description
5281
5172
  *
@@ -5285,7 +5176,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5285
5176
  * @request POST:/api/users/byemail
5286
5177
  * @secure
5287
5178
  */
5288
- getUserByEmail: (data: GetUserByEmailRequest, params?: RequestParams) => Promise<AxiosResponse<AdminAccessUser, any>>;
5179
+ getUserByEmail: (data: GetUserByEmailRequest, params?: RequestParams) => Promise<HttpResponse<AdminAccessUser, any>>;
5289
5180
  /**
5290
5181
  * No description
5291
5182
  *
@@ -5295,7 +5186,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5295
5186
  * @request POST:/api/users/register
5296
5187
  * @secure
5297
5188
  */
5298
- signUp: (data: RegisterUserRequest, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
5189
+ signUp: (data: RegisterUserRequest, params?: RequestParams) => Promise<HttpResponse<void, UnprocessableEntityResponse>>;
5299
5190
  /**
5300
5191
  * No description
5301
5192
  *
@@ -5305,7 +5196,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5305
5196
  * @request PUT:/api/users/{id}
5306
5197
  * @secure
5307
5198
  */
5308
- replaceUser: (id: string, data: UpdateUserRequest, params?: RequestParams) => Promise<AxiosResponse<DetailedUser, any>>;
5199
+ replaceUser: (id: string, data: UpdateUserRequest, params?: RequestParams) => Promise<HttpResponse<DetailedUser, UnprocessableEntityResponse>>;
5309
5200
  /**
5310
5201
  * No description
5311
5202
  *
@@ -5318,7 +5209,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5318
5209
  deleteUser: (id: string, query?: {
5319
5210
  /** @default false */
5320
5211
  permanent?: boolean;
5321
- }, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
5212
+ }, params?: RequestParams) => Promise<HttpResponse<void, any>>;
5322
5213
  /**
5323
5214
  * No description
5324
5215
  *
@@ -5328,7 +5219,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5328
5219
  * @request POST:/api/users/{id}/restore
5329
5220
  * @secure
5330
5221
  */
5331
- restoreUser: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
5222
+ restoreUser: (id: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
5332
5223
  /**
5333
5224
  * No description
5334
5225
  *
@@ -5338,7 +5229,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5338
5229
  * @request POST:/api/users/change-password
5339
5230
  * @secure
5340
5231
  */
5341
- changePassword: (data: ChangePasswordRequest, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
5232
+ changePassword: (data: ChangePasswordRequest, params?: RequestParams) => Promise<HttpResponse<void, UnprocessableEntityResponse>>;
5342
5233
  /**
5343
5234
  * No description
5344
5235
  *
@@ -5348,7 +5239,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5348
5239
  * @request POST:/api/users/verify-password
5349
5240
  * @secure
5350
5241
  */
5351
- verifyPassword: (data: VerifyPasswordRequest, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
5242
+ verifyPassword: (data: VerifyPasswordRequest, params?: RequestParams) => Promise<HttpResponse<void, UnprocessableEntityResponse>>;
5352
5243
  /**
5353
5244
  * No description
5354
5245
  *
@@ -5358,7 +5249,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5358
5249
  * @request POST:/api/users/{id}/override-password
5359
5250
  * @secure
5360
5251
  */
5361
- overridePassword: (id: string, data: OverridePasswordRequest, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
5252
+ overridePassword: (id: string, data: OverridePasswordRequest, params?: RequestParams) => Promise<HttpResponse<void, UnprocessableEntityResponse>>;
5362
5253
  /**
5363
5254
  * No description
5364
5255
  *
@@ -5368,7 +5259,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5368
5259
  * @request POST:/api/users/forgot-password
5369
5260
  * @secure
5370
5261
  */
5371
- forgotPassword: (data: SendForgotPasswordRequest, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
5262
+ forgotPassword: (data: SendForgotPasswordRequest, params?: RequestParams) => Promise<HttpResponse<void, UnprocessableEntityResponse>>;
5372
5263
  /**
5373
5264
  * No description
5374
5265
  *
@@ -5378,7 +5269,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5378
5269
  * @request POST:/api/users/mobile-phone/send-code
5379
5270
  * @secure
5380
5271
  */
5381
- sendMobilePhoneVerificationCode: (params?: RequestParams) => Promise<AxiosResponse<void, any>>;
5272
+ sendMobilePhoneVerificationCode: (params?: RequestParams) => Promise<HttpResponse<void, UnprocessableEntityResponse>>;
5382
5273
  /**
5383
5274
  * No description
5384
5275
  *
@@ -5388,7 +5279,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5388
5279
  * @request PUT:/api/users/mobile-phone/verify-code
5389
5280
  * @secure
5390
5281
  */
5391
- verifyUserMobilePhone: (data: UserMobilePhoneVerificationRequest, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
5282
+ verifyUserMobilePhone: (data: UserMobilePhoneVerificationRequest, params?: RequestParams) => Promise<HttpResponse<void, UnprocessableEntityResponse>>;
5392
5283
  /**
5393
5284
  * No description
5394
5285
  *
@@ -5398,7 +5289,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5398
5289
  * @request GET:/api/users/me
5399
5290
  * @secure
5400
5291
  */
5401
- getMe: (params?: RequestParams) => Promise<AxiosResponse<DetailedUser, any>>;
5292
+ getMe: (params?: RequestParams) => Promise<HttpResponse<DetailedUser, any>>;
5402
5293
  /**
5403
5294
  * No description
5404
5295
  *
@@ -5408,7 +5299,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5408
5299
  * @request PUT:/api/users/me
5409
5300
  * @secure
5410
5301
  */
5411
- replaceMe: (data: UpdateMeRequest, params?: RequestParams) => Promise<AxiosResponse<DetailedUser, any>>;
5302
+ replaceMe: (data: UpdateMeRequest, params?: RequestParams) => Promise<HttpResponse<DetailedUser, any>>;
5412
5303
  /**
5413
5304
  * @description Update the phone number If changed will send a verification code to the new number
5414
5305
  *
@@ -5418,7 +5309,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5418
5309
  * @request PUT:/api/users/me/phone-number
5419
5310
  * @secure
5420
5311
  */
5421
- updateMyPhone: (data: UpdateMobilePhoneRequest, params?: RequestParams) => Promise<AxiosResponse<DetailedUser, any>>;
5312
+ updateMyPhone: (data: UpdateMobilePhoneRequest, params?: RequestParams) => Promise<HttpResponse<DetailedUser, any>>;
5422
5313
  /**
5423
5314
  * No description
5424
5315
  *
@@ -5428,7 +5319,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5428
5319
  * @request GET:/api/users/me/relationships
5429
5320
  * @secure
5430
5321
  */
5431
- getMyRelationships: (params?: RequestParams) => Promise<AxiosResponse<UserRelationship[], any>>;
5322
+ getMyRelationships: (params?: RequestParams) => Promise<HttpResponse<UserRelationship[], any>>;
5432
5323
  /**
5433
5324
  * No description
5434
5325
  *
@@ -5438,7 +5329,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5438
5329
  * @request GET:/api/users/me/relationships/prospects
5439
5330
  * @secure
5440
5331
  */
5441
- getMyRelationshipProspects: (params?: RequestParams) => Promise<AxiosResponse<UserRelationshipProspect[], any>>;
5332
+ getMyRelationshipProspects: (params?: RequestParams) => Promise<HttpResponse<UserRelationshipProspect[], any>>;
5442
5333
  /**
5443
5334
  * No description
5444
5335
  *
@@ -5448,7 +5339,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5448
5339
  * @request DELETE:/api/users/me/relationships/prospects/{id}
5449
5340
  * @secure
5450
5341
  */
5451
- deleteRelationshipProspect: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
5342
+ deleteRelationshipProspect: (id: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
5452
5343
  /**
5453
5344
  * No description
5454
5345
  *
@@ -5458,7 +5349,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5458
5349
  * @request POST:/api/users/me/delete
5459
5350
  * @secure
5460
5351
  */
5461
- deleteMe: (data: UserAccountDeletionRequest, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
5352
+ deleteMe: (data: UserAccountDeletionRequest, params?: RequestParams) => Promise<HttpResponse<void, any>>;
5462
5353
  /**
5463
5354
  * No description
5464
5355
  *
@@ -5468,7 +5359,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5468
5359
  * @request POST:/api/verifications/verify
5469
5360
  * @secure
5470
5361
  */
5471
- verify: (data: VerificationRequest, params?: RequestParams) => Promise<AxiosResponse<VerificationResponse, any>>;
5362
+ verify: (data: VerificationRequest, params?: RequestParams) => Promise<HttpResponse<VerificationResponse, UnprocessableEntityResponse>>;
5472
5363
  /**
5473
5364
  * No description
5474
5365
  *
@@ -5478,7 +5369,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5478
5369
  * @request POST:/api/verifications/status
5479
5370
  * @secure
5480
5371
  */
5481
- getVerificationStatus: (data: VerificationRequest, params?: RequestParams) => Promise<AxiosResponse<VerificationResponse, any>>;
5372
+ getVerificationStatus: (data: VerificationRequest, params?: RequestParams) => Promise<HttpResponse<VerificationResponse, UnprocessableEntityResponse>>;
5482
5373
  /**
5483
5374
  * No description
5484
5375
  *
@@ -5488,7 +5379,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5488
5379
  * @request GET:/api/verifications/frontend-materials/{requestId}
5489
5380
  * @secure
5490
5381
  */
5491
- getVerificationFrontEndMaterials: (requestId: string, params?: RequestParams) => Promise<AxiosResponse<VerificationResponse, any>>;
5382
+ getVerificationFrontEndMaterials: (requestId: string, params?: RequestParams) => Promise<HttpResponse<VerificationResponse, UnprocessableEntityResponse>>;
5492
5383
  /**
5493
5384
  * No description
5494
5385
  *
@@ -5498,7 +5389,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5498
5389
  * @request POST:/api/workflow
5499
5390
  * @secure
5500
5391
  */
5501
- getWorkflow: (data: GetWorkflowRequest, params?: RequestParams) => Promise<AxiosResponse<GetForm, any>>;
5392
+ getWorkflow: (data: GetWorkflowRequest, params?: RequestParams) => Promise<HttpResponse<GetForm, any>>;
5502
5393
  };
5503
5394
  accounts: {
5504
5395
  /**
@@ -5510,7 +5401,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5510
5401
  * @request GET:/accounts
5511
5402
  * @secure
5512
5403
  */
5513
- getAccounts: (params?: RequestParams) => Promise<AxiosResponse<Account[], any>>;
5404
+ getAccounts: (params?: RequestParams) => Promise<HttpResponse<Account[], any>>;
5514
5405
  /**
5515
5406
  * No description
5516
5407
  *
@@ -5520,7 +5411,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5520
5411
  * @request PUT:/accounts/{id}/loan
5521
5412
  * @secure
5522
5413
  */
5523
- updateLoansByAccount: (id: string, data: Loan[], params?: RequestParams) => Promise<AxiosResponse<void, any>>;
5414
+ updateLoansByAccount: (id: string, data: Loan[], params?: RequestParams) => Promise<HttpResponse<void, ProblemDetails | UnprocessableEntityResponse>>;
5524
5415
  /**
5525
5416
  * No description
5526
5417
  *
@@ -5530,7 +5421,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5530
5421
  * @request GET:/accounts/{id}/loan
5531
5422
  * @secure
5532
5423
  */
5533
- getLoansByAccount: (id: string, params?: RequestParams) => Promise<AxiosResponse<Loan[], any>>;
5424
+ getLoansByAccount: (id: string, params?: RequestParams) => Promise<HttpResponse<Loan[], ProblemDetails>>;
5534
5425
  };
5535
5426
  refreshToken: {
5536
5427
  /**
@@ -5542,7 +5433,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5542
5433
  * @request POST:/refresh-token
5543
5434
  * @secure
5544
5435
  */
5545
- getTokenFromRefreshToken: (data: RefreshTokenRequest, params?: RequestParams) => Promise<AxiosResponse<TokenResponse, any>>;
5436
+ getTokenFromRefreshToken: (data: RefreshTokenRequest, params?: RequestParams) => Promise<HttpResponse<TokenResponse, UnprocessableEntityResponse>>;
5546
5437
  };
5547
5438
  token: {
5548
5439
  /**
@@ -5554,7 +5445,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5554
5445
  * @request POST:/token
5555
5446
  * @secure
5556
5447
  */
5557
- getToken: (data: TokenRequest, params?: RequestParams) => Promise<AxiosResponse<TokenResponse, any>>;
5448
+ getToken: (data: TokenRequest, params?: RequestParams) => Promise<HttpResponse<TokenResponse, UnprocessableEntityResponse>>;
5558
5449
  /**
5559
5450
  * No description
5560
5451
  *
@@ -5564,7 +5455,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5564
5455
  * @request POST:/token/code
5565
5456
  * @secure
5566
5457
  */
5567
- getTokenFromChallengeCode: (data: TokenChallengeRequest, params?: RequestParams) => Promise<AxiosResponse<TokenResponse, any>>;
5458
+ getTokenFromChallengeCode: (data: TokenChallengeRequest, params?: RequestParams) => Promise<HttpResponse<TokenResponse, UnprocessableEntityResponse>>;
5568
5459
  /**
5569
5460
  * No description
5570
5461
  *
@@ -5574,7 +5465,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5574
5465
  * @request POST:/token/sso
5575
5466
  * @secure
5576
5467
  */
5577
- getSsoToken: (data: SSOTokenRequest, params?: RequestParams) => Promise<AxiosResponse<SSOTokenResponse, any>>;
5468
+ getSsoToken: (data: SSOTokenRequest, params?: RequestParams) => Promise<HttpResponse<SSOTokenResponse, UnprocessableEntityResponse>>;
5578
5469
  };
5579
5470
  oauth2: {
5580
5471
  /**
@@ -5586,6 +5477,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5586
5477
  * @request POST:/oauth2/token
5587
5478
  * @secure
5588
5479
  */
5589
- getSystemToken: (data: SystemTokenRequest, params?: RequestParams) => Promise<AxiosResponse<TokenResponse, any>>;
5480
+ getSystemToken: (data: SystemTokenRequest, params?: RequestParams) => Promise<HttpResponse<TokenResponse, UnprocessableEntityResponse>>;
5590
5481
  };
5591
5482
  }
5483
+ export {};