vms-nest-prisma-api-document 192.0.0 → 193.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/main/users/user_admin_service.d.ts +2 -2
- package/dist/services/main/users/user_admin_service.js +2 -2
- package/dist/services/master/expense/master_expense_name_service.d.ts +5 -5
- package/dist/services/master/expense/master_fuel_company_service.d.ts +5 -5
- package/dist/services/master/spare_part/master_spare_part_sub_category_service.d.ts +5 -5
- package/dist/services/master/spare_part/master_spare_part_unit_service.d.ts +3 -3
- package/dist/services/website/contact_us_detail_service.d.ts +1 -1
- package/dist/services/website/faq_service.d.ts +1 -1
- package/package.json +1 -1
|
@@ -212,7 +212,7 @@ declare const updateUserAdmin: (id: string, data: UserAdminDTO) => Promise<SBR>;
|
|
|
212
212
|
declare const updateUserAdminLogo: (id: string, data: UserAdminLogoDTO) => Promise<SBR>;
|
|
213
213
|
declare const updateUserAdminProfile: (id: string, data: UserAdminProfileDTO) => Promise<SBR>;
|
|
214
214
|
declare const deleteUserAdmin: (id: string) => Promise<SBR>;
|
|
215
|
-
declare const
|
|
215
|
+
declare const get_admin_presigned_url: (file_name: string) => Promise<BR<AWSPresignedUrl>>;
|
|
216
216
|
declare const getAdminUserCache: () => Promise<FBR<UserAdmin[]>>;
|
|
217
217
|
|
|
218
218
|
interface Ticket extends Record<string, unknown> {
|
|
@@ -545,4 +545,4 @@ declare const getTicketFilePresignedUrl: (data: FilePresignedUrlDTO) => Promise<
|
|
|
545
545
|
declare const createTicketFile: (data: TicketFileDTO) => Promise<SBR>;
|
|
546
546
|
declare const removeTicketFile: (id: string) => Promise<SBR>;
|
|
547
547
|
|
|
548
|
-
export { type Ticket as T, type UserAdmin, type UserAdminDTO, type UserAdminLoginPush, type UserAdminLogoDTO, UserAdminLogoSchema, type UserAdminProfileDTO, UserAdminProfileSchema, type UserAdminQueryDTO, UserAdminQuerySchema, UserAdminSchema, type TicketFile as a, TicketFileSchema as b, type TicketFileDTO as c, createUserAdmin, TicketSchema as d, deleteUserAdmin, type TicketDTO as e, TicketVerifySchema as f, findUserAdmin, type TicketVerifyDTO as g, getAdminUserCache,
|
|
548
|
+
export { type Ticket as T, type UserAdmin, type UserAdminDTO, type UserAdminLoginPush, type UserAdminLogoDTO, UserAdminLogoSchema, type UserAdminProfileDTO, UserAdminProfileSchema, type UserAdminQueryDTO, UserAdminQuerySchema, UserAdminSchema, type TicketFile as a, TicketFileSchema as b, type TicketFileDTO as c, createUserAdmin, TicketSchema as d, deleteUserAdmin, type TicketDTO as e, TicketVerifySchema as f, findUserAdmin, type TicketVerifyDTO as g, getAdminUserCache, get_admin_presigned_url, TicketQuerySchema as h, type TicketQueryDTO as i, toVerifyTicketPayload as j, findTickets as k, createTicket as l, updateVerifyStatus as m, newTicketPayload as n, newUserAdminPayload, deleteTicket as o, getTicketFilePresignedUrl as p, createTicketFile as q, removeTicketFile as r, toTicketPayload as t, toUserAdminLogoPayload, toUserAdminPayload, toUserAdminProfilePayload, updateTicket as u, updateUserAdmin, updateUserAdminLogo, updateUserAdminProfile };
|
|
@@ -349,7 +349,7 @@ var updateUserAdminProfile = async (id, data) => {
|
|
|
349
349
|
var deleteUserAdmin = async (id) => {
|
|
350
350
|
return apiDelete(ENDPOINTS.delete(id));
|
|
351
351
|
};
|
|
352
|
-
var
|
|
352
|
+
var get_admin_presigned_url = async (file_name) => {
|
|
353
353
|
return apiGet(ENDPOINTS.presigned_url(file_name));
|
|
354
354
|
};
|
|
355
355
|
var getAdminUserCache = async () => {
|
|
@@ -364,7 +364,7 @@ export {
|
|
|
364
364
|
deleteUserAdmin,
|
|
365
365
|
findUserAdmin,
|
|
366
366
|
getAdminUserCache,
|
|
367
|
-
|
|
367
|
+
get_admin_presigned_url,
|
|
368
368
|
newUserAdminPayload,
|
|
369
369
|
toUserAdminLogoPayload,
|
|
370
370
|
toUserAdminPayload,
|
|
@@ -27,16 +27,16 @@ declare const MasterExpenseNameSchema: z.ZodObject<{
|
|
|
27
27
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
28
28
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
29
29
|
}, "strip", z.ZodTypeAny, {
|
|
30
|
-
expense_name: string;
|
|
31
|
-
expense_category: ExpenseCategory;
|
|
32
30
|
description: string;
|
|
33
31
|
status: Status;
|
|
34
32
|
organisation_id: string;
|
|
35
|
-
}, {
|
|
36
33
|
expense_name: string;
|
|
37
34
|
expense_category: ExpenseCategory;
|
|
35
|
+
}, {
|
|
38
36
|
status: Status;
|
|
39
37
|
organisation_id: string;
|
|
38
|
+
expense_name: string;
|
|
39
|
+
expense_category: ExpenseCategory;
|
|
40
40
|
description?: string | undefined;
|
|
41
41
|
}>;
|
|
42
42
|
type MasterExpenseNameDTO = z.infer<typeof MasterExpenseNameSchema>;
|
|
@@ -75,7 +75,6 @@ declare const MasterExpenseNameQuerySchema: z.ZodObject<{
|
|
|
75
75
|
expense_name_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
76
76
|
expense_category: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof ExpenseCategory>, "many">>>;
|
|
77
77
|
}, "strip", z.ZodTypeAny, {
|
|
78
|
-
expense_category: ExpenseCategory[];
|
|
79
78
|
status: Status[];
|
|
80
79
|
search: string;
|
|
81
80
|
paging: PAGING;
|
|
@@ -98,11 +97,11 @@ declare const MasterExpenseNameQuerySchema: z.ZodObject<{
|
|
|
98
97
|
date_format_id: string;
|
|
99
98
|
time_zone_id: string;
|
|
100
99
|
organisation_ids: string[];
|
|
100
|
+
expense_category: ExpenseCategory[];
|
|
101
101
|
expense_name_ids: string[];
|
|
102
102
|
}, {
|
|
103
103
|
date_format_id: string;
|
|
104
104
|
time_zone_id: string;
|
|
105
|
-
expense_category?: ExpenseCategory[] | undefined;
|
|
106
105
|
status?: Status[] | undefined;
|
|
107
106
|
search?: string | undefined;
|
|
108
107
|
paging?: PAGING | undefined;
|
|
@@ -123,6 +122,7 @@ declare const MasterExpenseNameQuerySchema: z.ZodObject<{
|
|
|
123
122
|
}[] | undefined;
|
|
124
123
|
include_master_data?: YesNo | undefined;
|
|
125
124
|
organisation_ids?: string[] | undefined;
|
|
125
|
+
expense_category?: ExpenseCategory[] | undefined;
|
|
126
126
|
expense_name_ids?: string[] | undefined;
|
|
127
127
|
}>;
|
|
128
128
|
type MasterExpenseNameQueryDTO = z.infer<typeof MasterExpenseNameQuerySchema>;
|
|
@@ -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;
|
|
31
32
|
description: string;
|
|
33
|
+
logo_url: string;
|
|
34
|
+
logo_key: string;
|
|
32
35
|
status: Status;
|
|
33
36
|
organisation_id: string;
|
|
34
37
|
country_id: string;
|
|
35
|
-
logo_key: string;
|
|
36
|
-
logo_url: string;
|
|
37
|
-
company_name: string;
|
|
38
38
|
}, {
|
|
39
|
+
company_name: string;
|
|
39
40
|
status: Status;
|
|
40
41
|
organisation_id: string;
|
|
41
42
|
country_id: string;
|
|
42
|
-
company_name: string;
|
|
43
43
|
description?: string | undefined;
|
|
44
|
-
logo_key?: string | undefined;
|
|
45
44
|
logo_url?: string | undefined;
|
|
45
|
+
logo_key?: string | undefined;
|
|
46
46
|
}>;
|
|
47
47
|
type MasterFuelCompanyDTO = z.infer<typeof MasterFuelCompanySchema>;
|
|
48
48
|
declare const MasterFuelCompanyQuerySchema: z.ZodObject<{
|
|
@@ -29,18 +29,18 @@ declare const MasterSparePartSubCategorySchema: z.ZodObject<{
|
|
|
29
29
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
30
30
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
31
31
|
}, "strip", z.ZodTypeAny, {
|
|
32
|
+
spare_part_category_id: string;
|
|
32
33
|
description: string;
|
|
33
34
|
status: Status;
|
|
34
35
|
organisation_id: string;
|
|
35
36
|
sub_category_name: string;
|
|
36
37
|
sub_category_code: string;
|
|
37
|
-
spare_part_category_id: string;
|
|
38
38
|
}, {
|
|
39
|
+
spare_part_category_id: string;
|
|
39
40
|
status: Status;
|
|
40
41
|
organisation_id: string;
|
|
41
42
|
sub_category_name: string;
|
|
42
43
|
sub_category_code: string;
|
|
43
|
-
spare_part_category_id: string;
|
|
44
44
|
description?: string | undefined;
|
|
45
45
|
}>;
|
|
46
46
|
type MasterSparePartSubCategoryDTO = z.infer<typeof MasterSparePartSubCategorySchema>;
|
|
@@ -162,16 +162,16 @@ declare const MasterSparePartCategorySchema: z.ZodObject<{
|
|
|
162
162
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
163
163
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
164
164
|
}, "strip", z.ZodTypeAny, {
|
|
165
|
+
category_name: string;
|
|
166
|
+
category_code: string;
|
|
165
167
|
description: string;
|
|
166
168
|
status: Status;
|
|
167
169
|
organisation_id: string;
|
|
170
|
+
}, {
|
|
168
171
|
category_name: string;
|
|
169
172
|
category_code: string;
|
|
170
|
-
}, {
|
|
171
173
|
status: Status;
|
|
172
174
|
organisation_id: string;
|
|
173
|
-
category_name: string;
|
|
174
|
-
category_code: string;
|
|
175
175
|
description?: string | undefined;
|
|
176
176
|
}>;
|
|
177
177
|
type MasterSparePartCategoryDTO = z.infer<typeof MasterSparePartCategorySchema>;
|
|
@@ -26,16 +26,16 @@ declare const MasterSparePartUnitSchema: z.ZodObject<{
|
|
|
26
26
|
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
27
27
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
28
28
|
}, "strip", z.ZodTypeAny, {
|
|
29
|
-
unit_name: string;
|
|
30
|
-
unit_code: string;
|
|
31
29
|
description: string;
|
|
32
30
|
status: Status;
|
|
33
31
|
organisation_id: string;
|
|
34
|
-
}, {
|
|
35
32
|
unit_name: string;
|
|
36
33
|
unit_code: string;
|
|
34
|
+
}, {
|
|
37
35
|
status: Status;
|
|
38
36
|
organisation_id: string;
|
|
37
|
+
unit_name: string;
|
|
38
|
+
unit_code: string;
|
|
39
39
|
description?: string | undefined;
|
|
40
40
|
}>;
|
|
41
41
|
type MasterSparePartUnitDTO = z.infer<typeof MasterSparePartUnitSchema>;
|
|
@@ -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;
|
|
@@ -17,10 +17,10 @@ declare const FaqSchema: z.ZodObject<{
|
|
|
17
17
|
faq_content: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
18
18
|
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
19
19
|
}, "strip", z.ZodTypeAny, {
|
|
20
|
+
status: Status;
|
|
20
21
|
faq_section: string;
|
|
21
22
|
faq_header: string;
|
|
22
23
|
faq_content: string;
|
|
23
|
-
status: Status;
|
|
24
24
|
}, {
|
|
25
25
|
status: Status;
|
|
26
26
|
faq_section?: string | undefined;
|
package/package.json
CHANGED