vms-nest-prisma-api-document 100.0.0 → 110.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/bookmark_service.d.ts +1 -1
- package/dist/services/account/notification_preferences.service.d.ts +1 -1
- package/dist/services/account/report_preferences.service.d.ts +1 -1
- package/dist/services/account/ticket_service.d.ts +1 -1
- package/dist/services/fleet/fuel_management/fleet_fuel_daily_summary_service.d.ts +1 -1
- package/dist/services/fleet/fuel_management/fleet_fuel_refill_service.d.ts +1 -1
- package/dist/services/fleet/fuel_management/fleet_fuel_removal_service.d.ts +1 -1
- package/dist/services/gps/features/geofence/gps_geofence_service.d.ts +1 -1
- package/dist/services/gps/features/geofence/gps_geofence_transaction_service.d.ts +6 -6
- package/dist/services/gps/features/geofence/gps_geofence_transaction_summary_service.d.ts +7 -7
- package/dist/services/gps/features/geofence/trip_geofence_to_geofence_service.d.ts +2 -2
- package/dist/services/gps/features/gps_live_track_share_link_service.d.ts +1 -1
- package/dist/services/gps/features/gps_track_history_share_link_service.d.ts +1 -1
- package/dist/services/gps/reports/gps_reports_mongo_service.d.ts +46 -46
- package/dist/services/main/devices/master_device_service.d.ts +1 -1
- package/dist/services/main/drivers/master_driver_service.d.ts +1 -1
- package/dist/services/main/sims/master_sim_service.d.ts +1 -1
- package/dist/services/main/users/auth_service.d.ts +1 -1
- package/dist/services/main/users/user_organisation_service.d.ts +1 -1
- package/dist/services/main/users/user_service.d.ts +1 -1
- package/dist/services/main/vehicle/childs/vehicle_odometer_history.d.ts +1 -1
- package/dist/services/main/vehicle/master_vehicle_service.d.ts +1 -1
- package/dist/services/main/vehicle/master_vehicle_service.js +12 -0
- package/dist/services/master/bus/master_class_service.d.ts +131 -0
- package/dist/services/master/bus/master_class_service.js +312 -0
- package/dist/services/master/bus/master_program_service.d.ts +131 -0
- package/dist/services/master/bus/master_program_service.js +312 -0
- package/dist/services/master/bus/master_relationship_service.d.ts +131 -0
- package/dist/services/master/bus/master_relationship_service.js +312 -0
- package/dist/services/master/bus/master_section_service.d.ts +131 -0
- package/dist/services/master/bus/master_section_service.js +312 -0
- package/dist/services/master/bus/master_semester_service.d.ts +131 -0
- package/dist/services/master/bus/master_semester_service.js +312 -0
- package/dist/services/master/bus/master_stream_service.d.ts +131 -0
- package/dist/services/master/bus/master_stream_service.js +312 -0
- package/dist/services/master/bus/master_year_service.d.ts +131 -0
- package/dist/services/master/bus/master_year_service.js +312 -0
- package/dist/services/master/device/master_device_manufacturer_service.d.ts +1 -1
- package/dist/services/master/device/master_device_model_service.d.ts +1 -1
- package/dist/services/master/device/master_device_type_service.d.ts +1 -1
- package/dist/services/master/expense/master_expense_name_service.d.ts +1 -1
- package/dist/services/master/expense/master_expense_type_service.d.ts +1 -1
- package/dist/services/master/expense/master_fuel_company_service.d.ts +6 -6
- package/dist/services/master/expense/master_vendor_document_type_service.d.ts +3 -3
- package/dist/services/master/expense/master_vendor_type_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_incident_severity_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_incident_status_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_incident_type_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_insurance_claim_status_service.d.ts +1 -1
- package/dist/services/master/fleet/master_fleet_service_task_service.d.ts +1 -1
- package/dist/services/master/main/master_main_country_service.d.ts +1 -1
- package/dist/services/master/main/master_main_currency_service.d.ts +1 -1
- package/dist/services/master/main/master_main_date_format_service.d.ts +1 -1
- package/dist/services/master/main/master_main_industry_service.d.ts +1 -1
- package/dist/services/master/main/master_main_landmark_service.d.ts +1 -1
- package/dist/services/master/main/master_main_language_service.d.ts +1 -1
- package/dist/services/master/main/master_main_state_service.d.ts +1 -1
- package/dist/services/master/main/master_main_timezone_service.d.ts +1 -1
- package/dist/services/master/main/master_main_unit_distance_service.d.ts +1 -1
- package/dist/services/master/main/master_main_unit_mileage_service.d.ts +1 -1
- package/dist/services/master/main/master_main_unit_volume_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_branch_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_color_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_group_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_sub_company_service.d.ts +1 -1
- package/dist/services/master/organisation/organisation_tag_service.d.ts +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_sub_category_service.d.ts +1 -1
- package/dist/services/master/spare_part/master_spare_part_unit_service.d.ts +1 -1
- package/dist/services/master/trip/master_trip_party_type_service.d.ts +1 -1
- package/dist/services/master/tyre/master_tyre_grade_service.d.ts +1 -1
- package/dist/services/master/tyre/master_tyre_make_service.d.ts +1 -1
- package/dist/services/master/tyre/master_tyre_model_service.d.ts +1 -1
- package/dist/services/master/user/master_user_role_service.d.ts +1 -1
- package/dist/services/master/user/master_user_status_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_associated_to_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_document_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_fuel_removal_reason_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_fuel_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_fuel_unit_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_make_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_model_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_ownership_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_status_type_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_sub_model_service.d.ts +1 -1
- package/dist/services/master/vehicle/master_vehicle_type_service.d.ts +1 -1
- package/dist/{user_organisation_service-Cpaz0P99.d.ts → user_organisation_service-Dkh1nIGX.d.ts} +19 -0
- package/package.json +1 -1
|
@@ -0,0 +1,312 @@
|
|
|
1
|
+
// src/core/sdk-config.ts
|
|
2
|
+
var KEY = "__vms_axios_instance__";
|
|
3
|
+
var getAxiosInstance = () => {
|
|
4
|
+
const instance = globalThis[KEY];
|
|
5
|
+
if (!instance) {
|
|
6
|
+
throw new Error("\u274C Axios instance not configured. Call setAxiosInstance() first.");
|
|
7
|
+
}
|
|
8
|
+
return instance;
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
// src/core/apiCall.ts
|
|
12
|
+
var apiGet = async (url, params) => {
|
|
13
|
+
const response = await getAxiosInstance().get(url, { params });
|
|
14
|
+
return response.data;
|
|
15
|
+
};
|
|
16
|
+
var apiPost = async (url, data) => {
|
|
17
|
+
const response = await getAxiosInstance().post(url, data);
|
|
18
|
+
return response.data;
|
|
19
|
+
};
|
|
20
|
+
var apiPatch = async (url, data) => {
|
|
21
|
+
const response = await getAxiosInstance().patch(url, data);
|
|
22
|
+
return response.data;
|
|
23
|
+
};
|
|
24
|
+
var apiDelete = async (url) => {
|
|
25
|
+
const response = await getAxiosInstance().delete(url);
|
|
26
|
+
return response.data;
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
// src/services/master/bus/master_year_service.ts
|
|
30
|
+
import { z as z3 } from "zod";
|
|
31
|
+
|
|
32
|
+
// src/zod_utils/zod_utils.ts
|
|
33
|
+
import { z } from "zod";
|
|
34
|
+
|
|
35
|
+
// src/core/BaseResponse.ts
|
|
36
|
+
var r_log = (data = {}) => {
|
|
37
|
+
return data;
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
// src/zod_utils/zod_utils.ts
|
|
41
|
+
var handleNullOrUndefined = (value) => typeof value === "string" ? value : "";
|
|
42
|
+
var stringMandatory = (fieldName, min = 1, max = 100) => {
|
|
43
|
+
const schema = z.string().trim().min(min, `${fieldName} must be at least ${min} characters.`).max(max, `${fieldName} must be at most ${max} characters.`).nonempty(`${fieldName} is required.`).transform(handleNullOrUndefined);
|
|
44
|
+
return schema;
|
|
45
|
+
};
|
|
46
|
+
var stringOptional = (fieldName, min = 0, max = 255, defaultValue = "") => {
|
|
47
|
+
const schema = z.string().trim().min(min, `${fieldName} must be at least ${min} characters.`).max(max, `${fieldName} must be at most ${max} characters.`).transform(handleNullOrUndefined).default(defaultValue);
|
|
48
|
+
return schema;
|
|
49
|
+
};
|
|
50
|
+
var stringArrayOptional = (fieldName, min = 0, max = 100, defaultValue = [], unique = false) => {
|
|
51
|
+
const schema = z.array(z.string().trim(), {
|
|
52
|
+
invalid_type_error: `${fieldName} must be an array of strings.`
|
|
53
|
+
}).min(min, `${fieldName} must contain at least ${min} items.`).max(max, `${fieldName} must contain at most ${max} items.`);
|
|
54
|
+
if (unique) {
|
|
55
|
+
schema.refine(
|
|
56
|
+
(arr) => new Set(arr).size === arr.length,
|
|
57
|
+
`${fieldName} must contain unique values.`
|
|
58
|
+
);
|
|
59
|
+
}
|
|
60
|
+
return schema.optional().default(defaultValue);
|
|
61
|
+
};
|
|
62
|
+
var numberOptional = (fieldName, min = 0, max = 1e14, defaultValue = 0) => {
|
|
63
|
+
return z.preprocess(
|
|
64
|
+
(val) => typeof val === "string" && val.trim() !== "" ? Number(val) : val,
|
|
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)
|
|
66
|
+
);
|
|
67
|
+
};
|
|
68
|
+
var enumMandatory = (fieldName, enumType, defaultValue) => {
|
|
69
|
+
return z.union([
|
|
70
|
+
z.nativeEnum(enumType, {
|
|
71
|
+
invalid_type_error: `${fieldName} should be one of the following values: ${Object.values(
|
|
72
|
+
enumType
|
|
73
|
+
).join(", ")}.`
|
|
74
|
+
}),
|
|
75
|
+
z.string().refine((val) => Object.values(enumType).includes(val), {
|
|
76
|
+
message: `${fieldName} should be one of the following values: ${Object.values(
|
|
77
|
+
enumType
|
|
78
|
+
).join(", ")}.`
|
|
79
|
+
})
|
|
80
|
+
]).default(defaultValue).refine((val) => val !== "", {
|
|
81
|
+
message: `Please select ${fieldName}.`
|
|
82
|
+
});
|
|
83
|
+
};
|
|
84
|
+
var enumOptional = (fieldName, enumType, defaultValue) => {
|
|
85
|
+
return z.nativeEnum(enumType, {
|
|
86
|
+
invalid_type_error: `${fieldName} must be an array containing only the following values: ${Object.values(
|
|
87
|
+
enumType
|
|
88
|
+
).join(", ")}.`
|
|
89
|
+
}).optional().default(() => defaultValue);
|
|
90
|
+
};
|
|
91
|
+
var getAllEnums = (enumType) => {
|
|
92
|
+
return Object.values(enumType);
|
|
93
|
+
};
|
|
94
|
+
var enumArrayOptional = (fieldName, enumType, defaultValue = getAllEnums(enumType), min = 0, max = 100, unique = false) => {
|
|
95
|
+
const schema = z.array(z.nativeEnum(enumType), {
|
|
96
|
+
invalid_type_error: `${fieldName} must be an array containing only the following values: ${Object.values(
|
|
97
|
+
enumType
|
|
98
|
+
).join(", ")}.`
|
|
99
|
+
}).min(min, `${fieldName} must contain at least ${min} items.`).max(max, `${fieldName} must contain at most ${max} items.`);
|
|
100
|
+
if (unique) {
|
|
101
|
+
schema.refine(
|
|
102
|
+
(arr) => new Set(arr).size === arr.length,
|
|
103
|
+
`${fieldName} must contain unique values.`
|
|
104
|
+
);
|
|
105
|
+
}
|
|
106
|
+
return schema.optional().default(() => defaultValue);
|
|
107
|
+
};
|
|
108
|
+
var dynamicJsonSchema = (fieldName, defaultValue = {}) => z.record(z.any()).optional().default(() => defaultValue);
|
|
109
|
+
var single_select_mandatory = (fieldName) => {
|
|
110
|
+
const schema = z.string().trim().nonempty(`Please select ${fieldName}.`).transform(handleNullOrUndefined);
|
|
111
|
+
return schema;
|
|
112
|
+
};
|
|
113
|
+
var single_select_optional = (fieldName) => {
|
|
114
|
+
r_log(fieldName);
|
|
115
|
+
const schema = z.string().trim().transform(handleNullOrUndefined);
|
|
116
|
+
return schema;
|
|
117
|
+
};
|
|
118
|
+
var multi_select_optional = (fieldName, max = 1e3, defaultValue = []) => {
|
|
119
|
+
const schema = z.array(
|
|
120
|
+
z.string({
|
|
121
|
+
invalid_type_error: `${fieldName} must be an array of strings.`
|
|
122
|
+
})
|
|
123
|
+
).max(
|
|
124
|
+
max,
|
|
125
|
+
`Please select at most ${max} ${fieldName}${max > 1 ? "s" : ""}.`
|
|
126
|
+
);
|
|
127
|
+
return schema.optional().default(defaultValue);
|
|
128
|
+
};
|
|
129
|
+
|
|
130
|
+
// src/zod_utils/zod_base_schema.ts
|
|
131
|
+
import { z as z2 } from "zod";
|
|
132
|
+
|
|
133
|
+
// src/core/Enums.ts
|
|
134
|
+
var PAGING = /* @__PURE__ */ ((PAGING2) => {
|
|
135
|
+
PAGING2["Yes"] = "Yes";
|
|
136
|
+
PAGING2["No"] = "No";
|
|
137
|
+
return PAGING2;
|
|
138
|
+
})(PAGING || {});
|
|
139
|
+
var LoadParents = /* @__PURE__ */ ((LoadParents2) => {
|
|
140
|
+
LoadParents2["Yes"] = "Yes";
|
|
141
|
+
LoadParents2["No"] = "No";
|
|
142
|
+
LoadParents2["Custom"] = "Custom";
|
|
143
|
+
return LoadParents2;
|
|
144
|
+
})(LoadParents || {});
|
|
145
|
+
var LoadChild = /* @__PURE__ */ ((LoadChild2) => {
|
|
146
|
+
LoadChild2["No"] = "No";
|
|
147
|
+
LoadChild2["Yes"] = "Yes";
|
|
148
|
+
LoadChild2["Count"] = "Count";
|
|
149
|
+
LoadChild2["Custom"] = "Custom";
|
|
150
|
+
LoadChild2["Direct"] = "Direct";
|
|
151
|
+
return LoadChild2;
|
|
152
|
+
})(LoadChild || {});
|
|
153
|
+
var LoadChildCount = /* @__PURE__ */ ((LoadChildCount2) => {
|
|
154
|
+
LoadChildCount2["No"] = "No";
|
|
155
|
+
LoadChildCount2["Yes"] = "Yes";
|
|
156
|
+
LoadChildCount2["Custom"] = "Custom";
|
|
157
|
+
return LoadChildCount2;
|
|
158
|
+
})(LoadChildCount || {});
|
|
159
|
+
var OrderBy = /* @__PURE__ */ ((OrderBy2) => {
|
|
160
|
+
OrderBy2["asc"] = "asc";
|
|
161
|
+
OrderBy2["desc"] = "desc";
|
|
162
|
+
return OrderBy2;
|
|
163
|
+
})(OrderBy || {});
|
|
164
|
+
var LoginFrom = /* @__PURE__ */ ((LoginFrom2) => {
|
|
165
|
+
LoginFrom2["Web"] = "Web";
|
|
166
|
+
LoginFrom2["Android"] = "Android";
|
|
167
|
+
LoginFrom2["IPhone"] = "IPhone";
|
|
168
|
+
LoginFrom2["AndroidPWA"] = "AndroidPWA";
|
|
169
|
+
LoginFrom2["iOSPWA"] = "iOSPWA";
|
|
170
|
+
return LoginFrom2;
|
|
171
|
+
})(LoginFrom || {});
|
|
172
|
+
var Status = /* @__PURE__ */ ((Status2) => {
|
|
173
|
+
Status2["Active"] = "Active";
|
|
174
|
+
Status2["Inactive"] = "Inactive";
|
|
175
|
+
return Status2;
|
|
176
|
+
})(Status || {});
|
|
177
|
+
var FileType = /* @__PURE__ */ ((FileType2) => {
|
|
178
|
+
FileType2["NoFile"] = "NoFile";
|
|
179
|
+
FileType2["Image"] = "Image";
|
|
180
|
+
FileType2["Video"] = "Video";
|
|
181
|
+
FileType2["PDF"] = "PDF";
|
|
182
|
+
return FileType2;
|
|
183
|
+
})(FileType || {});
|
|
184
|
+
var YesNo = /* @__PURE__ */ ((YesNo2) => {
|
|
185
|
+
YesNo2["Yes"] = "Yes";
|
|
186
|
+
YesNo2["No"] = "No";
|
|
187
|
+
return YesNo2;
|
|
188
|
+
})(YesNo || {});
|
|
189
|
+
|
|
190
|
+
// src/zod_utils/zod_base_schema.ts
|
|
191
|
+
var OrderBySchema = z2.array(
|
|
192
|
+
z2.object({
|
|
193
|
+
name: stringMandatory("Order Field Name", 0, 255),
|
|
194
|
+
field: stringMandatory("Order Field Name", 0, 255),
|
|
195
|
+
direction: enumMandatory("Order Direction", OrderBy, "asc" /* asc */)
|
|
196
|
+
})
|
|
197
|
+
);
|
|
198
|
+
var BaseFileSchema = z2.object({
|
|
199
|
+
usage_type: stringMandatory("Usage Type", 3, 100),
|
|
200
|
+
file_type: enumMandatory("File Type", FileType, "Image" /* Image */),
|
|
201
|
+
file_url: stringOptional("File URL", 0, 300),
|
|
202
|
+
file_key: stringOptional("File Key", 0, 300),
|
|
203
|
+
file_name: stringOptional("File Name", 0, 300),
|
|
204
|
+
file_description: stringOptional("File Description", 0, 2e3),
|
|
205
|
+
file_size: numberOptional("File Size"),
|
|
206
|
+
file_metadata: dynamicJsonSchema("File Metadata", {}),
|
|
207
|
+
status: enumMandatory("Status", Status, "Active" /* Active */)
|
|
208
|
+
});
|
|
209
|
+
var BaseQuerySchema = z2.object({
|
|
210
|
+
search: stringOptional("Search", 0, 255, ""),
|
|
211
|
+
status: enumArrayOptional("Status", Status, getAllEnums(Status), 0, 10, true),
|
|
212
|
+
paging: enumOptional("Paging", PAGING, "Yes" /* Yes */),
|
|
213
|
+
page_count: numberOptional("Page Count", 0, 1e3, 100),
|
|
214
|
+
page_index: numberOptional("Page Index", 0, 1e3, 0),
|
|
215
|
+
load_parents: enumOptional("Load Parents", LoadParents, "No" /* No */),
|
|
216
|
+
load_parents_list: stringArrayOptional("Load Parents List"),
|
|
217
|
+
load_child: enumOptional("Load Child", LoadChild, "No" /* No */),
|
|
218
|
+
load_child_list: stringArrayOptional("Load Child List"),
|
|
219
|
+
load_child_count: enumOptional(
|
|
220
|
+
"Load Child",
|
|
221
|
+
LoadChildCount,
|
|
222
|
+
"No" /* No */
|
|
223
|
+
),
|
|
224
|
+
load_child_count_list: stringArrayOptional("Load Child List"),
|
|
225
|
+
include_details: dynamicJsonSchema("Include Details", {}),
|
|
226
|
+
where_relations: dynamicJsonSchema("Where Relations", {}),
|
|
227
|
+
order_by: OrderBySchema.optional().default([]),
|
|
228
|
+
include_master_data: enumOptional("Include Master Data", YesNo, "No" /* No */),
|
|
229
|
+
date_format_id: single_select_optional("MasterMainDateFormat"),
|
|
230
|
+
time_zone_id: single_select_optional("MasterMainTimeZone")
|
|
231
|
+
});
|
|
232
|
+
var FilePresignedUrlSchema = z2.object({
|
|
233
|
+
file_name: stringMandatory("File Name", 1, 255),
|
|
234
|
+
file_type: enumMandatory("File Type", FileType, "Image" /* Image */)
|
|
235
|
+
});
|
|
236
|
+
var MongoBaseQuerySchema = z2.object({
|
|
237
|
+
search: stringOptional("Search", 0, 255, ""),
|
|
238
|
+
paging: enumOptional("Paging", PAGING, "Yes" /* Yes */),
|
|
239
|
+
page_count: numberOptional("Page Count", 0, 1e3, 100),
|
|
240
|
+
page_index: numberOptional("Page Index", 0, 1e3, 0),
|
|
241
|
+
login_from: enumMandatory("Login From", LoginFrom, "Web" /* Web */),
|
|
242
|
+
date_format_id: single_select_optional("MasterMainDateFormat"),
|
|
243
|
+
// ✅ Single-selection -> MasterMainDateFormat
|
|
244
|
+
time_zone_id: single_select_optional("MasterMainTimeZone")
|
|
245
|
+
// ✅ Single-selection -> MasterMainTimeZone
|
|
246
|
+
});
|
|
247
|
+
|
|
248
|
+
// src/services/master/bus/master_year_service.ts
|
|
249
|
+
var URL = "master/bus/year";
|
|
250
|
+
var ENDPOINTS = {
|
|
251
|
+
find: `${URL}/search`,
|
|
252
|
+
create: URL,
|
|
253
|
+
update: (id) => `${URL}/${id}`,
|
|
254
|
+
delete: (id) => `${URL}/${id}`,
|
|
255
|
+
cache: (organisation_id) => `${URL}/cache/${organisation_id}`,
|
|
256
|
+
cache_count: (organisation_id) => `${URL}/cache_count/${organisation_id}`
|
|
257
|
+
};
|
|
258
|
+
var MasterYearSchema = z3.object({
|
|
259
|
+
organisation_id: single_select_mandatory("UserOrganisation"),
|
|
260
|
+
// ✅ Single-Selection -> UserOrganisation
|
|
261
|
+
year_name: stringMandatory("Year Name", 3, 100),
|
|
262
|
+
description: stringOptional("Description", 0, 300),
|
|
263
|
+
status: enumMandatory("Status", Status, "Active" /* Active */)
|
|
264
|
+
});
|
|
265
|
+
var MasterYearQuerySchema = BaseQuerySchema.extend({
|
|
266
|
+
organisation_ids: multi_select_optional("UserOrganisation"),
|
|
267
|
+
// ✅ Multi-selection -> UserOrganisation
|
|
268
|
+
year_ids: multi_select_optional("MasterYear")
|
|
269
|
+
// ✅ Multi-selection -> MasterYear
|
|
270
|
+
});
|
|
271
|
+
var toMasterYearPayload = (row) => ({
|
|
272
|
+
organisation_id: row.organisation_id ?? "",
|
|
273
|
+
year_name: row.year_name,
|
|
274
|
+
description: row.description || "",
|
|
275
|
+
status: row.status
|
|
276
|
+
});
|
|
277
|
+
var newMasterYearPayload = () => ({
|
|
278
|
+
organisation_id: "",
|
|
279
|
+
year_name: "",
|
|
280
|
+
description: "",
|
|
281
|
+
status: "Active" /* Active */
|
|
282
|
+
});
|
|
283
|
+
var findMasterYear = async (data) => {
|
|
284
|
+
return apiPost(ENDPOINTS.find, data);
|
|
285
|
+
};
|
|
286
|
+
var createMasterYear = async (data) => {
|
|
287
|
+
return apiPost(ENDPOINTS.create, data);
|
|
288
|
+
};
|
|
289
|
+
var updateMasterYear = async (id, data) => {
|
|
290
|
+
return apiPatch(ENDPOINTS.update(id), data);
|
|
291
|
+
};
|
|
292
|
+
var deleteMasterYear = async (id) => {
|
|
293
|
+
return apiDelete(ENDPOINTS.delete(id));
|
|
294
|
+
};
|
|
295
|
+
var getMasterYearCache = async (organisation_id) => {
|
|
296
|
+
return apiGet(ENDPOINTS.cache(organisation_id));
|
|
297
|
+
};
|
|
298
|
+
var getMasterYearCacheCount = async (organisation_id) => {
|
|
299
|
+
return apiGet(ENDPOINTS.cache_count(organisation_id));
|
|
300
|
+
};
|
|
301
|
+
export {
|
|
302
|
+
MasterYearQuerySchema,
|
|
303
|
+
MasterYearSchema,
|
|
304
|
+
createMasterYear,
|
|
305
|
+
deleteMasterYear,
|
|
306
|
+
findMasterYear,
|
|
307
|
+
getMasterYearCache,
|
|
308
|
+
getMasterYearCacheCount,
|
|
309
|
+
newMasterYearPayload,
|
|
310
|
+
toMasterYearPayload,
|
|
311
|
+
updateMasterYear
|
|
312
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '../../../core/Enums.js';
|
|
2
2
|
import '../../../core/BaseResponse.js';
|
|
3
3
|
import 'zod';
|
|
4
|
-
export { bE as MasterDeviceManufacturer, bG as MasterDeviceManufacturerDTO, bI as MasterDeviceManufacturerQueryDTO, bH as MasterDeviceManufacturerQuerySchema, bF as MasterDeviceManufacturerSchema, bM as createMasterDeviceManufacturer, bO as deleteMasterDeviceManufacturer, bL as findMasterDeviceManufacturers, bP as getMasterDeviceManufacturerCache, bR as getMasterDeviceManufacturerCacheChild, bQ as getMasterDeviceManufacturerCacheCount, bK as newMasterDeviceManufacturerPayload, bJ as toMasterDeviceManufacturerPayload, bN as updateMasterDeviceManufacturer } from '../../../user_organisation_service-
|
|
4
|
+
export { bE as MasterDeviceManufacturer, bG as MasterDeviceManufacturerDTO, bI as MasterDeviceManufacturerQueryDTO, bH as MasterDeviceManufacturerQuerySchema, bF as MasterDeviceManufacturerSchema, bM as createMasterDeviceManufacturer, bO as deleteMasterDeviceManufacturer, bL as findMasterDeviceManufacturers, bP as getMasterDeviceManufacturerCache, bR as getMasterDeviceManufacturerCacheChild, bQ as getMasterDeviceManufacturerCacheCount, bK as newMasterDeviceManufacturerPayload, bJ as toMasterDeviceManufacturerPayload, bN as updateMasterDeviceManufacturer } from '../../../user_organisation_service-Dkh1nIGX.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 { bq as MasterDeviceModel, bs as MasterDeviceModelDTO, bu as MasterDeviceModelQueryDTO, bt as MasterDeviceModelQuerySchema, br as MasterDeviceModelSchema, by as createMasterDeviceModel, bA as deleteMasterDeviceModel, bx as findMasterDeviceModels, bB as getMasterDeviceModelCache, bD as getMasterDeviceModelCacheChild, bC as getMasterDeviceModelCacheCount, bw as newMasterDeviceModelPayload, bv as toMasterDeviceModelPayload, bz as updateMasterDeviceModel } from '../../../user_organisation_service-
|
|
4
|
+
export { bq as MasterDeviceModel, bs as MasterDeviceModelDTO, bu as MasterDeviceModelQueryDTO, bt as MasterDeviceModelQuerySchema, br as MasterDeviceModelSchema, by as createMasterDeviceModel, bA as deleteMasterDeviceModel, bx as findMasterDeviceModels, bB as getMasterDeviceModelCache, bD as getMasterDeviceModelCacheChild, bC as getMasterDeviceModelCacheCount, bw as newMasterDeviceModelPayload, bv as toMasterDeviceModelPayload, bz as updateMasterDeviceModel } from '../../../user_organisation_service-Dkh1nIGX.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 { bc as MasterDeviceType, be as MasterDeviceTypeDTO, bg as MasterDeviceTypeQueryDTO, bf as MasterDeviceTypeQuerySchema, bd as MasterDeviceTypeSchema, bk as createMasterDeviceType, bm as deleteMasterDeviceType, bj as findMasterDeviceTypes, bn as getMasterDeviceTypeCache, bp as getMasterDeviceTypeCacheChild, bo as getMasterDeviceTypeCacheCount, bi as newMasterDeviceTypePayload, bh as toMasterDeviceTypePayload, bl as updateMasterDeviceType } from '../../../user_organisation_service-
|
|
4
|
+
export { bc as MasterDeviceType, be as MasterDeviceTypeDTO, bg as MasterDeviceTypeQueryDTO, bf as MasterDeviceTypeQuerySchema, bd as MasterDeviceTypeSchema, bk as createMasterDeviceType, bm as deleteMasterDeviceType, bj as findMasterDeviceTypes, bn as getMasterDeviceTypeCache, bp as getMasterDeviceTypeCacheChild, bo as getMasterDeviceTypeCacheCount, bi as newMasterDeviceTypePayload, bh as toMasterDeviceTypePayload, bl as updateMasterDeviceType } from '../../../user_organisation_service-Dkh1nIGX.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 { hl as MasterExpenseName, hn as MasterExpenseNameDTO, hp as MasterExpenseNameQueryDTO, ho as MasterExpenseNameQuerySchema, hm as MasterExpenseNameSchema, ht as createMasterExpenseName, hv as deleteMasterExpenseName, hs as findMasterExpenseNames, hw as getMasterExpenseNameCache, hr as newMasterExpenseNamePayload, hq as toMasterExpenseNamePayload, hu as updateMasterExpenseName } from '../../../user_organisation_service-
|
|
4
|
+
export { hl as MasterExpenseName, hn as MasterExpenseNameDTO, hp as MasterExpenseNameQueryDTO, ho as MasterExpenseNameQuerySchema, hm as MasterExpenseNameSchema, ht as createMasterExpenseName, hv as deleteMasterExpenseName, hs as findMasterExpenseNames, hw as getMasterExpenseNameCache, hr as newMasterExpenseNamePayload, hq as toMasterExpenseNamePayload, hu as updateMasterExpenseName } from '../../../user_organisation_service-Dkh1nIGX.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 { hx as MasterExpenseType, hz as MasterExpenseTypeDTO, hB as MasterExpenseTypeQueryDTO, hA as MasterExpenseTypeQuerySchema, hy as MasterExpenseTypeSchema, hF as createMasterExpenseType, hH as deleteMasterExpenseType, hE as findMasterExpenseTypes, hI as getMasterExpenseTypeCache, hD as newMasterExpenseTypePayload, hC as toMasterExpenseTypePayload, hG as updateMasterExpenseType } from '../../../user_organisation_service-
|
|
4
|
+
export { hx as MasterExpenseType, hz as MasterExpenseTypeDTO, hB as MasterExpenseTypeQueryDTO, hA as MasterExpenseTypeQuerySchema, hy as MasterExpenseTypeSchema, hF as createMasterExpenseType, hH as deleteMasterExpenseType, hE as findMasterExpenseTypes, hI as getMasterExpenseTypeCache, hD as newMasterExpenseTypePayload, hC as toMasterExpenseTypePayload, hG as updateMasterExpenseType } from '../../../user_organisation_service-Dkh1nIGX.js';
|
|
5
5
|
import '../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../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, f as MasterMainCountry } from '../../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation, f as MasterMainCountry } from '../../../user_organisation_service-Dkh1nIGX.js';
|
|
5
5
|
import '../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -28,21 +28,21 @@ declare const MasterFuelCompanySchema: z.ZodObject<{
|
|
|
28
28
|
logo_key: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
29
29
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
30
30
|
}, "strip", z.ZodTypeAny, {
|
|
31
|
-
company_name: string;
|
|
32
31
|
description: string;
|
|
33
|
-
logo_url: string;
|
|
34
|
-
logo_key: string;
|
|
35
32
|
status: Status;
|
|
36
33
|
organisation_id: string;
|
|
37
34
|
country_id: string;
|
|
38
|
-
|
|
35
|
+
logo_key: string;
|
|
36
|
+
logo_url: string;
|
|
39
37
|
company_name: string;
|
|
38
|
+
}, {
|
|
40
39
|
status: Status;
|
|
41
40
|
organisation_id: string;
|
|
42
41
|
country_id: string;
|
|
42
|
+
company_name: string;
|
|
43
43
|
description?: string | undefined;
|
|
44
|
-
logo_url?: string | undefined;
|
|
45
44
|
logo_key?: string | undefined;
|
|
45
|
+
logo_url?: string | undefined;
|
|
46
46
|
}>;
|
|
47
47
|
type MasterFuelCompanyDTO = z.infer<typeof MasterFuelCompanySchema>;
|
|
48
48
|
declare const MasterFuelCompanyQuerySchema: z.ZodObject<{
|
|
@@ -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 } from '../../../user_organisation_service-
|
|
4
|
+
import { U as UserOrganisation } from '../../../user_organisation_service-Dkh1nIGX.js';
|
|
5
5
|
import '../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../main/master_main_sim_provider_service.js';
|
|
7
7
|
|
|
@@ -21,14 +21,14 @@ declare const MasterVendorDocumentTypeSchema: 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
|
+
document_type: string;
|
|
24
25
|
description: string;
|
|
25
26
|
status: Status;
|
|
26
27
|
organisation_id: string;
|
|
27
|
-
document_type: string;
|
|
28
28
|
}, {
|
|
29
|
+
document_type: string;
|
|
29
30
|
status: Status;
|
|
30
31
|
organisation_id: string;
|
|
31
|
-
document_type: string;
|
|
32
32
|
description?: string | undefined;
|
|
33
33
|
}>;
|
|
34
34
|
type MasterVendorDocumentTypeDTO = z.infer<typeof MasterVendorDocumentTypeSchema>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '../../../core/Enums.js';
|
|
2
2
|
import '../../../core/BaseResponse.js';
|
|
3
3
|
import 'zod';
|
|
4
|
-
export { jv as MasterVendorType, jx as MasterVendorTypeDTO, jz as MasterVendorTypeQueryDTO, jy as MasterVendorTypeQuerySchema, jw as MasterVendorTypeSchema, jD as createMasterVendorType, jF as deleteMasterVendorType, jC as findMasterVendorTypes, jG as getMasterVendorTypeCache, jB as newMasterVendorTypePayload, jA as toMasterVendorTypePayload, jE as updateMasterVendorType } from '../../../user_organisation_service-
|
|
4
|
+
export { jv as MasterVendorType, jx as MasterVendorTypeDTO, jz as MasterVendorTypeQueryDTO, jy as MasterVendorTypeQuerySchema, jw as MasterVendorTypeSchema, jD as createMasterVendorType, jF as deleteMasterVendorType, jC as findMasterVendorTypes, jG as getMasterVendorTypeCache, jB as newMasterVendorTypePayload, jA as toMasterVendorTypePayload, jE as updateMasterVendorType } from '../../../user_organisation_service-Dkh1nIGX.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 { iL as MasterFleetIncidentSeverity, iN as MasterFleetIncidentSeverityDTO, iP as MasterFleetIncidentSeverityQueryDTO, iO as MasterFleetIncidentSeverityQuerySchema, iM as MasterFleetIncidentSeveritySchema, iT as createMasterFleetIncidentSeverity, iV as deleteMasterFleetIncidentSeverity, iS as findMasterFleetIncidentSeverities, iW as getMasterFleetIncidentSeverityCache, iR as newMasterFleetIncidentSeverityPayload, iQ as toMasterFleetIncidentSeverityPayload, iU as updateMasterFleetIncidentSeverity } from '../../../user_organisation_service-
|
|
4
|
+
export { iL as MasterFleetIncidentSeverity, iN as MasterFleetIncidentSeverityDTO, iP as MasterFleetIncidentSeverityQueryDTO, iO as MasterFleetIncidentSeverityQuerySchema, iM as MasterFleetIncidentSeveritySchema, iT as createMasterFleetIncidentSeverity, iV as deleteMasterFleetIncidentSeverity, iS as findMasterFleetIncidentSeverities, iW as getMasterFleetIncidentSeverityCache, iR as newMasterFleetIncidentSeverityPayload, iQ as toMasterFleetIncidentSeverityPayload, iU as updateMasterFleetIncidentSeverity } from '../../../user_organisation_service-Dkh1nIGX.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 { iz as MasterFleetIncidentStatus, iB as MasterFleetIncidentStatusDTO, iD as MasterFleetIncidentStatusQueryDTO, iC as MasterFleetIncidentStatusQuerySchema, iA as MasterFleetIncidentStatusSchema, iH as createMasterFleetIncidentStatus, iJ as deleteMasterFleetIncidentStatus, iG as findMasterFleetIncidentStatuses, iK as getMasterFleetIncidentStatusCache, iF as newMasterFleetIncidentStatusPayload, iE as toMasterFleetIncidentStatusPayload, iI as updateMasterFleetIncidentStatus } from '../../../user_organisation_service-
|
|
4
|
+
export { iz as MasterFleetIncidentStatus, iB as MasterFleetIncidentStatusDTO, iD as MasterFleetIncidentStatusQueryDTO, iC as MasterFleetIncidentStatusQuerySchema, iA as MasterFleetIncidentStatusSchema, iH as createMasterFleetIncidentStatus, iJ as deleteMasterFleetIncidentStatus, iG as findMasterFleetIncidentStatuses, iK as getMasterFleetIncidentStatusCache, iF as newMasterFleetIncidentStatusPayload, iE as toMasterFleetIncidentStatusPayload, iI as updateMasterFleetIncidentStatus } from '../../../user_organisation_service-Dkh1nIGX.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 { im as MasterFleetIncidentType, ip as MasterFleetIncidentTypeDTO, ir as MasterFleetIncidentTypeQueryDTO, iq as MasterFleetIncidentTypeQuerySchema, io as MasterFleetIncidentTypeSchema, iv as createMasterFleetIncidentType, ix as deleteMasterFleetIncidentType, iu as findMasterFleetIncidentTypes, iy as getMasterFleetIncidentTypeCache, it as newMasterFleetIncidentTypePayload, is as toMasterFleetIncidentTypePayload, iw as updateMasterFleetIncidentType } from '../../../user_organisation_service-
|
|
4
|
+
export { im as MasterFleetIncidentType, ip as MasterFleetIncidentTypeDTO, ir as MasterFleetIncidentTypeQueryDTO, iq as MasterFleetIncidentTypeQuerySchema, io as MasterFleetIncidentTypeSchema, iv as createMasterFleetIncidentType, ix as deleteMasterFleetIncidentType, iu as findMasterFleetIncidentTypes, iy as getMasterFleetIncidentTypeCache, it as newMasterFleetIncidentTypePayload, is as toMasterFleetIncidentTypePayload, iw as updateMasterFleetIncidentType } from '../../../user_organisation_service-Dkh1nIGX.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 { iX as MasterFleetInsuranceClaimStatus, iZ as MasterFleetInsuranceClaimStatusDTO, i$ as MasterFleetInsuranceClaimStatusQueryDTO, i_ as MasterFleetInsuranceClaimStatusQuerySchema, iY as MasterFleetInsuranceClaimStatusSchema, j3 as createMasterFleetInsuranceClaimStatus, j5 as deleteMasterFleetInsuranceClaimStatus, j2 as findMasterFleetInsuranceClaimStatuses, j6 as getMasterFleetInsuranceClaimStatusCache, j1 as newMasterFleetInsuranceClaimStatusPayload, j0 as toMasterFleetInsuranceClaimStatusPayload, j4 as updateMasterFleetInsuranceClaimStatus } from '../../../user_organisation_service-
|
|
4
|
+
export { iX as MasterFleetInsuranceClaimStatus, iZ as MasterFleetInsuranceClaimStatusDTO, i$ as MasterFleetInsuranceClaimStatusQueryDTO, i_ as MasterFleetInsuranceClaimStatusQuerySchema, iY as MasterFleetInsuranceClaimStatusSchema, j3 as createMasterFleetInsuranceClaimStatus, j5 as deleteMasterFleetInsuranceClaimStatus, j2 as findMasterFleetInsuranceClaimStatuses, j6 as getMasterFleetInsuranceClaimStatusCache, j1 as newMasterFleetInsuranceClaimStatusPayload, j0 as toMasterFleetInsuranceClaimStatusPayload, j4 as updateMasterFleetInsuranceClaimStatus } from '../../../user_organisation_service-Dkh1nIGX.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 { j7 as MasterFleetServiceTask, j9 as MasterFleetServiceTaskDTO, jb as MasterFleetServiceTaskQueryDTO, ja as MasterFleetServiceTaskQuerySchema, j8 as MasterFleetServiceTaskSchema, jf as createMasterFleetServiceTask, jh as deleteMasterFleetServiceTask, je as findMasterFleetServiceTasks, ji as getMasterFleetServiceTaskCache, jd as newMasterFleetServiceTaskPayload, jc as toMasterFleetServiceTaskPayload, jg as updateMasterFleetServiceTask } from '../../../user_organisation_service-
|
|
4
|
+
export { j7 as MasterFleetServiceTask, j9 as MasterFleetServiceTaskDTO, jb as MasterFleetServiceTaskQueryDTO, ja as MasterFleetServiceTaskQuerySchema, j8 as MasterFleetServiceTaskSchema, jf as createMasterFleetServiceTask, jh as deleteMasterFleetServiceTask, je as findMasterFleetServiceTasks, ji as getMasterFleetServiceTaskCache, jd as newMasterFleetServiceTaskPayload, jc as toMasterFleetServiceTaskPayload, jg as updateMasterFleetServiceTask } from '../../../user_organisation_service-Dkh1nIGX.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 { f as MasterMainCountry, a3 as MasterMainCountryDTO, a5 as MasterMainCountryQueryDTO, a4 as MasterMainCountryQuerySchema, a2 as MasterMainCountrySchema, a9 as createMasterMainCountry, ab as deleteMasterMainCountry, a8 as findMasterMainCountries, ac as getMasterMainCountryCache, ad as getMasterMainCountryCacheChild, a7 as newMasterMainCountryPayload, a6 as toMasterMainCountryPayload, aa as updateMasterMainCountry } from '../../../user_organisation_service-
|
|
4
|
+
export { f as MasterMainCountry, a3 as MasterMainCountryDTO, a5 as MasterMainCountryQueryDTO, a4 as MasterMainCountryQuerySchema, a2 as MasterMainCountrySchema, a9 as createMasterMainCountry, ab as deleteMasterMainCountry, a8 as findMasterMainCountries, ac as getMasterMainCountryCache, ad as getMasterMainCountryCacheChild, a7 as newMasterMainCountryPayload, a6 as toMasterMainCountryPayload, aa as updateMasterMainCountry } from '../../../user_organisation_service-Dkh1nIGX.js';
|
|
5
5
|
import '../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import './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 { r as MasterMainCurrency, v as MasterMainCurrencyDTO, x as MasterMainCurrencyQueryDTO, w as MasterMainCurrencyQuerySchema, s as MasterMainCurrencySchema, B as createMasterMainCurrency, D as deleteMasterMainCurrency, A as findMasterMainCurrencies, E as getMasterMainCurrencyCache, z as newMasterMainCurrencyPayload, y as toMasterMainCurrencyPayload, C as updateMasterMainCurrency } from '../../../user_organisation_service-
|
|
4
|
+
export { r as MasterMainCurrency, v as MasterMainCurrencyDTO, x as MasterMainCurrencyQueryDTO, w as MasterMainCurrencyQuerySchema, s as MasterMainCurrencySchema, B as createMasterMainCurrency, D as deleteMasterMainCurrency, A as findMasterMainCurrencies, E as getMasterMainCurrencyCache, z as newMasterMainCurrencyPayload, y as toMasterMainCurrencyPayload, C as updateMasterMainCurrency } from '../../../user_organisation_service-Dkh1nIGX.js';
|
|
5
5
|
import '../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import './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 { ae as MasterMainDateFormat, ag as MasterMainDateFormatDTO, ai as MasterMainDateFormatQueryDTO, ah as MasterMainDateFormatQuerySchema, af as MasterMainDateFormatSchema, am as createMasterMainDateFormat, ao as deleteMasterMainDateFormat, al as findMasterMainDateFormats, ap as getMasterMainDateFormatCache, ak as newMasterMainDateFormatPayload, aj as toMasterMainDateFormatPayload, an as updateMasterMainDateFormat } from '../../../user_organisation_service-
|
|
4
|
+
export { ae as MasterMainDateFormat, ag as MasterMainDateFormatDTO, ai as MasterMainDateFormatQueryDTO, ah as MasterMainDateFormatQuerySchema, af as MasterMainDateFormatSchema, am as createMasterMainDateFormat, ao as deleteMasterMainDateFormat, al as findMasterMainDateFormats, ap as getMasterMainDateFormatCache, ak as newMasterMainDateFormatPayload, aj as toMasterMainDateFormatPayload, an as updateMasterMainDateFormat } from '../../../user_organisation_service-Dkh1nIGX.js';
|
|
5
5
|
import '../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import './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 { h as MasterMainIndustry, j as MasterMainIndustryDTO, l as MasterMainIndustryQueryDTO, k as MasterMainIndustryQuerySchema, i as MasterMainIndustrySchema, o as createMasterMainIndustry, p as deleteMasterMainIndustry, m as findMasterMainIndustrys, q as getMasterMainIndustryCache, n as newMasterMainIndustryPayload, t as toMasterMainIndustryPayload, u as updateMasterMainIndustry } from '../../../user_organisation_service-
|
|
4
|
+
export { h as MasterMainIndustry, j as MasterMainIndustryDTO, l as MasterMainIndustryQueryDTO, k as MasterMainIndustryQuerySchema, i as MasterMainIndustrySchema, o as createMasterMainIndustry, p as deleteMasterMainIndustry, m as findMasterMainIndustrys, q as getMasterMainIndustryCache, n as newMasterMainIndustryPayload, t as toMasterMainIndustryPayload, u as updateMasterMainIndustry } from '../../../user_organisation_service-Dkh1nIGX.js';
|
|
5
5
|
import '../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import './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 { f as MasterMainCountry, g as MasterMainState } from '../../../user_organisation_service-
|
|
4
|
+
import { f as MasterMainCountry, g as MasterMainState } from '../../../user_organisation_service-Dkh1nIGX.js';
|
|
5
5
|
import '../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import './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 { gO as MasterMainLanguage, gQ as MasterMainLanguageDTO, gS as MasterMainLanguageQueryDTO, gR as MasterMainLanguageQuerySchema, gP as MasterMainLanguageSchema, gW as createMasterMainLanguage, gY as deleteMasterMainLanguage, gV as findMasterMainLanguages, gZ as getMasterMainLanguageCache, gU as newMasterMainLanguagePayload, gT as toMasterMainLanguagePayload, gX as updateMasterMainLanguage } from '../../../user_organisation_service-
|
|
4
|
+
export { gO as MasterMainLanguage, gQ as MasterMainLanguageDTO, gS as MasterMainLanguageQueryDTO, gR as MasterMainLanguageQuerySchema, gP as MasterMainLanguageSchema, gW as createMasterMainLanguage, gY as deleteMasterMainLanguage, gV as findMasterMainLanguages, gZ as getMasterMainLanguageCache, gU as newMasterMainLanguagePayload, gT as toMasterMainLanguagePayload, gX as updateMasterMainLanguage } from '../../../user_organisation_service-Dkh1nIGX.js';
|
|
5
5
|
import '../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import './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 { g as MasterMainState, T as MasterMainStateDTO, W as MasterMainStateQueryDTO, V as MasterMainStateQuerySchema, S as MasterMainStateSchema, _ as createMasterMainState, a0 as deleteMasterMainState, Z as findMasterMainStates, a1 as getMasterMainStateCache, Y as newMasterMainStatePayload, X as toMasterMainStatePayload, $ as updateMasterMainState } from '../../../user_organisation_service-
|
|
4
|
+
export { g as MasterMainState, T as MasterMainStateDTO, W as MasterMainStateQueryDTO, V as MasterMainStateQuerySchema, S as MasterMainStateSchema, _ as createMasterMainState, a0 as deleteMasterMainState, Z as findMasterMainStates, a1 as getMasterMainStateCache, Y as newMasterMainStatePayload, X as toMasterMainStatePayload, $ as updateMasterMainState } from '../../../user_organisation_service-Dkh1nIGX.js';
|
|
5
5
|
import '../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import './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 { F as MasterMainTimeZone, H as MasterMainTimeZoneDTO, J as MasterMainTimeZoneQueryDTO, I as MasterMainTimeZoneQuerySchema, G as MasterMainTimeZoneSchema, O as createMasterMainTimeZone, Q as deleteMasterMainTimeZone, N as findMasterMainTimeZones, R as getMasterMainTimeZoneCache, L as newMasterMainTimeZonePayload, K as toMasterMainTimeZonePayload, P as updateMasterMainTimeZone } from '../../../user_organisation_service-
|
|
4
|
+
export { F as MasterMainTimeZone, H as MasterMainTimeZoneDTO, J as MasterMainTimeZoneQueryDTO, I as MasterMainTimeZoneQuerySchema, G as MasterMainTimeZoneSchema, O as createMasterMainTimeZone, Q as deleteMasterMainTimeZone, N as findMasterMainTimeZones, R as getMasterMainTimeZoneCache, L as newMasterMainTimeZonePayload, K as toMasterMainTimeZonePayload, P as updateMasterMainTimeZone } from '../../../user_organisation_service-Dkh1nIGX.js';
|
|
5
5
|
import '../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import './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 { aq as MasterMainUnitDistance, as as MasterMainUnitDistanceDTO, au as MasterMainUnitDistanceQueryDTO, at as MasterMainUnitDistanceQuerySchema, ar as MasterMainUnitDistanceSchema, ay as createMasterMainUnitDistance, aA as deleteMasterMainUnitDistance, ax as findMasterMainUnitDistances, aB as getMasterMainUnitDistanceCache, aw as newMasterMainUnitDistancePayload, av as toMasterMainUnitDistancePayload, az as updateMasterMainUnitDistance } from '../../../user_organisation_service-
|
|
4
|
+
export { aq as MasterMainUnitDistance, as as MasterMainUnitDistanceDTO, au as MasterMainUnitDistanceQueryDTO, at as MasterMainUnitDistanceQuerySchema, ar as MasterMainUnitDistanceSchema, ay as createMasterMainUnitDistance, aA as deleteMasterMainUnitDistance, ax as findMasterMainUnitDistances, aB as getMasterMainUnitDistanceCache, aw as newMasterMainUnitDistancePayload, av as toMasterMainUnitDistancePayload, az as updateMasterMainUnitDistance } from '../../../user_organisation_service-Dkh1nIGX.js';
|
|
5
5
|
import '../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import './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 { aC as MasterMainUnitMileage, aE as MasterMainUnitMileageDTO, aG as MasterMainUnitMileageQueryDTO, aF as MasterMainUnitMileageQuerySchema, aD as MasterMainUnitMileageSchema, aK as createMasterMainUnitMileage, aM as deleteMasterMainUnitMileage, aJ as findMasterMainUnitMileages, aN as getMasterMainUnitMileageCache, aI as newMasterMainUnitMileagePayload, aH as toMasterMainUnitMileagePayload, aL as updateMasterMainUnitMileage } from '../../../user_organisation_service-
|
|
4
|
+
export { aC as MasterMainUnitMileage, aE as MasterMainUnitMileageDTO, aG as MasterMainUnitMileageQueryDTO, aF as MasterMainUnitMileageQuerySchema, aD as MasterMainUnitMileageSchema, aK as createMasterMainUnitMileage, aM as deleteMasterMainUnitMileage, aJ as findMasterMainUnitMileages, aN as getMasterMainUnitMileageCache, aI as newMasterMainUnitMileagePayload, aH as toMasterMainUnitMileagePayload, aL as updateMasterMainUnitMileage } from '../../../user_organisation_service-Dkh1nIGX.js';
|
|
5
5
|
import '../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import './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 { aO as MasterMainUnitVolume, aQ as MasterMainUnitVolumeDTO, aS as MasterMainUnitVolumeQueryDTO, aR as MasterMainUnitVolumeQuerySchema, aP as MasterMainUnitVolumeSchema, aW as createMasterMainUnitVolume, aY as deleteMasterMainUnitVolume, aV as findMasterMainUnitVolumes, aZ as getMasterMainUnitVolumeCache, aU as newMasterMainUnitVolumePayload, aT as toMasterMainUnitVolumePayload, aX as updateMasterMainUnitVolume } from '../../../user_organisation_service-
|
|
4
|
+
export { aO as MasterMainUnitVolume, aQ as MasterMainUnitVolumeDTO, aS as MasterMainUnitVolumeQueryDTO, aR as MasterMainUnitVolumeQuerySchema, aP as MasterMainUnitVolumeSchema, aW as createMasterMainUnitVolume, aY as deleteMasterMainUnitVolume, aV as findMasterMainUnitVolumes, aZ as getMasterMainUnitVolumeCache, aU as newMasterMainUnitVolumePayload, aT as toMasterMainUnitVolumePayload, aX as updateMasterMainUnitVolume } from '../../../user_organisation_service-Dkh1nIGX.js';
|
|
5
5
|
import '../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import './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 { cx as OrganisationBranch, cz as OrganisationBranchDTO, cB as OrganisationBranchQueryDTO, cA as OrganisationBranchQuerySchema, cy as OrganisationBranchSchema, cF as createOrganisationBranch, cH as deleteOrganisationBranch, cE as findOrganisationBranchs, cI as getOrganisationBranchCache, cK as getOrganisationBranchCacheChild, cJ as getOrganisationBranchCacheCount, cD as newOrganisationBranchPayload, cC as toOrganisationBranchPayload, cG as updateOrganisationBranch } from '../../../user_organisation_service-
|
|
4
|
+
export { cx as OrganisationBranch, cz as OrganisationBranchDTO, cB as OrganisationBranchQueryDTO, cA as OrganisationBranchQuerySchema, cy as OrganisationBranchSchema, cF as createOrganisationBranch, cH as deleteOrganisationBranch, cE as findOrganisationBranchs, cI as getOrganisationBranchCache, cK as getOrganisationBranchCacheChild, cJ as getOrganisationBranchCacheCount, cD as newOrganisationBranchPayload, cC as toOrganisationBranchPayload, cG as updateOrganisationBranch } from '../../../user_organisation_service-Dkh1nIGX.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 { cL as OrganisationColor, cN as OrganisationColorDTO, cP as OrganisationColorQueryDTO, cO as OrganisationColorQuerySchema, cM as OrganisationColorSchema, cT as createOrganisationColor, cV as deleteOrganisationColor, cS as findOrganisationColors, cW as getOrganisationColorCache, cY as getOrganisationColorCacheChild, cX as getOrganisationColorCacheCount, cR as newOrganisationColorPayload, cQ as toOrganisationColorPayload, cU as updateOrganisationColor } from '../../../user_organisation_service-
|
|
4
|
+
export { cL as OrganisationColor, cN as OrganisationColorDTO, cP as OrganisationColorQueryDTO, cO as OrganisationColorQuerySchema, cM as OrganisationColorSchema, cT as createOrganisationColor, cV as deleteOrganisationColor, cS as findOrganisationColors, cW as getOrganisationColorCache, cY as getOrganisationColorCacheChild, cX as getOrganisationColorCacheCount, cR as newOrganisationColorPayload, cQ as toOrganisationColorPayload, cU as updateOrganisationColor } from '../../../user_organisation_service-Dkh1nIGX.js';
|
|
5
5
|
import '../../../zod_utils/zod_base_schema.js';
|
|
6
6
|
import '../main/master_main_sim_provider_service.js';
|