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

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
@@ -513,6 +513,11 @@ export interface DeviceMDMResponse {
513
513
  user: MdmUserResponse;
514
514
  actions?: DeviceActionResponse[] | null;
515
515
  }
516
+ export interface DeviceRequest {
517
+ apps: any;
518
+ name?: string | null;
519
+ comments?: string | null;
520
+ }
516
521
  export interface DeviceResponse {
517
522
  /** @format uuid */
518
523
  id: string;
@@ -523,9 +528,9 @@ export interface DeviceResponse {
523
528
  /** @format uuid */
524
529
  createdBy: string;
525
530
  /** @format uuid */
526
- updatedBy: string;
531
+ updatedBy?: string | null;
527
532
  /** @format uuid */
528
- managedBy: string;
533
+ managedBy?: string | null;
529
534
  name?: string | null;
530
535
  type?: string | null;
531
536
  status?: string | null;
@@ -2728,9 +2733,9 @@ export interface Workflow {
2728
2733
  tileSubtitle: string;
2729
2734
  icon: string;
2730
2735
  }
2736
+ import type { AxiosInstance, AxiosRequestConfig, AxiosResponse, ResponseType } from "axios";
2731
2737
  export type QueryParamsType = Record<string | number, any>;
2732
- export type ResponseFormat = keyof Omit<Body, "body" | "bodyUsed">;
2733
- export interface FullRequestParams extends Omit<RequestInit, "body"> {
2738
+ export interface FullRequestParams extends Omit<AxiosRequestConfig, "data" | "params" | "url" | "responseType"> {
2734
2739
  /** set parameter to `true` for call `securityWorker` for this request */
2735
2740
  secure?: boolean;
2736
2741
  /** request path */
@@ -2740,26 +2745,16 @@ export interface FullRequestParams extends Omit<RequestInit, "body"> {
2740
2745
  /** query params */
2741
2746
  query?: QueryParamsType;
2742
2747
  /** format of response (i.e. response.json() -> format: "json") */
2743
- format?: ResponseFormat;
2748
+ format?: ResponseType;
2744
2749
  /** request body */
2745
2750
  body?: unknown;
2746
- /** base url */
2747
- baseUrl?: string;
2748
- /** request cancellation token */
2749
- cancelToken?: CancelToken;
2750
2751
  }
2751
2752
  export type RequestParams = Omit<FullRequestParams, "body" | "method" | "query" | "path">;
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;
2757
- }
2758
- export interface HttpResponse<D extends unknown, E extends unknown = unknown> extends Response {
2759
- data: D;
2760
- error: E;
2753
+ export interface ApiConfig<SecurityDataType = unknown> extends Omit<AxiosRequestConfig, "data" | "cancelToken"> {
2754
+ securityWorker?: (securityData: SecurityDataType | null) => Promise<AxiosRequestConfig | void> | AxiosRequestConfig | void;
2755
+ secure?: boolean;
2756
+ format?: ResponseType;
2761
2757
  }
2762
- type CancelToken = Symbol | string | number;
2763
2758
  export declare enum ContentType {
2764
2759
  Json = "application/json",
2765
2760
  FormData = "multipart/form-data",
@@ -2767,24 +2762,17 @@ export declare enum ContentType {
2767
2762
  Text = "text/plain"
2768
2763
  }
2769
2764
  export declare class HttpClient<SecurityDataType = unknown> {
2770
- baseUrl: string;
2765
+ instance: AxiosInstance;
2771
2766
  private securityData;
2772
2767
  private securityWorker?;
2773
- private abortControllers;
2774
- private customFetch;
2775
- private baseApiParams;
2776
- constructor(apiConfig?: ApiConfig<SecurityDataType>);
2768
+ private secure?;
2769
+ private format?;
2770
+ constructor({ securityWorker, secure, format, ...axiosConfig }?: ApiConfig<SecurityDataType>);
2777
2771
  setSecurityData: (data: SecurityDataType | null) => void;
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>>;
2772
+ protected mergeRequestParams(params1: AxiosRequestConfig, params2?: AxiosRequestConfig): AxiosRequestConfig;
2773
+ protected stringifyFormItem(formItem: unknown): string;
2774
+ protected createFormData(input: Record<string, unknown>): FormData;
2775
+ request: <T = any, _E = any>({ secure, path, type, query, format, body, ...params }: FullRequestParams) => Promise<AxiosResponse<T>>;
2788
2776
  }
2789
2777
  /**
2790
2778
  * @title The Big POS API
@@ -2801,7 +2789,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
2801
2789
  * @request POST:/
2802
2790
  * @secure
2803
2791
  */
2804
- postRoot: (params?: RequestParams) => Promise<HttpResponse<void, any>>;
2792
+ postRoot: (params?: RequestParams) => Promise<AxiosResponse<void, any>>;
2805
2793
  api: {
2806
2794
  /**
2807
2795
  * No description
@@ -2812,7 +2800,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
2812
2800
  * @request GET:/api/account
2813
2801
  * @secure
2814
2802
  */
2815
- getAccount: (params?: RequestParams) => Promise<HttpResponse<Account, ProblemDetails>>;
2803
+ getAccount: (params?: RequestParams) => Promise<AxiosResponse<Account, any>>;
2816
2804
  /**
2817
2805
  * No description
2818
2806
  *
@@ -2822,7 +2810,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
2822
2810
  * @request PUT:/api/account
2823
2811
  * @secure
2824
2812
  */
2825
- replaceAccount: (data: AccountUpdateRequest, params?: RequestParams) => Promise<HttpResponse<Account, ProblemDetails>>;
2813
+ replaceAccount: (data: AccountUpdateRequest, params?: RequestParams) => Promise<AxiosResponse<Account, any>>;
2826
2814
  /**
2827
2815
  * No description
2828
2816
  *
@@ -2832,7 +2820,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
2832
2820
  * @request PATCH:/api/account
2833
2821
  * @secure
2834
2822
  */
2835
- updateAccount: (data: JsonPatchDocument, params?: RequestParams) => Promise<HttpResponse<Account, ProblemDetails>>;
2823
+ updateAccount: (data: JsonPatchDocument, params?: RequestParams) => Promise<AxiosResponse<Account, any>>;
2836
2824
  /**
2837
2825
  * No description
2838
2826
  *
@@ -2842,7 +2830,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
2842
2830
  * @request GET:/api/account/site-configurations
2843
2831
  * @secure
2844
2832
  */
2845
- getSiteConfigurationByAccount: (params?: RequestParams) => Promise<HttpResponse<SiteConfiguration, any>>;
2833
+ getSiteConfigurationByAccount: (params?: RequestParams) => Promise<AxiosResponse<SiteConfiguration, any>>;
2846
2834
  /**
2847
2835
  * No description
2848
2836
  *
@@ -2852,7 +2840,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
2852
2840
  * @request PUT:/api/account/site-configurations
2853
2841
  * @secure
2854
2842
  */
2855
- updateSiteConfigurationForAccount: (data: SiteConfiguration, params?: RequestParams) => Promise<HttpResponse<SiteConfiguration, UnprocessableEntityResponse>>;
2843
+ updateSiteConfigurationForAccount: (data: SiteConfiguration, params?: RequestParams) => Promise<AxiosResponse<SiteConfiguration, any>>;
2856
2844
  /**
2857
2845
  * No description
2858
2846
  *
@@ -2870,7 +2858,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
2870
2858
  pageNumber?: number;
2871
2859
  sortBy?: string;
2872
2860
  sortDirection?: string;
2873
- }, params?: RequestParams) => Promise<HttpResponse<GetBranchPaginatedResponse, any>>;
2861
+ }, params?: RequestParams) => Promise<AxiosResponse<GetBranchPaginatedResponse, any>>;
2874
2862
  /**
2875
2863
  * No description
2876
2864
  *
@@ -2880,7 +2868,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
2880
2868
  * @request POST:/api/branches
2881
2869
  * @secure
2882
2870
  */
2883
- createBranch: (data: CreateBranchRequest, params?: RequestParams) => Promise<HttpResponse<GetBranch, UnprocessableEntityResponse>>;
2871
+ createBranch: (data: CreateBranchRequest, params?: RequestParams) => Promise<AxiosResponse<GetBranch, any>>;
2884
2872
  /**
2885
2873
  * No description
2886
2874
  *
@@ -2897,7 +2885,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
2897
2885
  pageNumber?: number;
2898
2886
  sortBy?: string;
2899
2887
  sortDirection?: string;
2900
- }, params?: RequestParams) => Promise<HttpResponse<GetBranchPaginatedResponse, any>>;
2888
+ }, params?: RequestParams) => Promise<AxiosResponse<GetBranchPaginatedResponse, any>>;
2901
2889
  /**
2902
2890
  * No description
2903
2891
  *
@@ -2907,7 +2895,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
2907
2895
  * @request GET:/api/branches/{branchId}
2908
2896
  * @secure
2909
2897
  */
2910
- getBranch: (branchId: string, params?: RequestParams) => Promise<HttpResponse<GetBranch, any>>;
2898
+ getBranch: (branchId: string, params?: RequestParams) => Promise<AxiosResponse<GetBranch, any>>;
2911
2899
  /**
2912
2900
  * No description
2913
2901
  *
@@ -2917,7 +2905,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
2917
2905
  * @request PUT:/api/branches/{branchId}
2918
2906
  * @secure
2919
2907
  */
2920
- replaceBranch: (branchId: string, data: CreateBranchRequest, params?: RequestParams) => Promise<HttpResponse<GetBranch, UnprocessableEntityResponse>>;
2908
+ replaceBranch: (branchId: string, data: CreateBranchRequest, params?: RequestParams) => Promise<AxiosResponse<GetBranch, any>>;
2921
2909
  /**
2922
2910
  * No description
2923
2911
  *
@@ -2927,7 +2915,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
2927
2915
  * @request DELETE:/api/branches/{branchId}
2928
2916
  * @secure
2929
2917
  */
2930
- deleteBranch: (branchId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
2918
+ deleteBranch: (branchId: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
2931
2919
  /**
2932
2920
  * No description
2933
2921
  *
@@ -2937,7 +2925,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
2937
2925
  * @request POST:/api/branches/{branchId}/restore
2938
2926
  * @secure
2939
2927
  */
2940
- restoreBranch: (branchId: string, params?: RequestParams) => Promise<HttpResponse<void, ProblemDetails>>;
2928
+ restoreBranch: (branchId: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
2941
2929
  /**
2942
2930
  * No description
2943
2931
  *
@@ -2947,7 +2935,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
2947
2935
  * @request POST:/api/branches/{branchId}/site-configurations
2948
2936
  * @secure
2949
2937
  */
2950
- createBranchSiteConfiguration: (branchId: string, data: SiteConfigurationRequest, params?: RequestParams) => Promise<HttpResponse<SiteConfiguration, UnprocessableEntityResponse>>;
2938
+ createBranchSiteConfiguration: (branchId: string, data: SiteConfigurationRequest, params?: RequestParams) => Promise<AxiosResponse<SiteConfiguration, any>>;
2951
2939
  /**
2952
2940
  * No description
2953
2941
  *
@@ -2957,7 +2945,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
2957
2945
  * @request GET:/api/branches/{branchId}/site-configurations/{siteConfigurationId}
2958
2946
  * @secure
2959
2947
  */
2960
- getBranchSiteConfiguration: (branchId: string, siteConfigurationId: string, params?: RequestParams) => Promise<HttpResponse<SiteConfigurationWithInheritedResponse, any>>;
2948
+ getBranchSiteConfiguration: (branchId: string, siteConfigurationId: string, params?: RequestParams) => Promise<AxiosResponse<SiteConfigurationWithInheritedResponse, any>>;
2961
2949
  /**
2962
2950
  * No description
2963
2951
  *
@@ -2969,7 +2957,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
2969
2957
  */
2970
2958
  replaceBranchSiteConfiguration: (branchId: string, siteConfigurationId: string, data: SiteConfigurationRequest, query?: {
2971
2959
  applyToChildren?: boolean;
2972
- }, params?: RequestParams) => Promise<HttpResponse<SiteConfiguration, UnprocessableEntityResponse>>;
2960
+ }, params?: RequestParams) => Promise<AxiosResponse<SiteConfiguration, any>>;
2973
2961
  /**
2974
2962
  * No description
2975
2963
  *
@@ -2979,7 +2967,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
2979
2967
  * @request GET:/api/branches/{branchId}/loan-officers
2980
2968
  * @secure
2981
2969
  */
2982
- getLoanOfficersByBranch: (branchId: string, params?: RequestParams) => Promise<HttpResponse<PublicLoanOfficer, any>>;
2970
+ getLoanOfficersByBranch: (branchId: string, params?: RequestParams) => Promise<AxiosResponse<PublicLoanOfficer, any>>;
2983
2971
  /**
2984
2972
  * No description
2985
2973
  *
@@ -2991,7 +2979,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
2991
2979
  */
2992
2980
  getBusinessRules: (query?: {
2993
2981
  showAll?: boolean;
2994
- }, params?: RequestParams) => Promise<HttpResponse<BusinessRule[], any>>;
2982
+ }, params?: RequestParams) => Promise<AxiosResponse<BusinessRule[], any>>;
2995
2983
  /**
2996
2984
  * No description
2997
2985
  *
@@ -3001,7 +2989,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3001
2989
  * @request POST:/api/business-rules
3002
2990
  * @secure
3003
2991
  */
3004
- createBusinessRule: (data: BusinessRuleRequest, params?: RequestParams) => Promise<HttpResponse<BusinessRule, UnprocessableEntityResponse>>;
2992
+ createBusinessRule: (data: BusinessRuleRequest, params?: RequestParams) => Promise<AxiosResponse<BusinessRule, any>>;
3005
2993
  /**
3006
2994
  * No description
3007
2995
  *
@@ -3011,7 +2999,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3011
2999
  * @request GET:/api/business-rules/{id}
3012
3000
  * @secure
3013
3001
  */
3014
- getBusinessRule: (id: string, params?: RequestParams) => Promise<HttpResponse<BusinessRule, any>>;
3002
+ getBusinessRule: (id: string, params?: RequestParams) => Promise<AxiosResponse<BusinessRule, any>>;
3015
3003
  /**
3016
3004
  * No description
3017
3005
  *
@@ -3021,7 +3009,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3021
3009
  * @request PUT:/api/business-rules/{id}
3022
3010
  * @secure
3023
3011
  */
3024
- replaceBusinessRule: (id: string, data: BusinessRuleRequest, params?: RequestParams) => Promise<HttpResponse<BusinessRule, UnprocessableEntityResponse>>;
3012
+ replaceBusinessRule: (id: string, data: BusinessRuleRequest, params?: RequestParams) => Promise<AxiosResponse<BusinessRule, any>>;
3025
3013
  /**
3026
3014
  * No description
3027
3015
  *
@@ -3031,7 +3019,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3031
3019
  * @request DELETE:/api/business-rules/{id}
3032
3020
  * @secure
3033
3021
  */
3034
- deleteBusinessRule: (id: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
3022
+ deleteBusinessRule: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
3035
3023
  /**
3036
3024
  * No description
3037
3025
  *
@@ -3041,7 +3029,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3041
3029
  * @request POST:/api/business-rules/{id}/restore
3042
3030
  * @secure
3043
3031
  */
3044
- restoreBusinessRule: (id: string, params?: RequestParams) => Promise<HttpResponse<BusinessRule, any>>;
3032
+ restoreBusinessRule: (id: string, params?: RequestParams) => Promise<AxiosResponse<BusinessRule, any>>;
3045
3033
  /**
3046
3034
  * No description
3047
3035
  *
@@ -3059,7 +3047,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3059
3047
  pageNumber?: number;
3060
3048
  sortBy?: string;
3061
3049
  sortDirection?: string;
3062
- }, params?: RequestParams) => Promise<HttpResponse<CorporateResponsePaginatedResponse, any>>;
3050
+ }, params?: RequestParams) => Promise<AxiosResponse<CorporateResponsePaginatedResponse, any>>;
3063
3051
  /**
3064
3052
  * No description
3065
3053
  *
@@ -3069,7 +3057,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3069
3057
  * @request POST:/api/corporates
3070
3058
  * @secure
3071
3059
  */
3072
- createCorporate: (data: CorporateRequest, params?: RequestParams) => Promise<HttpResponse<CorporateResponse, UnprocessableEntityResponse>>;
3060
+ createCorporate: (data: CorporateRequest, params?: RequestParams) => Promise<AxiosResponse<CorporateResponse, any>>;
3073
3061
  /**
3074
3062
  * No description
3075
3063
  *
@@ -3086,7 +3074,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3086
3074
  pageNumber?: number;
3087
3075
  sortBy?: string;
3088
3076
  sortDirection?: string;
3089
- }, params?: RequestParams) => Promise<HttpResponse<CorporateResponsePaginatedResponse, any>>;
3077
+ }, params?: RequestParams) => Promise<AxiosResponse<CorporateResponsePaginatedResponse, any>>;
3090
3078
  /**
3091
3079
  * No description
3092
3080
  *
@@ -3096,7 +3084,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3096
3084
  * @request GET:/api/corporates/{id}
3097
3085
  * @secure
3098
3086
  */
3099
- getCorporate: (id: string, params?: RequestParams) => Promise<HttpResponse<CorporateResponse, any>>;
3087
+ getCorporate: (id: string, params?: RequestParams) => Promise<AxiosResponse<CorporateResponse, any>>;
3100
3088
  /**
3101
3089
  * No description
3102
3090
  *
@@ -3106,7 +3094,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3106
3094
  * @request PUT:/api/corporates/{id}
3107
3095
  * @secure
3108
3096
  */
3109
- replaceCorporate: (id: string, data: CorporateRequest, params?: RequestParams) => Promise<HttpResponse<CorporateResponse, UnprocessableEntityResponse>>;
3097
+ replaceCorporate: (id: string, data: CorporateRequest, params?: RequestParams) => Promise<AxiosResponse<CorporateResponse, any>>;
3110
3098
  /**
3111
3099
  * No description
3112
3100
  *
@@ -3116,7 +3104,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3116
3104
  * @request DELETE:/api/corporates/{id}
3117
3105
  * @secure
3118
3106
  */
3119
- deleteCorporate: (id: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
3107
+ deleteCorporate: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
3120
3108
  /**
3121
3109
  * No description
3122
3110
  *
@@ -3126,7 +3114,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3126
3114
  * @request POST:/api/corporates/{id}/restore
3127
3115
  * @secure
3128
3116
  */
3129
- restoreCorporate: (id: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
3117
+ restoreCorporate: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
3130
3118
  /**
3131
3119
  * No description
3132
3120
  *
@@ -3136,7 +3124,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3136
3124
  * @request POST:/api/corporates/{corporateId}/site-configurations
3137
3125
  * @secure
3138
3126
  */
3139
- createCorporateSiteConfiguration: (corporateId: string, data: SiteConfigurationRequest, params?: RequestParams) => Promise<HttpResponse<SiteConfiguration, UnprocessableEntityResponse>>;
3127
+ createCorporateSiteConfiguration: (corporateId: string, data: SiteConfigurationRequest, params?: RequestParams) => Promise<AxiosResponse<SiteConfiguration, any>>;
3140
3128
  /**
3141
3129
  * No description
3142
3130
  *
@@ -3146,7 +3134,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3146
3134
  * @request GET:/api/corporates/{corporateId}/site-configurations/{siteConfigurationId}
3147
3135
  * @secure
3148
3136
  */
3149
- getCorporateSiteConfiguration: (corporateId: string, siteConfigurationId: string, params?: RequestParams) => Promise<HttpResponse<SiteConfigurationWithInheritedResponse, any>>;
3137
+ getCorporateSiteConfiguration: (corporateId: string, siteConfigurationId: string, params?: RequestParams) => Promise<AxiosResponse<SiteConfigurationWithInheritedResponse, any>>;
3150
3138
  /**
3151
3139
  * No description
3152
3140
  *
@@ -3158,7 +3146,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3158
3146
  */
3159
3147
  replaceCorporateSiteConfiguration: (corporateId: string, siteConfigurationId: string, data: SiteConfigurationRequest, query?: {
3160
3148
  applyToChildren?: boolean;
3161
- }, params?: RequestParams) => Promise<HttpResponse<SiteConfiguration, UnprocessableEntityResponse>>;
3149
+ }, params?: RequestParams) => Promise<AxiosResponse<SiteConfiguration, any>>;
3162
3150
  /**
3163
3151
  * No description
3164
3152
  *
@@ -3168,7 +3156,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3168
3156
  * @request GET:/api/corporates/{id}/branches
3169
3157
  * @secure
3170
3158
  */
3171
- getBranchesByCorporate: (id: string, params?: RequestParams) => Promise<HttpResponse<BranchReduced[], any>>;
3159
+ getBranchesByCorporate: (id: string, params?: RequestParams) => Promise<AxiosResponse<BranchReduced[], any>>;
3172
3160
  /**
3173
3161
  * No description
3174
3162
  *
@@ -3178,7 +3166,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3178
3166
  * @request GET:/api/corporates/{id}/loan-officers
3179
3167
  * @secure
3180
3168
  */
3181
- getLoanOfficersByCorporate: (id: string, params?: RequestParams) => Promise<HttpResponse<PublicLoanOfficer, any>>;
3169
+ getLoanOfficersByCorporate: (id: string, params?: RequestParams) => Promise<AxiosResponse<PublicLoanOfficer, any>>;
3182
3170
  /**
3183
3171
  * No description
3184
3172
  *
@@ -3197,17 +3185,27 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3197
3185
  pageNumber?: number;
3198
3186
  sortBy?: string;
3199
3187
  sortDirection?: string;
3200
- }, params?: RequestParams) => Promise<HttpResponse<DeviceResponsePaginatedResponse, any>>;
3188
+ }, params?: RequestParams) => Promise<AxiosResponse<DeviceResponsePaginatedResponse, any>>;
3201
3189
  /**
3202
3190
  * No description
3203
3191
  *
3204
3192
  * @tags Devices
3205
- * @name GetDeviceById
3193
+ * @name GetDevice
3206
3194
  * @summary Get by ID
3207
3195
  * @request GET:/api/devices/{id}
3208
3196
  * @secure
3209
3197
  */
3210
- getDeviceById: (id: string, params?: RequestParams) => Promise<HttpResponse<DeviceResponse, any>>;
3198
+ getDevice: (id: string, params?: RequestParams) => Promise<AxiosResponse<DeviceResponse, any>>;
3199
+ /**
3200
+ * No description
3201
+ *
3202
+ * @tags Devices
3203
+ * @name UpdateDevice
3204
+ * @summary Update
3205
+ * @request PUT:/api/devices/{id}
3206
+ * @secure
3207
+ */
3208
+ updateDevice: (id: string, data: DeviceRequest, params?: RequestParams) => Promise<AxiosResponse<DeviceResponse, any>>;
3211
3209
  /**
3212
3210
  * No description
3213
3211
  *
@@ -3217,17 +3215,17 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3217
3215
  * @request GET:/api/devices/{sn}/profile
3218
3216
  * @secure
3219
3217
  */
3220
- getDeviceBySerialNumber: (sn: string, params?: RequestParams) => Promise<HttpResponse<DeviceMDMResponse, any>>;
3218
+ getDeviceBySerialNumber: (sn: string, params?: RequestParams) => Promise<AxiosResponse<DeviceMDMResponse, any>>;
3221
3219
  /**
3222
3220
  * No description
3223
3221
  *
3224
3222
  * @tags Devices
3225
- * @name CreateActionBySerialNumber
3223
+ * @name CreateDeviceActionBySerialNumber
3226
3224
  * @summary Create Action by Serial Number
3227
3225
  * @request POST:/api/devices/{sn}/actions/{actionName}
3228
3226
  * @secure
3229
3227
  */
3230
- createActionBySerialNumber: (sn: string, actionName: string, params?: RequestParams) => Promise<HttpResponse<ActionResponse, any>>;
3228
+ createDeviceActionBySerialNumber: (sn: string, actionName: string, params?: RequestParams) => Promise<AxiosResponse<ActionResponse, any>>;
3231
3229
  /**
3232
3230
  * No description
3233
3231
  *
@@ -3240,7 +3238,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3240
3238
  getDocumentBuckets: (query?: {
3241
3239
  /** @default false */
3242
3240
  includeSystemBuckets?: boolean;
3243
- }, params?: RequestParams) => Promise<HttpResponse<string[], any>>;
3241
+ }, params?: RequestParams) => Promise<AxiosResponse<string[], any>>;
3244
3242
  /**
3245
3243
  * No description
3246
3244
  *
@@ -3252,7 +3250,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3252
3250
  */
3253
3251
  getDocumentTemplates: (query?: {
3254
3252
  showAll?: boolean;
3255
- }, params?: RequestParams) => Promise<HttpResponse<DocumentTemplateBaseResponse[], any>>;
3253
+ }, params?: RequestParams) => Promise<AxiosResponse<DocumentTemplateBaseResponse[], any>>;
3256
3254
  /**
3257
3255
  * No description
3258
3256
  *
@@ -3262,7 +3260,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3262
3260
  * @request POST:/api/document-templates
3263
3261
  * @secure
3264
3262
  */
