vms-nest-prisma-api-document 14.0.0 → 16.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/core/BaseResponse.d.ts +16 -1
- package/dist/services/account/analytics/user_login_analytics_service.d.ts +3 -3
- package/dist/services/account/analytics/user_login_analytics_service.js +11 -0
- package/dist/services/account/analytics/user_page_analytics_service.d.ts +1 -1
- package/dist/services/account/analytics/user_page_analytics_service.js +11 -0
- package/dist/services/account/bookmark_service.js +11 -0
- package/dist/services/account/ticket_service.js +11 -0
- package/dist/services/fleet/fuel_management/fleet_fuel_daily_summary_service.d.ts +16 -16
- package/dist/services/fleet/fuel_management/fleet_fuel_daily_summary_service.js +11 -0
- package/dist/services/fleet/fuel_management/fleet_fuel_refill_service.d.ts +64 -66
- package/dist/services/fleet/fuel_management/fleet_fuel_refill_service.js +19 -14
- package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.d.ts +29 -29
- package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.js +11 -0
- package/dist/services/gps/features/geofence/gps_geofence_service.d.ts +16 -16
- package/dist/services/gps/features/geofence/gps_geofence_service.js +11 -0
- package/dist/services/gps/features/geofence/gps_geofence_transaction_service.d.ts +15 -15
- package/dist/services/gps/features/geofence/gps_geofence_transaction_service.js +11 -0
- package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.d.ts +10 -10
- package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.js +11 -0
- package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.d.ts +6 -6
- package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.js +11 -0
- package/dist/services/gps/features/gps_live_track_share_link_service.d.ts +22 -22
- package/dist/services/gps/features/gps_live_track_share_link_service.js +11 -0
- package/dist/services/gps/features/gps_track_history_share_link_service.d.ts +15 -15
- package/dist/services/gps/features/gps_track_history_share_link_service.js +11 -0
- package/dist/services/gps/features/user_notification_preferences.service.d.ts +11 -11
- package/dist/services/gps/features/user_notification_preferences.service.js +11 -0
- package/dist/services/gps/features/user_report_preferences.service.d.ts +8 -8
- package/dist/services/gps/features/user_report_preferences.service.js +13 -2
- package/dist/services/gps/reports/gps_reports_mongo_service.d.ts +46 -46
- package/dist/services/gps/reports/gps_reports_mongo_service.js +11 -0
- package/dist/services/main/devices/master_device_service.js +11 -0
- package/dist/services/main/drivers/master_driver_service.js +11 -0
- package/dist/services/main/sims/master_sim_service.js +11 -0
- package/dist/services/main/users/user_admin_service.js +11 -0
- package/dist/services/main/users/user_organisation_service.js +11 -0
- package/dist/services/main/users/user_service.js +11 -0
- package/dist/services/main/vehicle/childs/vehicle_odometer_history.js +11 -0
- package/dist/services/main/vehicle/master_vehicle_service.js +11 -0
- package/dist/services/master/device/master_device_manufacturer_service.js +11 -0
- package/dist/services/master/device/master_device_model_service.js +11 -0
- package/dist/services/master/device/master_device_type_service.js +11 -0
- package/dist/services/master/expense/master_expense_name_service.js +11 -0
- package/dist/services/master/expense/master_expense_type_service.js +11 -0
- package/dist/services/master/expense/master_fuel_company_service.js +11 -0
- package/dist/services/master/expense/master_vendor_document_type_service.js +11 -0
- package/dist/services/master/expense/master_vendor_type_service.js +11 -0
- package/dist/services/master/fleet/master_fleet_incident_severity_service.js +11 -0
- package/dist/services/master/fleet/master_fleet_incident_status_service.js +11 -0
- package/dist/services/master/fleet/master_fleet_incident_type_service.js +11 -0
- package/dist/services/master/fleet/master_fleet_insurance_claim_status_service.js +11 -0
- package/dist/services/master/fleet/master_fleet_service_task_service.js +11 -0
- package/dist/services/master/main/master_main_country_service.js +11 -0
- package/dist/services/master/main/master_main_currency_service.js +11 -0
- package/dist/services/master/main/master_main_date_format_service.js +11 -0
- 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 +11 -0
- 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 +11 -0
- package/dist/services/master/main/master_main_industry_service.js +11 -0
- package/dist/services/master/main/master_main_landmark_service.d.ts +6 -6
- package/dist/services/master/main/master_main_landmark_service.js +11 -0
- package/dist/services/master/main/master_main_language_service.js +11 -0
- package/dist/services/master/main/master_main_sim_provider_service.js +11 -0
- package/dist/services/master/main/master_main_state_service.js +11 -0
- package/dist/services/master/main/master_main_timezone_service.js +11 -0
- package/dist/services/master/main/master_main_unit_distance_service.js +11 -0
- package/dist/services/master/main/master_main_unit_mileage_service.js +11 -0
- package/dist/services/master/main/master_main_unit_volume_service.js +11 -0
- package/dist/services/master/organisation/organisation_branch_service.js +11 -0
- package/dist/services/master/organisation/organisation_color_service.js +11 -0
- package/dist/services/master/organisation/organisation_group_service.js +11 -0
- package/dist/services/master/organisation/organisation_sub_company_service.js +11 -0
- package/dist/services/master/organisation/organisation_tag_service.js +11 -0
- package/dist/services/master/spare_part/master_spare_part_category_service.js +11 -0
- package/dist/services/master/spare_part/master_spare_part_sub_category_service.js +11 -0
- package/dist/services/master/spare_part/master_spare_part_unit_service.js +11 -0
- package/dist/services/master/trip/master_trip_party_type_service.js +11 -0
- package/dist/services/master/tyre/master_tyre_grade_service.js +11 -0
- package/dist/services/master/tyre/master_tyre_make_service.js +11 -0
- package/dist/services/master/tyre/master_tyre_model_service.js +11 -0
- package/dist/services/master/user/master_user_role_service.js +11 -0
- package/dist/services/master/user/master_user_status_service.js +11 -0
- package/dist/services/master/vehicle/master_vehicle_associated_to_service.js +11 -0
- package/dist/services/master/vehicle/master_vehicle_document_type_service.js +11 -0
- package/dist/services/master/vehicle/master_vehicle_fuel_removal_reason_service.d.ts +2 -2
- package/dist/services/master/vehicle/master_vehicle_fuel_removal_reason_service.js +11 -0
- package/dist/services/master/vehicle/master_vehicle_fuel_type_service.js +11 -0
- package/dist/services/master/vehicle/master_vehicle_fuel_unit_service.js +11 -0
- package/dist/services/master/vehicle/master_vehicle_make_service.js +11 -0
- package/dist/services/master/vehicle/master_vehicle_model_service.js +11 -0
- package/dist/services/master/vehicle/master_vehicle_ownership_type_service.js +11 -0
- package/dist/services/master/vehicle/master_vehicle_status_type_service.js +11 -0
- package/dist/services/master/vehicle/master_vehicle_sub_model_service.js +11 -0
- package/dist/services/master/vehicle/master_vehicle_type_service.js +11 -0
- package/dist/services/website/contact_us_detail_service.d.ts +1 -1
- package/dist/services/website/contact_us_detail_service.js +11 -0
- package/dist/services/website/faq_service.js +11 -0
- package/dist/services/website/static_pages_service.d.ts +1 -1
- package/dist/services/website/static_pages_service.js +11 -0
- package/dist/zod_utils/zod_base_schema.d.ts +36 -4
- package/dist/zod_utils/zod_base_schema.js +12 -0
- package/package.json +1 -1
|
@@ -189,6 +189,17 @@ var OrderBySchema = z2.array(
|
|
|
189
189
|
direction: enumMandatory("Order Direction", OrderBy, "asc" /* asc */)
|
|
190
190
|
})
|
|
191
191
|
);
|
|
192
|
+
var BaseFileSchema = z2.object({
|
|
193
|
+
usage_type: stringOptional("Usage Type", 0, 100),
|
|
194
|
+
file_type: enumMandatory("File Type", FileType, "Image" /* Image */),
|
|
195
|
+
file_url: stringOptional("File URL", 0, 300),
|
|
196
|
+
file_key: stringOptional("File Key", 0, 300),
|
|
197
|
+
file_name: stringOptional("File Name", 0, 300),
|
|
198
|
+
file_description: stringOptional("File Description", 0, 2e3),
|
|
199
|
+
file_size: numberOptional("File Size"),
|
|
200
|
+
file_metadata: dynamicJsonSchema("File Metadata", {}),
|
|
201
|
+
status: enumMandatory("Status", Status, "Active" /* Active */)
|
|
202
|
+
});
|
|
192
203
|
var BaseQuerySchema = z2.object({
|
|
193
204
|
search: stringOptional("Search", 0, 255, ""),
|
|
194
205
|
status: enumArrayOptional("Status", Status, getAllEnums(Status), 0, 10, true),
|
|
@@ -189,6 +189,17 @@ var OrderBySchema = z2.array(
|
|
|
189
189
|
direction: enumMandatory("Order Direction", OrderBy, "asc" /* asc */)
|
|
190
190
|
})
|
|
191
191
|
);
|
|
192
|
+
var BaseFileSchema = z2.object({
|
|
193
|
+
usage_type: stringOptional("Usage Type", 0, 100),
|
|
194
|
+
file_type: enumMandatory("File Type", FileType, "Image" /* Image */),
|
|
195
|
+
file_url: stringOptional("File URL", 0, 300),
|
|
196
|
+
file_key: stringOptional("File Key", 0, 300),
|
|
197
|
+
file_name: stringOptional("File Name", 0, 300),
|
|
198
|
+
file_description: stringOptional("File Description", 0, 2e3),
|
|
199
|
+
file_size: numberOptional("File Size"),
|
|
200
|
+
file_metadata: dynamicJsonSchema("File Metadata", {}),
|
|
201
|
+
status: enumMandatory("Status", Status, "Active" /* Active */)
|
|
202
|
+
});
|
|
192
203
|
var BaseQuerySchema = z2.object({
|
|
193
204
|
search: stringOptional("Search", 0, 255, ""),
|
|
194
205
|
status: enumArrayOptional("Status", Status, getAllEnums(Status), 0, 10, true),
|
|
@@ -193,6 +193,17 @@ var OrderBySchema = z2.array(
|
|
|
193
193
|
direction: enumMandatory("Order Direction", OrderBy, "asc" /* asc */)
|
|
194
194
|
})
|
|
195
195
|
);
|
|
196
|
+
var BaseFileSchema = z2.object({
|
|
197
|
+
usage_type: stringOptional("Usage Type", 0, 100),
|
|
198
|
+
file_type: enumMandatory("File Type", FileType, "Image" /* Image */),
|
|
199
|
+
file_url: stringOptional("File URL", 0, 300),
|
|
200
|
+
file_key: stringOptional("File Key", 0, 300),
|
|
201
|
+
file_name: stringOptional("File Name", 0, 300),
|
|
202
|
+
file_description: stringOptional("File Description", 0, 2e3),
|
|
203
|
+
file_size: numberOptional("File Size"),
|
|
204
|
+
file_metadata: dynamicJsonSchema("File Metadata", {}),
|
|
205
|
+
status: enumMandatory("Status", Status, "Active" /* Active */)
|
|
206
|
+
});
|
|
196
207
|
var BaseQuerySchema = z2.object({
|
|
197
208
|
search: stringOptional("Search", 0, 255, ""),
|
|
198
209
|
status: enumArrayOptional("Status", Status, getAllEnums(Status), 0, 10, true),
|
|
@@ -193,6 +193,17 @@ var OrderBySchema = z2.array(
|
|
|
193
193
|
direction: enumMandatory("Order Direction", OrderBy, "asc" /* asc */)
|
|
194
194
|
})
|
|
195
195
|
);
|
|
196
|
+
var BaseFileSchema = z2.object({
|
|
197
|
+
usage_type: stringOptional("Usage Type", 0, 100),
|
|
198
|
+
file_type: enumMandatory("File Type", FileType, "Image" /* Image */),
|
|
199
|
+
file_url: stringOptional("File URL", 0, 300),
|
|
200
|
+
file_key: stringOptional("File Key", 0, 300),
|
|
201
|
+
file_name: stringOptional("File Name", 0, 300),
|
|
202
|
+
file_description: stringOptional("File Description", 0, 2e3),
|
|
203
|
+
file_size: numberOptional("File Size"),
|
|
204
|
+
file_metadata: dynamicJsonSchema("File Metadata", {}),
|
|
205
|
+
status: enumMandatory("Status", Status, "Active" /* Active */)
|
|
206
|
+
});
|
|
196
207
|
var BaseQuerySchema = z2.object({
|
|
197
208
|
search: stringOptional("Search", 0, 255, ""),
|
|
198
209
|
status: enumArrayOptional("Status", Status, getAllEnums(Status), 0, 10, true),
|
|
@@ -193,6 +193,17 @@ var OrderBySchema = z2.array(
|
|
|
193
193
|
direction: enumMandatory("Order Direction", OrderBy, "asc" /* asc */)
|
|
194
194
|
})
|
|
195
195
|
);
|
|
196
|
+
var BaseFileSchema = z2.object({
|
|
197
|
+
usage_type: stringOptional("Usage Type", 0, 100),
|
|
198
|
+
file_type: enumMandatory("File Type", FileType, "Image" /* Image */),
|
|
199
|
+
file_url: stringOptional("File URL", 0, 300),
|
|
200
|
+
file_key: stringOptional("File Key", 0, 300),
|
|
201
|
+
file_name: stringOptional("File Name", 0, 300),
|
|
202
|
+
file_description: stringOptional("File Description", 0, 2e3),
|
|
203
|
+
file_size: numberOptional("File Size"),
|
|
204
|
+
file_metadata: dynamicJsonSchema("File Metadata", {}),
|
|
205
|
+
status: enumMandatory("Status", Status, "Active" /* Active */)
|
|
206
|
+
});
|
|
196
207
|
var BaseQuerySchema = z2.object({
|
|
197
208
|
search: stringOptional("Search", 0, 255, ""),
|
|
198
209
|
status: enumArrayOptional("Status", Status, getAllEnums(Status), 0, 10, true),
|
|
@@ -193,6 +193,17 @@ var OrderBySchema = z2.array(
|
|
|
193
193
|
direction: enumMandatory("Order Direction", OrderBy, "asc" /* asc */)
|
|
194
194
|
})
|
|
195
195
|
);
|
|
196
|
+
var BaseFileSchema = z2.object({
|
|
197
|
+
usage_type: stringOptional("Usage Type", 0, 100),
|
|
198
|
+
file_type: enumMandatory("File Type", FileType, "Image" /* Image */),
|
|
199
|
+
file_url: stringOptional("File URL", 0, 300),
|
|
200
|
+
file_key: stringOptional("File Key", 0, 300),
|
|
201
|
+
file_name: stringOptional("File Name", 0, 300),
|
|
202
|
+
file_description: stringOptional("File Description", 0, 2e3),
|
|
203
|
+
file_size: numberOptional("File Size"),
|
|
204
|
+
file_metadata: dynamicJsonSchema("File Metadata", {}),
|
|
205
|
+
status: enumMandatory("Status", Status, "Active" /* Active */)
|
|
206
|
+
});
|
|
196
207
|
var BaseQuerySchema = z2.object({
|
|
197
208
|
search: stringOptional("Search", 0, 255, ""),
|
|
198
209
|
status: enumArrayOptional("Status", Status, getAllEnums(Status), 0, 10, true),
|
|
@@ -193,6 +193,17 @@ var OrderBySchema = z2.array(
|
|
|
193
193
|
direction: enumMandatory("Order Direction", OrderBy, "asc" /* asc */)
|
|
194
194
|
})
|
|
195
195
|
);
|
|
196
|
+
var BaseFileSchema = z2.object({
|
|
197
|
+
usage_type: stringOptional("Usage Type", 0, 100),
|
|
198
|
+
file_type: enumMandatory("File Type", FileType, "Image" /* Image */),
|
|
199
|
+
file_url: stringOptional("File URL", 0, 300),
|
|
200
|
+
file_key: stringOptional("File Key", 0, 300),
|
|
201
|
+
file_name: stringOptional("File Name", 0, 300),
|
|
202
|
+
file_description: stringOptional("File Description", 0, 2e3),
|
|
203
|
+
file_size: numberOptional("File Size"),
|
|
204
|
+
file_metadata: dynamicJsonSchema("File Metadata", {}),
|
|
205
|
+
status: enumMandatory("Status", Status, "Active" /* Active */)
|
|
206
|
+
});
|
|
196
207
|
var BaseQuerySchema = z2.object({
|
|
197
208
|
search: stringOptional("Search", 0, 255, ""),
|
|
198
209
|
status: enumArrayOptional("Status", Status, getAllEnums(Status), 0, 10, true),
|
|
@@ -193,6 +193,17 @@ var OrderBySchema = z2.array(
|
|
|
193
193
|
direction: enumMandatory("Order Direction", OrderBy, "asc" /* asc */)
|
|
194
194
|
})
|
|
195
195
|
);
|
|
196
|
+
var BaseFileSchema = z2.object({
|
|
197
|
+
usage_type: stringOptional("Usage Type", 0, 100),
|
|
198
|
+
file_type: enumMandatory("File Type", FileType, "Image" /* Image */),
|
|
199
|
+
file_url: stringOptional("File URL", 0, 300),
|
|
200
|
+
file_key: stringOptional("File Key", 0, 300),
|
|
201
|
+
file_name: stringOptional("File Name", 0, 300),
|
|
202
|
+
file_description: stringOptional("File Description", 0, 2e3),
|
|
203
|
+
file_size: numberOptional("File Size"),
|
|
204
|
+
file_metadata: dynamicJsonSchema("File Metadata", {}),
|
|
205
|
+
status: enumMandatory("Status", Status, "Active" /* Active */)
|
|
206
|
+
});
|
|
196
207
|
var BaseQuerySchema = z2.object({
|
|
197
208
|
search: stringOptional("Search", 0, 255, ""),
|
|
198
209
|
status: enumArrayOptional("Status", Status, getAllEnums(Status), 0, 10, true),
|
|
@@ -193,6 +193,17 @@ var OrderBySchema = z2.array(
|
|
|
193
193
|
direction: enumMandatory("Order Direction", OrderBy, "asc" /* asc */)
|
|
194
194
|
})
|
|
195
195
|
);
|
|
196
|
+
var BaseFileSchema = z2.object({
|
|
197
|
+
usage_type: stringOptional("Usage Type", 0, 100),
|
|
198
|
+
file_type: enumMandatory("File Type", FileType, "Image" /* Image */),
|
|
199
|
+
file_url: stringOptional("File URL", 0, 300),
|
|
200
|
+
file_key: stringOptional("File Key", 0, 300),
|
|
201
|
+
file_name: stringOptional("File Name", 0, 300),
|
|
202
|
+
file_description: stringOptional("File Description", 0, 2e3),
|
|
203
|
+
file_size: numberOptional("File Size"),
|
|
204
|
+
file_metadata: dynamicJsonSchema("File Metadata", {}),
|
|
205
|
+
status: enumMandatory("Status", Status, "Active" /* Active */)
|
|
206
|
+
});
|
|
196
207
|
var BaseQuerySchema = z2.object({
|
|
197
208
|
search: stringOptional("Search", 0, 255, ""),
|
|
198
209
|
status: enumArrayOptional("Status", Status, getAllEnums(Status), 0, 10, true),
|
|
@@ -193,6 +193,17 @@ var OrderBySchema = z2.array(
|
|
|
193
193
|
direction: enumMandatory("Order Direction", OrderBy, "asc" /* asc */)
|
|
194
194
|
})
|
|
195
195
|
);
|
|
196
|
+
var BaseFileSchema = z2.object({
|
|
197
|
+
usage_type: stringOptional("Usage Type", 0, 100),
|
|
198
|
+
file_type: enumMandatory("File Type", FileType, "Image" /* Image */),
|
|
199
|
+
file_url: stringOptional("File URL", 0, 300),
|
|
200
|
+
file_key: stringOptional("File Key", 0, 300),
|
|
201
|
+
file_name: stringOptional("File Name", 0, 300),
|
|
202
|
+
file_description: stringOptional("File Description", 0, 2e3),
|
|
203
|
+
file_size: numberOptional("File Size"),
|
|
204
|
+
file_metadata: dynamicJsonSchema("File Metadata", {}),
|
|
205
|
+
status: enumMandatory("Status", Status, "Active" /* Active */)
|
|
206
|
+
});
|
|
196
207
|
var BaseQuerySchema = z2.object({
|
|
197
208
|
search: stringOptional("Search", 0, 255, ""),
|
|
198
209
|
status: enumArrayOptional("Status", Status, getAllEnums(Status), 0, 10, true),
|
|
@@ -193,6 +193,17 @@ var OrderBySchema = z2.array(
|
|
|
193
193
|
direction: enumMandatory("Order Direction", OrderBy, "asc" /* asc */)
|
|
194
194
|
})
|
|
195
195
|
);
|
|
196
|
+
var BaseFileSchema = z2.object({
|
|
197
|
+
usage_type: stringOptional("Usage Type", 0, 100),
|
|
198
|
+
file_type: enumMandatory("File Type", FileType, "Image" /* Image */),
|
|
199
|
+
file_url: stringOptional("File URL", 0, 300),
|
|
200
|
+
file_key: stringOptional("File Key", 0, 300),
|
|
201
|
+
file_name: stringOptional("File Name", 0, 300),
|
|
202
|
+
file_description: stringOptional("File Description", 0, 2e3),
|
|
203
|
+
file_size: numberOptional("File Size"),
|
|
204
|
+
file_metadata: dynamicJsonSchema("File Metadata", {}),
|
|
205
|
+
status: enumMandatory("Status", Status, "Active" /* Active */)
|
|
206
|
+
});
|
|
196
207
|
var BaseQuerySchema = z2.object({
|
|
197
208
|
search: stringOptional("Search", 0, 255, ""),
|
|
198
209
|
status: enumArrayOptional("Status", Status, getAllEnums(Status), 0, 10, true),
|
|
@@ -193,6 +193,17 @@ var OrderBySchema = z2.array(
|
|
|
193
193
|
direction: enumMandatory("Order Direction", OrderBy, "asc" /* asc */)
|
|
194
194
|
})
|
|
195
195
|
);
|
|
196
|
+
var BaseFileSchema = z2.object({
|
|
197
|
+
usage_type: stringOptional("Usage Type", 0, 100),
|
|
198
|
+
file_type: enumMandatory("File Type", FileType, "Image" /* Image */),
|
|
199
|
+
file_url: stringOptional("File URL", 0, 300),
|
|
200
|
+
file_key: stringOptional("File Key", 0, 300),
|
|
201
|
+
file_name: stringOptional("File Name", 0, 300),
|
|
202
|
+
file_description: stringOptional("File Description", 0, 2e3),
|
|
203
|
+
file_size: numberOptional("File Size"),
|
|
204
|
+
file_metadata: dynamicJsonSchema("File Metadata", {}),
|
|
205
|
+
status: enumMandatory("Status", Status, "Active" /* Active */)
|
|
206
|
+
});
|
|
196
207
|
var BaseQuerySchema = z2.object({
|
|
197
208
|
search: stringOptional("Search", 0, 255, ""),
|
|
198
209
|
status: enumArrayOptional("Status", Status, getAllEnums(Status), 0, 10, true),
|
|
@@ -193,6 +193,17 @@ var OrderBySchema = z2.array(
|
|
|
193
193
|
direction: enumMandatory("Order Direction", OrderBy, "asc" /* asc */)
|
|
194
194
|
})
|
|
195
195
|
);
|
|
196
|
+
var BaseFileSchema = z2.object({
|
|
197
|
+
usage_type: stringOptional("Usage Type", 0, 100),
|
|
198
|
+
file_type: enumMandatory("File Type", FileType, "Image" /* Image */),
|
|
199
|
+
file_url: stringOptional("File URL", 0, 300),
|
|
200
|
+
file_key: stringOptional("File Key", 0, 300),
|
|
201
|
+
file_name: stringOptional("File Name", 0, 300),
|
|
202
|
+
file_description: stringOptional("File Description", 0, 2e3),
|
|
203
|
+
file_size: numberOptional("File Size"),
|
|
204
|
+
file_metadata: dynamicJsonSchema("File Metadata", {}),
|
|
205
|
+
status: enumMandatory("Status", Status, "Active" /* Active */)
|
|
206
|
+
});
|
|
196
207
|
var BaseQuerySchema = z2.object({
|
|
197
208
|
search: stringOptional("Search", 0, 255, ""),
|
|
198
209
|
status: enumArrayOptional("Status", Status, getAllEnums(Status), 0, 10, true),
|
|
@@ -193,6 +193,17 @@ var OrderBySchema = z2.array(
|
|
|
193
193
|
direction: enumMandatory("Order Direction", OrderBy, "asc" /* asc */)
|
|
194
194
|
})
|
|
195
195
|
);
|
|
196
|
+
var BaseFileSchema = z2.object({
|
|
197
|
+
usage_type: stringOptional("Usage Type", 0, 100),
|
|
198
|
+
file_type: enumMandatory("File Type", FileType, "Image" /* Image */),
|
|
199
|
+
file_url: stringOptional("File URL", 0, 300),
|
|
200
|
+
file_key: stringOptional("File Key", 0, 300),
|
|
201
|
+
file_name: stringOptional("File Name", 0, 300),
|
|
202
|
+
file_description: stringOptional("File Description", 0, 2e3),
|
|
203
|
+
file_size: numberOptional("File Size"),
|
|
204
|
+
file_metadata: dynamicJsonSchema("File Metadata", {}),
|
|
205
|
+
status: enumMandatory("Status", Status, "Active" /* Active */)
|
|
206
|
+
});
|
|
196
207
|
var BaseQuerySchema = z2.object({
|
|
197
208
|
search: stringOptional("Search", 0, 255, ""),
|
|
198
209
|
status: enumArrayOptional("Status", Status, getAllEnums(Status), 0, 10, true),
|
|
@@ -193,6 +193,17 @@ var OrderBySchema = z2.array(
|
|
|
193
193
|
direction: enumMandatory("Order Direction", OrderBy, "asc" /* asc */)
|
|
194
194
|
})
|
|
195
195
|
);
|
|
196
|
+
var BaseFileSchema = z2.object({
|
|
197
|
+
usage_type: stringOptional("Usage Type", 0, 100),
|
|
198
|
+
file_type: enumMandatory("File Type", FileType, "Image" /* Image */),
|
|
199
|
+
file_url: stringOptional("File URL", 0, 300),
|
|
200
|
+
file_key: stringOptional("File Key", 0, 300),
|
|
201
|
+
file_name: stringOptional("File Name", 0, 300),
|
|
202
|
+
file_description: stringOptional("File Description", 0, 2e3),
|
|
203
|
+
file_size: numberOptional("File Size"),
|
|
204
|
+
file_metadata: dynamicJsonSchema("File Metadata", {}),
|
|
205
|
+
status: enumMandatory("Status", Status, "Active" /* Active */)
|
|
206
|
+
});
|
|
196
207
|
var BaseQuerySchema = z2.object({
|
|
197
208
|
search: stringOptional("Search", 0, 255, ""),
|
|
198
209
|
status: enumArrayOptional("Status", Status, getAllEnums(Status), 0, 10, true),
|
|
@@ -193,6 +193,17 @@ var OrderBySchema = z2.array(
|
|
|
193
193
|
direction: enumMandatory("Order Direction", OrderBy, "asc" /* asc */)
|
|
194
194
|
})
|
|
195
195
|
);
|
|
196
|
+
var BaseFileSchema = z2.object({
|
|
197
|
+
usage_type: stringOptional("Usage Type", 0, 100),
|
|
198
|
+
file_type: enumMandatory("File Type", FileType, "Image" /* Image */),
|
|
199
|
+
file_url: stringOptional("File URL", 0, 300),
|
|
200
|
+
file_key: stringOptional("File Key", 0, 300),
|
|
201
|
+
file_name: stringOptional("File Name", 0, 300),
|
|
202
|
+
file_description: stringOptional("File Description", 0, 2e3),
|
|
203
|
+
file_size: numberOptional("File Size"),
|
|
204
|
+
file_metadata: dynamicJsonSchema("File Metadata", {}),
|
|
205
|
+
status: enumMandatory("Status", Status, "Active" /* Active */)
|
|
206
|
+
});
|
|
196
207
|
var BaseQuerySchema = z2.object({
|
|
197
208
|
search: stringOptional("Search", 0, 255, ""),
|
|
198
209
|
status: enumArrayOptional("Status", Status, getAllEnums(Status), 0, 10, true),
|
|
@@ -193,6 +193,17 @@ var OrderBySchema = z2.array(
|
|
|
193
193
|
direction: enumMandatory("Order Direction", OrderBy, "asc" /* asc */)
|
|
194
194
|
})
|
|
195
195
|
);
|
|
196
|
+
var BaseFileSchema = z2.object({
|
|
197
|
+
usage_type: stringOptional("Usage Type", 0, 100),
|
|
198
|
+
file_type: enumMandatory("File Type", FileType, "Image" /* Image */),
|
|
199
|
+
file_url: stringOptional("File URL", 0, 300),
|
|
200
|
+
file_key: stringOptional("File Key", 0, 300),
|
|
201
|
+
file_name: stringOptional("File Name", 0, 300),
|
|
202
|
+
file_description: stringOptional("File Description", 0, 2e3),
|
|
203
|
+
file_size: numberOptional("File Size"),
|
|
204
|
+
file_metadata: dynamicJsonSchema("File Metadata", {}),
|
|
205
|
+
status: enumMandatory("Status", Status, "Active" /* Active */)
|
|
206
|
+
});
|
|
196
207
|
var BaseQuerySchema = z2.object({
|
|
197
208
|
search: stringOptional("Search", 0, 255, ""),
|
|
198
209
|
status: enumArrayOptional("Status", Status, getAllEnums(Status), 0, 10, true),
|
|
@@ -193,6 +193,17 @@ var OrderBySchema = z2.array(
|
|
|
193
193
|
direction: enumMandatory("Order Direction", OrderBy, "asc" /* asc */)
|
|
194
194
|
})
|
|
195
195
|
);
|
|
196
|
+
var BaseFileSchema = z2.object({
|
|
197
|
+
usage_type: stringOptional("Usage Type", 0, 100),
|
|
198
|
+
file_type: enumMandatory("File Type", FileType, "Image" /* Image */),
|
|
199
|
+
file_url: stringOptional("File URL", 0, 300),
|
|
200
|
+
file_key: stringOptional("File Key", 0, 300),
|
|
201
|
+
file_name: stringOptional("File Name", 0, 300),
|
|
202
|
+
file_description: stringOptional("File Description", 0, 2e3),
|
|
203
|
+
file_size: numberOptional("File Size"),
|
|
204
|
+
file_metadata: dynamicJsonSchema("File Metadata", {}),
|
|
205
|
+
status: enumMandatory("Status", Status, "Active" /* Active */)
|
|
206
|
+
});
|
|
196
207
|
var BaseQuerySchema = z2.object({
|
|
197
208
|
search: stringOptional("Search", 0, 255, ""),
|
|
198
209
|
status: enumArrayOptional("Status", Status, getAllEnums(Status), 0, 10, true),
|
|
@@ -70,7 +70,6 @@ declare const MasterVehicleFuelRemovalReasonQuerySchema: z.ZodObject<{
|
|
|
70
70
|
fuel_removal_reason_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
71
71
|
}, "strip", z.ZodTypeAny, {
|
|
72
72
|
status: Status[];
|
|
73
|
-
time_zone_id: string;
|
|
74
73
|
search: string;
|
|
75
74
|
paging: PAGING;
|
|
76
75
|
page_count: number;
|
|
@@ -90,11 +89,12 @@ declare const MasterVehicleFuelRemovalReasonQuerySchema: z.ZodObject<{
|
|
|
90
89
|
}[];
|
|
91
90
|
include_master_data: YesNo;
|
|
92
91
|
date_format_id: string;
|
|
92
|
+
time_zone_id: string;
|
|
93
93
|
organisation_ids: string[];
|
|
94
94
|
fuel_removal_reason_ids: string[];
|
|
95
95
|
}, {
|
|
96
|
-
time_zone_id: string;
|
|
97
96
|
date_format_id: string;
|
|
97
|
+
time_zone_id: string;
|
|
98
98
|
status?: Status[] | undefined;
|
|
99
99
|
search?: string | undefined;
|
|
100
100
|
paging?: PAGING | undefined;
|
|
@@ -193,6 +193,17 @@ var OrderBySchema = z2.array(
|
|
|
193
193
|
direction: enumMandatory("Order Direction", OrderBy, "asc" /* asc */)
|
|
194
194
|
})
|
|
195
195
|
);
|
|
196
|
+
var BaseFileSchema = z2.object({
|
|
197
|
+
usage_type: stringOptional("Usage Type", 0, 100),
|
|
198
|
+
file_type: enumMandatory("File Type", FileType, "Image" /* Image */),
|
|
199
|
+
file_url: stringOptional("File URL", 0, 300),
|
|
200
|
+
file_key: stringOptional("File Key", 0, 300),
|
|
201
|
+
file_name: stringOptional("File Name", 0, 300),
|
|
202
|
+
file_description: stringOptional("File Description", 0, 2e3),
|
|
203
|
+
file_size: numberOptional("File Size"),
|
|
204
|
+
file_metadata: dynamicJsonSchema("File Metadata", {}),
|
|
205
|
+
status: enumMandatory("Status", Status, "Active" /* Active */)
|
|
206
|
+
});
|
|
196
207
|
var BaseQuerySchema = z2.object({
|
|
197
208
|
search: stringOptional("Search", 0, 255, ""),
|
|
198
209
|
status: enumArrayOptional("Status", Status, getAllEnums(Status), 0, 10, true),
|
|
@@ -193,6 +193,17 @@ var OrderBySchema = z2.array(
|
|
|
193
193
|
direction: enumMandatory("Order Direction", OrderBy, "asc" /* asc */)
|
|
194
194
|
})
|
|
195
195
|
);
|
|
196
|
+
var BaseFileSchema = z2.object({
|
|
197
|
+
usage_type: stringOptional("Usage Type", 0, 100),
|
|
198
|
+
file_type: enumMandatory("File Type", FileType, "Image" /* Image */),
|
|
199
|
+
file_url: stringOptional("File URL", 0, 300),
|
|
200
|
+
file_key: stringOptional("File Key", 0, 300),
|
|
201
|
+
file_name: stringOptional("File Name", 0, 300),
|
|
202
|
+
file_description: stringOptional("File Description", 0, 2e3),
|
|
203
|
+
file_size: numberOptional("File Size"),
|
|
204
|
+
file_metadata: dynamicJsonSchema("File Metadata", {}),
|
|
205
|
+
status: enumMandatory("Status", Status, "Active" /* Active */)
|
|
206
|
+
});
|
|
196
207
|
var BaseQuerySchema = z2.object({
|
|
197
208
|
search: stringOptional("Search", 0, 255, ""),
|
|
198
209
|
status: enumArrayOptional("Status", Status, getAllEnums(Status), 0, 10, true),
|
|
@@ -193,6 +193,17 @@ var OrderBySchema = z2.array(
|
|
|
193
193
|
direction: enumMandatory("Order Direction", OrderBy, "asc" /* asc */)
|
|
194
194
|
})
|
|
195
195
|
);
|
|
196
|
+
var BaseFileSchema = z2.object({
|
|
197
|
+
usage_type: stringOptional("Usage Type", 0, 100),
|
|
198
|
+
file_type: enumMandatory("File Type", FileType, "Image" /* Image */),
|
|
199
|
+
file_url: stringOptional("File URL", 0, 300),
|
|
200
|
+
file_key: stringOptional("File Key", 0, 300),
|
|
201
|
+
file_name: stringOptional("File Name", 0, 300),
|
|
202
|
+
file_description: stringOptional("File Description", 0, 2e3),
|
|
203
|
+
file_size: numberOptional("File Size"),
|
|
204
|
+
file_metadata: dynamicJsonSchema("File Metadata", {}),
|
|
205
|
+
status: enumMandatory("Status", Status, "Active" /* Active */)
|
|
206
|
+
});
|
|
196
207
|
var BaseQuerySchema = z2.object({
|
|
197
208
|
search: stringOptional("Search", 0, 255, ""),
|
|
198
209
|
status: enumArrayOptional("Status", Status, getAllEnums(Status), 0, 10, true),
|
|
@@ -193,6 +193,17 @@ var OrderBySchema = z2.array(
|
|
|
193
193
|
direction: enumMandatory("Order Direction", OrderBy, "asc" /* asc */)
|
|
194
194
|
})
|
|
195
195
|
);
|
|
196
|
+
var BaseFileSchema = z2.object({
|
|
197
|
+
usage_type: stringOptional("Usage Type", 0, 100),
|
|
198
|
+
file_type: enumMandatory("File Type", FileType, "Image" /* Image */),
|
|
199
|
+
file_url: stringOptional("File URL", 0, 300),
|
|
200
|
+
file_key: stringOptional("File Key", 0, 300),
|
|
201
|
+
file_name: stringOptional("File Name", 0, 300),
|
|
202
|
+
file_description: stringOptional("File Description", 0, 2e3),
|
|
203
|
+
file_size: numberOptional("File Size"),
|
|
204
|
+
file_metadata: dynamicJsonSchema("File Metadata", {}),
|
|
205
|
+
status: enumMandatory("Status", Status, "Active" /* Active */)
|
|
206
|
+
});
|
|
196
207
|
var BaseQuerySchema = z2.object({
|
|
197
208
|
search: stringOptional("Search", 0, 255, ""),
|
|
198
209
|
status: enumArrayOptional("Status", Status, getAllEnums(Status), 0, 10, true),
|
|
@@ -193,6 +193,17 @@ var OrderBySchema = z2.array(
|
|
|
193
193
|
direction: enumMandatory("Order Direction", OrderBy, "asc" /* asc */)
|
|
194
194
|
})
|
|
195
195
|
);
|
|
196
|
+
var BaseFileSchema = z2.object({
|
|
197
|
+
usage_type: stringOptional("Usage Type", 0, 100),
|
|
198
|
+
file_type: enumMandatory("File Type", FileType, "Image" /* Image */),
|
|
199
|
+
file_url: stringOptional("File URL", 0, 300),
|
|
200
|
+
file_key: stringOptional("File Key", 0, 300),
|
|
201
|
+
file_name: stringOptional("File Name", 0, 300),
|
|
202
|
+
file_description: stringOptional("File Description", 0, 2e3),
|
|
203
|
+
file_size: numberOptional("File Size"),
|
|
204
|
+
file_metadata: dynamicJsonSchema("File Metadata", {}),
|
|
205
|
+
status: enumMandatory("Status", Status, "Active" /* Active */)
|
|
206
|
+
});
|
|
196
207
|
var BaseQuerySchema = z2.object({
|
|
197
208
|
search: stringOptional("Search", 0, 255, ""),
|
|
198
209
|
status: enumArrayOptional("Status", Status, getAllEnums(Status), 0, 10, true),
|
|
@@ -193,6 +193,17 @@ var OrderBySchema = z2.array(
|
|
|
193
193
|
direction: enumMandatory("Order Direction", OrderBy, "asc" /* asc */)
|
|
194
194
|
})
|
|
195
195
|
);
|
|
196
|
+
var BaseFileSchema = z2.object({
|
|
197
|
+
usage_type: stringOptional("Usage Type", 0, 100),
|
|
198
|
+
file_type: enumMandatory("File Type", FileType, "Image" /* Image */),
|
|
199
|
+
file_url: stringOptional("File URL", 0, 300),
|
|
200
|
+
file_key: stringOptional("File Key", 0, 300),
|
|
201
|
+
file_name: stringOptional("File Name", 0, 300),
|
|
202
|
+
file_description: stringOptional("File Description", 0, 2e3),
|
|
203
|
+
file_size: numberOptional("File Size"),
|
|
204
|
+
file_metadata: dynamicJsonSchema("File Metadata", {}),
|
|
205
|
+
status: enumMandatory("Status", Status, "Active" /* Active */)
|
|
206
|
+
});
|
|
196
207
|
var BaseQuerySchema = z2.object({
|
|
197
208
|
search: stringOptional("Search", 0, 255, ""),
|
|
198
209
|
status: enumArrayOptional("Status", Status, getAllEnums(Status), 0, 10, true),
|
|
@@ -193,6 +193,17 @@ var OrderBySchema = z2.array(
|
|
|
193
193
|
direction: enumMandatory("Order Direction", OrderBy, "asc" /* asc */)
|
|
194
194
|
})
|
|
195
195
|
);
|
|
196
|
+
var BaseFileSchema = z2.object({
|
|
197
|
+
usage_type: stringOptional("Usage Type", 0, 100),
|
|
198
|
+
file_type: enumMandatory("File Type", FileType, "Image" /* Image */),
|
|
199
|
+
file_url: stringOptional("File URL", 0, 300),
|
|
200
|
+
file_key: stringOptional("File Key", 0, 300),
|
|
201
|
+
file_name: stringOptional("File Name", 0, 300),
|
|
202
|
+
file_description: stringOptional("File Description", 0, 2e3),
|
|
203
|
+
file_size: numberOptional("File Size"),
|
|
204
|
+
file_metadata: dynamicJsonSchema("File Metadata", {}),
|
|
205
|
+
status: enumMandatory("Status", Status, "Active" /* Active */)
|
|
206
|
+
});
|
|
196
207
|
var BaseQuerySchema = z2.object({
|
|
197
208
|
search: stringOptional("Search", 0, 255, ""),
|
|
198
209
|
status: enumArrayOptional("Status", Status, getAllEnums(Status), 0, 10, true),
|
|
@@ -193,6 +193,17 @@ var OrderBySchema = z2.array(
|
|
|
193
193
|
direction: enumMandatory("Order Direction", OrderBy, "asc" /* asc */)
|
|
194
194
|
})
|
|
195
195
|
);
|
|
196
|
+
var BaseFileSchema = z2.object({
|
|
197
|
+
usage_type: stringOptional("Usage Type", 0, 100),
|
|
198
|
+
file_type: enumMandatory("File Type", FileType, "Image" /* Image */),
|
|
199
|
+
file_url: stringOptional("File URL", 0, 300),
|
|
200
|
+
file_key: stringOptional("File Key", 0, 300),
|
|
201
|
+
file_name: stringOptional("File Name", 0, 300),
|
|
202
|
+
file_description: stringOptional("File Description", 0, 2e3),
|
|
203
|
+
file_size: numberOptional("File Size"),
|
|
204
|
+
file_metadata: dynamicJsonSchema("File Metadata", {}),
|
|
205
|
+
status: enumMandatory("Status", Status, "Active" /* Active */)
|
|
206
|
+
});
|
|
196
207
|
var BaseQuerySchema = z2.object({
|
|
197
208
|
search: stringOptional("Search", 0, 255, ""),
|
|
198
209
|
status: enumArrayOptional("Status", Status, getAllEnums(Status), 0, 10, true),
|
|
@@ -193,6 +193,17 @@ var OrderBySchema = z2.array(
|
|
|
193
193
|
direction: enumMandatory("Order Direction", OrderBy, "asc" /* asc */)
|
|
194
194
|
})
|
|
195
195
|
);
|
|
196
|
+
var BaseFileSchema = z2.object({
|
|
197
|
+
usage_type: stringOptional("Usage Type", 0, 100),
|
|
198
|
+
file_type: enumMandatory("File Type", FileType, "Image" /* Image */),
|
|
199
|
+
file_url: stringOptional("File URL", 0, 300),
|
|
200
|
+
file_key: stringOptional("File Key", 0, 300),
|
|
201
|
+
file_name: stringOptional("File Name", 0, 300),
|
|
202
|
+
file_description: stringOptional("File Description", 0, 2e3),
|
|
203
|
+
file_size: numberOptional("File Size"),
|
|
204
|
+
file_metadata: dynamicJsonSchema("File Metadata", {}),
|
|
205
|
+
status: enumMandatory("Status", Status, "Active" /* Active */)
|
|
206
|
+
});
|
|
196
207
|
var BaseQuerySchema = z2.object({
|
|
197
208
|
search: stringOptional("Search", 0, 255, ""),
|
|
198
209
|
status: enumArrayOptional("Status", Status, getAllEnums(Status), 0, 10, true),
|
|
@@ -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;
|
|
@@ -185,6 +185,17 @@ var OrderBySchema = z2.array(
|
|
|
185
185
|
direction: enumMandatory("Order Direction", OrderBy, "asc" /* asc */)
|
|
186
186
|
})
|
|
187
187
|
);
|
|
188
|
+
var BaseFileSchema = z2.object({
|
|
189
|
+
usage_type: stringOptional("Usage Type", 0, 100),
|
|
190
|
+
file_type: enumMandatory("File Type", FileType, "Image" /* Image */),
|
|
191
|
+
file_url: stringOptional("File URL", 0, 300),
|
|
192
|
+
file_key: stringOptional("File Key", 0, 300),
|
|
193
|
+
file_name: stringOptional("File Name", 0, 300),
|
|
194
|
+
file_description: stringOptional("File Description", 0, 2e3),
|
|
195
|
+
file_size: numberOptional("File Size"),
|
|
196
|
+
file_metadata: dynamicJsonSchema("File Metadata", {}),
|
|
197
|
+
status: enumMandatory("Status", Status, "Active" /* Active */)
|
|
198
|
+
});
|
|
188
199
|
var BaseQuerySchema = z2.object({
|
|
189
200
|
search: stringOptional("Search", 0, 255, ""),
|
|
190
201
|
status: enumArrayOptional("Status", Status, getAllEnums(Status), 0, 10, true),
|
|
@@ -185,6 +185,17 @@ var OrderBySchema = z2.array(
|
|
|
185
185
|
direction: enumMandatory("Order Direction", OrderBy, "asc" /* asc */)
|
|
186
186
|
})
|
|
187
187
|
);
|
|
188
|
+
var BaseFileSchema = z2.object({
|
|
189
|
+
usage_type: stringOptional("Usage Type", 0, 100),
|
|
190
|
+
file_type: enumMandatory("File Type", FileType, "Image" /* Image */),
|
|
191
|
+
file_url: stringOptional("File URL", 0, 300),
|
|
192
|
+
file_key: stringOptional("File Key", 0, 300),
|
|
193
|
+
file_name: stringOptional("File Name", 0, 300),
|
|
194
|
+
file_description: stringOptional("File Description", 0, 2e3),
|
|
195
|
+
file_size: numberOptional("File Size"),
|
|
196
|
+
file_metadata: dynamicJsonSchema("File Metadata", {}),
|
|
197
|
+
status: enumMandatory("Status", Status, "Active" /* Active */)
|
|
198
|
+
});
|
|
188
199
|
var BaseQuerySchema = z2.object({
|
|
189
200
|
search: stringOptional("Search", 0, 255, ""),
|
|
190
201
|
status: enumArrayOptional("Status", Status, getAllEnums(Status), 0, 10, true),
|
|
@@ -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;
|
|
@@ -185,6 +185,17 @@ var OrderBySchema = z2.array(
|
|
|
185
185
|
direction: enumMandatory("Order Direction", OrderBy, "asc" /* asc */)
|
|
186
186
|
})
|
|
187
187
|
);
|
|
188
|
+
var BaseFileSchema = z2.object({
|
|
189
|
+
usage_type: stringOptional("Usage Type", 0, 100),
|
|
190
|
+
file_type: enumMandatory("File Type", FileType, "Image" /* Image */),
|
|
191
|
+
file_url: stringOptional("File URL", 0, 300),
|
|
192
|
+
file_key: stringOptional("File Key", 0, 300),
|
|
193
|
+
file_name: stringOptional("File Name", 0, 300),
|
|
194
|
+
file_description: stringOptional("File Description", 0, 2e3),
|
|
195
|
+
file_size: numberOptional("File Size"),
|
|
196
|
+
file_metadata: dynamicJsonSchema("File Metadata", {}),
|
|
197
|
+
status: enumMandatory("Status", Status, "Active" /* Active */)
|
|
198
|
+
});
|
|
188
199
|
var BaseQuerySchema = z2.object({
|
|
189
200
|
search: stringOptional("Search", 0, 255, ""),
|
|
190
201
|
status: enumArrayOptional("Status", Status, getAllEnums(Status), 0, 10, true),
|