vms-nest-prisma-api-document 140.0.0 → 160.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.
Files changed (90) hide show
  1. package/dist/services/account/analytics/user_login_analytics_service.d.ts +3 -3
  2. package/dist/services/account/analytics/user_page_analytics_service.d.ts +1 -1
  3. package/dist/services/account/bookmark_service.d.ts +1 -1
  4. package/dist/services/account/notification_preferences.service.d.ts +1 -1
  5. package/dist/services/account/report_preferences.service.d.ts +1 -1
  6. package/dist/services/account/ticket_service.d.ts +1 -1
  7. package/dist/services/fleet/bus_mangement/bus_stop.d.ts +19 -19
  8. package/dist/services/fleet/bus_mangement/calender.d.ts +1 -1
  9. package/dist/services/fleet/bus_mangement/master_route.d.ts +41 -41
  10. package/dist/services/fleet/bus_mangement/notice_board.d.ts +1 -1
  11. package/dist/services/fleet/bus_mangement/student.d.ts +20 -20
  12. package/dist/services/fleet/fuel_management/fleet_fuel_daily_summary_service.d.ts +1 -1
  13. package/dist/services/fleet/fuel_management/fleet_fuel_refill_service.d.ts +1 -1
  14. package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.d.ts +1 -1
  15. package/dist/services/gps/features/geofence/gps_geofence_service.d.ts +1 -1
  16. package/dist/services/gps/features/geofence/gps_geofence_transaction_service.d.ts +6 -6
  17. package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.d.ts +7 -7
  18. package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.d.ts +2 -2
  19. package/dist/services/gps/features/gps_live_track_share_link_service.d.ts +5 -5
  20. package/dist/services/gps/features/gps_track_history_share_link_service.d.ts +8 -8
  21. package/dist/services/gps/reports/gps_reports_mongo_service.d.ts +46 -46
  22. package/dist/services/main/devices/master_device_service.d.ts +1 -1
  23. package/dist/services/main/drivers/master_driver_service.d.ts +1 -1
  24. package/dist/services/main/sims/master_sim_service.d.ts +1 -1
  25. package/dist/services/main/users/auth_service.d.ts +1 -1
  26. package/dist/services/main/users/user_organisation_service.d.ts +1 -1
  27. package/dist/services/main/users/user_organisation_service.js +83 -75
  28. package/dist/services/main/users/user_service.d.ts +1 -1
  29. package/dist/services/main/vehicle/childs/vehicle_odometer_history.d.ts +1 -1
  30. package/dist/services/main/vehicle/master_vehicle_service.d.ts +1 -1
  31. package/dist/services/master/bus/master_class_service.d.ts +1 -1
  32. package/dist/services/master/bus/master_program_service.d.ts +1 -1
  33. package/dist/services/master/bus/master_relationship_service.d.ts +1 -1
  34. package/dist/services/master/bus/master_section_service.d.ts +1 -1
  35. package/dist/services/master/bus/master_semester_service.d.ts +1 -1
  36. package/dist/services/master/bus/master_stream_service.d.ts +1 -1
  37. package/dist/services/master/bus/master_year_service.d.ts +1 -1
  38. package/dist/services/master/device/master_device_manufacturer_service.d.ts +1 -1
  39. package/dist/services/master/device/master_device_model_service.d.ts +1 -1
  40. package/dist/services/master/device/master_device_type_service.d.ts +1 -1
  41. package/dist/services/master/expense/master_expense_name_service.d.ts +135 -4
  42. package/dist/services/master/expense/master_expense_type_service.d.ts +125 -4
  43. package/dist/services/master/expense/master_fuel_company_service.d.ts +6 -6
  44. package/dist/services/master/expense/master_vendor_document_type_service.d.ts +3 -3
  45. package/dist/services/master/expense/master_vendor_type_service.d.ts +124 -4
  46. package/dist/services/master/fleet/master_fleet_incident_severity_service.d.ts +127 -4
  47. package/dist/services/master/fleet/master_fleet_incident_status_service.d.ts +127 -4
  48. package/dist/services/master/fleet/master_fleet_incident_type_service.d.ts +127 -4
  49. package/dist/services/master/fleet/master_fleet_insurance_claim_status_service.d.ts +127 -4
  50. package/dist/services/master/fleet/master_fleet_service_task_service.d.ts +127 -4
  51. package/dist/services/master/main/master_main_country_service.d.ts +1 -1
  52. package/dist/services/master/main/master_main_currency_service.d.ts +1 -1
  53. package/dist/services/master/main/master_main_date_format_service.d.ts +1 -1
  54. package/dist/services/master/main/master_main_industry_service.d.ts +1 -1
  55. package/dist/services/master/main/master_main_landmark_service.d.ts +1 -1
  56. package/dist/services/master/main/master_main_language_service.d.ts +1 -1
  57. package/dist/services/master/main/master_main_state_service.d.ts +1 -1
  58. package/dist/services/master/main/master_main_timezone_service.d.ts +1 -1
  59. package/dist/services/master/main/master_main_unit_distance_service.d.ts +1 -1
  60. package/dist/services/master/main/master_main_unit_mileage_service.d.ts +1 -1
  61. package/dist/services/master/main/master_main_unit_volume_service.d.ts +1 -1
  62. package/dist/services/master/organisation/organisation_branch_service.d.ts +1 -1
  63. package/dist/services/master/organisation/organisation_color_service.d.ts +1 -1
  64. package/dist/services/master/organisation/organisation_group_service.d.ts +1 -1
  65. package/dist/services/master/organisation/organisation_sub_company_service.d.ts +1 -1
  66. package/dist/services/master/organisation/organisation_tag_service.d.ts +1 -1
  67. package/dist/services/master/spare_part/master_spare_part_category_service.d.ts +2 -1
  68. package/dist/services/master/spare_part/master_spare_part_sub_category_service.d.ts +269 -4
  69. package/dist/services/master/spare_part/master_spare_part_unit_service.d.ts +132 -4
  70. package/dist/services/master/trip/master_trip_party_type_service.d.ts +127 -4
  71. package/dist/services/master/tyre/master_tyre_grade_service.d.ts +128 -4
  72. package/dist/services/master/tyre/master_tyre_make_service.d.ts +2 -1
  73. package/dist/services/master/tyre/master_tyre_model_service.d.ts +261 -4
  74. package/dist/services/master/user/master_user_role_service.d.ts +1 -1
  75. package/dist/services/master/user/master_user_status_service.d.ts +1 -1
  76. package/dist/services/master/vehicle/master_vehicle_associated_to_service.d.ts +1 -1
  77. package/dist/services/master/vehicle/master_vehicle_document_type_service.d.ts +1 -1
  78. package/dist/services/master/vehicle/master_vehicle_fuel_removal_reason_service.d.ts +1 -1
  79. package/dist/services/master/vehicle/master_vehicle_fuel_type_service.d.ts +1 -1
  80. package/dist/services/master/vehicle/master_vehicle_fuel_unit_service.d.ts +1 -1
  81. package/dist/services/master/vehicle/master_vehicle_make_service.d.ts +1 -1
  82. package/dist/services/master/vehicle/master_vehicle_model_service.d.ts +1 -1
  83. package/dist/services/master/vehicle/master_vehicle_ownership_type_service.d.ts +1 -1
  84. package/dist/services/master/vehicle/master_vehicle_status_type_service.d.ts +1 -1
  85. package/dist/services/master/vehicle/master_vehicle_sub_model_service.d.ts +1 -1
  86. package/dist/services/master/vehicle/master_vehicle_type_service.d.ts +1 -1
  87. package/dist/services/website/contact_us_detail_service.d.ts +1 -1
  88. package/dist/services/website/faq_service.d.ts +1 -1
  89. package/dist/{user_organisation_service-CdoeXDR4.d.ts → user_organisation_service-DmtsKLFI.d.ts} +34 -1912
  90. package/package.json +1 -1