3265
- createDocumentTemplate: (data: CreateDocumentTemplateRequest, params?: RequestParams) => Promise<HttpResponse<DocumentTemplateBaseResponse, ProblemDetails | UnprocessableEntityResponse>>;
3263
+ createDocumentTemplate: (data: CreateDocumentTemplateRequest, params?: RequestParams) => Promise<AxiosResponse<DocumentTemplateBaseResponse, any>>;
3266
3264
  /**
3267
3265
  * No description
3268
3266
  *
@@ -3277,7 +3275,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3277
3275
  showAll?: boolean;
3278
3276
  /** @default true */
3279
3277
  publishedOnly?: boolean;
3280
- }, params?: RequestParams) => Promise<HttpResponse<DocumentTemplateBaseResponse[], any>>;
3278
+ }, params?: RequestParams) => Promise<AxiosResponse<DocumentTemplateBaseResponse[], any>>;
3281
3279
  /**
3282
3280
  * No description
3283
3281
  *
@@ -3287,7 +3285,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3287
3285
  * @request GET:/api/document-templates/{id}
3288
3286
  * @secure
3289
3287
  */
3290
- getDocumentTemplate: (id: string, params?: RequestParams) => Promise<HttpResponse<DocumentTemplateResponse, ProblemDetails>>;
3288
+ getDocumentTemplate: (id: string, params?: RequestParams) => Promise<AxiosResponse<DocumentTemplateResponse, any>>;
3291
3289
  /**
3292
3290
  * No description
3293
3291
  *
@@ -3297,7 +3295,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3297
3295
  * @request PUT:/api/document-templates/{id}
3298
3296
  * @secure
3299
3297
  */
3300
- replaceDocumentTemplate: (id: string, data: UpdateDocumentTemplateRequest, params?: RequestParams) => Promise<HttpResponse<DocumentTemplateBaseResponse, ProblemDetails | UnprocessableEntityResponse>>;
3298
+ replaceDocumentTemplate: (id: string, data: UpdateDocumentTemplateRequest, params?: RequestParams) => Promise<AxiosResponse<DocumentTemplateBaseResponse, any>>;
3301
3299
  /**
3302
3300
  * No description
3303
3301
  *
@@ -3307,7 +3305,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3307
3305
  * @request DELETE:/api/document-templates/{id}
3308
3306
  * @secure
3309
3307
  */
3310
- deleteDocumentTemplate: (id: string, params?: RequestParams) => Promise<HttpResponse<void, ProblemDetails>>;
3308
+ deleteDocumentTemplate: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
3311
3309
  /**
3312
3310
  * No description
3313
3311
  *
@@ -3317,7 +3315,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3317
3315
  * @request POST:/api/document-templates/{id}/restore
3318
3316
  * @secure
3319
3317
  */
3320
- restoreDocumentTemplate: (id: string, params?: RequestParams) => Promise<HttpResponse<void, ProblemDetails>>;
3318
+ restoreDocumentTemplate: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
3321
3319
  /**
3322
3320
  * No description
3323
3321
  *
@@ -3327,7 +3325,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3327
3325
  * @request GET:/api/document-templates/{documentId}/versions
3328
3326
  * @secure
3329
3327
  */
3330
- getDocumentTemplateVersions: (documentId: string, params?: RequestParams) => Promise<HttpResponse<DocumentTemplateVersionResponse[], any>>;
3328
+ getDocumentTemplateVersions: (documentId: string, params?: RequestParams) => Promise<AxiosResponse<DocumentTemplateVersionResponse[], any>>;
3331
3329
  /**
3332
3330
  * No description
3333
3331
  *
@@ -3337,7 +3335,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3337
3335
  * @request POST:/api/document-templates/{documentId}/versions
3338
3336
  * @secure
3339
3337
  */
3340
- createDocumentTemplateVersion: (documentId: string, data: DocumentTemplateVersionRequest, params?: RequestParams) => Promise<HttpResponse<DocumentTemplateVersionResponse, any>>;
3338
+ createDocumentTemplateVersion: (documentId: string, data: DocumentTemplateVersionRequest, params?: RequestParams) => Promise<AxiosResponse<DocumentTemplateVersionResponse, any>>;
3341
3339
  /**
3342
3340
  * No description
3343
3341
  *
@@ -3347,7 +3345,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3347
3345
  * @request GET:/api/document-templates/{documentId}/versions/{id}
3348
3346
  * @secure
3349
3347
  */
3350
- getDocumentTemplateVersion: (documentId: string, id: string, params?: RequestParams) => Promise<HttpResponse<DocumentTemplateVersionResponse, any>>;
3348
+ getDocumentTemplateVersion: (documentId: string, id: string, params?: RequestParams) => Promise<AxiosResponse<DocumentTemplateVersionResponse, any>>;
3351
3349
  /**
3352
3350
  * No description
3353
3351
  *
@@ -3357,7 +3355,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3357
3355
  * @request PUT:/api/document-templates/{documentId}/versions/{id}
3358
3356
  * @secure
3359
3357
  */
3360
- replaceDocumentTemplateVersion: (documentId: string, id: string, data: DocumentTemplateVersionUpdateRequest, params?: RequestParams) => Promise<HttpResponse<DocumentTemplateVersionResponse, any>>;
3358
+ replaceDocumentTemplateVersion: (documentId: string, id: string, data: DocumentTemplateVersionUpdateRequest, params?: RequestParams) => Promise<AxiosResponse<DocumentTemplateVersionResponse, any>>;
3361
3359
  /**
3362
3360
  * No description
3363
3361
  *
@@ -3367,7 +3365,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3367
3365
  * @request DELETE:/api/document-templates/{documentId}/versions/{id}
3368
3366
  * @secure
3369
3367
  */
3370
- deleteDocumentTemplateVersion: (documentId: string, id: string, params?: RequestParams) => Promise<HttpResponse<DocumentTemplateVersionResponse, any>>;
3368
+ deleteDocumentTemplateVersion: (documentId: string, id: string, params?: RequestParams) => Promise<AxiosResponse<DocumentTemplateVersionResponse, any>>;
3371
3369
  /**
3372
3370
  * No description
3373
3371
  *
@@ -3386,7 +3384,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3386
3384
  sortDirection?: string;
3387
3385
  /** @default false */
