@leadping/sdk 1.0.87 → 1.0.88
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/conversations/item/index.d.ts +5 -0
- package/dist/conversations/item/index.d.ts.map +1 -1
- package/dist/conversations/item/index.js +5 -0
- package/dist/conversations/item/index.js.map +1 -1
- package/dist/conversations/item/markReplyNeeded/index.d.ts +39 -0
- package/dist/conversations/item/markReplyNeeded/index.d.ts.map +1 -0
- package/dist/conversations/item/markReplyNeeded/index.js +28 -0
- package/dist/conversations/item/markReplyNeeded/index.js.map +1 -0
- package/dist/models/index.d.ts +48 -0
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +44 -0
- package/dist/models/index.js.map +1 -1
- package/package.json +1 -1
package/dist/models/index.js
CHANGED
|
@@ -615,6 +615,15 @@ export function createCustomerCommunicationUsagePointFromDiscriminatorValue(pars
|
|
|
615
615
|
export function createCustomerFailingAutomationFromDiscriminatorValue(parseNode) {
|
|
616
616
|
return deserializeIntoCustomerFailingAutomation;
|
|
617
617
|
}
|
|
618
|
+
/**
|
|
619
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
620
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
621
|
+
* @returns {CustomerLeadOutcomes}
|
|
622
|
+
*/
|
|
623
|
+
// @ts-ignore
|
|
624
|
+
export function createCustomerLeadOutcomesFromDiscriminatorValue(parseNode) {
|
|
625
|
+
return deserializeIntoCustomerLeadOutcomes;
|
|
626
|
+
}
|
|
618
627
|
/**
|
|
619
628
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
620
629
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -3718,6 +3727,7 @@ export function deserializeIntoCustomerAnalyticsResponse(customerAnalyticsRespon
|
|
|
3718
3727
|
"automationHealth": n => { customerAnalyticsResponse.automationHealth = n.getObjectValue(createCustomerAutomationHealthFromDiscriminatorValue); },
|
|
3719
3728
|
"communicationUsage": n => { customerAnalyticsResponse.communicationUsage = n.getObjectValue(createCustomerCommunicationUsageFromDiscriminatorValue); },
|
|
3720
3729
|
"generatedAt": n => { customerAnalyticsResponse.generatedAt = n.getDateValue(); },
|
|
3730
|
+
"leadOutcomes": n => { customerAnalyticsResponse.leadOutcomes = n.getObjectValue(createCustomerLeadOutcomesFromDiscriminatorValue); },
|
|
3721
3731
|
"leadSources": n => { customerAnalyticsResponse.leadSources = n.getCollectionOfObjectValues(createCustomerLeadSourceBreakdownFromDiscriminatorValue); },
|
|
3722
3732
|
"leadTrend": n => { customerAnalyticsResponse.leadTrend = n.getObjectValue(createCustomerLeadTrendFromDiscriminatorValue); },
|
|
3723
3733
|
"needsAttention": n => { customerAnalyticsResponse.needsAttention = n.getCollectionOfObjectValues(createCustomerNeedsAttentionItemFromDiscriminatorValue); },
|
|
@@ -3874,6 +3884,21 @@ export function deserializeIntoCustomerFailingAutomation(customerFailingAutomati
|
|
|
3874
3884
|
"name": n => { customerFailingAutomation.name = n.getStringValue(); },
|
|
3875
3885
|
};
|
|
3876
3886
|
}
|
|
3887
|
+
/**
|
|
3888
|
+
* The deserialization information for the current model
|
|
3889
|
+
* @param CustomerLeadOutcomes The instance to deserialize into.
|
|
3890
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
3891
|
+
*/
|
|
3892
|
+
// @ts-ignore
|
|
3893
|
+
export function deserializeIntoCustomerLeadOutcomes(customerLeadOutcomes = {}) {
|
|
3894
|
+
return {
|
|
3895
|
+
"contactedLeads": n => { customerLeadOutcomes.contactedLeads = n.getNumberValue(); },
|
|
3896
|
+
"convertedLeads": n => { customerLeadOutcomes.convertedLeads = n.getNumberValue(); },
|
|
3897
|
+
"medianFirstAttemptMinutes": n => { customerLeadOutcomes.medianFirstAttemptMinutes = n.getNumberValue(); },
|
|
3898
|
+
"needsFollowUpLeads": n => { customerLeadOutcomes.needsFollowUpLeads = n.getNumberValue(); },
|
|
3899
|
+
"totalLeads": n => { customerLeadOutcomes.totalLeads = n.getNumberValue(); },
|
|
3900
|
+
};
|
|
3901
|
+
}
|
|
3877
3902
|
/**
|
|
3878
3903
|
* The deserialization information for the current model
|
|
3879
3904
|
* @param CustomerLeadSourceBreakdown The instance to deserialize into.
|
|
@@ -9022,6 +9047,7 @@ export function serializeCustomerAnalyticsResponse(writer, customerAnalyticsResp
|
|
|
9022
9047
|
writer.writeObjectValue("automationHealth", customerAnalyticsResponse.automationHealth, serializeCustomerAutomationHealth);
|
|
9023
9048
|
writer.writeObjectValue("communicationUsage", customerAnalyticsResponse.communicationUsage, serializeCustomerCommunicationUsage);
|
|
9024
9049
|
writer.writeDateValue("generatedAt", customerAnalyticsResponse.generatedAt);
|
|
9050
|
+
writer.writeObjectValue("leadOutcomes", customerAnalyticsResponse.leadOutcomes, serializeCustomerLeadOutcomes);
|
|
9025
9051
|
writer.writeCollectionOfObjectValues("leadSources", customerAnalyticsResponse.leadSources, serializeCustomerLeadSourceBreakdown);
|
|
9026
9052
|
writer.writeObjectValue("leadTrend", customerAnalyticsResponse.leadTrend, serializeCustomerLeadTrend);
|
|
9027
9053
|
writer.writeCollectionOfObjectValues("needsAttention", customerAnalyticsResponse.needsAttention, serializeCustomerNeedsAttentionItem);
|
|
@@ -9198,6 +9224,24 @@ export function serializeCustomerFailingAutomation(writer, customerFailingAutoma
|
|
|
9198
9224
|
writer.writeStringValue("name", customerFailingAutomation.name);
|
|
9199
9225
|
writer.writeAdditionalData(customerFailingAutomation.additionalData);
|
|
9200
9226
|
}
|
|
9227
|
+
/**
|
|
9228
|
+
* Serializes information the current object
|
|
9229
|
+
* @param CustomerLeadOutcomes The instance to serialize from.
|
|
9230
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
9231
|
+
* @param writer Serialization writer to use to serialize this model
|
|
9232
|
+
*/
|
|
9233
|
+
// @ts-ignore
|
|
9234
|
+
export function serializeCustomerLeadOutcomes(writer, customerLeadOutcomes = {}, isSerializingDerivedType = false) {
|
|
9235
|
+
if (!customerLeadOutcomes || isSerializingDerivedType) {
|
|
9236
|
+
return;
|
|
9237
|
+
}
|
|
9238
|
+
writer.writeNumberValue("contactedLeads", customerLeadOutcomes.contactedLeads);
|
|
9239
|
+
writer.writeNumberValue("convertedLeads", customerLeadOutcomes.convertedLeads);
|
|
9240
|
+
writer.writeNumberValue("medianFirstAttemptMinutes", customerLeadOutcomes.medianFirstAttemptMinutes);
|
|
9241
|
+
writer.writeNumberValue("needsFollowUpLeads", customerLeadOutcomes.needsFollowUpLeads);
|
|
9242
|
+
writer.writeNumberValue("totalLeads", customerLeadOutcomes.totalLeads);
|
|
9243
|
+
writer.writeAdditionalData(customerLeadOutcomes.additionalData);
|
|
9244
|
+
}
|
|
9201
9245
|
/**
|
|
9202
9246
|
* Serializes information the current object
|
|
9203
9247
|
* @param CustomerLeadSourceBreakdown The instance to serialize from.
|