@hed-hog/contact-us 0.0.333 → 0.0.347
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/contact-us.controller.d.ts +12 -12
- package/dist/contact-us.service.d.ts +12 -12
- package/package.json +2 -2
|
@@ -38,13 +38,13 @@ export declare class ContactUsController {
|
|
|
38
38
|
};
|
|
39
39
|
} & {
|
|
40
40
|
name: string;
|
|
41
|
+
status: import("@prisma/client").$Enums.contact_us_status_e6479e7313_enum;
|
|
42
|
+
email: string;
|
|
43
|
+
id: number;
|
|
41
44
|
message: string;
|
|
42
45
|
response: string | null;
|
|
43
|
-
id: number;
|
|
44
46
|
created_at: Date;
|
|
45
47
|
updated_at: Date;
|
|
46
|
-
status: import("@prisma/client").$Enums.contact_us_status_e6479e7313_enum;
|
|
47
|
-
email: string;
|
|
48
48
|
response_at: Date | null;
|
|
49
49
|
user_id: number | null;
|
|
50
50
|
response_id: number | null;
|
|
@@ -62,26 +62,26 @@ export declare class ContactUsController {
|
|
|
62
62
|
}>;
|
|
63
63
|
deleteContactUsMessage(id: number, locale: string): Promise<{
|
|
64
64
|
name: string;
|
|
65
|
+
status: import("@prisma/client").$Enums.contact_us_status_e6479e7313_enum;
|
|
66
|
+
email: string;
|
|
67
|
+
id: number;
|
|
65
68
|
message: string;
|
|
66
69
|
response: string | null;
|
|
67
|
-
id: number;
|
|
68
70
|
created_at: Date;
|
|
69
71
|
updated_at: Date;
|
|
70
|
-
status: import("@prisma/client").$Enums.contact_us_status_e6479e7313_enum;
|
|
71
|
-
email: string;
|
|
72
72
|
response_at: Date | null;
|
|
73
73
|
user_id: number | null;
|
|
74
74
|
response_id: number | null;
|
|
75
75
|
}>;
|
|
76
76
|
updateContactUsMessageStatus(id: number, { status }: ContactUsStatusDTO, locale: string): Promise<{
|
|
77
77
|
name: string;
|
|
78
|
+
status: import("@prisma/client").$Enums.contact_us_status_e6479e7313_enum;
|
|
79
|
+
email: string;
|
|
80
|
+
id: number;
|
|
78
81
|
message: string;
|
|
79
82
|
response: string | null;
|
|
80
|
-
id: number;
|
|
81
83
|
created_at: Date;
|
|
82
84
|
updated_at: Date;
|
|
83
|
-
status: import("@prisma/client").$Enums.contact_us_status_e6479e7313_enum;
|
|
84
|
-
email: string;
|
|
85
85
|
response_at: Date | null;
|
|
86
86
|
user_id: number | null;
|
|
87
87
|
response_id: number | null;
|
|
@@ -89,13 +89,13 @@ export declare class ContactUsController {
|
|
|
89
89
|
respondToContactUsMessage(locale: string, id: number, { response }: ContactUsResponseDTO, user: any): Promise<string>;
|
|
90
90
|
createContactUsMessage(locale: string, { name, email, message }: ContactUsSendDTO): Promise<{
|
|
91
91
|
name: string;
|
|
92
|
+
status: import("@prisma/client").$Enums.contact_us_status_e6479e7313_enum;
|
|
93
|
+
email: string;
|
|
94
|
+
id: number;
|
|
92
95
|
message: string;
|
|
93
96
|
response: string | null;
|
|
94
|
-
id: number;
|
|
95
97
|
created_at: Date;
|
|
96
98
|
updated_at: Date;
|
|
97
|
-
status: import("@prisma/client").$Enums.contact_us_status_e6479e7313_enum;
|
|
98
|
-
email: string;
|
|
99
99
|
response_at: Date | null;
|
|
100
100
|
user_id: number | null;
|
|
101
101
|
response_id: number | null;
|
|
@@ -41,13 +41,13 @@ export declare class ContactUsService {
|
|
|
41
41
|
};
|
|
42
42
|
} & {
|
|
43
43
|
name: string;
|
|
44
|
+
status: import("@prisma/client").$Enums.contact_us_status_e6479e7313_enum;
|
|
45
|
+
email: string;
|
|
46
|
+
id: number;
|
|
44
47
|
message: string;
|
|
45
48
|
response: string | null;
|
|
46
|
-
id: number;
|
|
47
49
|
created_at: Date;
|
|
48
50
|
updated_at: Date;
|
|
49
|
-
status: import("@prisma/client").$Enums.contact_us_status_e6479e7313_enum;
|
|
50
|
-
email: string;
|
|
51
51
|
response_at: Date | null;
|
|
52
52
|
user_id: number | null;
|
|
53
53
|
response_id: number | null;
|
|
@@ -63,26 +63,26 @@ export declare class ContactUsService {
|
|
|
63
63
|
}>;
|
|
64
64
|
deleteContactUsMessage(id: number, locale?: string): Promise<{
|
|
65
65
|
name: string;
|
|
66
|
+
status: import("@prisma/client").$Enums.contact_us_status_e6479e7313_enum;
|
|
67
|
+
email: string;
|
|
68
|
+
id: number;
|
|
66
69
|
message: string;
|
|
67
70
|
response: string | null;
|
|
68
|
-
id: number;
|
|
69
71
|
created_at: Date;
|
|
70
72
|
updated_at: Date;
|
|
71
|
-
status: import("@prisma/client").$Enums.contact_us_status_e6479e7313_enum;
|
|
72
|
-
email: string;
|
|
73
73
|
response_at: Date | null;
|
|
74
74
|
user_id: number | null;
|
|
75
75
|
response_id: number | null;
|
|
76
76
|
}>;
|
|
77
77
|
updateContactUsMessageStatus(id: number, { status }: ContactUsStatusDTO, locale?: string): Promise<{
|
|
78
78
|
name: string;
|
|
79
|
+
status: import("@prisma/client").$Enums.contact_us_status_e6479e7313_enum;
|
|
80
|
+
email: string;
|
|
81
|
+
id: number;
|
|
79
82
|
message: string;
|
|
80
83
|
response: string | null;
|
|
81
|
-
id: number;
|
|
82
84
|
created_at: Date;
|
|
83
85
|
updated_at: Date;
|
|
84
|
-
status: import("@prisma/client").$Enums.contact_us_status_e6479e7313_enum;
|
|
85
|
-
email: string;
|
|
86
86
|
response_at: Date | null;
|
|
87
87
|
user_id: number | null;
|
|
88
88
|
response_id: number | null;
|
|
@@ -90,13 +90,13 @@ export declare class ContactUsService {
|
|
|
90
90
|
respondToContactUsMessage(locale: string, id: number, { response }: ContactUsResponseDTO, user: any): Promise<string>;
|
|
91
91
|
createContactUsMessage(locale: string, { name, email, message }: ContactUsSendDTO): Promise<{
|
|
92
92
|
name: string;
|
|
93
|
+
status: import("@prisma/client").$Enums.contact_us_status_e6479e7313_enum;
|
|
94
|
+
email: string;
|
|
95
|
+
id: number;
|
|
93
96
|
message: string;
|
|
94
97
|
response: string | null;
|
|
95
|
-
id: number;
|
|
96
98
|
created_at: Date;
|
|
97
99
|
updated_at: Date;
|
|
98
|
-
status: import("@prisma/client").$Enums.contact_us_status_e6479e7313_enum;
|
|
99
|
-
email: string;
|
|
100
100
|
response_at: Date | null;
|
|
101
101
|
user_id: number | null;
|
|
102
102
|
response_id: number | null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hed-hog/contact-us",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.347",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"dependencies": {
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"@hed-hog/api-pagination": "0.0.7",
|
|
13
13
|
"@hed-hog/api": "0.0.8",
|
|
14
14
|
"@hed-hog/api-locale": "0.0.14",
|
|
15
|
-
"@hed-hog/core": "0.0.
|
|
15
|
+
"@hed-hog/core": "0.0.347",
|
|
16
16
|
"@hed-hog/api-prisma": "0.0.6"
|
|
17
17
|
},
|
|
18
18
|
"exports": {
|