3388
3386
  includeDeleted?: boolean;
3389
- }, params?: RequestParams) => Promise<HttpResponse<FilePaginatedResponse, any>>;
3387
+ }, params?: RequestParams) => Promise<AxiosResponse<FilePaginatedResponse, any>>;
3390
3388
  /**
3391
3389
  * No description
3392
3390
  *
@@ -3402,7 +3400,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3402
3400
  file?: File;
3403
3401
  isPublic?: boolean;
3404
3402
  bucket?: string;
3405
- }, params?: RequestParams) => Promise<HttpResponse<File, UnprocessableEntityResponse>>;
3403
+ }, params?: RequestParams) => Promise<AxiosResponse<File, any>>;
3406
3404
  /**
3407
3405
  * No description
3408
3406
  *
@@ -3412,7 +3410,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3412
3410
  * @request GET:/api/files/{id}
3413
3411
  * @secure
3414
3412
  */
3415
- getFileById: (id: string, params?: RequestParams) => Promise<HttpResponse<File, any>>;
3413
+ getFileById: (id: string, params?: RequestParams) => Promise<AxiosResponse<File, any>>;
3416
3414
  /**
3417
3415
  * No description
3418
3416
  *
@@ -3422,7 +3420,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3422
3420
  * @request PUT:/api/files/{id}
3423
3421
  * @secure
3424
3422
  */
3425
- replaceFile: (id: string, data: FileRequest, params?: RequestParams) => Promise<HttpResponse<string, UnprocessableEntityResponse>>;
3423
+ replaceFile: (id: string, data: FileRequest, params?: RequestParams) => Promise<AxiosResponse<string, any>>;
3426
3424
  /**
3427
3425
  * No description
3428
3426
  *
@@ -3432,7 +3430,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3432
3430
  * @request DELETE:/api/files/{id}
3433
3431
  * @secure
3434
3432
  */
3435
- deleteFile: (id: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
3433
+ deleteFile: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
3436
3434
  /**
3437
3435
  * No description
3438
3436
  *
@@ -3449,7 +3447,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3449
3447
  pageNumber?: number;
3450
3448
  sortBy?: string;
3451
3449
  sortDirection?: string;
3452
- }, params?: RequestParams) => Promise<HttpResponse<FilePaginatedResponse, any>>;
3450
+ }, params?: RequestParams) => Promise<AxiosResponse<FilePaginatedResponse, any>>;
3453
3451
  /**
3454
3452
  * No description
3455
3453
  *
@@ -3461,7 +3459,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3461
3459
  */
3462
3460
  getForms: (query?: {
3463
3461
  showAll?: boolean;
3464
- }, params?: RequestParams) => Promise<HttpResponse<AdminAccessGetForms[], any>>;
3462
+ }, params?: RequestParams) => Promise<AxiosResponse<AdminAccessGetForms[], any>>;
3465
3463
  /**
3466
3464
  * No description
3467
3465
  *
@@ -3471,7 +3469,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3471
3469
  * @request POST:/api/forms
3472
3470
  * @secure
3473
3471
  */
3474
- createForm: (data: FormRequest, params?: RequestParams) => Promise<HttpResponse<AdminAccessGetForms, UnprocessableEntityResponse>>;
3472
+ createForm: (data: FormRequest, params?: RequestParams) => Promise<AxiosResponse<AdminAccessGetForms, any>>;
3475
3473
  /**
3476
3474
  * No description
3477
3475
  *
@@ -3481,7 +3479,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3481
3479
  * @request GET:/api/forms/{id}
3482
3480
  * @secure
3483
3481
  */
3484
- getForm: (id: string, params?: RequestParams) => Promise<HttpResponse<AdminAccessGetForms, any>>;
3482
+ getForm: (id: string, params?: RequestParams) => Promise<AxiosResponse<AdminAccessGetForms, any>>;
3485
3483
  /**
3486
3484
  * No description
3487
3485
  *
@@ -3491,7 +3489,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3491
3489
  * @request PUT:/api/forms/{id}
3492
3490
  * @secure
3493
3491
  */
3494
- replaceForm: (id: string, data: FormRequest, params?: RequestParams) => Promise<HttpResponse<AdminAccessGetForms, UnprocessableEntityResponse>>;
3492
+ replaceForm: (id: string, data: FormRequest, params?: RequestParams) => Promise<AxiosResponse<AdminAccessGetForms, any>>;
3495
3493
  /**
3496
3494
  * No description
3497
3495
  *
@@ -3501,7 +3499,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3501
3499
  * @request DELETE:/api/forms/{id}
3502
3500
  * @secure
3503
3501
  */
3504
- deleteForm: (id: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
3502
+ deleteForm: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
3505
3503
  /**
3506
3504
  * No description
3507
3505
  *
@@ -3511,7 +3509,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3511
3509
  * @request POST:/api/forms/{id}/restore
3512
3510
  * @secure
3513
3511
  */
3514
- restoreForm: (id: string, params?: RequestParams) => Promise<HttpResponse<AdminAccessGetForms, any>>;
3512
+ restoreForm: (id: string, params?: RequestParams) => Promise<AxiosResponse<AdminAccessGetForms, any>>;
3515
3513
  /**
3516
3514
  * No description
3517
3515
  *
@@ -3521,7 +3519,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3521
3519
  * @request POST:/api/forms/{formId}/site-configurations/{siteConfigurationId}
3522
3520
  * @secure
3523
3521
  */
3524
- addFormToSiteConfiguration: (formId: string, siteConfigurationId: string, data: AddFormToSiteConfigurationRequest, params?: RequestParams) => Promise<HttpResponse<SiteConfigurationForm, UnprocessableEntityResponse>>;
3522
+ addFormToSiteConfiguration: (formId: string, siteConfigurationId: string, data: AddFormToSiteConfigurationRequest, params?: RequestParams) => Promise<AxiosResponse<SiteConfigurationForm, any>>;
3525
3523
  /**
3526
3524
  * No description
3527
3525
  *
@@ -3531,7 +3529,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3531
3529
  * @request DELETE:/api/forms/{formId}/site-configurations/{siteConfigurationId}
3532
3530
  * @secure
3533
3531
  */
3534
- removeFormFromSiteConfiguration: (formId: string, siteConfigurationId: string, params?: RequestParams) => Promise<HttpResponse<AdminAccessGetForms, any>>;
3532
+ removeFormFromSiteConfiguration: (formId: string, siteConfigurationId: string, params?: RequestParams) => Promise<AxiosResponse<AdminAccessGetForms, any>>;
3535
3533
  /**
3536
3534
  * No description
3537
3535
  *
@@ -3541,7 +3539,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3541
3539
  * @request GET:/api/forms/{formId}/site-configurations
3542
3540
  * @secure
3543
3541
  */
3544
- getSiteConfigurationsByForm: (formId: string, params?: RequestParams) => Promise<HttpResponse<SiteConfigurationReduced[], UnprocessableEntityResponse>>;
3542
+ getSiteConfigurationsByForm: (formId: string, params?: RequestParams) => Promise<AxiosResponse<SiteConfigurationReduced[], any>>;
3545
3543
  /**
3546
3544
  * No description
3547
3545
  *
@@ -3555,7 +3553,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3555
3553
  /** @format binary */
3556
3554
  file?: File;
3557
3555
  name?: string;
3558
- }, params?: RequestParams) => Promise<HttpResponse<FormSubmissionFileResponse, any>>;
3556
+ }, params?: RequestParams) => Promise<AxiosResponse<FormSubmissionFileResponse, any>>;
3559
3557
  /**
3560
3558
  * No description
3561
3559
  *
@@ -3565,7 +3563,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3565
3563
  * @request DELETE:/api/form-submissions/{formSubmissionId}/files/{formSubmissionFileId}
3566
3564
  * @secure
3567
3565
  */
3568
- deleteFormSubmissionFile: (formSubmissionFileId: string, formSubmissionId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
3566
+ deleteFormSubmissionFile: (formSubmissionFileId: string, formSubmissionId: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
3569
3567
  /**
3570
3568
  * No description
3571
3569
  *
@@ -3582,7 +3580,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3582
3580
  pageNumber?: number;
3583
3581
  sortBy?: string;
3584
3582
  sortDirection?: string;
3585
- }, params?: RequestParams) => Promise<HttpResponse<FormSubmissionPaginatedResponse, any>>;
3583
+ }, params?: RequestParams) => Promise<AxiosResponse<FormSubmissionPaginatedResponse, any>>;
3586
3584
  /**
3587
3585
  * No description
3588
3586
  *
@@ -3594,7 +3592,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3594
3592
  */
3595
3593
  createFormSubmission: (data: FormSubmissionRequest, query?: {
3596
3594
  formID?: string;
3597
- }, params?: RequestParams) => Promise<HttpResponse<FormSubmission, any>>;
3595
+ }, params?: RequestParams) => Promise<AxiosResponse<FormSubmission, any>>;
3598
3596
  /**
3599
3597
  * No description
3600
3598
  *
@@ -3604,7 +3602,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3604
3602
  * @request GET:/api/form-submissions/{id}
3605
3603
  * @secure
3606
3604
  */
3607
- getFormSubmission: (id: string, params?: RequestParams) => Promise<HttpResponse<FormSubmission, any>>;
3605
+ getFormSubmission: (id: string, params?: RequestParams) => Promise<AxiosResponse<FormSubmission, any>>;
3608
3606
  /**
3609
3607
  * No description
3610
3608
  *
@@ -3614,7 +3612,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3614
3612
  * @request PUT:/api/form-submissions/{id}
3615
3613
  * @secure
3616
3614
  */
3617
- replaceFormSubmission: (id: string, data: FormSubmissionRequest, params?: RequestParams) => Promise<HttpResponse<FormSubmission, any>>;
3615
+ replaceFormSubmission: (id: string, data: FormSubmissionRequest, params?: RequestParams) => Promise<AxiosResponse<FormSubmission, any>>;
3618
3616
  /**
3619
3617
  * No description
3620
3618
  *
@@ -3624,7 +3622,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3624
3622
  * @request DELETE:/api/form-submissions/{id}
3625
3623
  * @secure
3626
3624
  */
3627
- deleteFormSubmission: (id: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
3625
+ deleteFormSubmission: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
3628
3626
  /**
3629
3627
  * No description
3630
3628
  *
@@ -3641,7 +3639,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3641
3639
  pageNumber?: number;
3642
3640
  sortBy?: string;
3643
3641
  sortDirection?: string;
3644
- }, params?: RequestParams) => Promise<HttpResponse<FormSubmissionPaginatedResponse, any>>;
3642
+ }, params?: RequestParams) => Promise<AxiosResponse<FormSubmissionPaginatedResponse, any>>;
3645
3643
  /**
3646
3644
  * No description
3647
3645
  *
@@ -3651,7 +3649,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3651
3649
  * @request GET:/api/forms/{formId}/versions
3652
3650
  * @secure
3653
3651
  */
3654
- getFormVersions: (formId: string, params?: RequestParams) => Promise<HttpResponse<FormVersion[], any>>;
3652
+ getFormVersions: (formId: string, params?: RequestParams) => Promise<AxiosResponse<FormVersion[], any>>;
3655
3653
  /**
3656
3654
  * No description
3657
3655
  *
@@ -3661,7 +3659,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3661
3659
  * @request POST:/api/forms/{formId}/versions
3662
3660
  * @secure
3663
3661
  */
3664
- createFormVersion: (formId: string, data: FormVersionRequest, params?: RequestParams) => Promise<HttpResponse<FormVersion, any>>;
3662
+ createFormVersion: (formId: string, data: FormVersionRequest, params?: RequestParams) => Promise<AxiosResponse<FormVersion, any>>;
3665
3663
  /**
3666
3664
  * No description
3667
3665
  *
@@ -3671,7 +3669,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3671
3669
  * @request GET:/api/forms/{formId}/versions/{id}
3672
3670
  * @secure
3673
3671
  */
3674
- getFormVersion: (formId: string, id: string, params?: RequestParams) => Promise<HttpResponse<FormVersion, any>>;
3672
+ getFormVersion: (formId: string, id: string, params?: RequestParams) => Promise<AxiosResponse<FormVersion, any>>;
3675
3673
  /**
3676
3674
  * No description
3677
3675
  *
@@ -3681,7 +3679,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3681
3679
  * @request PUT:/api/forms/{formId}/versions/{id}
3682
3680
  * @secure
3683
3681
  */
3684
- replaceFormVersion: (formId: string, id: string, data: FormVersionUpdateRequest, params?: RequestParams) => Promise<HttpResponse<FormVersion, any>>;
3682
+ replaceFormVersion: (formId: string, id: string, data: FormVersionUpdateRequest, params?: RequestParams) => Promise<AxiosResponse<FormVersion, any>>;
3685
3683
  /**
3686
3684
  * No description
3687
3685
  *
@@ -3691,7 +3689,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3691
3689
  * @request DELETE:/api/forms/{formId}/versions/{id}
3692
3690
  * @secure
3693
3691
  */
3694
- deleteFormVersion: (formId: string, id: string, params?: RequestParams) => Promise<HttpResponse<FormVersion, any>>;
3692
+ deleteFormVersion: (formId: string, id: string, params?: RequestParams) => Promise<AxiosResponse<FormVersion, any>>;
3695
3693
  /**
3696
3694
  * No description
3697
3695
  *
@@ -3701,7 +3699,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3701
3699
  * @request GET:/api/los/loan/application/{loanID}
3702
3700
  * @secure
3703
3701
  */
3704
- getLoanData: (loanId: string, params?: RequestParams) => Promise<HttpResponse<Record<string, any>, any>>;
3702
+ getLoanData: (loanId: string, params?: RequestParams) => Promise<AxiosResponse<Record<string, any>, any>>;
3705
3703
  /**
3706
3704
  * No description
3707
3705
  *
@@ -3711,7 +3709,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3711
3709
  * @request PATCH:/api/los/loan/application/{loanID}
3712
3710
  * @secure
3713
3711
  */
3714
- updateLoan: (loanId: string, data: JsonPatchDocument, params?: RequestParams) => Promise<HttpResponse<string, UnprocessableEntityResponse>>;
3712
+ updateLoan: (loanId: string, data: JsonPatchDocument, params?: RequestParams) => Promise<AxiosResponse<string, any>>;
3715
3713
  /**
3716
3714
  * No description
3717
3715
  *
@@ -3721,7 +3719,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3721
3719
  * @request POST:/api/los/loan/reports
3722
3720
  * @secure
3723
3721
  */
3724
- getLoansReport: (data: GetReportRequest, params?: RequestParams) => Promise<HttpResponse<GetReportResponse, any>>;
3722
+ getLoansReport: (data: GetReportRequest, params?: RequestParams) => Promise<AxiosResponse<GetReportResponse, any>>;
3725
3723
  /**
3726
3724
  * No description
3727
3725
  *
@@ -3731,7 +3729,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3731
3729
  * @request POST:/api/los/loan/application
3732
3730
  * @secure
3733
3731
  */
3734
- createLoan: (data: any, params?: RequestParams) => Promise<HttpResponse<string, UnprocessableEntityResponse>>;
3732
+ createLoan: (data: any, params?: RequestParams) => Promise<AxiosResponse<string, any>>;
3735
3733
  /**
3736
3734
  * No description
3737
3735
  *
@@ -3741,7 +3739,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3741
3739
  * @request POST:/api/los/loan/tasks/documents
3742
3740
  * @secure
3743
3741
  */
3744
- uploadDocuments: (data: PostTaskDocumentsRequest, params?: RequestParams) => Promise<HttpResponse<void, UnprocessableEntityResponse>>;
3742
+ uploadDocuments: (data: PostTaskDocumentsRequest, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
3745
3743
  /**
3746
3744
  * No description
3747
3745
  *
@@ -3754,7 +3752,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3754
3752
  getTaskDocumentsByLoan: (loanId: string, query?: {
3755
3753
  /** @default true */
3756
3754
  includeBase64?: boolean;
3757
- }, params?: RequestParams) => Promise<HttpResponse<DocumentData[], any>>;
3755
+ }, params?: RequestParams) => Promise<AxiosResponse<DocumentData[], any>>;
3758
3756
  /**
3759
3757
  * No description
3760
3758
  *
@@ -3767,7 +3765,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3767
3765
  getLoanDocumentContent: (loanId: string, documentId: string, query?: {
3768
3766
  /** @default "base64" */
