vms-nest-prisma-api-document 85.0.0 → 100.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.
- package/dist/services/account/analytics/user_login_analytics_service.js +1 -1
- package/dist/services/account/analytics/user_page_analytics_service.js +1 -1
- package/dist/services/account/bookmark_service.d.ts +9 -9
- package/dist/services/account/bookmark_service.js +1 -1
- package/dist/services/account/notification_preferences.service.d.ts +1 -1
- package/dist/services/account/notification_preferences.service.js +1 -1
- package/dist/services/account/report_preferences.service.d.ts +1 -1
- package/dist/services/account/report_preferences.service.js +1 -1
- package/dist/services/account/ticket_service.d.ts +15 -15
- package/dist/services/account/ticket_service.js +1 -1
- package/dist/services/fleet/fuel_management/fleet_fuel_daily_summary_service.d.ts +17 -17
- package/dist/services/fleet/fuel_management/fleet_fuel_daily_summary_service.js +2 -2
- package/dist/services/fleet/fuel_management/fleet_fuel_refill_service.d.ts +45 -45
- package/dist/services/fleet/fuel_management/fleet_fuel_refill_service.js +1 -1
- package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.d.ts +30 -30
- package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.js +1 -1
- package/dist/services/gps/features/geofence/gps_geofence_service.d.ts +1 -1
- package/dist/services/gps/features/geofence/gps_geofence_service.js +1 -1
- package/dist/services/gps/features/geofence/gps_geofence_transaction_service.d.ts +9 -9
- package/dist/services/gps/features/geofence/gps_geofence_transaction_service.js +1 -1
- package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.d.ts +6 -6
- package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.js +1 -1
- package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.d.ts +12 -12
- package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.js +2 -2
- package/dist/services/gps/features/gps_live_track_share_link_service.d.ts +1 -1
- package/dist/services/gps/features/gps_live_track_share_link_service.js +2 -2
- package/dist/services/gps/features/gps_track_history_share_link_service.d.ts +1 -1
- package/dist/services/gps/features/gps_track_history_share_link_service.js +1 -1
- package/dist/services/gps/reports/gps_reports_mongo_service.d.ts +46 -46
- package/dist/services/gps/reports/gps_reports_mongo_service.js +2 -2
- package/dist/services/main/devices/master_device_service.d.ts +1 -1
- package/dist/services/main/devices/master_device_service.js +1 -1
- package/dist/services/main/drivers/master_driver_service.d.ts +1 -1
- package/dist/services/main/drivers/master_driver_service.js +1 -1
- package/dist/services/main/sims/master_sim_service.d.ts +1 -1
- package/dist/services/main/sims/master_sim_service.js +1 -1
- package/dist/services/main/users/auth_service.d.ts +9 -15
- package/dist/services/main/users/auth_service.js +3 -5
- package/dist/services/main/users/user_admin_service.js +1 -1
- package/dist/services/main/users/user_organisation_service.d.ts +1 -1
- package/dist/services/main/users/user_organisation_service.js +1 -1
- package/dist/services/main/users/user_service.d.ts +1 -1
- package/dist/services/main/users/user_service.js +1 -1
- package/dist/services/main/vehicle/childs/vehicle_odometer_history.d.ts +1 -1
- package/dist/services/main/vehicle/childs/vehicle_odometer_history.js +2 -2
- package/dist/services/main/vehicle/master_vehicle_service.d.ts +1 -1
- package/dist/services/main/vehicle/master_vehicle_service.js +1 -1
- package/dist/services/master/device/master_device_manufacturer_service.d.ts +1 -1
- package/dist/services/master/device/master_device_manufacturer_service.js +1 -1
- package/dist/services/master/device/master_device_model_service.d.ts +1 -1
- package/dist/services/master/device/master_device_model_service.js +1 -1
- package/dist/services/master/device/master_device_type_service.d.ts +1 -1
- package/dist/services/master/device/master_device_type_service.js +1 -1
- package/dist/services/master/expense/master_expense_name_service.d.ts +1 -1
- package/dist/services/master/expense/master_expense_name_service.js +1 -1
- package/dist/services/master/expense/master_expense_type_service.d.ts +1 -1
- package/dist/services/master/expense/master_expense_type_service.js +1 -1
- package/dist/services/master/expense/master_fuel_company_service.d.ts +6 -6
- package/dist/services/master/expense/master_fuel_company_service.js +1 -1
- package/dist/services/master/expense/master_vendor_document_type_service.d.ts +3 -3
- package/dist/services/master/expense/master_vendor_document_type_service.js +1 -1
- package/dist/services/master/expense/master_vendor_type_service.d.ts +1 -1
- package/dist/services/master/expense/master_vendor_type_service.js +1 -1
- package/dist/services/master/fleet/master_fleet_incident_severity_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_incident_severity_service.js +1 -1
- package/dist/services/master/fleet/master_fleet_incident_status_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_incident_status_service.js +1 -1
- package/dist/services/master/fleet/master_fleet_incident_type_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_incident_type_service.js +1 -1
- package/dist/services/master/fleet/master_fleet_insurance_claim_status_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_insurance_claim_status_service.js +1 -1
- package/dist/services/master/fleet/master_fleet_service_task_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_service_task_service.js +1 -1
- package/dist/services/master/main/master_main_country_service.d.ts +1 -1
- package/dist/services/master/main/master_main_country_service.js +1 -1
- package/dist/services/master/main/master_main_currency_service.d.ts +1 -1
- package/dist/services/master/main/master_main_currency_service.js +1 -1
- package/dist/services/master/main/master_main_date_format_service.d.ts +1 -1
- package/dist/services/master/main/master_main_date_format_service.js +1 -1
- package/dist/services/master/main/master_main_eway_bill_provider_service.d.ts +2 -2
- package/dist/services/master/main/master_main_eway_bill_provider_service.js +1 -1
- package/dist/services/master/main/master_main_fasttag_bank_service.d.ts +2 -2
- package/dist/services/master/main/master_main_fasttag_bank_service.js +1 -1
- package/dist/services/master/main/master_main_industry_service.d.ts +1 -1
- package/dist/services/master/main/master_main_industry_service.js +1 -1
- package/dist/services/master/main/master_main_landmark_service.d.ts +7 -7
- package/dist/services/master/main/master_main_landmark_service.js +1 -1
- package/dist/services/master/main/master_main_language_service.d.ts +1 -1
- package/dist/services/master/main/master_main_language_service.js +1 -1
- package/dist/services/master/main/master_main_sim_provider_service.js +1 -1
- package/dist/services/master/main/master_main_state_service.d.ts +1 -1
- package/dist/services/master/main/master_main_state_service.js +1 -1
- package/dist/services/master/main/master_main_timezone_service.d.ts +1 -1
- package/dist/services/master/main/master_main_timezone_service.js +2 -2
- package/dist/services/master/main/master_main_unit_distance_service.d.ts +1 -1
- package/dist/services/master/main/master_main_unit_distance_service.js +1 -1
- package/dist/services/master/main/master_main_unit_mileage_service.d.ts +1 -1
- package/dist/services/master/main/master_main_unit_mileage_service.js +1 -1
- package/dist/services/master/main/master_main_unit_volume_service.d.ts +1 -1
- package/dist/services/master/main/master_main_unit_volume_service.js +1 -1
- package/dist/services/master/organisation/organisation_branch_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_branch_service.js +1 -1
- package/dist/services/master/organisation/organisation_color_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_color_service.js +1 -1
- package/dist/services/master/organisation/organisation_group_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_group_service.js +1 -1
- package/dist/services/master/organisation/organisation_sub_company_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_sub_company_service.js +1 -1
- package/dist/services/master/organisation/organisation_tag_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_tag_service.js +1 -1
- package/dist/services/master/spare_part/master_spare_part_category_service.d.ts +1 -1
- package/dist/services/master/spare_part/master_spare_part_category_service.js +1 -1
- package/dist/services/master/spare_part/master_spare_part_sub_category_service.d.ts +1 -1
- package/dist/services/master/spare_part/master_spare_part_sub_category_service.js +1 -1
- package/dist/services/master/spare_part/master_spare_part_unit_service.d.ts +1 -1
- package/dist/services/master/spare_part/master_spare_part_unit_service.js +1 -1
- package/dist/services/master/trip/master_trip_party_type_service.d.ts +1 -1
- package/dist/services/master/trip/master_trip_party_type_service.js +1 -1
- package/dist/services/master/tyre/master_tyre_grade_service.d.ts +1 -1
- package/dist/services/master/tyre/master_tyre_grade_service.js +1 -1
- package/dist/services/master/tyre/master_tyre_make_service.d.ts +1 -1
- package/dist/services/master/tyre/master_tyre_make_service.js +1 -1
- package/dist/services/master/tyre/master_tyre_model_service.d.ts +1 -1
- package/dist/services/master/tyre/master_tyre_model_service.js +1 -1
- package/dist/services/master/user/master_user_role_service.d.ts +1 -1
- package/dist/services/master/user/master_user_role_service.js +1 -1
- package/dist/services/master/user/master_user_status_service.d.ts +1 -1
- package/dist/services/master/user/master_user_status_service.js +1 -1
- package/dist/services/master/vehicle/master_vehicle_associated_to_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_associated_to_service.js +1 -1
- package/dist/services/master/vehicle/master_vehicle_document_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_document_type_service.js +1 -1
- package/dist/services/master/vehicle/master_vehicle_fuel_removal_reason_service.d.ts +3 -3
- package/dist/services/master/vehicle/master_vehicle_fuel_removal_reason_service.js +1 -1
- package/dist/services/master/vehicle/master_vehicle_fuel_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_fuel_type_service.js +1 -1
- package/dist/services/master/vehicle/master_vehicle_fuel_unit_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_fuel_unit_service.js +1 -1
- package/dist/services/master/vehicle/master_vehicle_make_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_make_service.js +1 -1
- package/dist/services/master/vehicle/master_vehicle_model_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_model_service.js +1 -1
- package/dist/services/master/vehicle/master_vehicle_ownership_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_ownership_type_service.js +1 -1
- package/dist/services/master/vehicle/master_vehicle_status_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_status_type_service.js +1 -1
- package/dist/services/master/vehicle/master_vehicle_sub_model_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_sub_model_service.js +1 -1
- package/dist/services/master/vehicle/master_vehicle_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_type_service.js +1 -1
- package/dist/services/website/contact_us_detail_service.d.ts +1 -1
- package/dist/services/website/contact_us_detail_service.js +1 -1
- package/dist/services/website/faq_service.d.ts +1 -1
- package/dist/services/website/faq_service.js +1 -1
- package/dist/services/website/static_pages_service.js +1 -1
- package/dist/zod_utils/zod_base_schema.js +1 -1
- package/dist/zod_utils/zod_utils.js +2 -2
- package/package.json +1 -1
- package/dist/{user_organisation_service-CUD01Lze.d.ts → user_organisation_service-Cpaz0P99.d.ts} +37 -37
|
@@ -88,7 +88,7 @@ var stringArrayOptional = (fieldName, min = 0, max = 100, defaultValue = [], uni
|
|
|
88
88
|
}
|
|
89
89
|
return schema.optional().default(defaultValue);
|
|
90
90
|
};
|
|
91
|
-
var numberOptional = (fieldName, min = 0, max =
|
|
91
|
+
var numberOptional = (fieldName, min = 0, max = 1e14, defaultValue = 0) => {
|
|
92
92
|
return z.preprocess(
|
|
93
93
|
(val) => typeof val === "string" && val.trim() !== "" ? Number(val) : val,
|
|
94
94
|
z.number({ invalid_type_error: `${fieldName} must be a number.` }).min(min, `${fieldName} must be at least ${min}.`).max(max, `${fieldName} must be at most ${max}.`).optional().default(defaultValue)
|
|
@@ -45,7 +45,7 @@ var stringArrayOptional = (fieldName, min = 0, max = 100, defaultValue = [], uni
|
|
|
45
45
|
}
|
|
46
46
|
return schema.optional().default(defaultValue);
|
|
47
47
|
};
|
|
48
|
-
var numberMandatory = (fieldName, min = 1, max =
|
|
48
|
+
var numberMandatory = (fieldName, min = 1, max = 1e14, defaultValue = 0) => {
|
|
49
49
|
return z.preprocess(
|
|
50
50
|
(val) => {
|
|
51
51
|
if (val === null || val === void 0 || val === "") {
|
|
@@ -59,7 +59,7 @@ var numberMandatory = (fieldName, min = 1, max = 1e9, defaultValue = 0) => {
|
|
|
59
59
|
z.number({ invalid_type_error: `${fieldName} must be a number.` }).min(min, `${fieldName} must be at least ${min}.`).max(max, `${fieldName} must be at most ${max}.`)
|
|
60
60
|
);
|
|
61
61
|
};
|
|
62
|
-
var numberOptional = (fieldName, min = 0, max =
|
|
62
|
+
var numberOptional = (fieldName, min = 0, max = 1e14, defaultValue = 0) => {
|
|
63
63
|
return z.preprocess(
|
|
64
64
|
(val) => typeof val === "string" && val.trim() !== "" ? Number(val) : val,
|
|
65
65
|
z.number({ invalid_type_error: `${fieldName} must be a number.` }).min(min, `${fieldName} must be at least ${min}.`).max(max, `${fieldName} must be at most ${max}.`).optional().default(defaultValue)
|
package/package.json
CHANGED
package/dist/{user_organisation_service-CUD01Lze.d.ts → user_organisation_service-Cpaz0P99.d.ts}
RENAMED
|
@@ -21,9 +21,9 @@ declare const MasterMainIndustrySchema: z.ZodObject<{
|
|
|
21
21
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
22
22
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
23
23
|
}, "strip", z.ZodTypeAny, {
|
|
24
|
-
description: string;
|
|
25
24
|
status: Status;
|
|
26
25
|
industry_name: string;
|
|
26
|
+
description: string;
|
|
27
27
|
}, {
|
|
28
28
|
status: Status;
|
|
29
29
|
industry_name: string;
|
|
@@ -1358,8 +1358,8 @@ declare const MasterDeviceTypeSchema: z.ZodObject<{
|
|
|
1358
1358
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
1359
1359
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
1360
1360
|
}, "strip", z.ZodTypeAny, {
|
|
1361
|
-
description: string;
|
|
1362
1361
|
status: Status;
|
|
1362
|
+
description: string;
|
|
1363
1363
|
device_type_name: string;
|
|
1364
1364
|
device_type_code: string;
|
|
1365
1365
|
device_manufacturer_id: string;
|
|
@@ -1493,8 +1493,8 @@ declare const MasterDeviceModelSchema: z.ZodObject<{
|
|
|
1493
1493
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
1494
1494
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
1495
1495
|
}, "strip", z.ZodTypeAny, {
|
|
1496
|
-
description: string;
|
|
1497
1496
|
status: Status;
|
|
1497
|
+
description: string;
|
|
1498
1498
|
device_manufacturer_id: string;
|
|
1499
1499
|
device_model_name: string;
|
|
1500
1500
|
device_model_code: string;
|
|
@@ -1622,8 +1622,8 @@ declare const MasterDeviceManufacturerSchema: z.ZodObject<{
|
|
|
1622
1622
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
1623
1623
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
1624
1624
|
}, "strip", z.ZodTypeAny, {
|
|
1625
|
-
description: string;
|
|
1626
1625
|
status: Status;
|
|
1626
|
+
description: string;
|
|
1627
1627
|
device_manufacturer_name: string;
|
|
1628
1628
|
device_manufacturer_code: string;
|
|
1629
1629
|
}, {
|
|
@@ -2127,9 +2127,9 @@ declare const OrganisationSubCompanySchema: z.ZodObject<{
|
|
|
2127
2127
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
2128
2128
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
2129
2129
|
}, "strip", z.ZodTypeAny, {
|
|
2130
|
-
description: string;
|
|
2131
2130
|
status: Status;
|
|
2132
2131
|
organisation_id: string;
|
|
2132
|
+
description: string;
|
|
2133
2133
|
sub_company_name: string;
|
|
2134
2134
|
sub_company_GSTIN: string;
|
|
2135
2135
|
}, {
|
|
@@ -2257,9 +2257,9 @@ declare const OrganisationBranchSchema: z.ZodObject<{
|
|
|
2257
2257
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
2258
2258
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
2259
2259
|
}, "strip", z.ZodTypeAny, {
|
|
2260
|
-
description: string;
|
|
2261
2260
|
status: Status;
|
|
2262
2261
|
organisation_id: string;
|
|
2262
|
+
description: string;
|
|
2263
2263
|
branch_name: string;
|
|
2264
2264
|
branch_city: string;
|
|
2265
2265
|
branch_address: string;
|
|
@@ -2387,9 +2387,9 @@ declare const OrganisationColorSchema: z.ZodObject<{
|
|
|
2387
2387
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
2388
2388
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
2389
2389
|
}, "strip", z.ZodTypeAny, {
|
|
2390
|
-
description: string;
|
|
2391
2390
|
status: Status;
|
|
2392
2391
|
organisation_id: string;
|
|
2392
|
+
description: string;
|
|
2393
2393
|
color_name: string;
|
|
2394
2394
|
color_code: string;
|
|
2395
2395
|
}, {
|
|
@@ -2513,9 +2513,9 @@ declare const OrganisationTagSchema: z.ZodObject<{
|
|
|
2513
2513
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
2514
2514
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
2515
2515
|
}, "strip", z.ZodTypeAny, {
|
|
2516
|
-
description: string;
|
|
2517
2516
|
status: Status;
|
|
2518
2517
|
organisation_id: string;
|
|
2518
|
+
description: string;
|
|
2519
2519
|
tag_name: string;
|
|
2520
2520
|
}, {
|
|
2521
2521
|
status: Status;
|
|
@@ -2648,15 +2648,15 @@ declare const OrganisationGroupSchema: z.ZodObject<{
|
|
|
2648
2648
|
vehicle_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
2649
2649
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
2650
2650
|
}, "strip", z.ZodTypeAny, {
|
|
2651
|
-
|
|
2651
|
+
group_name: string;
|
|
2652
2652
|
status: Status;
|
|
2653
2653
|
organisation_id: string;
|
|
2654
|
+
description: string;
|
|
2654
2655
|
vehicle_ids: string[];
|
|
2655
|
-
group_name: string;
|
|
2656
2656
|
}, {
|
|
2657
|
+
group_name: string;
|
|
2657
2658
|
status: Status;
|
|
2658
2659
|
organisation_id: string;
|
|
2659
|
-
group_name: string;
|
|
2660
2660
|
description?: string | undefined;
|
|
2661
2661
|
vehicle_ids?: string[] | undefined;
|
|
2662
2662
|
}>;
|
|
@@ -2781,9 +2781,9 @@ declare const MasterVehicleSubModelSchema: z.ZodObject<{
|
|
|
2781
2781
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
2782
2782
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
2783
2783
|
}, "strip", z.ZodTypeAny, {
|
|
2784
|
-
description: string;
|
|
2785
2784
|
status: Status;
|
|
2786
2785
|
organisation_id: string;
|
|
2786
|
+
description: string;
|
|
2787
2787
|
vehicle_sub_model: string;
|
|
2788
2788
|
vehicle_model_id: string;
|
|
2789
2789
|
vehicle_make_id: string;
|
|
@@ -2920,9 +2920,9 @@ declare const MasterVehicleModelSchema: z.ZodObject<{
|
|
|
2920
2920
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
2921
2921
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
2922
2922
|
}, "strip", z.ZodTypeAny, {
|
|
2923
|
-
description: string;
|
|
2924
2923
|
status: Status;
|
|
2925
2924
|
organisation_id: string;
|
|
2925
|
+
description: string;
|
|
2926
2926
|
vehicle_make_id: string;
|
|
2927
2927
|
vehicle_model: string;
|
|
2928
2928
|
}, {
|
|
@@ -3051,9 +3051,9 @@ declare const MasterVehicleMakeSchema: z.ZodObject<{
|
|
|
3051
3051
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
3052
3052
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
3053
3053
|
}, "strip", z.ZodTypeAny, {
|
|
3054
|
-
description: string;
|
|
3055
3054
|
status: Status;
|
|
3056
3055
|
organisation_id: string;
|
|
3056
|
+
description: string;
|
|
3057
3057
|
vehicle_make: string;
|
|
3058
3058
|
}, {
|
|
3059
3059
|
status: Status;
|
|
@@ -3175,9 +3175,9 @@ declare const MasterVehicleStatusTypeSchema: z.ZodObject<{
|
|
|
3175
3175
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
3176
3176
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
3177
3177
|
}, "strip", z.ZodTypeAny, {
|
|
3178
|
-
description: string;
|
|
3179
3178
|
status: Status;
|
|
3180
3179
|
organisation_id: string;
|
|
3180
|
+
description: string;
|
|
3181
3181
|
status_type: string;
|
|
3182
3182
|
}, {
|
|
3183
3183
|
status: Status;
|
|
@@ -3299,9 +3299,9 @@ declare const MasterVehicleOwnershipTypeSchema: z.ZodObject<{
|
|
|
3299
3299
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
3300
3300
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
3301
3301
|
}, "strip", z.ZodTypeAny, {
|
|
3302
|
-
description: string;
|
|
3303
3302
|
status: Status;
|
|
3304
3303
|
organisation_id: string;
|
|
3304
|
+
description: string;
|
|
3305
3305
|
ownership_type: string;
|
|
3306
3306
|
}, {
|
|
3307
3307
|
status: Status;
|
|
@@ -3423,9 +3423,9 @@ declare const MasterVehicleTypeSchema: z.ZodObject<{
|
|
|
3423
3423
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
3424
3424
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
3425
3425
|
}, "strip", z.ZodTypeAny, {
|
|
3426
|
-
description: string;
|
|
3427
3426
|
status: Status;
|
|
3428
3427
|
organisation_id: string;
|
|
3428
|
+
description: string;
|
|
3429
3429
|
vehicle_type: string;
|
|
3430
3430
|
}, {
|
|
3431
3431
|
status: Status;
|
|
@@ -3547,9 +3547,9 @@ declare const MasterVehicleFuelTypeSchema: z.ZodObject<{
|
|
|
3547
3547
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
3548
3548
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
3549
3549
|
}, "strip", z.ZodTypeAny, {
|
|
3550
|
-
description: string;
|
|
3551
3550
|
status: Status;
|
|
3552
3551
|
organisation_id: string;
|
|
3552
|
+
description: string;
|
|
3553
3553
|
fuel_type: string;
|
|
3554
3554
|
}, {
|
|
3555
3555
|
status: Status;
|
|
@@ -3671,9 +3671,9 @@ declare const MasterVehicleAssociatedToSchema: z.ZodObject<{
|
|
|
3671
3671
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
3672
3672
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
3673
3673
|
}, "strip", z.ZodTypeAny, {
|
|
3674
|
-
description: string;
|
|
3675
3674
|
status: Status;
|
|
3676
3675
|
organisation_id: string;
|
|
3676
|
+
description: string;
|
|
3677
3677
|
associated_to: string;
|
|
3678
3678
|
}, {
|
|
3679
3679
|
status: Status;
|
|
@@ -3800,9 +3800,9 @@ declare const MasterVehicleFuelUnitSchema: z.ZodObject<{
|
|
|
3800
3800
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
3801
3801
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
3802
3802
|
}, "strip", z.ZodTypeAny, {
|
|
3803
|
-
description: string;
|
|
3804
3803
|
status: Status;
|
|
3805
3804
|
organisation_id: string;
|
|
3805
|
+
description: string;
|
|
3806
3806
|
fuel_unit: string;
|
|
3807
3807
|
}, {
|
|
3808
3808
|
status: Status;
|
|
@@ -5230,9 +5230,9 @@ declare const MasterUserRoleSchema: z.ZodObject<{
|
|
|
5230
5230
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
5231
5231
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
5232
5232
|
}, "strip", z.ZodTypeAny, {
|
|
5233
|
-
description: string;
|
|
5234
5233
|
status: Status;
|
|
5235
5234
|
organisation_id: string;
|
|
5235
|
+
description: string;
|
|
5236
5236
|
user_role: string;
|
|
5237
5237
|
}, {
|
|
5238
5238
|
status: Status;
|
|
@@ -5353,9 +5353,9 @@ declare const MasterUserStatusSchema: z.ZodObject<{
|
|
|
5353
5353
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
5354
5354
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
5355
5355
|
}, "strip", z.ZodTypeAny, {
|
|
5356
|
-
description: string;
|
|
5357
5356
|
status: Status;
|
|
5358
5357
|
organisation_id: string;
|
|
5358
|
+
description: string;
|
|
5359
5359
|
user_status: string;
|
|
5360
5360
|
}, {
|
|
5361
5361
|
status: Status;
|
|
@@ -5846,9 +5846,9 @@ declare const MasterExpenseNameSchema: z.ZodObject<{
|
|
|
5846
5846
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
5847
5847
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
5848
5848
|
}, "strip", z.ZodTypeAny, {
|
|
5849
|
-
description: string;
|
|
5850
5849
|
status: Status;
|
|
5851
5850
|
organisation_id: string;
|
|
5851
|
+
description: string;
|
|
5852
5852
|
expense_name: string;
|
|
5853
5853
|
expense_category: ExpenseCategory;
|
|
5854
5854
|
}, {
|
|
@@ -5970,9 +5970,9 @@ declare const MasterExpenseTypeSchema: z.ZodObject<{
|
|
|
5970
5970
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
5971
5971
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
5972
5972
|
}, "strip", z.ZodTypeAny, {
|
|
5973
|
-
description: string;
|
|
5974
5973
|
status: Status;
|
|
5975
5974
|
organisation_id: string;
|
|
5975
|
+
description: string;
|
|
5976
5976
|
expense_type_name: string;
|
|
5977
5977
|
}, {
|
|
5978
5978
|
status: Status;
|
|
@@ -6091,9 +6091,9 @@ declare const MasterTyreGradeSchema: z.ZodObject<{
|
|
|
6091
6091
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
6092
6092
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
6093
6093
|
}, "strip", z.ZodTypeAny, {
|
|
6094
|
-
description: string;
|
|
6095
6094
|
status: Status;
|
|
6096
6095
|
organisation_id: string;
|
|
6096
|
+
description: string;
|
|
6097
6097
|
tyre_grade: string;
|
|
6098
6098
|
}, {
|
|
6099
6099
|
status: Status;
|
|
@@ -6216,9 +6216,9 @@ declare const MasterTyreModelSchema: z.ZodObject<{
|
|
|
6216
6216
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
6217
6217
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
6218
6218
|
}, "strip", z.ZodTypeAny, {
|
|
6219
|
-
description: string;
|
|
6220
6219
|
status: Status;
|
|
6221
6220
|
organisation_id: string;
|
|
6221
|
+
description: string;
|
|
6222
6222
|
tyre_model: string;
|
|
6223
6223
|
tyre_make_id: string;
|
|
6224
6224
|
}, {
|
|
@@ -6345,9 +6345,9 @@ declare const MasterTyreMakeSchema: z.ZodObject<{
|
|
|
6345
6345
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
6346
6346
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
6347
6347
|
}, "strip", z.ZodTypeAny, {
|
|
6348
|
-
description: string;
|
|
6349
6348
|
status: Status;
|
|
6350
6349
|
organisation_id: string;
|
|
6350
|
+
description: string;
|
|
6351
6351
|
tyre_make: string;
|
|
6352
6352
|
}, {
|
|
6353
6353
|
status: Status;
|
|
@@ -6468,9 +6468,9 @@ declare const MasterFleetIncidentTypeSchema: z.ZodObject<{
|
|
|
6468
6468
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
6469
6469
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
6470
6470
|
}, "strip", z.ZodTypeAny, {
|
|
6471
|
-
description: string;
|
|
6472
6471
|
status: Status;
|
|
6473
6472
|
organisation_id: string;
|
|
6473
|
+
description: string;
|
|
6474
6474
|
fleet_incident_type: string;
|
|
6475
6475
|
}, {
|
|
6476
6476
|
status: Status;
|
|
@@ -6589,9 +6589,9 @@ declare const MasterFleetIncidentStatusSchema: z.ZodObject<{
|
|
|
6589
6589
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
6590
6590
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
6591
6591
|
}, "strip", z.ZodTypeAny, {
|
|
6592
|
-
description: string;
|
|
6593
6592
|
status: Status;
|
|
6594
6593
|
organisation_id: string;
|
|
6594
|
+
description: string;
|
|
6595
6595
|
fleet_incident_status: string;
|
|
6596
6596
|
}, {
|
|
6597
6597
|
status: Status;
|
|
@@ -6710,9 +6710,9 @@ declare const MasterFleetIncidentSeveritySchema: z.ZodObject<{
|
|
|
6710
6710
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
6711
6711
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
6712
6712
|
}, "strip", z.ZodTypeAny, {
|
|
6713
|
-
description: string;
|
|
6714
6713
|
status: Status;
|
|
6715
6714
|
organisation_id: string;
|
|
6715
|
+
description: string;
|
|
6716
6716
|
fleet_incident_severity: string;
|
|
6717
6717
|
}, {
|
|
6718
6718
|
status: Status;
|
|
@@ -6831,9 +6831,9 @@ declare const MasterFleetInsuranceClaimStatusSchema: z.ZodObject<{
|
|
|
6831
6831
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
6832
6832
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
6833
6833
|
}, "strip", z.ZodTypeAny, {
|
|
6834
|
-
description: string;
|
|
6835
6834
|
status: Status;
|
|
6836
6835
|
organisation_id: string;
|
|
6836
|
+
description: string;
|
|
6837
6837
|
fleet_insurance_claim_status: string;
|
|
6838
6838
|
}, {
|
|
6839
6839
|
status: Status;
|
|
@@ -6952,9 +6952,9 @@ declare const MasterFleetServiceTaskSchema: z.ZodObject<{
|
|
|
6952
6952
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
6953
6953
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
6954
6954
|
}, "strip", z.ZodTypeAny, {
|
|
6955
|
-
description: string;
|
|
6956
6955
|
status: Status;
|
|
6957
6956
|
organisation_id: string;
|
|
6957
|
+
description: string;
|
|
6958
6958
|
fleet_service_task: string;
|
|
6959
6959
|
}, {
|
|
6960
6960
|
status: Status;
|
|
@@ -7073,9 +7073,9 @@ declare const MasterTripPartyTypeSchema: z.ZodObject<{
|
|
|
7073
7073
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
7074
7074
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
7075
7075
|
}, "strip", z.ZodTypeAny, {
|
|
7076
|
-
description: string;
|
|
7077
7076
|
status: Status;
|
|
7078
7077
|
organisation_id: string;
|
|
7078
|
+
description: string;
|
|
7079
7079
|
party_type: string;
|
|
7080
7080
|
}, {
|
|
7081
7081
|
status: Status;
|
|
@@ -7191,9 +7191,9 @@ declare const MasterVendorTypeSchema: z.ZodObject<{
|
|
|
7191
7191
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
7192
7192
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
7193
7193
|
}, "strip", z.ZodTypeAny, {
|
|
7194
|
-
description: string;
|
|
7195
7194
|
status: Status;
|
|
7196
7195
|
organisation_id: string;
|
|
7196
|
+
description: string;
|
|
7197
7197
|
vendor_type: string;
|
|
7198
7198
|
}, {
|
|
7199
7199
|
status: Status;
|
|
@@ -7317,9 +7317,9 @@ declare const MasterSparePartSubCategorySchema: z.ZodObject<{
|
|
|
7317
7317
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
7318
7318
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
7319
7319
|
}, "strip", z.ZodTypeAny, {
|
|
7320
|
-
description: string;
|
|
7321
7320
|
status: Status;
|
|
7322
7321
|
organisation_id: string;
|
|
7322
|
+
description: string;
|
|
7323
7323
|
sub_category_name: string;
|
|
7324
7324
|
sub_category_code: string;
|
|
7325
7325
|
spare_part_category_id: string;
|
|
@@ -7450,9 +7450,9 @@ declare const MasterSparePartCategorySchema: z.ZodObject<{
|
|
|
7450
7450
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
7451
7451
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
7452
7452
|
}, "strip", z.ZodTypeAny, {
|
|
7453
|
-
description: string;
|
|
7454
7453
|
status: Status;
|
|
7455
7454
|
organisation_id: string;
|
|
7455
|
+
description: string;
|
|
7456
7456
|
category_name: string;
|
|
7457
7457
|
category_code: string;
|
|
7458
7458
|
}, {
|
|
@@ -7577,9 +7577,9 @@ declare const MasterSparePartUnitSchema: z.ZodObject<{
|
|
|
7577
7577
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
7578
7578
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
7579
7579
|
}, "strip", z.ZodTypeAny, {
|
|
7580
|
-
description: string;
|
|
7581
7580
|
status: Status;
|
|
7582
7581
|
organisation_id: string;
|
|
7582
|
+
description: string;
|
|
7583
7583
|
unit_name: string;
|
|
7584
7584
|
unit_code: string;
|
|
7585
7585
|
}, {
|