@@ -267,18 +267,21 @@ var ENDPOINTS = {
267
267
  };
268
268
  var UserOrganisationSchema = z3.object({
269
269
  organisation_name: stringMandatory("Organisation Name", 3, 100),
270
- organisation_email: stringMandatory("Organisation Email", 3, 100),
270
+ organisation_email: stringOptional("Organisation Email", 0, 100),
271
271
  organisation_mobile: stringOptional("Organisation Mobile", 0, 20),
272
+ organisation_code: stringOptional("Organisation Code", 0, 20),
273
+ organisation_utrack_id: stringOptional("Organisation UTrack ID", 0, 20),
272
274
  fleet_size: enumMandatory(
273
275
  "Fleet Size",
274
276
  FleetSize,
275
277
  "Fleet_1_to_50_Vehicles" /* Fleet_1_to_50_Vehicles */
276
278
  ),
277
- organisation_logo_url: stringOptional("Organisation Logo URL", 0, 300),
278
- organisation_logo_key: stringOptional("Organisation Logo Key", 0, 300),
279
- // Billing Address
279
+ logo_url: stringOptional("Logo URL", 0, 300),
280
+ logo_key: stringOptional("Logo Key", 0, 300),
281
+ logo_name: stringOptional("Logo Name", 0, 300),
280
282
  company_cin: stringOptional("Company CIN", 0, 50),
281
283
  company_tin_gstin: stringOptional("Company TIN/GSTIN", 0, 50),
284
+ // Billing Address
282
285
  billing_address_line1: stringOptional("Billing Address Line 1", 0, 150),
283
286
  billing_address_line2: stringOptional("Billing Address Line 2", 0, 150),
284
287
  billing_locality_landmark: stringOptional(
@@ -309,72 +312,64 @@ var UserOrganisationSchema = z3.object({
309
312
  country: stringOptional("Country", 0, 100),
310
313
  country_code: stringOptional("Country Code", 0, 5),
311
314
  status: enumMandatory("Status", Status, "Active" /* Active */),
312
- industry_id: single_select_mandatory("Industry ID"),
313
- // Single selection -> MasterMainIndustry
314
- country_id: single_select_mandatory("Country ID"),
315
- // Single selection -> MasterMainCountry
316
- state_id: single_select_optional("State ID"),
317
- // Single selection -> MasterMainState
318
- time_zone_id: single_select_optional("Time Zone ID"),
319
- // Single selection -> MasterMainTimeZone
320
- currency_id: single_select_optional("Currency ID"),
321
- // Single selection -> MasterMainCurrency
322
- date_format_id: single_select_optional("Date Format ID"),
323
- // Single selection -> MasterMainDateFormat
324
- language_id: single_select_optional("Language ID"),
325
- // Single selection -> MasterMainLanguage
326
- distance_unit_id: single_select_optional("Distance Unit ID"),
327
- // Single selection -> MasterMainUnitDistance
328
- mileage_unit_id: single_select_optional("Mileage Unit ID"),
329
- // Single selection -> MasterMainUnitMileage
330
- volume_unit_id: single_select_optional("Volume Unit ID")
331
- // Single selection -> MasterMainUnitVolume
315
+ industry_id: single_select_mandatory("MasterMainIndustry"),
316
+ // Single-Selection -> MasterMainIndustry
317
+ country_id: single_select_mandatory("MasterMainCountry"),
318
+ // Single-Selection -> MasterMainCountry
319
+ state_id: single_select_optional("MasterMainState"),
320
+ // Single-Selection -> MasterMainState
321
+ currency_id: single_select_optional("MasterMainCurrency"),
322
+ // Single-Selection -> MasterMainCurrency
323
+ language_id: single_select_optional("MasterMainLanguage"),
324
+ // Single-Selection -> MasterMainLanguage
325
+ time_zone_id: single_select_mandatory("MasterMainTimeZone"),
326
+ // Single-Selection -> MasterMainTimeZone
327
+ date_format_id: single_select_optional("MasterMainDateFormat"),
328
+ // Single-Selection -> MasterMainDateFormat
329
+ distance_unit_id: single_select_optional("MasterMainUnitDistance"),
330
+ // Single-Selection -> MasterMainUnitDistance
331
+ mileage_unit_id: single_select_optional("MasterMainUnitMileage"),
332
+ // Single-Selection -> MasterMainUnitMileage
333
+ volume_unit_id: single_select_optional("MasterMainUnitVolume")
334
+ // Single-Selection -> MasterMainUnitVolume
332
335
  });
333
336
  var UserOrganisationQuerySchema = BaseQuerySchema.extend({
334
- industry_ids: multi_select_optional("Industry IDs", 100, []),
335
- // Multi-selection -> MasterMainIndustry
336
- country_ids: multi_select_optional("Country IDs", 100, []),
337
- // Multi-selection -> MasterMainCountry
338
- state_ids: multi_select_optional("State IDs", 100, []),
339
- // Multi-selection -> MasterMainState
340
- time_zone_ids: multi_select_optional("Time Zone IDs", 100, []),
341
- // Multi-selection -> MasterMainTimeZone
342
- currency_ids: multi_select_optional("Currency IDs", 100, []),
343
- // Multi-selection -> MasterMainCurrency
344
- date_format_ids: multi_select_optional("Date Format IDs", 100, []),
345
- // Multi-selection -> MasterMainDateFormat
346
- language_ids: multi_select_optional("Language IDs", 100, []),
347
- // Multi-selection -> MasterMainDateFormat
348
- distance_unit_ids: multi_select_optional("Distance Unit IDs", 100, []),
349
- // Multi-selection -> MasterMainUnitDistance
350
- mileage_unit_ids: multi_select_optional("Mileage Unit IDs", 100, []),
351
- // Multi-selection -> MasterMainUnitMileage
352
- volume_unit_ids: multi_select_optional("Volume Unit IDs", 100, []),
353
- // Multi-selection -> MasterMainUnitVolume
354
- organisation_ids: multi_select_optional("Organisation IDs", 100, [])
355
- // Multi-selection -> UserOrganisation
337
+ industry_ids: multi_select_optional("MasterMainIndustry"),
338
+ // Multi-Selection -> MasterMainIndustry
339
+ country_ids: multi_select_optional("MasterMainCountry"),
340
+ // Multi-Selection -> MasterMainCountry
341
+ state_ids: multi_select_optional("MasterMainState"),
342
+ // Multi-Selection -> MasterMainState
343
+ currency_ids: multi_select_optional("MasterMainCurrency"),
344
+ // Multi-Selection -> MasterMainCurrency
345
+ language_ids: multi_select_optional("MasterMainLanguage"),
346
+ // Multi-Selection -> MasterMainLanguage
347
+ time_zone_ids: multi_select_optional("MasterMainTimeZone"),
348
+ // Multi-Selection -> MasterMainTimeZone
349
+ date_format_ids: multi_select_optional("MasterMainDateFormat"),
350
+ // Multi-Selection -> MasterMainDateFormat
351
+ fleet_size: enumArrayOptional(
352
+ "Fleet Size",
353
+ FleetSize,
354
+ getAllEnums(FleetSize)
355
+ ),
356
+ organisation_ids: multi_select_optional("UserOrganisation")
357
+ // Multi-Selection -> UserOrganisation
356
358
  });
357
359
  var toUserOrganisationPayload = (organisation) => ({
358
360
  organisation_name: organisation.organisation_name,
359
- organisation_email: organisation.organisation_email,
361
+ organisation_email: organisation.organisation_email ?? "",
360
362
  organisation_mobile: organisation.organisation_mobile ?? "",
363
+ organisation_code: organisation.organisation_code ?? "",
364
+ organisation_utrack_id: organisation.organisation_utrack_id ?? "",
361
365
  fleet_size: organisation.fleet_size,
362
- organisation_logo_url: organisation.organisation_logo_url ?? "",
363
- organisation_logo_key: organisation.organisation_logo_key ?? "",
366
+ logo_url: organisation.logo_url ?? "",
367
+ logo_key: organisation.logo_key ?? "",
368
+ logo_name: organisation.logo_name ?? "",
364
369
  status: organisation.status,
365
- industry_id: organisation.industry_id,
366
- country_id: organisation.country_id,
367
- state_id: organisation.state_id ?? "",
368
- time_zone_id: organisation.time_zone_id ?? "",
369
- currency_id: organisation.currency_id ?? "",
370
- date_format_id: organisation.date_format_id ?? "",
371
- language_id: organisation.language_id ?? "",
372
- distance_unit_id: organisation.distance_unit_id ?? "",
373
- mileage_unit_id: organisation.mileage_unit_id ?? "",
374
- volume_unit_id: organisation.volume_unit_id ?? "",
375
- // Billing Information
376
370
  company_cin: organisation.company_cin ?? "",
377
371
  company_tin_gstin: organisation.company_tin_gstin ?? "",
372
+ // Billing Address
378
373
  billing_address_line1: organisation.billing_address_line1 ?? "",
379
374
  billing_address_line2: organisation.billing_address_line2 ?? "",
380
375
  billing_locality_landmark: organisation.billing_locality_landmark ?? "",
@@ -395,29 +390,32 @@ var toUserOrganisationPayload = (organisation) => ({
395
390
  state_province_region: organisation.state_province_region ?? "",
396
391
  postal_code: organisation.postal_code ?? "",
397
392
  country: organisation.country ?? "",
398
- country_code: organisation.country_code ?? ""
393
+ country_code: organisation.country_code ?? "",
394
+ industry_id: organisation.industry_id,
395
+ country_id: organisation.country_id,
396
+ state_id: organisation.state_id ?? "",
397
+ currency_id: organisation.currency_id ?? "",
398
+ language_id: organisation.language_id ?? "",
399
+ time_zone_id: organisation.time_zone_id ?? "",
400
+ date_format_id: organisation.date_format_id ?? "",
401
+ distance_unit_id: organisation.distance_unit_id ?? "",
402
+ mileage_unit_id: organisation.mileage_unit_id ?? "",
403
+ volume_unit_id: organisation.volume_unit_id ?? ""
399
404
  });
400
405
  var newUserOrganisationPayload = () => ({
401
406
  organisation_name: "",
402
407
  organisation_email: "",
403
408
  organisation_mobile: "",
409
+ organisation_code: "",
410
+ organisation_utrack_id: "",
404
411
  fleet_size: "Fleet_1_to_50_Vehicles" /* Fleet_1_to_50_Vehicles */,
405
- organisation_logo_url: "",
406
- organisation_logo_key: "",
412
+ logo_url: "",
413
+ logo_key: "",
414
+ logo_name: "",
407
415
  status: "Active" /* Active */,
408
- industry_id: "",
409
- country_id: "",
410
- state_id: "",
411
- time_zone_id: "",
412
- currency_id: "",
413
- date_format_id: "",
414
- language_id: "",
415
- distance_unit_id: "",
416
- mileage_unit_id: "",
417
- volume_unit_id: "",
418
- // Billing Information
419
416
  company_cin: "",
420
417
  company_tin_gstin: "",
418
+ // Billing Address
421
419
  billing_address_line1: "",
422
420
  billing_address_line2: "",
423
421
  billing_locality_landmark: "",
@@ -438,7 +436,17 @@ var newUserOrganisationPayload = () => ({
438
436
  state_province_region: "",
439
437
  postal_code: "",
440
438
  country: "",
441
- country_code: ""
439
+ country_code: "",
440
+ industry_id: "",
441
+ country_id: "",
442
+ state_id: "",
443
+ currency_id: "",
444
+ language_id: "",
445
+ time_zone_id: "",
446
+ date_format_id: "",
447
+ distance_unit_id: "",
448
+ mileage_unit_id: "",
449
+ volume_unit_id: ""
442
450
  });
443
451
  var findUserOrganisations = async (data) => {
444
452
  return apiPost(
@@ -1,6 +1,6 @@
1
1
  import '../../../core/Enums.js';
2
2
  import '../../../core/BaseResponse.js';
3
3
  import 'zod';
4
- export { h1 as CreateUserDTO, h0 as CreateUserSchema, a as User, h9 as UserDefaultDateFormatDTO, h8 as UserDefaultDateFormatSchema, h5 as UserDefaultLanguageDTO, h4 as UserDefaultLanguageSchema, h7 as UserDefaultTimeZoneDTO, h6 as UserDefaultTimeZoneSchema, h3 as UserQueryDTO, h2 as UserQuerySchema, g$ as UserVehicleLink, hd as createUser, hf as deleteUser, hc as findUsers, hg as getUserCache, hh as getUserCacheSimple, hi as getUserPresignedUrl, ha as newUserPayload, hb as toUserPayload, he as updateUser, hl as updateUserDefaultDateformat, hj as updateUserDefaultLanguage, hk as updateUserDefaultTimezone } from '../../../user_organisation_service-CdoeXDR4.js';
4
+ export { h1 as CreateUserDTO, h0 as CreateUserSchema, a as User, h9 as UserDefaultDateFormatDTO, h8 as UserDefaultDateFormatSchema, h5 as UserDefaultLanguageDTO, h4 as UserDefaultLanguageSchema, h7 as UserDefaultTimeZoneDTO, h6 as UserDefaultTimeZoneSchema, h3 as UserQueryDTO, h2 as UserQuerySchema, g$ as UserVehicleLink, hd as createUser, hf as deleteUser, hc as findUsers, hg as getUserCache, hh as getUserCacheSimple, hi as getUserPresignedUrl, ha as newUserPayload, hb as toUserPayload, he as updateUser, hl as updateUserDefaultDateformat, hj as updateUserDefaultLanguage, hk as updateUserDefaultTimezone } from '../../../user_organisation_service-DmtsKLFI.js';
5
5
  import '../../../zod_utils/zod_base_schema.js';
6
6
  import '../../master/main/master_main_sim_provider_service.js';
@@ -1,7 +1,7 @@
1
1
  import { OdometerSource, Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../../../core/Enums.js';
2
2
  import { FBR, SBR } from '../../../../core/BaseResponse.js';
3
3
  import { z } from 'zod';
4
- import { U as UserOrganisation, M as MasterVehicle } from '../../../../user_organisation_service-CdoeXDR4.js';
4
+ import { U as UserOrganisation, M as MasterVehicle } from '../../../../user_organisation_service-DmtsKLFI.js';
5
5
  import '../../../../zod_utils/zod_base_schema.js';
6
6
  import '../../../master/main/master_main_sim_provider_service.js';
7
7
 
@@ -2,5 +2,5 @@ import '../../../core/Enums.js';
2
2
  import '../../../core/BaseResponse.js';
3
3
  import 'zod';
4
4
  import '../../../zod_utils/zod_base_schema.js';
5
- export { M as MasterVehicle, fn as MasterVehicleDropdown, fC as SimpleFindQueryDTO, fB as SimpleFindQuerySchema, fu as VehicleDTO, fo as VehicleDetailBody, fE as VehicleDetailBodyDTO, fD as VehicleDetailBodySchema, fr as VehicleDetailGPS, fK as VehicleDetailGPSAnalyticsDTO, fJ as VehicleDetailGPSAnalyticsSchema, fI as VehicleDetailGPSDataDTO, fH as VehicleDetailGPSDataSchema, fG as VehicleDetailGPSMainDTO, fF as VehicleDetailGPSMainSchema, fp as VehicleDetailLifeCycle, fM as VehicleDetailLifeCycleDto, fL as VehicleDetailLifeCycleSchema, fq as VehicleDetailPurchase, fO as VehicleDetailPurchaseDTO, fN as VehicleDetailPurchaseSchema, fs as VehicleDetailTrip, fQ as VehicleDetailTripDTO, fP as VehicleDetailTripSchema, fw as VehicleDeviceLinkDTO, fv as VehicleDeviceLinkSchema, fy as VehicleDeviceUnlinkDTO, fx as VehicleDeviceUnlinkSchema, fA as VehicleDriverLinkDTO, fz as VehicleDriverLinkSchema, fU as VehicleGPSQueryDTO, fT as VehicleGPSQuerySchema, fS as VehicleQueryDTO, fR as VehicleQuerySchema, ft as VehicleSchema, g2 as createVehicle, g4 as deleteVehicle, g1 as findVehicleGPSDetails, f$ as findVehicles, g0 as findVehiclesLiveDashboard, gj as getDeviceLinkHistoryByDevice, gi as getDeviceLinkHistoryByVehicle, gf as getDriverLinkHistoryByDriver, ge as getDriverLinkHistoryByVehicle, gk as getVehicleCache, go as getVehicleParentCache, gl as getVehicleSimpleCache, gn as getVehicleSimpleDropdownCacheLiveData, gm as getVehicleSimpleDropdownCustom, gg as linkDeviceToVehicle, gc as linkDriverToVehicle, fW as newVehiclePayload, f_ as toVehicleDetailLifeCyclePayload, fZ as toVehicleDetailPurchasePayload, fY as toVehicleDetailsBodyPayload, fX as toVehicleDetailsGPSPayload, fV as toVehiclePayload, gh as unlinkDeviceFromVehicle, gd as unlinkDriverFromVehicle, g3 as updateVehicle, g5 as updateVehicleBodyDetails, ga as updateVehicleGPSDetailsAnalytics, g9 as updateVehicleGPSDetailsData, g8 as updateVehicleGPSDetailsMain, g6 as updateVehicleLifeCycleDetails, g7 as updateVehiclePurchaseDetails, gb as updateVehicleTripDetails } from '../../../user_organisation_service-CdoeXDR4.js';
5
+ export { M as MasterVehicle, fn as MasterVehicleDropdown, fC as SimpleFindQueryDTO, fB as SimpleFindQuerySchema, fu as VehicleDTO, fo as VehicleDetailBody, fE as VehicleDetailBodyDTO, fD as VehicleDetailBodySchema, fr as VehicleDetailGPS, fK as VehicleDetailGPSAnalyticsDTO, fJ as VehicleDetailGPSAnalyticsSchema, fI as VehicleDetailGPSDataDTO, fH as VehicleDetailGPSDataSchema, fG as VehicleDetailGPSMainDTO, fF as VehicleDetailGPSMainSchema, fp as VehicleDetailLifeCycle, fM as VehicleDetailLifeCycleDto, fL as VehicleDetailLifeCycleSchema, fq as VehicleDetailPurchase, fO as VehicleDetailPurchaseDTO, fN as VehicleDetailPurchaseSchema, fs as VehicleDetailTrip, fQ as VehicleDetailTripDTO, fP as VehicleDetailTripSchema, fw as VehicleDeviceLinkDTO, fv as VehicleDeviceLinkSchema, fy as VehicleDeviceUnlinkDTO, fx as VehicleDeviceUnlinkSchema, fA as VehicleDriverLinkDTO, fz as VehicleDriverLinkSchema, fU as VehicleGPSQueryDTO, fT as VehicleGPSQuerySchema, fS as VehicleQueryDTO, fR as VehicleQuerySchema, ft as VehicleSchema, g2 as createVehicle, g4 as deleteVehicle, g1 as findVehicleGPSDetails, f$ as findVehicles, g0 as findVehiclesLiveDashboard, gj as getDeviceLinkHistoryByDevice, gi as getDeviceLinkHistoryByVehicle, gf as getDriverLinkHistoryByDriver, ge as getDriverLinkHistoryByVehicle, gk as getVehicleCache, go as getVehicleParentCache, gl as getVehicleSimpleCache, gn as getVehicleSimpleDropdownCacheLiveData, gm as getVehicleSimpleDropdownCustom, gg as linkDeviceToVehicle, gc as linkDriverToVehicle, fW as newVehiclePayload, f_ as toVehicleDetailLifeCyclePayload, fZ as toVehicleDetailPurchasePayload, fY as toVehicleDetailsBodyPayload, fX as toVehicleDetailsGPSPayload, fV as toVehiclePayload, gh as unlinkDeviceFromVehicle, gd as unlinkDriverFromVehicle, g3 as updateVehicle, g5 as updateVehicleBodyDetails, ga as updateVehicleGPSDetailsAnalytics, g9 as updateVehicleGPSDetailsData, g8 as updateVehicleGPSDetailsMain, g6 as updateVehicleLifeCycleDetails, g7 as updateVehiclePurchaseDetails, gb as updateVehicleTripDetails } from '../../../user_organisation_service-DmtsKLFI.js';
6
6
  import '../../master/main/master_main_sim_provider_service.js';
@@ -1,7 +1,7 @@
1
1
  import { Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../../core/Enums.js';
2
2
  import { FBR, SBR } from '../../../core/BaseResponse.js';
3
3
  import { z } from 'zod';
4
- import { U as UserOrganisation, a as User } from '../../../user_organisation_service-CdoeXDR4.js';
4
+ import { U as UserOrganisation, a as User } from '../../../user_organisation_service-DmtsKLFI.js';
5
5
  import '../../../zod_utils/zod_base_schema.js';
6
6
  import '../main/master_main_sim_provider_service.js';
7
7
 
@@ -1,7 +1,7 @@
1
1
  import { Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../../core/Enums.js';
2
2
  import { FBR, SBR } from '../../../core/BaseResponse.js';
3
3
  import { z } from 'zod';
4
- import { U as UserOrganisation, a as User } from '../../../user_organisation_service-CdoeXDR4.js';
4
+ import { U as UserOrganisation, a as User } from '../../../user_organisation_service-DmtsKLFI.js';
5
5
  import '../../../zod_utils/zod_base_schema.js';
6
6
  import '../main/master_main_sim_provider_service.js';
7
7
 
@@ -1,7 +1,7 @@
1
1
  import { Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../../core/Enums.js';
2
2
  import { FBR, SBR } from '../../../core/BaseResponse.js';
3
3
  import { z } from 'zod';
4
- import { U as UserOrganisation, a as User } from '../../../user_organisation_service-CdoeXDR4.js';
4
+ import { U as UserOrganisation, a as User } from '../../../user_organisation_service-DmtsKLFI.js';
5
5
  import '../../../zod_utils/zod_base_schema.js';
6
6
  import '../main/master_main_sim_provider_service.js';
7
7
 
@@ -1,7 +1,7 @@
1
1
  import { Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../../core/Enums.js';
2
2
  import { FBR, SBR } from '../../../core/BaseResponse.js';
3
3
  import { z } from 'zod';
4
- import { U as UserOrganisation, a as User } from '../../../user_organisation_service-CdoeXDR4.js';
4
+ import { U as UserOrganisation, a as User } from '../../../user_organisation_service-DmtsKLFI.js';
5
5
  import '../../../zod_utils/zod_base_schema.js';
6
6
  import '../main/master_main_sim_provider_service.js';
7
7
 
@@ -1,7 +1,7 @@
1
1
  import { Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../../core/Enums.js';
2
2
  import { FBR, SBR } from '../../../core/BaseResponse.js';
3
3
  import { z } from 'zod';
4
- import { U as UserOrganisation, a as User } from '../../../user_organisation_service-CdoeXDR4.js';
4
+ import { U as UserOrganisation, a as User } from '../../../user_organisation_service-DmtsKLFI.js';
5
5
  import '../../../zod_utils/zod_base_schema.js';
6
6
  import '../main/master_main_sim_provider_service.js';
7
7
 
@@ -1,7 +1,7 @@
1
1
  import { Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../../core/Enums.js';
2
2
  import { FBR, SBR } from '../../../core/BaseResponse.js';
3
3
  import { z } from 'zod';
4
- import { U as UserOrganisation, a as User } from '../../../user_organisation_service-CdoeXDR4.js';
4
+ import { U as UserOrganisation, a as User } from '../../../user_organisation_service-DmtsKLFI.js';
5
5
  import '../../../zod_utils/zod_base_schema.js';
6
6
  import '../main/master_main_sim_provider_service.js';
7
7
 
@@ -1,7 +1,7 @@
1
1
  import { Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../../core/Enums.js';
2
2
  import { FBR, SBR } from '../../../core/BaseResponse.js';
3
3
  import { z } from 'zod';
4
- import { U as UserOrganisation, a as User } from '../../../user_organisation_service-CdoeXDR4.js';
4
+ import { U as UserOrganisation, a as User } from '../../../user_organisation_service-DmtsKLFI.js';
5
5
  import '../../../zod_utils/zod_base_schema.js';
6
6
  import '../main/master_main_sim_provider_service.js';
7
7
 
@@ -1,6 +1,6 @@
1
1
  import '../../../core/Enums.js';
2
2
  import '../../../core/BaseResponse.js';
3
3
  import 'zod';
4
- export { bF as MasterDeviceManufacturer, bH as MasterDeviceManufacturerDTO, bJ as MasterDeviceManufacturerQueryDTO, bI as MasterDeviceManufacturerQuerySchema, bG as MasterDeviceManufacturerSchema, bN as createMasterDeviceManufacturer, bP as deleteMasterDeviceManufacturer, bM as findMasterDeviceManufacturers, bQ as getMasterDeviceManufacturerCache, bS as getMasterDeviceManufacturerCacheChild, bR as getMasterDeviceManufacturerCacheCount, bL as newMasterDeviceManufacturerPayload, bK as toMasterDeviceManufacturerPayload, bO as updateMasterDeviceManufacturer } from '../../../user_organisation_service-CdoeXDR4.js';
4
+ export { bF as MasterDeviceManufacturer, bH as MasterDeviceManufacturerDTO, bJ as MasterDeviceManufacturerQueryDTO, bI as MasterDeviceManufacturerQuerySchema, bG as MasterDeviceManufacturerSchema, bN as createMasterDeviceManufacturer, bP as deleteMasterDeviceManufacturer, bM as findMasterDeviceManufacturers, bQ as getMasterDeviceManufacturerCache, bS as getMasterDeviceManufacturerCacheChild, bR as getMasterDeviceManufacturerCacheCount, bL as newMasterDeviceManufacturerPayload, bK as toMasterDeviceManufacturerPayload, bO as updateMasterDeviceManufacturer } from '../../../user_organisation_service-DmtsKLFI.js';
5
5
  import '../../../zod_utils/zod_base_schema.js';
6
6
  import '../main/master_main_sim_provider_service.js';
@@ -1,6 +1,6 @@
1
1
  import '../../../core/Enums.js';
2
2
  import '../../../core/BaseResponse.js';
3
3
  import 'zod';
4
- export { br as MasterDeviceModel, bt as MasterDeviceModelDTO, bv as MasterDeviceModelQueryDTO, bu as MasterDeviceModelQuerySchema, bs as MasterDeviceModelSchema, bz as createMasterDeviceModel, bB as deleteMasterDeviceModel, by as findMasterDeviceModels, bC as getMasterDeviceModelCache, bE as getMasterDeviceModelCacheChild, bD as getMasterDeviceModelCacheCount, bx as newMasterDeviceModelPayload, bw as toMasterDeviceModelPayload, bA as updateMasterDeviceModel } from '../../../user_organisation_service-CdoeXDR4.js';
4
+ export { br as MasterDeviceModel, bt as MasterDeviceModelDTO, bv as MasterDeviceModelQueryDTO, bu as MasterDeviceModelQuerySchema, bs as MasterDeviceModelSchema, bz as createMasterDeviceModel, bB as deleteMasterDeviceModel, by as findMasterDeviceModels, bC as getMasterDeviceModelCache, bE as getMasterDeviceModelCacheChild, bD as getMasterDeviceModelCacheCount, bx as newMasterDeviceModelPayload, bw as toMasterDeviceModelPayload, bA as updateMasterDeviceModel } from '../../../user_organisation_service-DmtsKLFI.js';
5
5
  import '../../../zod_utils/zod_base_schema.js';
6
6
  import '../main/master_main_sim_provider_service.js';
@@ -1,6 +1,6 @@
1
1
  import '../../../core/Enums.js';
2
2
  import '../../../core/BaseResponse.js';
3
3
  import 'zod';
4
- export { bd as MasterDeviceType, bf as MasterDeviceTypeDTO, bh as MasterDeviceTypeQueryDTO, bg as MasterDeviceTypeQuerySchema, be as MasterDeviceTypeSchema, bl as createMasterDeviceType, bn as deleteMasterDeviceType, bk as findMasterDeviceTypes, bo as getMasterDeviceTypeCache, bq as getMasterDeviceTypeCacheChild, bp as getMasterDeviceTypeCacheCount, bj as newMasterDeviceTypePayload, bi as toMasterDeviceTypePayload, bm as updateMasterDeviceType } from '../../../user_organisation_service-CdoeXDR4.js';
4
+ export { bd as MasterDeviceType, bf as MasterDeviceTypeDTO, bh as MasterDeviceTypeQueryDTO, bg as MasterDeviceTypeQuerySchema, be as MasterDeviceTypeSchema, bl as createMasterDeviceType, bn as deleteMasterDeviceType, bk as findMasterDeviceTypes, bo as getMasterDeviceTypeCache, bq as getMasterDeviceTypeCacheChild, bp as getMasterDeviceTypeCacheCount, bj as newMasterDeviceTypePayload, bi as toMasterDeviceTypePayload, bm as updateMasterDeviceType } from '../../../user_organisation_service-DmtsKLFI.js';
5
5
  import '../../../zod_utils/zod_base_schema.js';
6
6
  import '../main/master_main_sim_provider_service.js';
@@ -1,6 +1,137 @@
1
- import '../../../core/Enums.js';
2
- import '../../../core/BaseResponse.js';
3
- import 'zod';
4
- export { hm as MasterExpenseName, ho as MasterExpenseNameDTO, hq as MasterExpenseNameQueryDTO, hp as MasterExpenseNameQuerySchema, hn as MasterExpenseNameSchema, hu as createMasterExpenseName, hw as deleteMasterExpenseName, ht as findMasterExpenseNames, hx as getMasterExpenseNameCache, hs as newMasterExpenseNamePayload, hr as toMasterExpenseNamePayload, hv as updateMasterExpenseName } from '../../../user_organisation_service-CdoeXDR4.js';
1
+ import { ExpenseCategory, Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../../core/Enums.js';
2
+ import { FBR, SBR } from '../../../core/BaseResponse.js';
3
+ import { z } from 'zod';
4
+ import { U as UserOrganisation } from '../../../user_organisation_service-DmtsKLFI.js';
5
5
  import '../../../zod_utils/zod_base_schema.js';
6
6
  import '../main/master_main_sim_provider_service.js';
7
+
8
+ interface MasterExpenseName extends Record<string, unknown> {
9
+ expense_name_id: string;
10
+ expense_name: string;
11
+ expense_category: ExpenseCategory;
12
+ description?: string;
13
+ status: Status;
14
+ added_date_time: string;
15
+ modified_date_time: string;
16
+ organisation_id?: string;
17
+ UserOrganisation?: UserOrganisation;
18
+ _count?: {
19
+ VehicleDocument: number;
20
+ FleetIncidentManagementCost: number;
21
+ };
22
+ }
23
+ declare const MasterExpenseNameSchema: z.ZodObject<{
24
+ organisation_id: z.ZodEffects<z.ZodString, string, string>;
25
+ expense_name: z.ZodEffects<z.ZodString, string, string>;
26
+ expense_category: z.ZodType<ExpenseCategory, z.ZodTypeDef, ExpenseCategory>;
27
+ description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
28
+ status: z.ZodType<Status, z.ZodTypeDef, Status>;
29
+ }, "strip", z.ZodTypeAny, {
30
+ status: Status;
31
+ organisation_id: string;
32
+ description: string;
33
+ expense_name: string;
34
+ expense_category: ExpenseCategory;
35
+ }, {
36
+ status: Status;
37
+ organisation_id: string;
38
+ expense_name: string;
39
+ expense_category: ExpenseCategory;
40
+ description?: string | undefined;
41
+ }>;
42
+ type MasterExpenseNameDTO = z.infer<typeof MasterExpenseNameSchema>;
43
+ declare const MasterExpenseNameQuerySchema: z.ZodObject<{
44
+ search: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
45
+ status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Status>, "many">>>;
46
+ paging: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof PAGING>>>;
47
+ page_count: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
48
+ page_index: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
49
+ load_parents: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadParents>>>;
50
+ load_parents_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
51
+ load_child: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChild>>>;
52
+ load_child_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
53
+ load_child_count: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChildCount>>>;
54
+ load_child_count_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
55
+ include_details: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
56
+ where_relations: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
57
+ order_by: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
58
+ name: z.ZodEffects<z.ZodString, string, string>;
59
+ field: z.ZodEffects<z.ZodString, string, string>;
60
+ direction: z.ZodType<OrderBy, z.ZodTypeDef, OrderBy>;
61
+ }, "strip", z.ZodTypeAny, {
62
+ name: string;
63
+ field: string;
64
+ direction: OrderBy;
65
+ }, {
66
+ name: string;
67
+ field: string;
68
+ direction: OrderBy;
69
+ }>, "many">>>;
70
+ include_master_data: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
71
+ date_format_id: z.ZodEffects<z.ZodString, string, string>;
72
+ time_zone_id: z.ZodEffects<z.ZodString, string, string>;
73
+ } & {
74
+ organisation_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
75
+ expense_name_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
76
+ expense_category: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof ExpenseCategory>, "many">>>;
77
+ }, "strip", z.ZodTypeAny, {
78
+ status: Status[];
79
+ search: string;
80
+ paging: PAGING;
81
+ page_count: number;
82
+ page_index: number;
83
+ load_parents: LoadParents;
84
+ load_parents_list: string[];
85
+ load_child: LoadChild;
86
+ load_child_list: string[];
87
+ load_child_count: LoadChildCount;
88
+ load_child_count_list: string[];
89
+ include_details: Record<string, any>;
90
+ where_relations: Record<string, any>;
91
+ order_by: {
92
+ name: string;
93
+ field: string;
94
+ direction: OrderBy;
95
+ }[];
96
+ include_master_data: YesNo;
97
+ date_format_id: string;
98
+ time_zone_id: string;
99
+ organisation_ids: string[];
100
+ expense_category: ExpenseCategory[];
101
+ expense_name_ids: string[];
102
+ }, {
103
+ date_format_id: string;
104
+ time_zone_id: string;
105
+ status?: Status[] | undefined;
106
+ search?: string | undefined;
107
+ paging?: PAGING | undefined;
108
+ page_count?: unknown;
109
+ page_index?: unknown;
110
+ load_parents?: LoadParents | undefined;
111
+ load_parents_list?: string[] | undefined;
112
+ load_child?: LoadChild | undefined;
113
+ load_child_list?: string[] | undefined;
114
+ load_child_count?: LoadChildCount | undefined;
115
+ load_child_count_list?: string[] | undefined;
116
+ include_details?: Record<string, any> | undefined;
117
+ where_relations?: Record<string, any> | undefined;
118
+ order_by?: {
119
+ name: string;
120
+ field: string;
121
+ direction: OrderBy;
122
+ }[] | undefined;
123
+ include_master_data?: YesNo | undefined;
124
+ organisation_ids?: string[] | undefined;
125
+ expense_category?: ExpenseCategory[] | undefined;
126
+ expense_name_ids?: string[] | undefined;
127
+ }>;
128
+ type MasterExpenseNameQueryDTO = z.infer<typeof MasterExpenseNameQuerySchema>;
129
+ declare const toMasterExpenseNamePayload: (row: MasterExpenseName) => MasterExpenseNameDTO;
130
+ declare const newMasterExpenseNamePayload: () => MasterExpenseNameDTO;
131
+ declare const findMasterExpenseNames: (data: MasterExpenseNameQueryDTO) => Promise<FBR<MasterExpenseName[]>>;
132
+ declare const createMasterExpenseName: (data: MasterExpenseNameDTO) => Promise<SBR>;
133
+ declare const updateMasterExpenseName: (id: string, data: MasterExpenseNameDTO) => Promise<SBR>;
134
+ declare const deleteMasterExpenseName: (id: string) => Promise<SBR>;
135
+ declare const getMasterExpenseNameCache: (organisation_id: string) => Promise<FBR<MasterExpenseName[]>>;
136
+
137
+ export { type MasterExpenseName, type MasterExpenseNameDTO, type MasterExpenseNameQueryDTO, MasterExpenseNameQuerySchema, MasterExpenseNameSchema, createMasterExpenseName, deleteMasterExpenseName, findMasterExpenseNames, getMasterExpenseNameCache, newMasterExpenseNamePayload, toMasterExpenseNamePayload, updateMasterExpenseName };
@@ -1,6 +1,127 @@
1
- import '../../../core/Enums.js';
2
- import '../../../core/BaseResponse.js';
3
- import 'zod';
4
- export { hy as MasterExpenseType, hA as MasterExpenseTypeDTO, hC as MasterExpenseTypeQueryDTO, hB as MasterExpenseTypeQuerySchema, hz as MasterExpenseTypeSchema, hG as createMasterExpenseType, hI as deleteMasterExpenseType, hF as findMasterExpenseTypes, hJ as getMasterExpenseTypeCache, hE as newMasterExpenseTypePayload, hD as toMasterExpenseTypePayload, hH as updateMasterExpenseType } from '../../../user_organisation_service-CdoeXDR4.js';
1
+ import { Status, PAGING, LoadParents, LoadChild, LoadChildCount, OrderBy, YesNo } from '../../../core/Enums.js';
2
+ import { FBR, SBR } from '../../../core/BaseResponse.js';
3
+ import { z } from 'zod';
4
+ import { U as UserOrganisation } from '../../../user_organisation_service-DmtsKLFI.js';
5
5
  import '../../../zod_utils/zod_base_schema.js';
6
6
  import '../main/master_main_sim_provider_service.js';
7
+
8
+ interface MasterExpenseType extends Record<string, unknown> {
9
+ expense_type_id: string;
10
+ expense_type_name: string;
11
+ description?: string;
12
+ status: Status;
13
+ added_date_time: string;
14
+ modified_date_time: string;
15
+ organisation_id?: string;
16
+ UserOrganisation?: UserOrganisation;
17
+ _count?: object;
18
+ }
19
+ declare const MasterExpenseTypeSchema: z.ZodObject<{
20
+ organisation_id: z.ZodEffects<z.ZodString, string, string>;
21
+ expense_type_name: z.ZodEffects<z.ZodString, string, string>;
22
+ description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
23
+ status: z.ZodType<Status, z.ZodTypeDef, Status>;
24
+ }, "strip", z.ZodTypeAny, {
25
+ status: Status;
26
+ organisation_id: string;
27
+ description: string;
28
+ expense_type_name: string;
29
+ }, {
30
+ status: Status;
31
+ organisation_id: string;
32
+ expense_type_name: string;
33
+ description?: string | undefined;
34
+ }>;
35
+ type MasterExpenseTypeDTO = z.infer<typeof MasterExpenseTypeSchema>;
36
+ declare const MasterExpenseTypeQuerySchema: z.ZodObject<{
37
+ search: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
38
+ status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Status>, "many">>>;
39
+ paging: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof PAGING>>>;
40
+ page_count: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
41
+ page_index: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
42
+ load_parents: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadParents>>>;
43
+ load_parents_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
44
+ load_child: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChild>>>;
45
+ load_child_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
46
+ load_child_count: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChildCount>>>;
47
+ load_child_count_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
48
+ include_details: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
49
+ where_relations: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
50
+ order_by: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
51
+ name: z.ZodEffects<z.ZodString, string, string>;
52
+ field: z.ZodEffects<z.ZodString, string, string>;
53
+ direction: z.ZodType<OrderBy, z.ZodTypeDef, OrderBy>;
54
+ }, "strip", z.ZodTypeAny, {
55
+ name: string;
56
+ field: string;
57
+ direction: OrderBy;
58
+ }, {
59
+ name: string;
60
+ field: string;
61
+ direction: OrderBy;
62
+ }>, "many">>>;
63
+ include_master_data: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
64
+ date_format_id: z.ZodEffects<z.ZodString, string, string>;
65
+ time_zone_id: z.ZodEffects<z.ZodString, string, string>;
66
+ } & {
67
+ organisation_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
68
+ expense_type_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
69
+ }, "strip", z.ZodTypeAny, {
70
+ status: Status[];
71
+ search: string;
72
+ paging: PAGING;
73
+ page_count: number;
74
+ page_index: number;
75
+ load_parents: LoadParents;
76
+ load_parents_list: string[];
77
+ load_child: LoadChild;
78
+ load_child_list: string[];
79
+ load_child_count: LoadChildCount;
80
+ load_child_count_list: string[];
81
+ include_details: Record<string, any>;
82
+ where_relations: Record<string, any>;
83
+ order_by: {
84
+ name: string;
85
+ field: string;
86
+ direction: OrderBy;
87
+ }[];
88
+ include_master_data: YesNo;
89
+ date_format_id: string;
90
+ time_zone_id: string;
91
+ organisation_ids: string[];
92
+ expense_type_ids: string[];
93
+ }, {
94
+ date_format_id: string;
95
+ time_zone_id: string;
96
+ status?: Status[] | undefined;
97
+ search?: string | undefined;
98
+ paging?: PAGING | undefined;
99
+ page_count?: unknown;
100
+ page_index?: unknown;
101
+ load_parents?: LoadParents | undefined;
102
+ load_parents_list?: string[] | undefined;
103
+ load_child?: LoadChild | undefined;
104
+ load_child_list?: string[] | undefined;
105
+ load_child_count?: LoadChildCount | undefined;
106
+ load_child_count_list?: string[] | undefined;
107
+ include_details?: Record<string, any> | undefined;
108
+ where_relations?: Record<string, any> | undefined;
109
+ order_by?: {
110
+ name: string;
111
+ field: string;
112
+ direction: OrderBy;
113
+ }[] | undefined;
114
+ include_master_data?: YesNo | undefined;
115
+ organisation_ids?: string[] | undefined;
116
+ expense_type_ids?: string[] | undefined;
117
+ }>;
118
+ type MasterExpenseTypeQueryDTO = z.infer<typeof MasterExpenseTypeQuerySchema>;
119
+ declare const toMasterExpenseTypePayload: (row: MasterExpenseType) => MasterExpenseTypeDTO;
120
+ declare const newMasterExpenseTypePayload: () => MasterExpenseTypeDTO;
121
+ declare const findMasterExpenseTypes: (data: MasterExpenseTypeQueryDTO) => Promise<FBR<MasterExpenseType[]>>;
122
+ declare const createMasterExpenseType: (data: MasterExpenseTypeDTO) => Promise<SBR>;
123
+ declare const updateMasterExpenseType: (id: string, data: MasterExpenseTypeDTO) => Promise<SBR>;
124
+ declare const deleteMasterExpenseType: (id: string) => Promise<SBR>;
125
+ declare const getMasterExpenseTypeCache: (organisation_id: string) => Promise<FBR<MasterExpenseType[]>>;
126
+
127
+ export { type MasterExpenseType, type MasterExpenseTypeDTO, type MasterExpenseTypeQueryDTO, MasterExpenseTypeQuerySchema, MasterExpenseTypeSchema, createMasterExpenseType, deleteMasterExpenseType, findMasterExpenseTypes, getMasterExpenseTypeCache, newMasterExpenseTypePayload, toMasterExpenseTypePayload, updateMasterExpenseType };