3769
3767
  contentType?: string;
3770
- }, params?: RequestParams) => Promise<HttpResponse<void, any>>;
3768
+ }, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
3771
3769
  /**
3772
3770
  * No description
3773
3771
  *
@@ -3777,7 +3775,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3777
3775
  * @request GET:/api/los/loan/recipients/{loanID}
3778
3776
  * @secure
3779
3777
  */
3780
- getLoanRecipients: (loanId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
3778
+ getLoanRecipients: (loanId: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
3781
3779
  /**
3782
3780
  * No description
3783
3781
  *
@@ -3787,7 +3785,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3787
3785
  * @request GET:/api/los/loan/contacts/{loanID}
3788
3786
  * @secure
3789
3787
  */
3790
- getLoanContactInformation: (loanId: string, params?: RequestParams) => Promise<HttpResponse<Record<string, ContactRowData>, any>>;
3788
+ getLoanContactInformation: (loanId: string, params?: RequestParams) => Promise<AxiosResponse<Record<string, ContactRowData>, any>>;
3791
3789
  /**
3792
3790
  * No description
3793
3791
  *
@@ -3797,7 +3795,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3797
3795
  * @request GET:/api/los/loan/{loanID}/conditions/preliminary
3798
3796
  * @secure
3799
3797
  */
3800
- getPreliminaryConditionsForLoan: (loanId: string, params?: RequestParams) => Promise<HttpResponse<PreliminaryConditionResponse[], any>>;
3798
+ getPreliminaryConditionsForLoan: (loanId: string, params?: RequestParams) => Promise<AxiosResponse<PreliminaryConditionResponse[], any>>;
3801
3799
  /**
3802
3800
  * No description
3803
3801
  *
@@ -3807,7 +3805,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3807
3805
  * @request GET:/api/los/loan/{loanID}/conditions/underwriting
3808
3806
  * @secure
3809
3807
  */
3810
- getUnderwritingConditionsForLoan: (loanId: string, params?: RequestParams) => Promise<HttpResponse<UnderwritingConditionResponse[], any>>;
3808
+ getUnderwritingConditionsForLoan: (loanId: string, params?: RequestParams) => Promise<AxiosResponse<UnderwritingConditionResponse[], any>>;
3811
3809
  /**
3812
3810
  * No description
3813
3811
  *
@@ -3817,7 +3815,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3817
3815
  * @request POST:/api/los/loan/embeddedsigning/{envelopeId}/{userName}/{email}
3818
3816
  * @secure
3819
3817
  */
3820
- getLoanEmbeddedSigningLink: (envelopeId: string, userName: string, email: string, params?: RequestParams) => Promise<HttpResponse<string, any>>;
3818
+ getLoanEmbeddedSigningLink: (envelopeId: string, userName: string, email: string, params?: RequestParams) => Promise<AxiosResponse<string, any>>;
3821
3819
  /**
3822
3820
  * No description
3823
3821
  *
@@ -3828,7 +3826,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3828
3826
  * @deprecated
3829
3827
  * @secure
3830
3828
  */
3831
- createLegacyLoanDocument: (data: GenerateDocumentRequest, params?: RequestParams) => Promise<HttpResponse<DocumentDataRequest, any>>;
3829
+ createLegacyLoanDocument: (data: GenerateDocumentRequest, params?: RequestParams) => Promise<AxiosResponse<DocumentDataRequest, any>>;
3832
3830
  /**
3833
3831
  * No description
3834
3832
  *
@@ -3843,7 +3841,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3843
3841
  file?: File;
3844
3842
  /** @format int32 */
3845
3843
  weight?: number;
3846
- }, params?: RequestParams) => Promise<HttpResponse<ListingFile, any>>;
3844
+ }, params?: RequestParams) => Promise<AxiosResponse<ListingFile, any>>;
3847
3845
  /**
3848
3846
  * No description
3849
3847
  *
@@ -3853,7 +3851,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3853
3851
  * @request PATCH:/api/listings/{listingId}/files
3854
3852
  * @secure
3855
3853
  */
3856
- updateListingFiles: (listingId: string, data: JsonPatchDocument, params?: RequestParams) => Promise<HttpResponse<ListingFile, any>>;
3854
+ updateListingFiles: (listingId: string, data: JsonPatchDocument, params?: RequestParams) => Promise<AxiosResponse<ListingFile, any>>;
3857
3855
  /**
3858
3856
  * No description
3859
3857
  *
@@ -3863,7 +3861,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3863
3861
  * @request DELETE:/api/listings/{listingId}/files/{id}
3864
3862
  * @secure
3865
3863
  */
3866
- removeListingFile: (listingId: string, id: string, params?: RequestParams) => Promise<HttpResponse<Listing, any>>;
3864
+ removeListingFile: (listingId: string, id: string, params?: RequestParams) => Promise<AxiosResponse<Listing, any>>;
3867
3865
  /**
3868
3866
  * No description
3869
3867
  *
@@ -3880,7 +3878,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3880
3878
  file?: File;
3881
3879
  /** @format int32 */
3882
3880
  weight?: number;
3883
- }, params?: RequestParams) => Promise<HttpResponse<ListingPhoto, any>>;
3881
+ }, params?: RequestParams) => Promise<AxiosResponse<ListingPhoto, any>>;
3884
3882
  /**
3885
3883
  * No description
3886
3884
  *
@@ -3890,7 +3888,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3890
3888
  * @request PATCH:/api/listings/{listingId}/photos
3891
3889
  * @secure
3892
3890
  */
3893
- updateListingPhotos: (listingId: string, data: JsonPatchDocument, params?: RequestParams) => Promise<HttpResponse<ListingPhoto[], any>>;
3891
+ updateListingPhotos: (listingId: string, data: JsonPatchDocument, params?: RequestParams) => Promise<AxiosResponse<ListingPhoto[], any>>;
3894
3892
  /**
3895
3893
  * No description
3896
3894
  *
@@ -3900,7 +3898,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3900
3898
  * @request DELETE:/api/listings/{listingId}/photos/{id}
3901
3899
  * @secure
3902
3900
  */
3903
- removeListingPhoto: (listingId: string, id: string, params?: RequestParams) => Promise<HttpResponse<Listing, any>>;
3901
+ removeListingPhoto: (listingId: string, id: string, params?: RequestParams) => Promise<AxiosResponse<Listing, any>>;
3904
3902
  /**
3905
3903
  * No description
3906
3904
  *
@@ -3917,7 +3915,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3917
3915
  pageNumber?: number;
3918
3916
  sortBy?: string;
3919
3917
  sortDirection?: string;
3920
- }, params?: RequestParams) => Promise<HttpResponse<ListingPaginatedResponse, any>>;
3918
+ }, params?: RequestParams) => Promise<AxiosResponse<ListingPaginatedResponse, any>>;
3921
3919
  /**
3922
3920
  * No description
3923
3921
  *
@@ -3927,7 +3925,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3927
3925
  * @request POST:/api/listings
3928
3926
  * @secure
3929
3927
  */
3930
- createListing: (data: ListingRequest, params?: RequestParams) => Promise<HttpResponse<Listing, any>>;
3928
+ createListing: (data: ListingRequest, params?: RequestParams) => Promise<AxiosResponse<Listing, any>>;
3931
3929
  /**
3932
3930
  * No description
3933
3931
  *
@@ -3937,7 +3935,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3937
3935
  * @request GET:/api/listings/slug/{slug}
3938
3936
  * @secure
3939
3937
  */
3940
- getListingBySlug: (slug: string, params?: RequestParams) => Promise<HttpResponse<Listing, any>>;
3938
+ getListingBySlug: (slug: string, params?: RequestParams) => Promise<AxiosResponse<Listing, any>>;
3941
3939
  /**
3942
3940
  * No description
3943
3941
  *
@@ -3947,7 +3945,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3947
3945
  * @request GET:/api/listings/{id}
3948
3946
  * @secure
3949
3947
  */
3950
- getListing: (id: string, params?: RequestParams) => Promise<HttpResponse<Listing, any>>;
3948
+ getListing: (id: string, params?: RequestParams) => Promise<AxiosResponse<Listing, any>>;
3951
3949
  /**
3952
3950
  * No description
3953
3951
  *
@@ -3957,7 +3955,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3957
3955
  * @request PUT:/api/listings/{id}
3958
3956
  * @secure
3959
3957
  */
3960
- replaceListing: (id: string, data: ListingRequest, params?: RequestParams) => Promise<HttpResponse<Listing, any>>;
3958
+ replaceListing: (id: string, data: ListingRequest, params?: RequestParams) => Promise<AxiosResponse<Listing, any>>;
3961
3959
  /**
3962
3960
  * No description
3963
3961
  *
@@ -3967,7 +3965,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3967
3965
  * @request DELETE:/api/listings/{id}
3968
3966
  * @secure
3969
3967
  */
3970
- deleteListing: (id: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
3968
+ deleteListing: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
3971
3969
  /**
3972
3970
  * No description
3973
3971
  *
@@ -3984,7 +3982,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3984
3982
  pageNumber?: number;
3985
3983
  sortBy?: string;
3986
3984
  sortDirection?: string;
3987
- }, params?: RequestParams) => Promise<HttpResponse<ListingPaginatedResponse, any>>;
3985
+ }, params?: RequestParams) => Promise<AxiosResponse<ListingPaginatedResponse, any>>;
3988
3986
  /**
3989
3987
  * No description
3990
3988
  *
@@ -3997,7 +3995,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3997
3995
  updateListingBackgroundImage: (id: string, data: {
3998
3996
  /** @format binary */
3999
3997
  file?: File;
4000
- }, params?: RequestParams) => Promise<HttpResponse<File, any>>;
3998
+ }, params?: RequestParams) => Promise<AxiosResponse<File, any>>;
4001
3999
  /**
4002
4000
  * No description
4003
4001
  *
@@ -4007,7 +4005,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4007
4005
  * @request GET:/api/listings/{id}/open-house-flyer
4008
4006
  * @secure
4009
4007
  */
4010
- getListingOpenHouseFlyer: (id: string, params?: RequestParams) => Promise<HttpResponse<File, any>>;
4008
+ getListingOpenHouseFlyer: (id: string, params?: RequestParams) => Promise<AxiosResponse<File, any>>;
4011
4009
  /**
4012
4010
  * No description
4013
4011
  *
@@ -4017,7 +4015,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4017
4015
  * @request GET:/api/loans/{loanID}/calculators/loan-calculator
4018
4016
  * @secure
4019
4017
  */
4020
- getLoanCalculator: (loanId: string, params?: RequestParams) => Promise<HttpResponse<RunLOCalculationResponse, any>>;
4018
+ getLoanCalculator: (loanId: string, params?: RequestParams) => Promise<AxiosResponse<RunLOCalculationResponse, any>>;
4021
4019
  /**
4022
4020
  * No description
4023
4021
  *
@@ -4027,7 +4025,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4027
4025
  * @request POST:/api/loans/{loanID}/calculators/loan-calculator
4028
4026
  * @secure
4029
4027
  */
4030
- runLoanCalculator: (loanId: string, data: RunLOCalculationRequest, params?: RequestParams) => Promise<HttpResponse<RunLOCalculationResponse, UnprocessableEntityResponse>>;
4028
+ runLoanCalculator: (loanId: string, data: RunLOCalculationRequest, params?: RequestParams) => Promise<AxiosResponse<RunLOCalculationResponse, any>>;
4031
4029
  /**
4032
4030
  * No description
4033
4031
  *
@@ -4037,7 +4035,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4037
4035
  * @request GET:/api/loans/{loanID}/loan-comparison
4038
4036
  * @secure
4039
4037
  */
4040
- getLoanComparisons: (loanId: string, params?: RequestParams) => Promise<HttpResponse<LoanComparisonResponse, any>>;
4038
+ getLoanComparisons: (loanId: string, params?: RequestParams) => Promise<AxiosResponse<LoanComparisonResponse, any>>;
4041
4039
  /**
4042
4040
  * No description
4043
4041
  *
@@ -4047,7 +4045,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4047
4045
  * @request POST:/api/loans/{loanID}/loan-comparison/{index}
4048
4046
  * @secure
4049
4047
  */
4050
- createLoanComparison: (loanId: string, index: number, data: LoanComparisonScenario, params?: RequestParams) => Promise<HttpResponse<LoanComparisonScenario, UnprocessableEntityResponse>>;
4048
+ createLoanComparison: (loanId: string, index: number, data: LoanComparisonScenario, params?: RequestParams) => Promise<AxiosResponse<LoanComparisonScenario, any>>;
4051
4049
  /**
4052
4050
  * No description
4053
4051
  *
@@ -4057,7 +4055,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4057
4055
  * @request DELETE:/api/loans/{loanID}/loan-comparison/{index}
4058
4056
  * @secure
4059
4057
  */
4060
- deleteLoanComparison: (loanId: string, index: number, params?: RequestParams) => Promise<HttpResponse<void, any>>;
4058
+ deleteLoanComparison: (loanId: string, index: number, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
4061
4059
  /**
4062
4060
  * No description
4063
4061
  *
@@ -4067,7 +4065,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4067
4065
  * @request POST:/api/loans/{loanID}/loan-comparison/pdf
4068
4066
  * @secure
4069
4067
  */
4070
- createLoanComparisonPdf: (loanId: string, data: PostLoanComparisonPdfRequest, params?: RequestParams) => Promise<HttpResponse<void, UnprocessableEntityResponse>>;
4068
+ createLoanComparisonPdf: (loanId: string, data: PostLoanComparisonPdfRequest, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
4071
4069
  /**
4072
4070
  * No description
4073
4071
  *
@@ -4077,7 +4075,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4077
4075
  * @request GET:/api/loans/{loanId}/documents/buckets
4078
4076
  * @secure
4079
4077
  */
4080
- getLoanDocumentBuckets: (loanId: string, params?: RequestParams) => Promise<HttpResponse<string[], any>>;
4078
+ getLoanDocumentBuckets: (loanId: string, params?: RequestParams) => Promise<AxiosResponse<string[], any>>;
4081
4079
  /**
4082
4080
  * No description
4083
4081
  *
@@ -4087,7 +4085,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4087
4085
  * @request POST:/api/loans/{loanId}/documents/buckets
4088
4086
  * @secure
4089
4087
  */
4090
- createLoanDocumentBuckets: (loanId: string, data: string[], params?: RequestParams) => Promise<HttpResponse<string[], any>>;
4088
+ createLoanDocumentBuckets: (loanId: string, data: string[], params?: RequestParams) => Promise<AxiosResponse<string[], any>>;
4091
4089
  /**
4092
4090
  * No description
4093
4091
  *
@@ -4100,7 +4098,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4100
4098
  getLoanDocument: (loanId: string, documentId: string, query?: {
4101
4099
  /** @default false */
4102
4100
  preview?: boolean;
4103
- }, params?: RequestParams) => Promise<HttpResponse<LoanDocument, ProblemDetails>>;
4101
+ }, params?: RequestParams) => Promise<AxiosResponse<LoanDocument, any>>;
4104
4102
  /**
4105
4103
  * No description
4106
4104
  *
@@ -4110,7 +4108,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4110
4108
  * @request GET:/api/loans/{loanId}/documents/{documentId}/download
4111
4109
  * @secure
4112
4110
  */
