@reviza/api-client 1.2.0-SNAPSHOT-4f303918 → 1.2.0-SNAPSHOT-185e4e1f
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.
|
@@ -26,6 +26,7 @@ export type BaseFacilityData = {
|
|
|
26
26
|
created_at: string | null;
|
|
27
27
|
updated_at: string | null;
|
|
28
28
|
deleted_at: string | null;
|
|
29
|
+
archived_at: string | null;
|
|
29
30
|
};
|
|
30
31
|
export type FacilityCreatePayload = {
|
|
31
32
|
name: string;
|
|
@@ -83,6 +84,7 @@ export type FacilityData = {
|
|
|
83
84
|
created_at: string | null;
|
|
84
85
|
updated_at: string | null;
|
|
85
86
|
deleted_at: string | null;
|
|
87
|
+
archived_at: string | null;
|
|
86
88
|
};
|
|
87
89
|
export type FacilityIntervalData = {
|
|
88
90
|
duration: number | null;
|
|
@@ -149,6 +149,14 @@ export declare const FacilityController: {
|
|
|
149
149
|
category: string | number;
|
|
150
150
|
facility: string | number;
|
|
151
151
|
}, string>;
|
|
152
|
+
readonly archive: ActionWithMethods<{
|
|
153
|
+
category: string | number;
|
|
154
|
+
facility: string | number;
|
|
155
|
+
}, string>;
|
|
156
|
+
readonly unarchive: ActionWithMethods<{
|
|
157
|
+
category: string | number;
|
|
158
|
+
facility: string | number;
|
|
159
|
+
}, string>;
|
|
152
160
|
};
|
|
153
161
|
export declare namespace FacilityController {
|
|
154
162
|
namespace getMapExtent {
|
|
@@ -179,6 +187,14 @@ export declare namespace FacilityController {
|
|
|
179
187
|
type Request = object;
|
|
180
188
|
type Response = StreamedResponse;
|
|
181
189
|
}
|
|
190
|
+
namespace archive {
|
|
191
|
+
type Request = object;
|
|
192
|
+
type Response = RevizaResponseData<null>;
|
|
193
|
+
}
|
|
194
|
+
namespace unarchive {
|
|
195
|
+
type Request = object;
|
|
196
|
+
type Response = RevizaResponseData<null>;
|
|
197
|
+
}
|
|
182
198
|
}
|
|
183
199
|
export declare const FacilityDocumentController: {
|
|
184
200
|
readonly index: ActionWithMethods<{
|
|
@@ -70,6 +70,18 @@ export const FacilityController = {
|
|
|
70
70
|
url: "api/v1/categories/{category}/facilities/{facility}/qrcode",
|
|
71
71
|
},
|
|
72
72
|
]),
|
|
73
|
+
archive: createActionWithMethods([
|
|
74
|
+
{
|
|
75
|
+
method: "put",
|
|
76
|
+
url: "api/v1/categories/{category}/facilities/{facility}/archive",
|
|
77
|
+
},
|
|
78
|
+
]),
|
|
79
|
+
unarchive: createActionWithMethods([
|
|
80
|
+
{
|
|
81
|
+
method: "put",
|
|
82
|
+
url: "api/v1/categories/{category}/facilities/{facility}/unarchive",
|
|
83
|
+
},
|
|
84
|
+
]),
|
|
73
85
|
};
|
|
74
86
|
export const FacilityDocumentController = {
|
|
75
87
|
index: createActionWithMethods([
|