@aprilium/tripsm_message-support 0.0.13 → 0.0.14
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.
@@ -1,5 +1,6 @@
|
|
1
1
|
export type AddMessageSupportDataType = {
|
2
2
|
GuestId: number;
|
3
|
+
ConversationId?: number | null;
|
3
4
|
AgencyId: number;
|
4
5
|
MessageContent?: string | null;
|
5
6
|
Media: File | null;
|
@@ -11,6 +12,7 @@ export type AddMessageSupportDataType = {
|
|
11
12
|
};
|
12
13
|
declare class AddMessageSupport {
|
13
14
|
GuestId: number;
|
15
|
+
ConversationId?: number | null;
|
14
16
|
AgencyId: number;
|
15
17
|
MessageContent?: string | null;
|
16
18
|
Media: File | null;
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
var AddMessageSupport = /** @class */ (function () {
|
4
4
|
function AddMessageSupport(props) {
|
5
5
|
this.GuestId = props.GuestId;
|
6
|
+
this.ConversationId = props.ConversationId;
|
6
7
|
this.AgencyId = props.AgencyId;
|
7
8
|
this.MessageContent = props.MessageContent;
|
8
9
|
this.Media = props.Media;
|
@@ -105,6 +105,7 @@ function addNewMessageSupport(newMessageSupport) {
|
|
105
105
|
formData.append("FirstMessage", newMessageSupport.FirstMessage.toString());
|
106
106
|
newMessageSupport.MessageContent && formData.append("MessageContent", newMessageSupport.MessageContent);
|
107
107
|
newMessageSupport.AssignedStaffId && formData.append("AssignedStaffId", newMessageSupport.AssignedStaffId.toString());
|
108
|
+
newMessageSupport.ConversationId && formData.append("ConversationId", newMessageSupport.ConversationId.toString());
|
108
109
|
newMessageSupport.Media && formData.append("Media", newMessageSupport.Media);
|
109
110
|
_c.label = 1;
|
110
111
|
case 1:
|