4113
- downloadLoanDocument: (loanId: string, documentId: string, params?: RequestParams) => Promise<HttpResponse<LoanDocument, ProblemDetails>>;
4111
+ downloadLoanDocument: (loanId: string, documentId: string, params?: RequestParams) => Promise<AxiosResponse<LoanDocument, any>>;
4114
4112
  /**
4115
4113
  * No description
4116
4114
  *
@@ -4125,7 +4123,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4125
4123
  /** @format binary */
4126
4124
  file?: File;
4127
4125
  bucket?: string;
4128
- }, params?: RequestParams) => Promise<HttpResponse<LoanDocument, ProblemDetails | UnprocessableEntityResponse>>;
4126
+ }, params?: RequestParams) => Promise<AxiosResponse<LoanDocument, any>>;
4129
4127
  /**
4130
4128
  * No description
4131
4129
  *
@@ -4135,7 +4133,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4135
4133
  * @request POST:/api/loans/{loanId}/documents/{documentId}/retry
4136
4134
  * @secure
4137
4135
  */
4138
- retryFailedLoanDocument: (loanId: string, documentId: string, params?: RequestParams) => Promise<HttpResponse<LoanDocument, ProblemDetails | UnprocessableEntityResponse>>;
4136
+ retryFailedLoanDocument: (loanId: string, documentId: string, params?: RequestParams) => Promise<AxiosResponse<LoanDocument, any>>;
4139
4137
  /**
4140
4138
  * No description
4141
4139
  *
@@ -4145,7 +4143,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4145
4143
  * @request POST:/api/loans/drafts
4146
4144
  * @secure
4147
4145
  */
4148
- createLoanDraft: (data: DraftRequest, params?: RequestParams) => Promise<HttpResponse<DraftResponse, any>>;
4146
+ createLoanDraft: (data: DraftRequest, params?: RequestParams) => Promise<AxiosResponse<DraftResponse, any>>;
4149
4147
  /**
4150
4148
  * No description
4151
4149
  *
@@ -4155,7 +4153,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4155
4153
  * @request GET:/api/loans/drafts
4156
4154
  * @secure
4157
4155
  */
4158
- getLoanDrafts: (params?: RequestParams) => Promise<HttpResponse<DraftContentResponse[], any>>;
4156
+ getLoanDrafts: (params?: RequestParams) => Promise<AxiosResponse<DraftContentResponse[], any>>;
4159
4157
  /**
4160
4158
  * No description
4161
4159
  *
@@ -4172,7 +4170,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4172
4170
  pageNumber?: number;
4173
4171
  sortBy?: string;
4174
4172
  sortDirection?: string;
4175
- }, params?: RequestParams) => Promise<HttpResponse<DraftContentResponsePaginatedResponse, any>>;
4173
+ }, params?: RequestParams) => Promise<AxiosResponse<DraftContentResponsePaginatedResponse, any>>;
4176
4174
  /**
4177
4175
  * No description
4178
4176
  *
@@ -4182,7 +4180,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4182
4180
  * @request PUT:/api/loans/drafts/{draftId}
4183
4181
  * @secure
4184
4182
  */
4185
- replaceLoanDraft: (draftId: string, data: DraftRequest, params?: RequestParams) => Promise<HttpResponse<DraftResponse, any>>;
4183
+ replaceLoanDraft: (draftId: string, data: DraftRequest, params?: RequestParams) => Promise<AxiosResponse<DraftResponse, any>>;
4186
4184
  /**
4187
4185
  * No description
4188
4186
  *
@@ -4192,7 +4190,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4192
4190
  * @request GET:/api/loans/drafts/{draftId}
4193
4191
  * @secure
4194
4192
  */
4195
- getLoanDraft: (draftId: string, params?: RequestParams) => Promise<HttpResponse<DraftContentResponse, any>>;
4193
+ getLoanDraft: (draftId: string, params?: RequestParams) => Promise<AxiosResponse<DraftContentResponse, any>>;
4196
4194
  /**
4197
4195
  * No description
4198
4196
  *
@@ -4202,7 +4200,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4202
4200
  * @request DELETE:/api/loans/drafts/{draftId}
4203
4201
  * @secure
4204
4202
  */
4205
- deleteLoanDraft: (draftId: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
4203
+ deleteLoanDraft: (draftId: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
4206
4204
  /**
4207
4205
  * No description
4208
4206
  *
@@ -4220,7 +4218,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4220
4218
  pageNumber?: number;
4221
4219
  sortBy?: string;
4222
4220
  sortDirection?: string;
4223
- }, params?: RequestParams) => Promise<HttpResponse<BranchUserPaginatedResponse, any>>;
4221
+ }, params?: RequestParams) => Promise<AxiosResponse<BranchUserPaginatedResponse, any>>;
4224
4222
  /**
4225
4223
  * No description
4226
4224
  *
@@ -4237,7 +4235,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4237
4235
  pageNumber?: number;
4238
4236
  sortBy?: string;
4239
4237
  sortDirection?: string;
4240
- }, params?: RequestParams) => Promise<HttpResponse<BranchUserPaginatedResponse, any>>;
4238
+ }, params?: RequestParams) => Promise<AxiosResponse<BranchUserPaginatedResponse, any>>;
4241
4239
  /**
4242
4240
  * No description
4243
4241
  *
@@ -4247,7 +4245,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4247
4245
  * @request GET:/api/loan-officers/{id}
4248
4246
  * @secure
4249
4247
  */
4250
- getLoanOfficer: (id: string, params?: RequestParams) => Promise<HttpResponse<BranchUser, any>>;
4248
+ getLoanOfficer: (id: string, params?: RequestParams) => Promise<AxiosResponse<BranchUser, any>>;
4251
4249
  /**
4252
4250
  * No description
4253
4251
  *
@@ -4257,7 +4255,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4257
4255
  * @request GET:/api/loan-officers/applications
4258
4256
  * @secure
4259
4257
  */
4260
- getLoanOfficerLoans: (params?: RequestParams) => Promise<HttpResponse<GetApplicationsResponse, any>>;
4258
+ getLoanOfficerLoans: (params?: RequestParams) => Promise<AxiosResponse<GetApplicationsResponse, any>>;
4261
4259
  /**
4262
4260
  * No description
4263
4261
  *
@@ -4267,7 +4265,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4267
4265
  * @request POST:/api/loan-officers/{loanOfficerId}/site-configurations
4268
4266
  * @secure
4269
4267
  */
4270
- createLoanOfficerSiteConfiguration: (loanOfficerId: string, data: SiteConfigurationRequest, params?: RequestParams) => Promise<HttpResponse<SiteConfiguration, UnprocessableEntityResponse>>;
4268
+ createLoanOfficerSiteConfiguration: (loanOfficerId: string, data: SiteConfigurationRequest, params?: RequestParams) => Promise<AxiosResponse<SiteConfiguration, any>>;
4271
4269
  /**
4272
4270
  * No description
4273
4271
  *
@@ -4277,7 +4275,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4277
4275
  * @request GET:/api/loan-officers/{loanOfficerId}/site-configurations/{siteConfigurationId}
4278
4276
  * @secure
4279
4277
  */
4280
- getLoanOfficerSiteConfiguration: (loanOfficerId: string, siteConfigurationId: string, params?: RequestParams) => Promise<HttpResponse<SiteConfigurationWithInheritedResponse, any>>;
4278
+ getLoanOfficerSiteConfiguration: (loanOfficerId: string, siteConfigurationId: string, params?: RequestParams) => Promise<AxiosResponse<SiteConfigurationWithInheritedResponse, any>>;
4281
4279
  /**
4282
4280
  * No description
4283
4281
  *
@@ -4289,7 +4287,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4289
4287
  */
4290
4288
  replaceLoanOfficerSiteConfiguration: (loanOfficerId: string, siteConfigurationId: string, data: SiteConfigurationRequest, query?: {
4291
4289
  applyToChildren?: boolean;
4292
- }, params?: RequestParams) => Promise<HttpResponse<SiteConfiguration, UnprocessableEntityResponse>>;
4290
+ }, params?: RequestParams) => Promise<AxiosResponse<SiteConfiguration, any>>;
4293
4291
  /**
4294
4292
  * No description
4295
4293
  *
@@ -4299,7 +4297,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4299
4297
  * @request GET:/api/loans
4300
4298
  * @secure
4301
4299
  */
4302
- getLoans: (params?: RequestParams) => Promise<HttpResponse<GetApplicationsResponse, any>>;
4300
+ getLoans: (params?: RequestParams) => Promise<AxiosResponse<GetApplicationsResponse, any>>;
4303
4301
  /**
4304
4302
  * No description
4305
4303
  *
@@ -4309,7 +4307,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4309
4307
  * @request GET:/api/loans/{loanID}
4310
4308
  * @secure
4311
4309
  */
4312
- getLoan: (loanId: string, params?: RequestParams) => Promise<HttpResponse<Loan, ProblemDetails>>;
4310
+ getLoan: (loanId: string, params?: RequestParams) => Promise<AxiosResponse<Loan, any>>;
4313
4311
  /**
4314
4312
  * No description
4315
4313
  *
@@ -4326,7 +4324,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4326
4324
  pageNumber?: number;
4327
4325
  sortBy?: string;
4328
4326
  sortDirection?: string;
4329
- }, params?: RequestParams) => Promise<HttpResponse<LoanPaginatedResponse, any>>;
4327
+ }, params?: RequestParams) => Promise<AxiosResponse<LoanPaginatedResponse, any>>;
4330
4328
  /**
4331
4329
  * No description
4332
4330
  *
@@ -4336,7 +4334,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4336
4334
  * @request POST:/api/loans/import-from-los/{loanId}
4337
4335
  * @secure
4338
4336
  */
4339
- importLoanFromLos: (loanId: string, params?: RequestParams) => Promise<HttpResponse<Loan, any>>;
4337
+ importLoanFromLos: (loanId: string, params?: RequestParams) => Promise<AxiosResponse<Loan, any>>;
4340
4338
  /**
4341
4339
  * No description
4342
4340
  *
@@ -4351,7 +4349,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4351
4349
  /** @format binary */
4352
4350
  file?: File;
4353
4351
  bucket?: string;
4354
- }, params?: RequestParams) => Promise<HttpResponse<UserLoanTask, ProblemDetails | UnprocessableEntityResponse>>;
4352
+ }, params?: RequestParams) => Promise<AxiosResponse<UserLoanTask, any>>;
4355
4353
  /**
4356
4354
  * No description
4357
4355
  *
@@ -4361,7 +4359,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4361
4359
  * @request POST:/api/loans/{loanID}/tasks/{loanTaskId}/documents/bucket
4362
4360
  * @secure
4363
4361
  */
4364
- createLoanTaskDocumentBucket: (loanId: string, loanTaskId: string, params?: RequestParams) => Promise<HttpResponse<UserLoanTask, UnprocessableEntityResponse>>;
4362
+ createLoanTaskDocumentBucket: (loanId: string, loanTaskId: string, params?: RequestParams) => Promise<AxiosResponse<UserLoanTask, any>>;
4365
4363
  /**
4366
4364
  * No description
4367
4365
  *
@@ -4371,7 +4369,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4371
4369
  * @request GET:/api/loans/{loanID}/tasks
4372
4370
  * @secure
4373
4371
  */
4374
- getLoanTasks: (loanId: string, params?: RequestParams) => Promise<HttpResponse<UserLoanTask[], ProblemDetails>>;
4372
+ getLoanTasks: (loanId: string, params?: RequestParams) => Promise<AxiosResponse<UserLoanTask[], any>>;
4375
4373
  /**
4376
4374
  * No description
4377
4375
  *
@@ -4381,7 +4379,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4381
4379
  * @request GET:/api/loans/{loanID}/tasks/{id}
4382
4380
  * @secure
4383
4381
  */
4384
- getLoanTask: (id: string, loanId: string, params?: RequestParams) => Promise<HttpResponse<UserLoanTask, ProblemDetails>>;
4382
+ getLoanTask: (id: string, loanId: string, params?: RequestParams) => Promise<AxiosResponse<UserLoanTask, any>>;
4385
4383
  /**
4386
4384
  * @description Get the difference between the current loan tasks and the tasks generated by business rules
4387
4385
  *
@@ -4391,7 +4389,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4391
4389
  * @request GET:/api/loans/{loanID}/tasks/diff
4392
4390
  * @secure
4393
4391
  */
4394
- getLoanTaskDifference: (loanId: string, params?: RequestParams) => Promise<HttpResponse<UserLoanTask, ProblemDetails>>;
4392
+ getLoanTaskDifference: (loanId: string, params?: RequestParams) => Promise<AxiosResponse<UserLoanTask, any>>;
4395
4393
  /**
4396
4394
  * No description
4397
4395
  *
@@ -4401,7 +4399,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4401
4399
  * @request POST:/api/loans/{loanID}/tasks/{taskID}
4402
4400
  * @secure
4403
4401
  */
4404
- createLoanTask: (loanId: string, taskId: string, data: UserLoanTaskRequest, params?: RequestParams) => Promise<HttpResponse<UserLoanTask, ProblemDetails>>;
4402
+ createLoanTask: (loanId: string, taskId: string, data: UserLoanTaskRequest, params?: RequestParams) => Promise<AxiosResponse<UserLoanTask, any>>;
4405
4403
  /**
4406
4404
  * No description
4407
4405
  *
@@ -4411,7 +4409,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4411
4409
  * @request POST:/api/loans/{loanID}/tasks/import
4412
4410
  * @secure
4413
4411
  */
4414
- importLoanTask: (loanId: string, data: ImportUserLoanTaskRequest[], params?: RequestParams) => Promise<HttpResponse<UserLoanTask[], ProblemDetails>>;
4412
+ importLoanTask: (loanId: string, data: ImportUserLoanTaskRequest[], params?: RequestParams) => Promise<AxiosResponse<UserLoanTask[], any>>;
4415
4413
  /**
4416
4414
  * No description
4417
4415
  *
@@ -4421,7 +4419,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4421
4419
  * @request PUT:/api/loans/{loanID}/tasks/{userLoanTaskID}
4422
4420
  * @secure
4423
4421
  */
4424
- replaceLoanTask: (loanId: string, userLoanTaskId: string, data: UserLoanTaskUpdateRequest, params?: RequestParams) => Promise<HttpResponse<UserLoanTask, ProblemDetails>>;
4422
+ replaceLoanTask: (loanId: string, userLoanTaskId: string, data: UserLoanTaskUpdateRequest, params?: RequestParams) => Promise<AxiosResponse<UserLoanTask, any>>;
4425
4423
  /**
4426
4424
  * No description
4427
4425
  *
@@ -4431,7 +4429,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4431
4429
  * @request DELETE:/api/loans/{loanID}/tasks/{userLoanTaskID}
4432
4430
  * @secure
4433
4431
  */
