@leadping/sdk 1.0.30 → 1.0.31
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/models/index.js
CHANGED
|
@@ -3055,6 +3055,7 @@ export function deserializeIntoConversationResponse(conversationResponse = {}) {
|
|
|
3055
3055
|
"activeOutboundPhoneNumberId": n => { conversationResponse.activeOutboundPhoneNumberId = n.getStringValue(); },
|
|
3056
3056
|
"archivedAt": n => { conversationResponse.archivedAt = n.getDateValue(); },
|
|
3057
3057
|
"archiveReason": n => { conversationResponse.archiveReason = n.getNumberValue(); },
|
|
3058
|
+
"avatarUrl": n => { conversationResponse.avatarUrl = n.getStringValue(); },
|
|
3058
3059
|
"currentLeadStatus": n => { conversationResponse.currentLeadStatus = n.getObjectValue(createConversationResponse_currentLeadStatusFromDiscriminatorValue); },
|
|
3059
3060
|
"email": n => { conversationResponse.email = n.getStringValue(); },
|
|
3060
3061
|
"firstName": n => { conversationResponse.firstName = n.getStringValue(); },
|
|
@@ -3606,6 +3607,7 @@ export function deserializeIntoLeadArchiveRequest(leadArchiveRequest = {}) {
|
|
|
3606
3607
|
// @ts-ignore
|
|
3607
3608
|
export function deserializeIntoLeadContact(leadContact = {}) {
|
|
3608
3609
|
return {
|
|
3610
|
+
"avatarUrl": n => { leadContact.avatarUrl = n.getStringValue(); },
|
|
3609
3611
|
"coordinate": n => { leadContact.coordinate = n.getObjectValue(createLeadContact_coordinateFromDiscriminatorValue); },
|
|
3610
3612
|
"email": n => { leadContact.email = n.getStringValue(); },
|
|
3611
3613
|
"firstName": n => { leadContact.firstName = n.getStringValue(); },
|
|
@@ -7613,6 +7615,7 @@ export function serializeConversationResponse(writer, conversationResponse = {},
|
|
|
7613
7615
|
writer.writeStringValue("activeOutboundPhoneNumberId", conversationResponse.activeOutboundPhoneNumberId);
|
|
7614
7616
|
writer.writeDateValue("archivedAt", conversationResponse.archivedAt);
|
|
7615
7617
|
writer.writeNumberValue("archiveReason", conversationResponse.archiveReason);
|
|
7618
|
+
writer.writeStringValue("avatarUrl", conversationResponse.avatarUrl);
|
|
7616
7619
|
writer.writeObjectValue("currentLeadStatus", conversationResponse.currentLeadStatus, serializeConversationResponse_currentLeadStatus);
|
|
7617
7620
|
writer.writeStringValue("email", conversationResponse.email);
|
|
7618
7621
|
writer.writeStringValue("firstName", conversationResponse.firstName);
|
|
@@ -8253,6 +8256,7 @@ export function serializeLeadContact(writer, leadContact = {}, isSerializingDeri
|
|
|
8253
8256
|
if (!leadContact || isSerializingDerivedType) {
|
|
8254
8257
|
return;
|
|
8255
8258
|
}
|
|
8259
|
+
writer.writeStringValue("avatarUrl", leadContact.avatarUrl);
|
|
8256
8260
|
writer.writeObjectValue("coordinate", leadContact.coordinate, serializeLeadContact_coordinate);
|
|
8257
8261
|
writer.writeStringValue("email", leadContact.email);
|
|
8258
8262
|
writer.writeStringValue("firstName", leadContact.firstName);
|