@leadping/sdk 1.0.90 → 1.0.92
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 +64 -0
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +73 -0
- package/dist/models/index.js.map +1 -1
- package/package.json +1 -1
package/dist/models/index.js
CHANGED
|
@@ -30,6 +30,15 @@ export function createActivationTimelineEvent_actorFromDiscriminatorValue(parseN
|
|
|
30
30
|
export function createActivationTimelineEventFromDiscriminatorValue(parseNode) {
|
|
31
31
|
return deserializeIntoActivationTimelineEvent;
|
|
32
32
|
}
|
|
33
|
+
/**
|
|
34
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
35
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
36
|
+
* @returns {AdminDemoPreferences}
|
|
37
|
+
*/
|
|
38
|
+
// @ts-ignore
|
|
39
|
+
export function createAdminDemoPreferencesFromDiscriminatorValue(parseNode) {
|
|
40
|
+
return deserializeIntoAdminDemoPreferences;
|
|
41
|
+
}
|
|
33
42
|
/**
|
|
34
43
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
35
44
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -2703,6 +2712,15 @@ export function createUserRequest_notificationPreferencesFromDiscriminatorValue(
|
|
|
2703
2712
|
export function createUserRequestFromDiscriminatorValue(parseNode) {
|
|
2704
2713
|
return deserializeIntoUserRequest;
|
|
2705
2714
|
}
|
|
2715
|
+
/**
|
|
2716
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
2717
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
2718
|
+
* @returns {UserResponse_adminDemoPreferences}
|
|
2719
|
+
*/
|
|
2720
|
+
// @ts-ignore
|
|
2721
|
+
export function createUserResponse_adminDemoPreferencesFromDiscriminatorValue(parseNode) {
|
|
2722
|
+
return deserializeIntoUserResponse_adminDemoPreferences;
|
|
2723
|
+
}
|
|
2706
2724
|
/**
|
|
2707
2725
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
2708
2726
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -2803,6 +2821,18 @@ export function deserializeIntoActivationTimelineEvent_actor(activationTimelineE
|
|
|
2803
2821
|
...deserializeIntoIdNamePair(activationTimelineEvent_actor),
|
|
2804
2822
|
};
|
|
2805
2823
|
}
|
|
2824
|
+
/**
|
|
2825
|
+
* The deserialization information for the current model
|
|
2826
|
+
* @param AdminDemoPreferences The instance to deserialize into.
|
|
2827
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
2828
|
+
*/
|
|
2829
|
+
// @ts-ignore
|
|
2830
|
+
export function deserializeIntoAdminDemoPreferences(adminDemoPreferences = {}) {
|
|
2831
|
+
return {
|
|
2832
|
+
"showDemoData": n => { adminDemoPreferences.showDemoData = n.getBooleanValue(); },
|
|
2833
|
+
"showDemoMarkers": n => { adminDemoPreferences.showDemoMarkers = n.getBooleanValue(); },
|
|
2834
|
+
};
|
|
2835
|
+
}
|
|
2806
2836
|
/**
|
|
2807
2837
|
* The deserialization information for the current model
|
|
2808
2838
|
* @param AnalyticsComparison The instance to deserialize into.
|
|
@@ -3760,6 +3790,7 @@ export function deserializeIntoCustomerAnalyticsResponse(customerAnalyticsRespon
|
|
|
3760
3790
|
"automationHealth": n => { customerAnalyticsResponse.automationHealth = n.getObjectValue(createCustomerAutomationHealthFromDiscriminatorValue); },
|
|
3761
3791
|
"communicationUsage": n => { customerAnalyticsResponse.communicationUsage = n.getObjectValue(createCustomerCommunicationUsageFromDiscriminatorValue); },
|
|
3762
3792
|
"generatedAt": n => { customerAnalyticsResponse.generatedAt = n.getDateValue(); },
|
|
3793
|
+
"includesDemoData": n => { customerAnalyticsResponse.includesDemoData = n.getBooleanValue(); },
|
|
3763
3794
|
"leadOutcomes": n => { customerAnalyticsResponse.leadOutcomes = n.getObjectValue(createCustomerLeadOutcomesFromDiscriminatorValue); },
|
|
3764
3795
|
"leadSources": n => { customerAnalyticsResponse.leadSources = n.getCollectionOfObjectValues(createCustomerLeadSourceBreakdownFromDiscriminatorValue); },
|
|
3765
3796
|
"leadTrend": n => { customerAnalyticsResponse.leadTrend = n.getObjectValue(createCustomerLeadTrendFromDiscriminatorValue); },
|
|
@@ -7840,6 +7871,7 @@ export function deserializeIntoUserRequest_notificationPreferences(userRequest_n
|
|
|
7840
7871
|
// @ts-ignore
|
|
7841
7872
|
export function deserializeIntoUserResponse(userResponse = {}) {
|
|
7842
7873
|
return {
|
|
7874
|
+
"adminDemoPreferences": n => { userResponse.adminDemoPreferences = n.getObjectValue(createUserResponse_adminDemoPreferencesFromDiscriminatorValue); },
|
|
7843
7875
|
"billingPlan": n => { userResponse.billingPlan = n.getEnumValue(UserResponse_billingPlanObject); },
|
|
7844
7876
|
"billingState": n => { userResponse.billingState = n.getObjectValue(createUserResponse_billingStateFromDiscriminatorValue); },
|
|
7845
7877
|
"compliance": n => { userResponse.compliance = n.getObjectValue(createUserResponse_complianceFromDiscriminatorValue); },
|
|
@@ -7865,6 +7897,17 @@ export function deserializeIntoUserResponse(userResponse = {}) {
|
|
|
7865
7897
|
"timeZoneId": n => { userResponse.timeZoneId = n.getStringValue(); },
|
|
7866
7898
|
};
|
|
7867
7899
|
}
|
|
7900
|
+
/**
|
|
7901
|
+
* The deserialization information for the current model
|
|
7902
|
+
* @param UserResponse_adminDemoPreferences The instance to deserialize into.
|
|
7903
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
7904
|
+
*/
|
|
7905
|
+
// @ts-ignore
|
|
7906
|
+
export function deserializeIntoUserResponse_adminDemoPreferences(userResponse_adminDemoPreferences = {}) {
|
|
7907
|
+
return {
|
|
7908
|
+
...deserializeIntoAdminDemoPreferences(userResponse_adminDemoPreferences),
|
|
7909
|
+
};
|
|
7910
|
+
}
|
|
7868
7911
|
/**
|
|
7869
7912
|
* The deserialization information for the current model
|
|
7870
7913
|
* @param UserResponse_billingState The instance to deserialize into.
|
|
@@ -7991,6 +8034,21 @@ export function serializeActivationTimelineEvent_actor(writer, activationTimelin
|
|
|
7991
8034
|
}
|
|
7992
8035
|
serializeIdNamePair(writer, activationTimelineEvent_actor, isSerializingDerivedType);
|
|
7993
8036
|
}
|
|
8037
|
+
/**
|
|
8038
|
+
* Serializes information the current object
|
|
8039
|
+
* @param AdminDemoPreferences The instance to serialize from.
|
|
8040
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
8041
|
+
* @param writer Serialization writer to use to serialize this model
|
|
8042
|
+
*/
|
|
8043
|
+
// @ts-ignore
|
|
8044
|
+
export function serializeAdminDemoPreferences(writer, adminDemoPreferences = {}, isSerializingDerivedType = false) {
|
|
8045
|
+
if (!adminDemoPreferences || isSerializingDerivedType) {
|
|
8046
|
+
return;
|
|
8047
|
+
}
|
|
8048
|
+
writer.writeBooleanValue("showDemoData", adminDemoPreferences.showDemoData);
|
|
8049
|
+
writer.writeBooleanValue("showDemoMarkers", adminDemoPreferences.showDemoMarkers);
|
|
8050
|
+
writer.writeAdditionalData(adminDemoPreferences.additionalData);
|
|
8051
|
+
}
|
|
7994
8052
|
/**
|
|
7995
8053
|
* Serializes information the current object
|
|
7996
8054
|
* @param AnalyticsComparison The instance to serialize from.
|
|
@@ -9118,6 +9176,7 @@ export function serializeCustomerAnalyticsResponse(writer, customerAnalyticsResp
|
|
|
9118
9176
|
writer.writeObjectValue("automationHealth", customerAnalyticsResponse.automationHealth, serializeCustomerAutomationHealth);
|
|
9119
9177
|
writer.writeObjectValue("communicationUsage", customerAnalyticsResponse.communicationUsage, serializeCustomerCommunicationUsage);
|
|
9120
9178
|
writer.writeDateValue("generatedAt", customerAnalyticsResponse.generatedAt);
|
|
9179
|
+
writer.writeBooleanValue("includesDemoData", customerAnalyticsResponse.includesDemoData);
|
|
9121
9180
|
writer.writeObjectValue("leadOutcomes", customerAnalyticsResponse.leadOutcomes, serializeCustomerLeadOutcomes);
|
|
9122
9181
|
writer.writeCollectionOfObjectValues("leadSources", customerAnalyticsResponse.leadSources, serializeCustomerLeadSourceBreakdown);
|
|
9123
9182
|
writer.writeObjectValue("leadTrend", customerAnalyticsResponse.leadTrend, serializeCustomerLeadTrend);
|
|
@@ -13847,6 +13906,7 @@ export function serializeUserResponse(writer, userResponse = {}, isSerializingDe
|
|
|
13847
13906
|
if (!userResponse || isSerializingDerivedType) {
|
|
13848
13907
|
return;
|
|
13849
13908
|
}
|
|
13909
|
+
writer.writeObjectValue("adminDemoPreferences", userResponse.adminDemoPreferences, serializeUserResponse_adminDemoPreferences);
|
|
13850
13910
|
writer.writeEnumValue("billingPlan", userResponse.billingPlan);
|
|
13851
13911
|
writer.writeObjectValue("billingState", userResponse.billingState, serializeUserResponse_billingState);
|
|
13852
13912
|
writer.writeObjectValue("compliance", userResponse.compliance, serializeUserResponse_compliance);
|
|
@@ -13872,6 +13932,19 @@ export function serializeUserResponse(writer, userResponse = {}, isSerializingDe
|
|
|
13872
13932
|
writer.writeStringValue("timeZoneId", userResponse.timeZoneId);
|
|
13873
13933
|
writer.writeAdditionalData(userResponse.additionalData);
|
|
13874
13934
|
}
|
|
13935
|
+
/**
|
|
13936
|
+
* Serializes information the current object
|
|
13937
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
13938
|
+
* @param UserResponse_adminDemoPreferences The instance to serialize from.
|
|
13939
|
+
* @param writer Serialization writer to use to serialize this model
|
|
13940
|
+
*/
|
|
13941
|
+
// @ts-ignore
|
|
13942
|
+
export function serializeUserResponse_adminDemoPreferences(writer, userResponse_adminDemoPreferences = {}, isSerializingDerivedType = false) {
|
|
13943
|
+
if (!userResponse_adminDemoPreferences || isSerializingDerivedType) {
|
|
13944
|
+
return;
|
|
13945
|
+
}
|
|
13946
|
+
serializeAdminDemoPreferences(writer, userResponse_adminDemoPreferences, isSerializingDerivedType);
|
|
13947
|
+
}
|
|
13875
13948
|
/**
|
|
13876
13949
|
* Serializes information the current object
|
|
13877
13950
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|