vms-nest-prisma-api-document 720.0.0 → 730.0.0
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.
|
@@ -420,15 +420,15 @@ var ENDPOINTS = {
|
|
|
420
420
|
vehicle_device_link_history_by_vehicle: (id) => `${URL}/vehicle_device_link_history_by_vehicle/${id}`,
|
|
421
421
|
vehicle_device_link_history_by_device: (id) => `${URL}/vehicle_device_link_history_by_device/${id}`,
|
|
422
422
|
// VehicleDocument APIs
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
423
|
+
create_vehicle_document: `${URL}/vehicle_document`,
|
|
424
|
+
find_vehicle_document: `${URL}/vehicle_document/search`,
|
|
425
|
+
update_vehicle_document: (id) => `${URL}/vehicle_document/${id}`,
|
|
426
|
+
remove_vehicle_document: (id) => `${URL}/vehicle_document/${id}`,
|
|
427
427
|
// VehicleDocumentExpiry APIs
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
428
|
+
create_vehicle_document_expiry: `${URL}/vehicle_document_expiry`,
|
|
429
|
+
find_vehicle_document_expiry: `${URL}/vehicle_document_expiry/search`,
|
|
430
|
+
update_vehicle_document_expiry: (id) => `${URL}/vehicle_document_expiry/${id}`,
|
|
431
|
+
remove_vehicle_document_expiry: (id) => `${URL}/vehicle_document_expiry/${id}`,
|
|
432
432
|
// Cache APIs
|
|
433
433
|
find_cache: `${URL}/cache/:organisation_id`,
|
|
434
434
|
find_cache_simple: `${URL}/cache_simple/:organisation_id`,
|
|
@@ -1469,28 +1469,28 @@ var getDeviceLinkHistoryByDevice = async (id, params) => {
|
|
|
1469
1469
|
return apiGet(ENDPOINTS.vehicle_device_link_history_by_device(id), params);
|
|
1470
1470
|
};
|
|
1471
1471
|
var createVehicleDocument = async (payload) => {
|
|
1472
|
-
return apiPost(ENDPOINTS.
|
|
1472
|
+
return apiPost(ENDPOINTS.create_vehicle_document, payload);
|
|
1473
1473
|
};
|
|
1474
1474
|
var findVehicleDocument = async (payload) => {
|
|
1475
|
-
return apiPost(ENDPOINTS.
|
|
1475
|
+
return apiPost(ENDPOINTS.find_vehicle_document, payload);
|
|
1476
1476
|
};
|
|
1477
1477
|
var updateVehicleDocument = async (id, payload) => {
|
|
1478
|
-
return apiPatch(ENDPOINTS.
|
|
1478
|
+
return apiPatch(ENDPOINTS.update_vehicle_document(id), payload);
|
|
1479
1479
|
};
|
|
1480
1480
|
var removeVehicleDocument = async (id) => {
|
|
1481
|
-
return apiDelete(ENDPOINTS.
|
|
1481
|
+
return apiDelete(ENDPOINTS.remove_vehicle_document(id));
|
|
1482
1482
|
};
|
|
1483
1483
|
var createVehicleDocumentExpiry = async (payload) => {
|
|
1484
|
-
return apiPost(ENDPOINTS.
|
|
1484
|
+
return apiPost(ENDPOINTS.create_vehicle_document_expiry, payload);
|
|
1485
1485
|
};
|
|
1486
1486
|
var findVehicleDocumentExpiry = async (payload) => {
|
|
1487
|
-
return apiPost(ENDPOINTS.
|
|
1487
|
+
return apiPost(ENDPOINTS.find_vehicle_document_expiry, payload);
|
|
1488
1488
|
};
|
|
1489
1489
|
var updateVehicleDocumentExpiry = async (id, payload) => {
|
|
1490
|
-
return apiPatch(ENDPOINTS.
|
|
1490
|
+
return apiPatch(ENDPOINTS.update_vehicle_document_expiry(id), payload);
|
|
1491
1491
|
};
|
|
1492
1492
|
var removeVehicleDocumentExpiry = async (id) => {
|
|
1493
|
-
return apiDelete(ENDPOINTS.
|
|
1493
|
+
return apiDelete(ENDPOINTS.remove_vehicle_document_expiry(id));
|
|
1494
1494
|
};
|
|
1495
1495
|
var getVehicleCache = async (organisationId) => {
|
|
1496
1496
|
return apiGet(ENDPOINTS.find_cache.replace(":organisation_id", organisationId));
|
|
@@ -31,7 +31,6 @@ declare const ContactUsDetailSchema: z.ZodObject<{
|
|
|
31
31
|
telegram_chat_url: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
32
32
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
33
33
|
}, "strip", z.ZodTypeAny, {
|
|
34
|
-
status: Status;
|
|
35
34
|
mobile_number: string;
|
|
36
35
|
email: string;
|
|
37
36
|
facebook_link: string;
|
|
@@ -42,6 +41,7 @@ declare const ContactUsDetailSchema: z.ZodObject<{
|
|
|
42
41
|
pinterest_link: string;
|
|
43
42
|
whats_app_chat_url: string;
|
|
44
43
|
telegram_chat_url: string;
|
|
44
|
+
status: Status;
|
|
45
45
|
}, {
|
|
46
46
|
status: Status;
|
|
47
47
|
mobile_number?: string | undefined;
|
|
@@ -19,11 +19,11 @@ declare const StaticPageSchema: z.ZodObject<{
|
|
|
19
19
|
page_content: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
20
20
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
21
21
|
}, "strip", z.ZodTypeAny, {
|
|
22
|
+
status: Status;
|
|
22
23
|
page_name: string;
|
|
23
24
|
page_code: string;
|
|
24
25
|
page_url: string;
|
|
25
26
|
page_content: string;
|
|
26
|
-
status: Status;
|
|
27
27
|
}, {
|
|
28
28
|
status: Status;
|
|
29
29
|
page_name?: string | undefined;
|
package/package.json
CHANGED