4434
- deleteLoanTask: (loanId: string, userLoanTaskId: string, params?: RequestParams) => Promise<HttpResponse<void, ProblemDetails>>;
4432
+ deleteLoanTask: (loanId: string, userLoanTaskId: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
4435
4433
  /**
4436
4434
  * No description
4437
4435
  *
@@ -4441,7 +4439,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4441
4439
  * @request POST:/api/loans/{loanID}/tasks/reminders/outstanding
4442
4440
  * @secure
4443
4441
  */
4444
- sendOutstandingLoanTaskNotification: (loanId: string, params?: RequestParams) => Promise<HttpResponse<void, ProblemDetails>>;
4442
+ sendOutstandingLoanTaskNotification: (loanId: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
4445
4443
  /**
4446
4444
  * No description
4447
4445
  *
@@ -4451,7 +4449,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4451
4449
  * @request GET:/api/loans/{loanId}/users
4452
4450
  * @secure
4453
4451
  */
4454
- getLoanUsers: (loanId: string, params?: RequestParams) => Promise<HttpResponse<LoanUser[], any>>;
4452
+ getLoanUsers: (loanId: string, params?: RequestParams) => Promise<AxiosResponse<LoanUser[], any>>;
4455
4453
  /**
4456
4454
  * No description
4457
4455
  *
@@ -4461,7 +4459,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4461
4459
  * @request GET:/api/loans/{loanId}/users/{userId}
4462
4460
  * @secure
4463
4461
  */
4464
- getLoanUser: (loanId: string, userId: string, params?: RequestParams) => Promise<HttpResponse<LoanUser, any>>;
4462
+ getLoanUser: (loanId: string, userId: string, params?: RequestParams) => Promise<AxiosResponse<LoanUser, any>>;
4465
4463
  /**
4466
4464
  * No description
4467
4465
  *
@@ -4471,7 +4469,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4471
4469
  * @request POST:/api/loans/{loanId}/users/{userId}
4472
4470
  * @secure
4473
4471
  */
4474
- addLoanUser: (loanId: string, userId: string, params?: RequestParams) => Promise<HttpResponse<LoanUser, any>>;
4472
+ addLoanUser: (loanId: string, userId: string, params?: RequestParams) => Promise<AxiosResponse<LoanUser, any>>;
4475
4473
  /**
4476
4474
  * No description
4477
4475
  *
@@ -4481,7 +4479,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4481
4479
  * @request GET:/api/milestones
4482
4480
  * @secure
4483
4481
  */
4484
- getMilestones: (params?: RequestParams) => Promise<HttpResponse<MilestoneConfigurationResponse[], any>>;
4482
+ getMilestones: (params?: RequestParams) => Promise<AxiosResponse<MilestoneConfigurationResponse[], any>>;
4485
4483
  /**
4486
4484
  * No description
4487
4485
  *
@@ -4491,7 +4489,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4491
4489
  * @request POST:/api/milestones
4492
4490
  * @secure
4493
4491
  */
4494
- createMilestone: (data: MilestoneConfigurationRequest, params?: RequestParams) => Promise<HttpResponse<MilestoneConfigurationResponse, UnprocessableEntityResponse>>;
4492
+ createMilestone: (data: MilestoneConfigurationRequest, params?: RequestParams) => Promise<AxiosResponse<MilestoneConfigurationResponse, any>>;
4495
4493
  /**
4496
4494
  * No description
4497
4495
  *
@@ -4501,7 +4499,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4501
4499
  * @request GET:/api/milestones/{id}
4502
4500
  * @secure
4503
4501
  */
4504
- getMilestone: (id: string, params?: RequestParams) => Promise<HttpResponse<MilestoneConfigurationResponse, Error>>;
4502
+ getMilestone: (id: string, params?: RequestParams) => Promise<AxiosResponse<MilestoneConfigurationResponse, any>>;
4505
4503
  /**
4506
4504
  * No description
4507
4505
  *
@@ -4511,7 +4509,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4511
4509
  * @request PUT:/api/milestones/{id}
4512
4510
  * @secure
4513
4511
  */
4514
- replaceMilestone: (id: string, data: MilestoneConfigurationRequest, params?: RequestParams) => Promise<HttpResponse<MilestoneConfigurationResponse, Error | UnprocessableEntityResponse>>;
4512
+ replaceMilestone: (id: string, data: MilestoneConfigurationRequest, params?: RequestParams) => Promise<AxiosResponse<MilestoneConfigurationResponse, any>>;
4515
4513
  /**
4516
4514
  * No description
4517
4515
  *
@@ -4521,7 +4519,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4521
4519
  * @request DELETE:/api/milestones/{id}
4522
4520
  * @secure
4523
4521
  */
4524
- deleteMilestone: (id: string, params?: RequestParams) => Promise<HttpResponse<void, Error>>;
4522
+ deleteMilestone: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
4525
4523
  /**
4526
4524
  * No description
4527
4525
  *
@@ -4531,7 +4529,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4531
4529
  * @request POST:/api/notifications
4532
4530
  * @secure
4533
4531
  */
4534
- sendNotificationForLoan: (data: SendNotificationForLoanRequest, params?: RequestParams) => Promise<HttpResponse<void, UnprocessableEntityResponse>>;
4532
+ sendNotificationForLoan: (data: SendNotificationForLoanRequest, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
4535
4533
  /**
4536
4534
  * No description
4537
4535
  *
@@ -4541,7 +4539,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4541
4539
  * @request POST:/api/notifications/test
4542
4540
  * @secure
4543
4541
  */
4544
- sendTestNotificationForLoan: (data: TestSendNotificationForLoanRequest, params?: RequestParams) => Promise<HttpResponse<void, UnprocessableEntityResponse>>;
4542
+ sendTestNotificationForLoan: (data: TestSendNotificationForLoanRequest, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
4545
4543
  /**
4546
4544
  * No description
4547
4545
  *
@@ -4553,7 +4551,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4553
4551
  */
4554
4552
  getNotificationTemplates: (query?: {
4555
4553
  showAll?: boolean;
4556
- }, params?: RequestParams) => Promise<HttpResponse<NotificationTemplateBase[], any>>;
4554
+ }, params?: RequestParams) => Promise<AxiosResponse<NotificationTemplateBase[], any>>;
4557
4555
  /**
4558
4556
  * No description
4559
4557
  *
@@ -4563,7 +4561,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4563
4561
  * @request POST:/api/notification-templates
4564
4562
  * @secure
4565
4563
  */
4566
- createNotificationTemplate: (data: NotificationTemplateRequest, params?: RequestParams) => Promise<HttpResponse<NotificationTemplate, UnprocessableEntityResponse>>;
4564
+ createNotificationTemplate: (data: NotificationTemplateRequest, params?: RequestParams) => Promise<AxiosResponse<NotificationTemplate, any>>;
4567
4565
  /**
4568
4566
  * No description
4569
4567
  *
@@ -4573,7 +4571,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4573
4571
  * @request GET:/api/notification-templates/{id}
4574
4572
  * @secure
4575
4573
  */
4576
- getNotificationTemplate: (id: string, params?: RequestParams) => Promise<HttpResponse<NotificationTemplate, any>>;
4574
+ getNotificationTemplate: (id: string, params?: RequestParams) => Promise<AxiosResponse<NotificationTemplate, any>>;
4577
4575
  /**
4578
4576
  * No description
4579
4577
  *
@@ -4583,7 +4581,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4583
4581
  * @request PUT:/api/notification-templates/{id}
4584
4582
  * @secure
4585
4583
  */
4586
- replaceNotificationTemplate: (id: string, data: NotificationTemplateRequest, params?: RequestParams) => Promise<HttpResponse<NotificationTemplate, UnprocessableEntityResponse>>;
4584
+ replaceNotificationTemplate: (id: string, data: NotificationTemplateRequest, params?: RequestParams) => Promise<AxiosResponse<NotificationTemplate, any>>;
4587
4585
  /**
4588
4586
  * No description
4589
4587
  *
@@ -4593,7 +4591,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4593
4591
  * @request DELETE:/api/notification-templates/{id}
4594
4592
  * @secure
4595
4593
  */
4596
- deleteNotificationTemplate: (id: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
4594
+ deleteNotificationTemplate: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
4597
4595
  /**
4598
4596
  * No description
4599
4597
  *
@@ -4603,7 +4601,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4603
4601
  * @request POST:/api/notification-templates/{id}/restore
4604
4602
  * @secure
4605
4603
  */
4606
- restoreNotificationTemplate: (id: string, params?: RequestParams) => Promise<HttpResponse<NotificationTemplate, any>>;
4604
+ restoreNotificationTemplate: (id: string, params?: RequestParams) => Promise<AxiosResponse<NotificationTemplate, any>>;
4607
4605
  /**
4608
4606
  * No description
4609
4607
  *
@@ -4613,7 +4611,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4613
4611
  * @request GET:/api/notification-templates/{notificationId}/versions
4614
4612
  * @secure
4615
4613
  */
4616
- getNotificationTemplateVersions: (notificationId: string, params?: RequestParams) => Promise<HttpResponse<NotificationTemplateVersion[], any>>;
4614
+ getNotificationTemplateVersions: (notificationId: string, params?: RequestParams) => Promise<AxiosResponse<NotificationTemplateVersion[], any>>;
4617
4615
  /**
4618
4616
  * No description
4619
4617
  *
@@ -4623,7 +4621,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4623
4621
  * @request POST:/api/notification-templates/{notificationId}/versions
4624
4622
  * @secure
4625
4623
  */
4626
- createNotificationTemplateVersion: (notificationId: string, data: NotificationTemplateVersionRequest, params?: RequestParams) => Promise<HttpResponse<NotificationTemplateVersion, any>>;
4624
+ createNotificationTemplateVersion: (notificationId: string, data: NotificationTemplateVersionRequest, params?: RequestParams) => Promise<AxiosResponse<NotificationTemplateVersion, any>>;
4627
4625
  /**
4628
4626
  * No description
4629
4627
  *
@@ -4633,7 +4631,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4633
4631
  * @request GET:/api/notification-templates/{notificationId}/versions/{id}
4634
4632
  * @secure
4635
4633
  */
4636
- getNotificationTemplateVersion: (notificationId: string, id: string, params?: RequestParams) => Promise<HttpResponse<NotificationTemplateVersion, any>>;
4634
+ getNotificationTemplateVersion: (notificationId: string, id: string, params?: RequestParams) => Promise<AxiosResponse<NotificationTemplateVersion, any>>;
4637
4635
  /**
4638
4636
  * No description
4639
4637
  *
@@ -4643,7 +4641,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4643
4641
  * @request PUT:/api/notification-templates/{notificationId}/versions/{id}
4644
4642
  * @secure
4645
4643
  */
4646
- replaceNotificationTemplateVersion: (notificationId: string, id: string, data: NotificationTemplateVersionUpdateRequest, params?: RequestParams) => Promise<HttpResponse<NotificationTemplateVersion, any>>;
4644
+ replaceNotificationTemplateVersion: (notificationId: string, id: string, data: NotificationTemplateVersionUpdateRequest, params?: RequestParams) => Promise<AxiosResponse<NotificationTemplateVersion, any>>;
4647
4645
  /**
4648
4646
  * No description
4649
4647
  *
@@ -4653,7 +4651,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4653
4651
  * @request DELETE:/api/notification-templates/{notificationId}/versions/{id}
4654
4652
  * @secure
4655
4653
  */
4656
- deleteNotificationTemplateVersion: (notificationId: string, id: string, params?: RequestParams) => Promise<HttpResponse<NotificationTemplateVersion, any>>;
4654
+ deleteNotificationTemplateVersion: (notificationId: string, id: string, params?: RequestParams) => Promise<AxiosResponse<NotificationTemplateVersion, any>>;
4657
4655
  /**
4658
4656
  * No description
4659
4657
  *
@@ -4672,7 +4670,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4672
4670
  pageNumber?: number;
4673
4671
  sortBy?: string;
4674
4672
  sortDirection?: string;
4675
- }, params?: RequestParams) => Promise<HttpResponse<BranchUserPaginatedResponse, any>>;
4673
+ }, params?: RequestParams) => Promise<AxiosResponse<BranchUserPaginatedResponse, any>>;
4676
4674
  /**
4677
4675
  * No description
4678
4676
  *
@@ -4689,7 +4687,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4689
4687
  pageNumber?: number;
4690
4688
  sortBy?: string;
4691
4689
  sortDirection?: string;
4692
- }, params?: RequestParams) => Promise<HttpResponse<BranchUserPaginatedResponse, any>>;
4690
+ }, params?: RequestParams) => Promise<AxiosResponse<BranchUserPaginatedResponse, any>>;
4693
4691
  /**
4694
4692
  * No description
4695
4693
  *
@@ -4699,7 +4697,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4699
4697
  * @request GET:/api/partners/{id}
4700
4698
  * @secure
4701
4699
  */
4702
- getPartner: (id: string, params?: RequestParams) => Promise<HttpResponse<BranchUser, any>>;
4700
+ getPartner: (id: string, params?: RequestParams) => Promise<AxiosResponse<BranchUser, any>>;
4703
4701
  /**
4704
4702
  * No description
4705
4703
  *
@@ -4709,7 +4707,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4709
4707
  * @request POST:/api/partners/{realtorId}/site-configurations
4710
4708
  * @secure
4711
4709
  */
4712
- createPartnerSiteConfiguration: (realtorId: string, data: SiteConfigurationRequest, params?: RequestParams) => Promise<HttpResponse<SiteConfiguration, UnprocessableEntityResponse>>;
4710
+ createPartnerSiteConfiguration: (realtorId: string, data: SiteConfigurationRequest, params?: RequestParams) => Promise<AxiosResponse<SiteConfiguration, any>>;
4713
4711
  /**
4714
4712
  * No description
4715
4713
  *
@@ -4719,7 +4717,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4719
4717
  * @request GET:/api/partners/{realtorId}/site-configurations/{siteConfigurationId}
4720
4718
  * @secure
4721
4719
  */
4722
- getPartnerSiteConfiguration: (realtorId: string, siteConfigurationId: string, params?: RequestParams) => Promise<HttpResponse<SiteConfigurationWithInheritedResponse, any>>;
4720
+ getPartnerSiteConfiguration: (realtorId: string, siteConfigurationId: string, params?: RequestParams) => Promise<AxiosResponse<SiteConfigurationWithInheritedResponse, any>>;
4723
4721
  /**
4724
4722
  * No description
4725
4723
  *
@@ -4731,7 +4729,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4731
4729
  */
4732
4730
  replacePartnerSiteConfiguration: (realtorId: string, siteConfigurationId: string, data: SiteConfigurationRequest, query?: {
4733
4731
  applyToChildren?: boolean;
4734
- }, params?: RequestParams) => Promise<HttpResponse<SiteConfiguration, UnprocessableEntityResponse>>;
4732
+ }, params?: RequestParams) => Promise<AxiosResponse<SiteConfiguration, any>>;
4735
4733
  /**
4736
4734
  * No description
4737
4735
  *
@@ -4741,7 +4739,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4741
4739
  * @request POST:/api/pricing/calculator
4742
4740
  * @secure
4743
4741
  */
4744
- getPricingCalculation: (data: GetPricingCalculationRequest, params?: RequestParams) => Promise<HttpResponse<GetPricingForLoanOfficerResponse, UnprocessableEntityResponse>>;
4742
+ getPricingCalculation: (data: GetPricingCalculationRequest, params?: RequestParams) => Promise<AxiosResponse<GetPricingForLoanOfficerResponse, any>>;
4745
4743
  /**
4746
4744
  * No description
4747
4745
  *
@@ -4751,7 +4749,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4751
4749
  * @request GET:/api/request-queues
4752
4750
  * @secure
4753
4751
  */
4754
- getRequestQueues: (params?: RequestParams) => Promise<HttpResponse<RequestQueue[], any>>;
4752
+ getRequestQueues: (params?: RequestParams) => Promise<AxiosResponse<RequestQueue[], any>>;
4755
4753
  /**
4756
4754
  * No description
4757
4755
  *
@@ -4764,7 +4762,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4764
4762
  runRequestQueue: (id: string, query?: {
4765
4763
  /** @default false */
4766
4764
  force?: boolean;
4767
- }, params?: RequestParams) => Promise<HttpResponse<void, any>>;
4765
+ }, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
4768
4766
  /**
4769
4767
  * No description
4770
4768
  *
@@ -4774,7 +4772,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4774
4772
  * @request DELETE:/api/request-queues/{id}
4775
4773
  * @secure
4776
4774
  */
