@hed-hog/contact-us 0.0.292 → 0.0.294
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.
|
@@ -38,12 +38,12 @@ export declare class ContactUsController {
|
|
|
38
38
|
};
|
|
39
39
|
} & {
|
|
40
40
|
name: string;
|
|
41
|
+
message: string;
|
|
41
42
|
response: string | null;
|
|
42
43
|
id: number;
|
|
43
|
-
message: string;
|
|
44
44
|
created_at: Date;
|
|
45
45
|
updated_at: Date;
|
|
46
|
-
status: import("
|
|
46
|
+
status: import(".prisma/client").$Enums.contact_us_status_enum;
|
|
47
47
|
email: string;
|
|
48
48
|
response_at: Date | null;
|
|
49
49
|
user_id: number | null;
|
|
@@ -62,12 +62,12 @@ export declare class ContactUsController {
|
|
|
62
62
|
}>;
|
|
63
63
|
deleteContactUsMessage(id: number, locale: string): Promise<{
|
|
64
64
|
name: string;
|
|
65
|
+
message: string;
|
|
65
66
|
response: string | null;
|
|
66
67
|
id: number;
|
|
67
|
-
message: string;
|
|
68
68
|
created_at: Date;
|
|
69
69
|
updated_at: Date;
|
|
70
|
-
status: import("
|
|
70
|
+
status: import(".prisma/client").$Enums.contact_us_status_enum;
|
|
71
71
|
email: string;
|
|
72
72
|
response_at: Date | null;
|
|
73
73
|
user_id: number | null;
|
|
@@ -75,12 +75,12 @@ export declare class ContactUsController {
|
|
|
75
75
|
}>;
|
|
76
76
|
updateContactUsMessageStatus(id: number, { status }: ContactUsStatusDTO, locale: string): Promise<{
|
|
77
77
|
name: string;
|
|
78
|
+
message: string;
|
|
78
79
|
response: string | null;
|
|
79
80
|
id: number;
|
|
80
|
-
message: string;
|
|
81
81
|
created_at: Date;
|
|
82
82
|
updated_at: Date;
|
|
83
|
-
status: import("
|
|
83
|
+
status: import(".prisma/client").$Enums.contact_us_status_enum;
|
|
84
84
|
email: string;
|
|
85
85
|
response_at: Date | null;
|
|
86
86
|
user_id: number | null;
|
|
@@ -89,12 +89,12 @@ 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
|
+
message: string;
|
|
92
93
|
response: string | null;
|
|
93
94
|
id: number;
|
|
94
|
-
message: string;
|
|
95
95
|
created_at: Date;
|
|
96
96
|
updated_at: Date;
|
|
97
|
-
status: import("
|
|
97
|
+
status: import(".prisma/client").$Enums.contact_us_status_enum;
|
|
98
98
|
email: string;
|
|
99
99
|
response_at: Date | null;
|
|
100
100
|
user_id: number | null;
|
|
@@ -41,12 +41,12 @@ export declare class ContactUsService {
|
|
|
41
41
|
};
|
|
42
42
|
} & {
|
|
43
43
|
name: string;
|
|
44
|
+
message: string;
|
|
44
45
|
response: string | null;
|
|
45
46
|
id: number;
|
|
46
|
-
message: string;
|
|
47
47
|
created_at: Date;
|
|
48
48
|
updated_at: Date;
|
|
49
|
-
status: import("
|
|
49
|
+
status: import(".prisma/client").$Enums.contact_us_status_enum;
|
|
50
50
|
email: string;
|
|
51
51
|
response_at: Date | null;
|
|
52
52
|
user_id: number | null;
|
|
@@ -63,12 +63,12 @@ export declare class ContactUsService {
|
|
|
63
63
|
}>;
|
|
64
64
|
deleteContactUsMessage(id: number, locale?: string): Promise<{
|
|
65
65
|
name: string;
|
|
66
|
+
message: string;
|
|
66
67
|
response: string | null;
|
|
67
68
|
id: number;
|
|
68
|
-
message: string;
|
|
69
69
|
created_at: Date;
|
|
70
70
|
updated_at: Date;
|
|
71
|
-
status: import("
|
|
71
|
+
status: import(".prisma/client").$Enums.contact_us_status_enum;
|
|
72
72
|
email: string;
|
|
73
73
|
response_at: Date | null;
|
|
74
74
|
user_id: number | null;
|
|
@@ -76,12 +76,12 @@ export declare class ContactUsService {
|
|
|
76
76
|
}>;
|
|
77
77
|
updateContactUsMessageStatus(id: number, { status }: ContactUsStatusDTO, locale?: string): Promise<{
|
|
78
78
|
name: string;
|
|
79
|
+
message: string;
|
|
79
80
|
response: string | null;
|
|
80
81
|
id: number;
|
|
81
|
-
message: string;
|
|
82
82
|
created_at: Date;
|
|
83
83
|
updated_at: Date;
|
|
84
|
-
status: import("
|
|
84
|
+
status: import(".prisma/client").$Enums.contact_us_status_enum;
|
|
85
85
|
email: string;
|
|
86
86
|
response_at: Date | null;
|
|
87
87
|
user_id: number | null;
|
|
@@ -90,12 +90,12 @@ 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
|
+
message: string;
|
|
93
94
|
response: string | null;
|
|
94
95
|
id: number;
|
|
95
|
-
message: string;
|
|
96
96
|
created_at: Date;
|
|
97
97
|
updated_at: Date;
|
|
98
|
-
status: import("
|
|
98
|
+
status: import(".prisma/client").$Enums.contact_us_status_enum;
|
|
99
99
|
email: string;
|
|
100
100
|
response_at: Date | null;
|
|
101
101
|
user_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.294",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"dependencies": {
|
|
@@ -9,11 +9,11 @@
|
|
|
9
9
|
"@nestjs/core": "^11",
|
|
10
10
|
"@nestjs/jwt": "^11",
|
|
11
11
|
"@nestjs/mapped-types": "*",
|
|
12
|
-
"@hed-hog/api": "0.0.4",
|
|
13
|
-
"@hed-hog/core": "0.0.292",
|
|
14
12
|
"@hed-hog/api-locale": "0.0.13",
|
|
15
13
|
"@hed-hog/api-pagination": "0.0.6",
|
|
16
|
-
"@hed-hog/api
|
|
14
|
+
"@hed-hog/api": "0.0.4",
|
|
15
|
+
"@hed-hog/api-prisma": "0.0.5",
|
|
16
|
+
"@hed-hog/core": "0.0.294"
|
|
17
17
|
},
|
|
18
18
|
"exports": {
|
|
19
19
|
".": {
|