@erpp/react-api-cronos-frontend 1.0.18 → 1.0.19

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.mts CHANGED
@@ -97,7 +97,7 @@ declare abstract class APICRUDClientBase<TDTO extends object, TCreate extends ob
97
97
  filter: string;
98
98
  pagination: {};
99
99
  orderBy: string;
100
- }): Promise<AxiosResponse<any, any>>;
100
+ }): Promise<AxiosResponse<any, any, {}>>;
101
101
  /**
102
102
  * @deprecated Usar el método `getById` en su lugar.
103
103
  */
@@ -106,14 +106,14 @@ declare abstract class APICRUDClientBase<TDTO extends object, TCreate extends ob
106
106
  params?: object;
107
107
  config?: AxiosRequestConfig;
108
108
  where?: object;
109
- }): Promise<AxiosResponse<any, any>>;
109
+ }): Promise<AxiosResponse<any, any, {}>>;
110
110
  /**
111
111
  * @deprecated Usar el método `create` en su lugar.
112
112
  */
113
113
  post({ data, config }: {
114
114
  data: object;
115
115
  config?: AxiosRequestConfig;
116
- }): Promise<AxiosResponse<any, any>>;
116
+ }): Promise<AxiosResponse<any, any, {}>>;
117
117
  /**
118
118
  * @deprecated Usar el método `update` en su lugar.
119
119
  */
@@ -121,7 +121,7 @@ declare abstract class APICRUDClientBase<TDTO extends object, TCreate extends ob
121
121
  id?: string | number;
122
122
  data?: object;
123
123
  config?: AxiosRequestConfig;
124
- }): Promise<AxiosResponse<any, any>>;
124
+ }): Promise<AxiosResponse<any, any, {}>>;
125
125
  /**
126
126
  * @override Este método es compatible con el método obsoleto.
127
127
  * @description Elimina un recurso por su ID o por un conjunto de condiciones.
@@ -1077,7 +1077,7 @@ declare class DashboardRutaAPI extends APICRUDClientBase<DashboardRutaDTO, Dashb
1077
1077
  get usuario(): {
1078
1078
  getById({ id, params }: GetByIdParams$1<DashboardRutaQuery>): Promise<DashboardRutaDTO | null>;
1079
1079
  getAll({ params }: QueryParams<DashboardRutaQuery>): Promise<PaginatedResponse<DashboardRutaDTO> | null>;
1080
- get({ id, params, config, where }: GetRequestParams): Promise<axios.AxiosResponse<any, any>>;
1080
+ get({ id, params, config, where }: GetRequestParams): Promise<axios.AxiosResponse<any, any, {}>>;
1081
1081
  query({ params }: QueryParams<DashboardRutaQuery>): Promise<PaginatedResponse<DashboardRutaDTO> | null>;
1082
1082
  endpoint: string;
1083
1083
  client: AxiosInstance;
package/dist/index.d.ts CHANGED
@@ -97,7 +97,7 @@ declare abstract class APICRUDClientBase<TDTO extends object, TCreate extends ob
97
97
  filter: string;
98
98
  pagination: {};
99
99
  orderBy: string;
100
- }): Promise<AxiosResponse<any, any>>;
100
+ }): Promise<AxiosResponse<any, any, {}>>;
101
101
  /**
102
102
  * @deprecated Usar el método `getById` en su lugar.
103
103
  */
@@ -106,14 +106,14 @@ declare abstract class APICRUDClientBase<TDTO extends object, TCreate extends ob
106
106
  params?: object;
107
107
  config?: AxiosRequestConfig;
108
108
  where?: object;
109
- }): Promise<AxiosResponse<any, any>>;
109
+ }): Promise<AxiosResponse<any, any, {}>>;
110
110
  /**
111
111
  * @deprecated Usar el método `create` en su lugar.
112
112
  */
113
113
  post({ data, config }: {
114
114
  data: object;
115
115
  config?: AxiosRequestConfig;
116
- }): Promise<AxiosResponse<any, any>>;
116
+ }): Promise<AxiosResponse<any, any, {}>>;
117
117
  /**
118
118
  * @deprecated Usar el método `update` en su lugar.
119
119
  */
@@ -121,7 +121,7 @@ declare abstract class APICRUDClientBase<TDTO extends object, TCreate extends ob
121
121
  id?: string | number;
122
122
  data?: object;
123
123
  config?: AxiosRequestConfig;
124
- }): Promise<AxiosResponse<any, any>>;
124
+ }): Promise<AxiosResponse<any, any, {}>>;
125
125
  /**
126
126
  * @override Este método es compatible con el método obsoleto.
127
127
  * @description Elimina un recurso por su ID o por un conjunto de condiciones.
@@ -1077,7 +1077,7 @@ declare class DashboardRutaAPI extends APICRUDClientBase<DashboardRutaDTO, Dashb
1077
1077
  get usuario(): {
1078
1078
  getById({ id, params }: GetByIdParams$1<DashboardRutaQuery>): Promise<DashboardRutaDTO | null>;
1079
1079
  getAll({ params }: QueryParams<DashboardRutaQuery>): Promise<PaginatedResponse<DashboardRutaDTO> | null>;
1080
- get({ id, params, config, where }: GetRequestParams): Promise<axios.AxiosResponse<any, any>>;
1080
+ get({ id, params, config, where }: GetRequestParams): Promise<axios.AxiosResponse<any, any, {}>>;
1081
1081
  query({ params }: QueryParams<DashboardRutaQuery>): Promise<PaginatedResponse<DashboardRutaDTO> | null>;
1082
1082
  endpoint: string;
1083
1083
  client: AxiosInstance;