4777
- deleteQueueRequest: (id: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
4775
+ deleteQueueRequest: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
4778
4776
  /**
4779
4777
  * No description
4780
4778
  *
@@ -4784,7 +4782,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4784
4782
  * @request POST:/api/selfprovisioning/newcustomer
4785
4783
  * @secure
4786
4784
  */
4787
- createSelfProvisioningItem: (data: any, params?: RequestParams) => Promise<HttpResponse<void, any>>;
4785
+ createSelfProvisioningItem: (data: any, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
4788
4786
  /**
4789
4787
  * No description
4790
4788
  *
@@ -4794,7 +4792,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4794
4792
  * @request GET:/api/site-configurations/{id}
4795
4793
  * @secure
4796
4794
  */
4797
- getSiteConfiguration: (id: string, params?: RequestParams) => Promise<HttpResponse<SiteConfiguration, any>>;
4795
+ getSiteConfiguration: (id: string, params?: RequestParams) => Promise<AxiosResponse<SiteConfiguration, any>>;
4798
4796
  /**
4799
4797
  * No description
4800
4798
  *
@@ -4805,7 +4803,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4805
4803
  * @deprecated
4806
4804
  * @secure
4807
4805
  */
4808
- searchSiteConfigurationByUrl: (data: GetSiteConfigurationRequest, params?: RequestParams) => Promise<HttpResponse<SiteConfigurationByUrl, UnprocessableEntityResponse>>;
4806
+ searchSiteConfigurationByUrl: (data: GetSiteConfigurationRequest, params?: RequestParams) => Promise<AxiosResponse<SiteConfigurationByUrl, any>>;
4809
4807
  /**
4810
4808
  * No description
4811
4809
  *
@@ -4817,7 +4815,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4817
4815
  */
4818
4816
  getSiteConfigurationByUrl: (query?: {
4819
4817
  url?: string;
4820
- }, params?: RequestParams) => Promise<HttpResponse<SiteConfigurationByUrl, UnprocessableEntityResponse>>;
4818
+ }, params?: RequestParams) => Promise<AxiosResponse<SiteConfigurationByUrl, any>>;
4821
4819
  /**
4822
4820
  * No description
4823
4821
  *
@@ -4828,7 +4826,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4828
4826
  * @deprecated
4829
4827
  * @secure
4830
4828
  */
4831
- searchSiteConfigurationByLoanOfficerUser: (data: GetSiteConfigurationByLOUserIDRequest, params?: RequestParams) => Promise<HttpResponse<SiteConfiguration, UnprocessableEntityResponse>>;
4829
+ searchSiteConfigurationByLoanOfficerUser: (data: GetSiteConfigurationByLOUserIDRequest, params?: RequestParams) => Promise<AxiosResponse<SiteConfiguration, any>>;
4832
4830
  /**
4833
4831
  * No description
4834
4832
  *
@@ -4838,7 +4836,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4838
4836
  * @request GET:/api/site-configurations/louser/{loUserId}
4839
4837
  * @secure
4840
4838
  */
4841
- getSiteConfigurationByLoanOfficerUser: (loUserId: string, params?: RequestParams) => Promise<HttpResponse<SiteConfiguration, UnprocessableEntityResponse>>;
4839
+ getSiteConfigurationByLoanOfficerUser: (loUserId: string, params?: RequestParams) => Promise<AxiosResponse<SiteConfiguration, any>>;
4842
4840
  /**
4843
4841
  * No description
4844
4842
  *
@@ -4855,7 +4853,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4855
4853
  pageNumber?: number;
4856
4854
  sortBy?: string;
4857
4855
  sortDirection?: string;
4858
- }, params?: RequestParams) => Promise<HttpResponse<SiteConfigurationPaginatedResponse, UnprocessableEntityResponse>>;
4856
+ }, params?: RequestParams) => Promise<AxiosResponse<SiteConfigurationPaginatedResponse, any>>;
4859
4857
  /**
4860
4858
  * No description
4861
4859
  *
@@ -4865,7 +4863,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4865
4863
  * @request GET:/api/site-configurations/{id}/forms
4866
4864
  * @secure
4867
4865
  */
4868
- getFormsBySiteConfiguration: (id: string, params?: RequestParams) => Promise<HttpResponse<AdminAccessGetForms[], any>>;
4866
+ getFormsBySiteConfiguration: (id: string, params?: RequestParams) => Promise<AxiosResponse<AdminAccessGetForms[], any>>;
4869
4867
  /**
4870
4868
  * No description
4871
4869
  *
@@ -4875,7 +4873,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4875
4873
  * @request GET:/api/site-configurations/sso/saml/{ssoIntegration}/metadata
4876
4874
  * @secure
4877
4875
  */
4878
- getSamlMetadata: (ssoIntegration: string, params?: RequestParams) => Promise<HttpResponse<string, any>>;
4876
+ getSamlMetadata: (ssoIntegration: string, params?: RequestParams) => Promise<AxiosResponse<string, any>>;
4879
4877
  /**
4880
4878
  * No description
4881
4879
  *
@@ -4885,7 +4883,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4885
4883
  * @request POST:/api/site-forms
4886
4884
  * @secure
4887
4885
  */
4888
- getFormBySiteConfigurationSlug: (data: GetSiteFormRequest, params?: RequestParams) => Promise<HttpResponse<GetForm, any>>;
4886
+ getFormBySiteConfigurationSlug: (data: GetSiteFormRequest, params?: RequestParams) => Promise<AxiosResponse<GetForm, any>>;
4889
4887
  /**
4890
4888
  * No description
4891
4889
  *
@@ -4895,7 +4893,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4895
4893
  * @request GET:/api/site-forms
4896
4894
  * @secure
4897
4895
  */
4898
- getSiteForms: (params?: RequestParams) => Promise<HttpResponse<SiteConfigurationForm[], any>>;
4896
+ getSiteForms: (params?: RequestParams) => Promise<AxiosResponse<SiteConfigurationForm[], any>>;
4899
4897
  /**
4900
4898
  * No description
4901
4899
  *
@@ -4908,7 +4906,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4908
4906
  getSurveysByUsers: (query?: {
4909
4907
  /** @format int32 */
4910
4908
  limit?: number;
4911
- }, params?: RequestParams) => Promise<HttpResponse<SocialSurveyRecord[], any>>;
4909
+ }, params?: RequestParams) => Promise<AxiosResponse<SocialSurveyRecord[], any>>;
4912
4910
  /**
4913
4911
  * No description
4914
4912
  *
@@ -4918,7 +4916,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4918
4916
  * @request POST:/api/surveys
4919
4917
  * @secure
4920
4918
  */
4921
- getSurveysByUser: (data: SurveyEmailRequest, params?: RequestParams) => Promise<HttpResponse<SocialSurveyRecord[], UnprocessableEntityResponse>>;
4919
+ getSurveysByUser: (data: SurveyEmailRequest, params?: RequestParams) => Promise<AxiosResponse<SocialSurveyRecord[], any>>;
4922
4920
  /**
4923
4921
  * No description
4924
4922
  *
@@ -4935,7 +4933,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4935
4933
  pageNumber?: number;
4936
4934
  sortBy?: string;
4937
4935
  sortDirection?: string;
4938
- }, params?: RequestParams) => Promise<HttpResponse<Task, ProblemDetails>>;
4936
+ }, params?: RequestParams) => Promise<AxiosResponse<Task, any>>;
4939
4937
  /**
4940
4938
  * No description
4941
4939
  *
@@ -4945,7 +4943,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4945
4943
  * @request POST:/api/tasks
4946
4944
  * @secure
4947
4945
  */
4948
- createTask: (data: TaskRequest, params?: RequestParams) => Promise<HttpResponse<Task, any>>;
4946
+ createTask: (data: TaskRequest, params?: RequestParams) => Promise<AxiosResponse<Task, any>>;
4949
4947
  /**
4950
4948
  * No description
4951
4949
  *
@@ -4955,7 +4953,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4955
4953
  * @request GET:/api/tasks/{id}
4956
4954
  * @secure
4957
4955
  */
4958
- getTask: (id: string, params?: RequestParams) => Promise<HttpResponse<Task, ProblemDetails>>;
4956
+ getTask: (id: string, params?: RequestParams) => Promise<AxiosResponse<Task, any>>;
4959
4957
  /**
4960
4958
  * No description
4961
4959
  *
@@ -4965,7 +4963,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4965
4963
  * @request PUT:/api/tasks/{id}
4966
4964
  * @secure
4967
4965
  */
