@leadping/sdk 1.0.99 → 1.0.101
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.d.ts +9 -27
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +4 -20
- package/dist/models/index.js.map +1 -1
- package/package.json +1 -1
package/dist/models/index.js
CHANGED
|
@@ -3681,6 +3681,8 @@ export function deserializeIntoConversationResponse(conversationResponse = {}) {
|
|
|
3681
3681
|
"archivedAt": n => { conversationResponse.archivedAt = n.getDateValue(); },
|
|
3682
3682
|
"archiveReason": n => { conversationResponse.archiveReason = n.getNumberValue(); },
|
|
3683
3683
|
"avatarUrl": n => { conversationResponse.avatarUrl = n.getStringValue(); },
|
|
3684
|
+
"canCallNow": n => { conversationResponse.canCallNow = n.getBooleanValue(); },
|
|
3685
|
+
"canTextNow": n => { conversationResponse.canTextNow = n.getBooleanValue(); },
|
|
3684
3686
|
"complianceStatus": n => { conversationResponse.complianceStatus = n.getStringValue(); },
|
|
3685
3687
|
"currentLeadStatus": n => { conversationResponse.currentLeadStatus = n.getObjectValue(createConversationResponse_currentLeadStatusFromDiscriminatorValue); },
|
|
3686
3688
|
"email": n => { conversationResponse.email = n.getStringValue(); },
|
|
@@ -6774,11 +6776,9 @@ export function deserializeIntoPhoneNumberTableRow(phoneNumberTableRow = {}) {
|
|
|
6774
6776
|
"organizationId": n => { phoneNumberTableRow.organizationId = n.getStringValue(); },
|
|
6775
6777
|
"ownership": n => { phoneNumberTableRow.ownership = n.getEnumValue(PhoneNumberOwnershipObject); },
|
|
6776
6778
|
"routingSummary": n => { phoneNumberTableRow.routingSummary = n.getStringValue(); },
|
|
6777
|
-
"smsRampDirection": n => { phoneNumberTableRow.smsRampDirection = n.getEnumValue(PhoneNumberTableRow_smsRampDirectionObject); },
|
|
6778
6779
|
"smsReady": n => { phoneNumberTableRow.smsReady = n.getBooleanValue(); },
|
|
6779
6780
|
"tenDlcCampaignStatus": n => { phoneNumberTableRow.tenDlcCampaignStatus = n.getStringValue(); },
|
|
6780
6781
|
"type": n => { phoneNumberTableRow.type = n.getStringValue(); },
|
|
6781
|
-
"voiceRampDirection": n => { phoneNumberTableRow.voiceRampDirection = n.getEnumValue(PhoneNumberTableRow_voiceRampDirectionObject); },
|
|
6782
6782
|
"voiceReady": n => { phoneNumberTableRow.voiceReady = n.getBooleanValue(); },
|
|
6783
6783
|
"warmup": n => { phoneNumberTableRow.warmup = n.getObjectValue(createPhoneNumberReadinessFromDiscriminatorValue); },
|
|
6784
6784
|
};
|
|
@@ -9107,6 +9107,8 @@ export function serializeConversationResponse(writer, conversationResponse = {},
|
|
|
9107
9107
|
writer.writeDateValue("archivedAt", conversationResponse.archivedAt);
|
|
9108
9108
|
writer.writeNumberValue("archiveReason", conversationResponse.archiveReason);
|
|
9109
9109
|
writer.writeStringValue("avatarUrl", conversationResponse.avatarUrl);
|
|
9110
|
+
writer.writeBooleanValue("canCallNow", conversationResponse.canCallNow);
|
|
9111
|
+
writer.writeBooleanValue("canTextNow", conversationResponse.canTextNow);
|
|
9110
9112
|
writer.writeStringValue("complianceStatus", conversationResponse.complianceStatus);
|
|
9111
9113
|
writer.writeObjectValue("currentLeadStatus", conversationResponse.currentLeadStatus, serializeConversationResponse_currentLeadStatus);
|
|
9112
9114
|
writer.writeStringValue("email", conversationResponse.email);
|
|
@@ -12697,11 +12699,9 @@ export function serializePhoneNumberTableRow(writer, phoneNumberTableRow = {}, i
|
|
|
12697
12699
|
writer.writeStringValue("organizationId", phoneNumberTableRow.organizationId);
|
|
12698
12700
|
writer.writeEnumValue("ownership", phoneNumberTableRow.ownership);
|
|
12699
12701
|
writer.writeStringValue("routingSummary", phoneNumberTableRow.routingSummary);
|
|
12700
|
-
writer.writeEnumValue("smsRampDirection", phoneNumberTableRow.smsRampDirection);
|
|
12701
12702
|
writer.writeBooleanValue("smsReady", phoneNumberTableRow.smsReady);
|
|
12702
12703
|
writer.writeStringValue("tenDlcCampaignStatus", phoneNumberTableRow.tenDlcCampaignStatus);
|
|
12703
12704
|
writer.writeStringValue("type", phoneNumberTableRow.type);
|
|
12704
|
-
writer.writeEnumValue("voiceRampDirection", phoneNumberTableRow.voiceRampDirection);
|
|
12705
12705
|
writer.writeBooleanValue("voiceReady", phoneNumberTableRow.voiceReady);
|
|
12706
12706
|
writer.writeObjectValue("warmup", phoneNumberTableRow.warmup, serializePhoneNumberReadiness);
|
|
12707
12707
|
writer.writeAdditionalData(phoneNumberTableRow.additionalData);
|
|
@@ -15116,22 +15116,6 @@ export const PhoneNumberReadiness_stateObject = {
|
|
|
15116
15116
|
Blocked: "Blocked",
|
|
15117
15117
|
Ready: "Ready",
|
|
15118
15118
|
};
|
|
15119
|
-
/**
|
|
15120
|
-
* Indicates whether a phone number's channel capacity is increasing, decreasing, or stable.
|
|
15121
|
-
*/
|
|
15122
|
-
export const PhoneNumberTableRow_smsRampDirectionObject = {
|
|
15123
|
-
Up: "up",
|
|
15124
|
-
Down: "down",
|
|
15125
|
-
None: "none",
|
|
15126
|
-
};
|
|
15127
|
-
/**
|
|
15128
|
-
* Indicates whether a phone number's channel capacity is increasing, decreasing, or stable.
|
|
15129
|
-
*/
|
|
15130
|
-
export const PhoneNumberTableRow_voiceRampDirectionObject = {
|
|
15131
|
-
Up: "up",
|
|
15132
|
-
Down: "down",
|
|
15133
|
-
None: "none",
|
|
15134
|
-
};
|
|
15135
15119
|
/**
|
|
15136
15120
|
* Defines the source that requested outbound delivery.
|
|
15137
15121
|
*/
|