@reviza/api-client 1.0.0-SNAPSHOT-e2dc8703 → 1.0.0-SNAPSHOT-b9ac5218
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/App/Data/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LoginPayload, LoginData, RegistrationTokenData, RegisterPayload, ForgotPasswordPayload, PasswordPayload, InvitationPayload } from "../App/Data/Auth";
|
|
2
|
-
import { RevizaResponseData } from "../App/Data";
|
|
2
|
+
import { RevizaResponseData, IdData } from "../App/Data";
|
|
3
3
|
import { DataCollection } from "../Spatie/LaravelData";
|
|
4
4
|
import { CategoryData, CategoryCreatePayload, CategoryUpdatePayload, CategoryTreeData } from "../App/Data/Category";
|
|
5
5
|
import { ConfigData } from "../App/Data/Config";
|
|
@@ -270,7 +270,7 @@ export declare const FacilityPictureController: {
|
|
|
270
270
|
export declare namespace FacilityPictureController {
|
|
271
271
|
namespace store {
|
|
272
272
|
type Request = PicturePayload;
|
|
273
|
-
type Response = RevizaResponseData<
|
|
273
|
+
type Response = RevizaResponseData<IdData>;
|
|
274
274
|
}
|
|
275
275
|
namespace show {
|
|
276
276
|
type Request = object;
|
package/dist/index.d.ts
CHANGED
|
@@ -98,7 +98,7 @@ export declare function createRevizaApi(http?: AxiosInstance): {
|
|
|
98
98
|
};
|
|
99
99
|
facilityPictures: {
|
|
100
100
|
show(category: number, facility: number, picture: number, config?: AxiosRequestConfig): Promise<FacilityPictureController.show.Response>;
|
|
101
|
-
store(category: number, facility: number, data:
|
|
101
|
+
store(category: number, facility: number, data: FacilityPictureController.store.Request, config?: AxiosRequestConfig): Promise<FacilityPictureController.store.Response>;
|
|
102
102
|
destroy(category: number, facility: number, picture: number, config?: AxiosRequestConfig): Promise<FacilityPictureController.destroy.Response>;
|
|
103
103
|
};
|
|
104
104
|
relatedFacilities: {
|