4968
- replaceTask: (id: string, data: TaskRequest, params?: RequestParams) => Promise<HttpResponse<void, ProblemDetails>>;
4966
+ replaceTask: (id: string, data: TaskRequest, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
4969
4967
  /**
4970
4968
  * No description
4971
4969
  *
@@ -4975,7 +4973,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4975
4973
  * @request DELETE:/api/tasks/{id}
4976
4974
  * @secure
4977
4975
  */
4978
- deleteTask: (id: string, params?: RequestParams) => Promise<HttpResponse<void, ProblemDetails>>;
4976
+ deleteTask: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
4979
4977
  /**
4980
4978
  * No description
4981
4979
  *
@@ -4992,7 +4990,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4992
4990
  pageNumber?: number;
4993
4991
  sortBy?: string;
4994
4992
  sortDirection?: string;
4995
- }, params?: RequestParams) => Promise<HttpResponse<Task[], any>>;
4993
+ }, params?: RequestParams) => Promise<AxiosResponse<Task[], any>>;
4996
4994
  /**
4997
4995
  * No description
4998
4996
  *
@@ -5002,7 +5000,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5002
5000
  * @request POST:/api/users/impersonation/request
5003
5001
  * @secure
5004
5002
  */
5005
- requestImpersonation: (data: RequestImpersonationRequest, params?: RequestParams) => Promise<HttpResponse<void, Error | UnprocessableEntityResponse>>;
5003
+ requestImpersonation: (data: RequestImpersonationRequest, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
5006
5004
  /**
5007
5005
  * No description
5008
5006
  *
@@ -5012,7 +5010,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5012
5010
  * @request POST:/api/users/impersonation/allow
5013
5011
  * @secure
5014
5012
  */
5015
- allowImpersonation: (data: AllowImpersonationRequest, params?: RequestParams) => Promise<HttpResponse<void, Error | UnprocessableEntityResponse>>;
5013
+ allowImpersonation: (data: AllowImpersonationRequest, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
5016
5014
  /**
5017
5015
  * No description
5018
5016
  *
@@ -5022,7 +5020,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5022
5020
  * @request POST:/api/users/impersonation/allow/{allowToken}
5023
5021
  * @secure
5024
5022
  */
5025
- allowImpersonationWithGuid: (allowToken: string, params?: RequestParams) => Promise<HttpResponse<void, Error | UnprocessableEntityResponse>>;
5023
+ allowImpersonationWithGuid: (allowToken: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
5026
5024
  /**
5027
5025
  * No description
5028
5026
  *
@@ -5032,7 +5030,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5032
5030
  * @request POST:/api/users/impersonation
5033
5031
  * @secure
5034
5032
  */
5035
- beginImpersonation: (params?: RequestParams) => Promise<HttpResponse<void, UnprocessableEntityResponse>>;
5033
+ beginImpersonation: (params?: RequestParams) => Promise<AxiosResponse<void, any>>;
5036
5034
  /**
5037
5035
  * No description
5038
5036
  *
@@ -5042,7 +5040,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5042
5040
  * @request DELETE:/api/users/impersonation
5043
5041
  * @secure
5044
5042
  */
5045
- stopImpersonation: (params?: RequestParams) => Promise<HttpResponse<void, UnprocessableEntityResponse>>;
5043
+ stopImpersonation: (params?: RequestParams) => Promise<AxiosResponse<void, any>>;
5046
5044
  /**
5047
5045
  * No description
5048
5046
  *
@@ -5052,7 +5050,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5052
5050
  * @request POST:/api/users/impersonation/force
5053
5051
  * @secure
5054
5052
  */
5055
- forceImpersonation: (data: RequestImpersonationRequest, params?: RequestParams) => Promise<HttpResponse<void, Error | UnprocessableEntityResponse>>;
5053
+ forceImpersonation: (data: RequestImpersonationRequest, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
5056
5054
  /**
5057
5055
  * No description
5058
5056
  *
@@ -5062,7 +5060,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5062
5060
  * @request POST:/api/users/impersonation/extend
5063
5061
  * @secure
5064
5062
  */
5065
- extendImpersonation: (params?: RequestParams) => Promise<HttpResponse<void, UnprocessableEntityResponse>>;
5063
+ extendImpersonation: (params?: RequestParams) => Promise<AxiosResponse<void, any>>;
5066
5064
  /**
5067
5065
  * No description
5068
5066
  *
@@ -5072,7 +5070,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5072
5070
  * @request POST:/api/users/invites
5073
5071
  * @secure
5074
5072
  */
5075
- inviteUser: (data: CreateInviteRequest, params?: RequestParams) => Promise<HttpResponse<void, UnprocessableEntityResponse>>;
5073
+ inviteUser: (data: CreateInviteRequest, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
5076
5074
  /**
5077
5075
  * No description
5078
5076
  *
@@ -5082,7 +5080,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5082
5080
  * @request GET:/api/users/invites/{token}/verify
5083
5081
  * @secure
5084
5082
  */
5085
- verifyUserInvite: (token: string, params?: RequestParams) => Promise<HttpResponse<InviteResponse, UnprocessableEntityResponse>>;
5083
+ verifyUserInvite: (token: string, params?: RequestParams) => Promise<AxiosResponse<InviteResponse, any>>;
5086
5084
  /**
5087
5085
  * No description
5088
5086
  *
@@ -5092,7 +5090,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5092
5090
  * @request GET:/api/users/{userID}/relations
5093
5091
  * @secure
5094
5092
  */
5095
- getUserRelations: (userId: string, params?: RequestParams) => Promise<HttpResponse<UserRelationResponse[], any>>;
5093
+ getUserRelations: (userId: string, params?: RequestParams) => Promise<AxiosResponse<UserRelationResponse[], any>>;
5096
5094
  /**
5097
5095
  * No description
5098
5096
  *
@@ -5102,7 +5100,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5102
5100
  * @request POST:/api/users/{userID}/relations
5103
5101
  * @secure
5104
5102
  */
5105
- createUserRelation: (userId: string, data: CreateUserRelationRequest, params?: RequestParams) => Promise<HttpResponse<void, any>>;
5103
+ createUserRelation: (userId: string, data: CreateUserRelationRequest, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
5106
5104
  /**
5107
5105
  * No description
5108
5106
  *
@@ -5112,7 +5110,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5112
5110
  * @request GET:/api/users/{userID}/relations/{id}
5113
5111
  * @secure
5114
5112
  */
5115
- getUserRelation: (userId: string, id: string, params?: RequestParams) => Promise<HttpResponse<UserRelationResponse, any>>;
5113
+ getUserRelation: (userId: string, id: string, params?: RequestParams) => Promise<AxiosResponse<UserRelationResponse, any>>;
5116
5114
  /**
5117
5115
  * No description
5118
5116
  *
@@ -5122,7 +5120,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5122
5120
  * @request DELETE:/api/users/{userID}/relations/{id}
5123
5121
  * @secure
5124
5122
  */
5125
- deleteUserRelation: (userId: string, id: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
5123
+ deleteUserRelation: (userId: string, id: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
5126
5124
  /**
5127
5125
  * No description
5128
5126
  *
@@ -5139,7 +5137,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5139
5137
  pageNumber?: number;
5140
5138
  sortBy?: string;
5141
5139
  sortDirection?: string;
5142
- }, params?: RequestParams) => Promise<HttpResponse<User[], any>>;
5140
+ }, params?: RequestParams) => Promise<AxiosResponse<User[], any>>;
5143
5141
  /**
5144
5142
  * No description
5145
5143
  *
@@ -5149,7 +5147,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5149
5147
  * @request POST:/api/users
5150
5148
  * @secure
5151
5149
  */
5152
- createUser: (data: CreateUserRequest, params?: RequestParams) => Promise<HttpResponse<DetailedUser, UnprocessableEntityResponse>>;
5150
+ createUser: (data: CreateUserRequest, params?: RequestParams) => Promise<AxiosResponse<DetailedUser, any>>;
5153
5151
  /**
5154
5152
  * No description
5155
5153
  *
@@ -5166,7 +5164,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5166
5164
  pageNumber?: number;
5167
5165
  sortBy?: string;
5168
5166
  sortDirection?: string;
5169
- }, params?: RequestParams) => Promise<HttpResponse<UserPaginatedResponse, any>>;
5167
+ }, params?: RequestParams) => Promise<AxiosResponse<UserPaginatedResponse, any>>;
5170
5168
  /**
5171
5169
  * No description
5172
5170
  *
@@ -5176,7 +5174,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5176
5174
  * @request POST:/api/users/byemail
5177
5175
  * @secure
5178
5176
  */
5179
- getUserByEmail: (data: GetUserByEmailRequest, params?: RequestParams) => Promise<HttpResponse<AdminAccessUser, any>>;
5177
+ getUserByEmail: (data: GetUserByEmailRequest, params?: RequestParams) => Promise<AxiosResponse<AdminAccessUser, any>>;
5180
5178
  /**
5181
5179
  * No description
5182
5180
  *
@@ -5186,7 +5184,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5186
5184
  * @request POST:/api/users/register
5187
5185
  * @secure
5188
5186
  */
5189
- signUp: (data: RegisterUserRequest, params?: RequestParams) => Promise<HttpResponse<void, UnprocessableEntityResponse>>;
5187
+ signUp: (data: RegisterUserRequest, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
5190
5188
  /**
5191
5189
  * No description
5192
5190
  *
@@ -5196,7 +5194,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5196
5194
  * @request PUT:/api/users/{id}
5197
5195
  * @secure
5198
5196
  */
5199
- replaceUser: (id: string, data: UpdateUserRequest, params?: RequestParams) => Promise<HttpResponse<DetailedUser, UnprocessableEntityResponse>>;
5197
+ replaceUser: (id: string, data: UpdateUserRequest, params?: RequestParams) => Promise<AxiosResponse<DetailedUser, any>>;
5200
5198
  /**
5201
5199
  * No description
5202
5200
  *
@@ -5209,7 +5207,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5209
5207
  deleteUser: (id: string, query?: {
5210
5208
  /** @default false */
5211
5209
  permanent?: boolean;
5212
- }, params?: RequestParams) => Promise<HttpResponse<void, any>>;
5210
+ }, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
5213
5211
  /**
5214
5212
  * No description
5215
5213
  *
@@ -5219,7 +5217,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5219
5217
  * @request POST:/api/users/{id}/restore
5220
5218
  * @secure
5221
5219
  */
5222
- restoreUser: (id: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
5220
+ restoreUser: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
5223
5221
  /**
5224
5222
  * No description
5225
5223
  *
@@ -5229,7 +5227,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5229
5227
  * @request POST:/api/users/change-password
5230
5228
  * @secure
5231
5229
  */
5232
- changePassword: (data: ChangePasswordRequest, params?: RequestParams) => Promise<HttpResponse<void, UnprocessableEntityResponse>>;
5230
+ changePassword: (data: ChangePasswordRequest, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
5233
5231
  /**
5234
5232
  * No description
5235
5233
  *
@@ -5239,7 +5237,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5239
5237
  * @request POST:/api/users/verify-password
5240
5238
  * @secure
5241
5239
  */
5242
- verifyPassword: (data: VerifyPasswordRequest, params?: RequestParams) => Promise<HttpResponse<void, UnprocessableEntityResponse>>;
5240
+ verifyPassword: (data: VerifyPasswordRequest, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
5243
5241
  /**
5244
5242
  * No description
5245
5243
  *
@@ -5249,7 +5247,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5249
5247
  * @request POST:/api/users/{id}/override-password
5250
5248
  * @secure
5251
5249
  */
5252
- overridePassword: (id: string, data: OverridePasswordRequest, params?: RequestParams) => Promise<HttpResponse<void, UnprocessableEntityResponse>>;
5250
+ overridePassword: (id: string, data: OverridePasswordRequest, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
5253
5251
  /**
5254
5252
  * No description
5255
5253
  *
@@ -5259,7 +5257,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5259
5257
  * @request POST:/api/users/forgot-password
5260
5258
  * @secure
5261
5259
  */
5262
- forgotPassword: (data: SendForgotPasswordRequest, params?: RequestParams) => Promise<HttpResponse<void, UnprocessableEntityResponse>>;
5260
+ forgotPassword: (data: SendForgotPasswordRequest, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
5263
5261
  /**
5264
5262
  * No description
5265
5263
  *
@@ -5269,7 +5267,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5269
5267
  * @request POST:/api/users/mobile-phone/send-code
5270
5268
  * @secure
5271
5269
  */
5272
- sendMobilePhoneVerificationCode: (params?: RequestParams) => Promise<HttpResponse<void, UnprocessableEntityResponse>>;
5270
+ sendMobilePhoneVerificationCode: (params?: RequestParams) => Promise<AxiosResponse<void, any>>;
5273
5271
  /**
5274
5272
  * No description
5275
5273
  *
@@ -5279,7 +5277,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5279
5277
  * @request PUT:/api/users/mobile-phone/verify-code
5280
5278
  * @secure
5281
5279
  */
5282
- verifyUserMobilePhone: (data: UserMobilePhoneVerificationRequest, params?: RequestParams) => Promise<HttpResponse<void, UnprocessableEntityResponse>>;
5280
+ verifyUserMobilePhone: (data: UserMobilePhoneVerificationRequest, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
5283
5281
  /**
5284
5282
  * No description
5285
5283
  *
@@ -5289,7 +5287,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5289
5287
  * @request GET:/api/users/me
5290
5288
  * @secure
5291
5289
  */
5292
- getMe: (params?: RequestParams) => Promise<HttpResponse<DetailedUser, any>>;
5290
+ getMe: (params?: RequestParams) => Promise<AxiosResponse<DetailedUser, any>>;
5293
5291
  /**
5294
5292
  * No description
5295
5293
  *
@@ -5299,7 +5297,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5299
5297
  * @request PUT:/api/users/me
5300
5298
  * @secure
5301
5299
  */
5302
- replaceMe: (data: UpdateMeRequest, params?: RequestParams) => Promise<HttpResponse<DetailedUser, any>>;
5300
+ replaceMe: (data: UpdateMeRequest, params?: RequestParams) => Promise<AxiosResponse<DetailedUser, any>>;
5303
5301
  /**
5304
5302
  * @description Update the phone number If changed will send a verification code to the new number
5305
5303
  *
@@ -5309,7 +5307,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5309
5307
  * @request PUT:/api/users/me/phone-number
5310
5308
  * @secure
5311
5309
  */
5312
- updateMyPhone: (data: UpdateMobilePhoneRequest, params?: RequestParams) => Promise<HttpResponse<DetailedUser, any>>;
5310
+ updateMyPhone: (data: UpdateMobilePhoneRequest, params?: RequestParams) => Promise<AxiosResponse<DetailedUser, any>>;
5313
5311
  /**
5314
5312
  * No description
5315
5313
  *
@@ -5319,7 +5317,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5319
5317
  * @request GET:/api/users/me/relationships
5320
5318
  * @secure
5321
5319
  */
5322
- getMyRelationships: (params?: RequestParams) => Promise<HttpResponse<UserRelationship[], any>>;
5320
+ getMyRelationships: (params?: RequestParams) => Promise<AxiosResponse<UserRelationship[], any>>;
5323
5321
  /**
5324
5322
  * No description
5325
5323
  *
@@ -5329,7 +5327,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5329
5327
  * @request GET:/api/users/me/relationships/prospects
5330
5328
  * @secure
5331
5329
  */
5332
- getMyRelationshipProspects: (params?: RequestParams) => Promise<HttpResponse<UserRelationshipProspect[], any>>;
5330
+ getMyRelationshipProspects: (params?: RequestParams) => Promise<AxiosResponse<UserRelationshipProspect[], any>>;
5333
5331
  /**
5334
5332
  * No description
5335
5333
  *
@@ -5339,7 +5337,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5339
5337
  * @request DELETE:/api/users/me/relationships/prospects/{id}
5340
5338
  * @secure
5341
5339
  */
5342
- deleteRelationshipProspect: (id: string, params?: RequestParams) => Promise<HttpResponse<void, any>>;
5340
+ deleteRelationshipProspect: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
5343
5341
  /**
5344
5342
  * No description
5345
5343
  *
@@ -5349,7 +5347,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5349
5347
  * @request POST:/api/users/me/delete
5350
5348
  * @secure
5351
5349
  */
5352
- deleteMe: (data: UserAccountDeletionRequest, params?: RequestParams) => Promise<HttpResponse<void, any>>;
5350
+ deleteMe: (data: UserAccountDeletionRequest, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
5353
5351
  /**
5354
5352
  * No description
5355
5353
  *
@@ -5359,7 +5357,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5359
5357
  * @request POST:/api/verifications/verify
5360
5358
  * @secure
5361
5359
  */
5362
- verify: (data: VerificationRequest, params?: RequestParams) => Promise<HttpResponse<VerificationResponse, UnprocessableEntityResponse>>;
5360
+ verify: (data: VerificationRequest, params?: RequestParams) => Promise<AxiosResponse<VerificationResponse, any>>;
5363
5361
  /**
5364
5362
  * No description
5365
5363
  *
@@ -5369,7 +5367,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5369
5367
  * @request POST:/api/verifications/status
5370
5368
  * @secure
5371
5369
  */
5372
- getVerificationStatus: (data: VerificationRequest, params?: RequestParams) => Promise<HttpResponse<VerificationResponse, UnprocessableEntityResponse>>;
5370
+ getVerificationStatus: (data: VerificationRequest, params?: RequestParams) => Promise<AxiosResponse<VerificationResponse, any>>;
5373
5371
  /**
5374
5372
  * No description
5375
5373
  *
@@ -5379,7 +5377,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5379
5377
  * @request GET:/api/verifications/frontend-materials/{requestId}
5380
5378
  * @secure
5381
5379
  */
5382
- getVerificationFrontEndMaterials: (requestId: string, params?: RequestParams) => Promise<HttpResponse<VerificationResponse, UnprocessableEntityResponse>>;
5380
+ getVerificationFrontEndMaterials: (requestId: string, params?: RequestParams) => Promise<AxiosResponse<VerificationResponse, any>>;
5383
5381
  /**
5384
5382
  * No description
5385
5383
  *
@@ -5389,7 +5387,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5389
5387
  * @request POST:/api/workflow
5390
5388
  * @secure
5391
5389
  */
5392
- getWorkflow: (data: GetWorkflowRequest, params?: RequestParams) => Promise<HttpResponse<GetForm, any>>;
5390
+ getWorkflow: (data: GetWorkflowRequest, params?: RequestParams) => Promise<AxiosResponse<GetForm, any>>;
5393
5391
  };
5394
5392
  accounts: {
5395
5393
  /**
@@ -5401,7 +5399,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5401
5399
  * @request GET:/accounts
5402
5400
  * @secure
5403
5401
  */
5404
- getAccounts: (params?: RequestParams) => Promise<HttpResponse<Account[], any>>;
5402
+ getAccounts: (params?: RequestParams) => Promise<AxiosResponse<Account[], any>>;
5405
5403
  /**
5406
5404
  * No description
5407
5405
  *
@@ -5411,7 +5409,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5411
5409
  * @request PUT:/accounts/{id}/loan
5412
5410
  * @secure
5413
5411
  */
5414
- updateLoansByAccount: (id: string, data: Loan[], params?: RequestParams) => Promise<HttpResponse<void, ProblemDetails | UnprocessableEntityResponse>>;
5412
+ updateLoansByAccount: (id: string, data: Loan[], params?: RequestParams) => Promise<AxiosResponse<void, any>>;
5415
5413
  /**
5416
5414
  * No description
5417
5415
  *
@@ -5421,7 +5419,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5421
5419
  * @request GET:/accounts/{id}/loan
5422
5420
  * @secure
5423
5421
  */
5424
- getLoansByAccount: (id: string, params?: RequestParams) => Promise<HttpResponse<Loan[], ProblemDetails>>;
5422
+ getLoansByAccount: (id: string, params?: RequestParams) => Promise<AxiosResponse<Loan[], any>>;
5425
5423
  };
5426
5424
  refreshToken: {
5427
5425
  /**
@@ -5433,7 +5431,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5433
5431
  * @request POST:/refresh-token
5434
5432
  * @secure
5435
5433
  */
5436
- getTokenFromRefreshToken: (data: RefreshTokenRequest, params?: RequestParams) => Promise<HttpResponse<TokenResponse, UnprocessableEntityResponse>>;
5434
+ getTokenFromRefreshToken: (data: RefreshTokenRequest, params?: RequestParams) => Promise<AxiosResponse<TokenResponse, any>>;
5437
5435
  };
5438
5436
  token: {
5439
5437
  /**
@@ -5445,7 +5443,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5445
5443
  * @request POST:/token
5446
5444
  * @secure
5447
5445
  */
5448
- getToken: (data: TokenRequest, params?: RequestParams) => Promise<HttpResponse<TokenResponse, UnprocessableEntityResponse>>;
5446
+ getToken: (data: TokenRequest, params?: RequestParams) => Promise<AxiosResponse<TokenResponse, any>>;
5449
5447
  /**
5450
5448
  * No description
5451
5449
  *
@@ -5455,7 +5453,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5455
5453
  * @request POST:/token/code
5456
5454
  * @secure
5457
5455
  */
5458
- getTokenFromChallengeCode: (data: TokenChallengeRequest, params?: RequestParams) => Promise<HttpResponse<TokenResponse, UnprocessableEntityResponse>>;
5456
+ getTokenFromChallengeCode: (data: TokenChallengeRequest, params?: RequestParams) => Promise<AxiosResponse<TokenResponse, any>>;
5459
5457
  /**
5460
5458
  * No description
5461
5459
  *
@@ -5465,7 +5463,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5465
5463
  * @request POST:/token/sso
5466
5464
  * @secure
5467
5465
  */
5468
- getSsoToken: (data: SSOTokenRequest, params?: RequestParams) => Promise<HttpResponse<SSOTokenResponse, UnprocessableEntityResponse>>;
5466
+ getSsoToken: (data: SSOTokenRequest, params?: RequestParams) => Promise<AxiosResponse<SSOTokenResponse, any>>;
5469
5467
  };
5470
5468
  oauth2: {
5471
5469
  /**
@@ -5477,7 +5475,6 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5477
5475
  * @request POST:/oauth2/token
5478
5476
  * @secure
5479
5477
  */
5480
- getSystemToken: (data: SystemTokenRequest, params?: RequestParams) => Promise<HttpResponse<TokenResponse, UnprocessableEntityResponse>>;
5478
+ getSystemToken: (data: SystemTokenRequest, params?: RequestParams) => Promise<AxiosResponse<TokenResponse, any>>;
5481
5479
  };
5482
5480
  }
5483
- export {};