@leadping/sdk 1.0.50 → 1.0.51
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
|
@@ -2752,7 +2752,6 @@ export function deserializeIntoAutomationResponse(automationResponse = {}) {
|
|
|
2752
2752
|
"name": n => { automationResponse.name = n.getStringValue(); },
|
|
2753
2753
|
"organization": n => { automationResponse.organization = n.getObjectValue(createAutomationResponse_organizationFromDiscriminatorValue); },
|
|
2754
2754
|
"organizationId": n => { automationResponse.organizationId = n.getStringValue(); },
|
|
2755
|
-
"recentRuns": n => { automationResponse.recentRuns = n.getCollectionOfObjectValues(createAutomationRunRecordFromDiscriminatorValue); },
|
|
2756
2755
|
"scope": n => { automationResponse.scope = n.getStringValue(); },
|
|
2757
2756
|
"triggers": n => { automationResponse.triggers = n.getCollectionOfObjectValues(createAutomationTriggerFromDiscriminatorValue); },
|
|
2758
2757
|
"user": n => { automationResponse.user = n.getObjectValue(createAutomationResponse_userFromDiscriminatorValue); },
|
|
@@ -3414,8 +3413,10 @@ export function deserializeIntoCustomerLeadSourceBreakdown(customerLeadSourceBre
|
|
|
3414
3413
|
export function deserializeIntoCustomerLeadTrend(customerLeadTrend = {}) {
|
|
3415
3414
|
return {
|
|
3416
3415
|
"comparison": n => { customerLeadTrend.comparison = n.getObjectValue(createAnalyticsComparisonFromDiscriminatorValue); },
|
|
3416
|
+
"errorPoints": n => { customerLeadTrend.errorPoints = n.getCollectionOfObjectValues(createAnalyticsTrendPointOfintFromDiscriminatorValue); },
|
|
3417
3417
|
"points": n => { customerLeadTrend.points = n.getCollectionOfObjectValues(createAnalyticsTrendPointOfintFromDiscriminatorValue); },
|
|
3418
3418
|
"total": n => { customerLeadTrend.total = n.getNumberValue(); },
|
|
3419
|
+
"totalErrors": n => { customerLeadTrend.totalErrors = n.getNumberValue(); },
|
|
3419
3420
|
};
|
|
3420
3421
|
}
|
|
3421
3422
|
/**
|
|
@@ -6009,9 +6010,11 @@ export function deserializeIntoSourceCredentialIssueResponse(sourceCredentialIss
|
|
|
6009
6010
|
// @ts-ignore
|
|
6010
6011
|
export function deserializeIntoSourceMetricsResponse(sourceMetricsResponse = {}) {
|
|
6011
6012
|
return {
|
|
6013
|
+
"errorPoints": n => { sourceMetricsResponse.errorPoints = n.getCollectionOfObjectValues(createAnalyticsTrendPointOfintFromDiscriminatorValue); },
|
|
6012
6014
|
"generatedAt": n => { sourceMetricsResponse.generatedAt = n.getDateValue(); },
|
|
6013
6015
|
"points": n => { sourceMetricsResponse.points = n.getCollectionOfObjectValues(createAnalyticsTrendPointOfintFromDiscriminatorValue); },
|
|
6014
6016
|
"range": n => { sourceMetricsResponse.range = n.getObjectValue(createAnalyticsDateRangeFromDiscriminatorValue); },
|
|
6017
|
+
"totalErrors": n => { sourceMetricsResponse.totalErrors = n.getNumberValue(); },
|
|
6015
6018
|
"totalLeads": n => { sourceMetricsResponse.totalLeads = n.getNumberValue(); },
|
|
6016
6019
|
};
|
|
6017
6020
|
}
|
|
@@ -7351,7 +7354,6 @@ export function serializeAutomationResponse(writer, automationResponse = {}, isS
|
|
|
7351
7354
|
writer.writeStringValue("name", automationResponse.name);
|
|
7352
7355
|
writer.writeObjectValue("organization", automationResponse.organization, serializeAutomationResponse_organization);
|
|
7353
7356
|
writer.writeStringValue("organizationId", automationResponse.organizationId);
|
|
7354
|
-
writer.writeCollectionOfObjectValues("recentRuns", automationResponse.recentRuns, serializeAutomationRunRecord);
|
|
7355
7357
|
writer.writeStringValue("scope", automationResponse.scope);
|
|
7356
7358
|
writer.writeCollectionOfObjectValues("triggers", automationResponse.triggers, serializeAutomationTrigger);
|
|
7357
7359
|
writer.writeObjectValue("user", automationResponse.user, serializeAutomationResponse_user);
|
|
@@ -8121,8 +8123,10 @@ export function serializeCustomerLeadTrend(writer, customerLeadTrend = {}, isSer
|
|
|
8121
8123
|
return;
|
|
8122
8124
|
}
|
|
8123
8125
|
writer.writeObjectValue("comparison", customerLeadTrend.comparison, serializeAnalyticsComparison);
|
|
8126
|
+
writer.writeCollectionOfObjectValues("errorPoints", customerLeadTrend.errorPoints, serializeAnalyticsTrendPointOfint);
|
|
8124
8127
|
writer.writeCollectionOfObjectValues("points", customerLeadTrend.points, serializeAnalyticsTrendPointOfint);
|
|
8125
8128
|
writer.writeNumberValue("total", customerLeadTrend.total);
|
|
8129
|
+
writer.writeNumberValue("totalErrors", customerLeadTrend.totalErrors);
|
|
8126
8130
|
writer.writeAdditionalData(customerLeadTrend.additionalData);
|
|
8127
8131
|
}
|
|
8128
8132
|
/**
|
|
@@ -11130,9 +11134,11 @@ export function serializeSourceMetricsResponse(writer, sourceMetricsResponse = {
|
|
|
11130
11134
|
if (!sourceMetricsResponse || isSerializingDerivedType) {
|
|
11131
11135
|
return;
|
|
11132
11136
|
}
|
|
11137
|
+
writer.writeCollectionOfObjectValues("errorPoints", sourceMetricsResponse.errorPoints, serializeAnalyticsTrendPointOfint);
|
|
11133
11138
|
writer.writeDateValue("generatedAt", sourceMetricsResponse.generatedAt);
|
|
11134
11139
|
writer.writeCollectionOfObjectValues("points", sourceMetricsResponse.points, serializeAnalyticsTrendPointOfint);
|
|
11135
11140
|
writer.writeObjectValue("range", sourceMetricsResponse.range, serializeAnalyticsDateRange);
|
|
11141
|
+
writer.writeNumberValue("totalErrors", sourceMetricsResponse.totalErrors);
|
|
11136
11142
|
writer.writeNumberValue("totalLeads", sourceMetricsResponse.totalLeads);
|
|
11137
11143
|
writer.writeAdditionalData(sourceMetricsResponse.additionalData);
|
|
11138
11144
|
}
|