@leadping/sdk 1.0.89 → 1.0.91
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 +80 -0
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +81 -0
- package/dist/models/index.js.map +1 -1
- package/dist/telephony/availability/index.d.ts +41 -0
- package/dist/telephony/availability/index.d.ts.map +1 -0
- package/dist/telephony/availability/index.js +39 -0
- package/dist/telephony/availability/index.js.map +1 -0
- package/dist/telephony/availability/item/index.d.ts +39 -0
- package/dist/telephony/availability/item/index.d.ts.map +1 -0
- package/dist/telephony/availability/item/index.js +28 -0
- package/dist/telephony/availability/item/index.js.map +1 -0
- package/dist/telephony/incomingCaller/index.d.ts +39 -0
- package/dist/telephony/incomingCaller/index.d.ts.map +1 -0
- package/dist/telephony/incomingCaller/index.js +28 -0
- package/dist/telephony/incomingCaller/index.js.map +1 -0
- package/dist/telephony/index.d.ts +10 -0
- package/dist/telephony/index.d.ts.map +1 -1
- package/dist/telephony/index.js +11 -0
- package/dist/telephony/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.
|
|
@@ -6131,6 +6161,7 @@ export function deserializeIntoPhoneCallResponse(phoneCallResponse = {}) {
|
|
|
6131
6161
|
"billingStatus": n => { phoneCallResponse.billingStatus = n.getStringValue(); },
|
|
6132
6162
|
"browserCallApproval": n => { phoneCallResponse.browserCallApproval = n.getObjectValue(createPhoneCallResponse_browserCallApprovalFromDiscriminatorValue); },
|
|
6133
6163
|
"callerId": n => { phoneCallResponse.callerId = n.getStringValue(); },
|
|
6164
|
+
"callSessionId": n => { phoneCallResponse.callSessionId = n.getStringValue(); },
|
|
6134
6165
|
"campaignId": n => { phoneCallResponse.campaignId = n.getStringValue(); },
|
|
6135
6166
|
"consoleEntries": n => { phoneCallResponse.consoleEntries = n.getCollectionOfObjectValues(createCommunicationConsoleEntryFromDiscriminatorValue); },
|
|
6136
6167
|
"conversationId": n => { phoneCallResponse.conversationId = n.getStringValue(); },
|
|
@@ -6143,6 +6174,7 @@ export function deserializeIntoPhoneCallResponse(phoneCallResponse = {}) {
|
|
|
6143
6174
|
"id": n => { phoneCallResponse.id = n.getStringValue(); },
|
|
6144
6175
|
"isDemo": n => { phoneCallResponse.isDemo = n.getBooleanValue(); },
|
|
6145
6176
|
"leadId": n => { phoneCallResponse.leadId = n.getStringValue(); },
|
|
6177
|
+
"leadName": n => { phoneCallResponse.leadName = n.getStringValue(); },
|
|
6146
6178
|
"modifiedAt": n => { phoneCallResponse.modifiedAt = n.getDateValue(); },
|
|
6147
6179
|
"organizationId": n => { phoneCallResponse.organizationId = n.getStringValue(); },
|
|
6148
6180
|
"phoneNumber": n => { phoneCallResponse.phoneNumber = n.getStringValue(); },
|
|
@@ -7398,6 +7430,7 @@ export function deserializeIntoTagSummary(tagSummary = {}) {
|
|
|
7398
7430
|
export function deserializeIntoTelephonyLoginRequest(telephonyLoginRequest = {}) {
|
|
7399
7431
|
return {
|
|
7400
7432
|
"device": n => { telephonyLoginRequest.device = n.getObjectValue(createTelephonyLoginRequest_deviceFromDiscriminatorValue); },
|
|
7433
|
+
"includeIncoming": n => { telephonyLoginRequest.includeIncoming = n.getBooleanValue(); },
|
|
7401
7434
|
};
|
|
7402
7435
|
}
|
|
7403
7436
|
/**
|
|
@@ -7421,6 +7454,8 @@ export function deserializeIntoTelephonyLoginResponse(telephonyLoginResponse = {
|
|
|
7421
7454
|
return {
|
|
7422
7455
|
"callbackToken": n => { telephonyLoginResponse.callbackToken = n.getStringValue(); },
|
|
7423
7456
|
"expiresAt": n => { telephonyLoginResponse.expiresAt = n.getDateValue(); },
|
|
7457
|
+
"incomingPassword": n => { telephonyLoginResponse.incomingPassword = n.getStringValue(); },
|
|
7458
|
+
"incomingUsername": n => { telephonyLoginResponse.incomingUsername = n.getStringValue(); },
|
|
7424
7459
|
"password": n => { telephonyLoginResponse.password = n.getStringValue(); },
|
|
7425
7460
|
"username": n => { telephonyLoginResponse.username = n.getStringValue(); },
|
|
7426
7461
|
};
|
|
@@ -7835,6 +7870,7 @@ export function deserializeIntoUserRequest_notificationPreferences(userRequest_n
|
|
|
7835
7870
|
// @ts-ignore
|
|
7836
7871
|
export function deserializeIntoUserResponse(userResponse = {}) {
|
|
7837
7872
|
return {
|
|
7873
|
+
"adminDemoPreferences": n => { userResponse.adminDemoPreferences = n.getObjectValue(createUserResponse_adminDemoPreferencesFromDiscriminatorValue); },
|
|
7838
7874
|
"billingPlan": n => { userResponse.billingPlan = n.getEnumValue(UserResponse_billingPlanObject); },
|
|
7839
7875
|
"billingState": n => { userResponse.billingState = n.getObjectValue(createUserResponse_billingStateFromDiscriminatorValue); },
|
|
7840
7876
|
"compliance": n => { userResponse.compliance = n.getObjectValue(createUserResponse_complianceFromDiscriminatorValue); },
|
|
@@ -7860,6 +7896,17 @@ export function deserializeIntoUserResponse(userResponse = {}) {
|
|
|
7860
7896
|
"timeZoneId": n => { userResponse.timeZoneId = n.getStringValue(); },
|
|
7861
7897
|
};
|
|
7862
7898
|
}
|
|
7899
|
+
/**
|
|
7900
|
+
* The deserialization information for the current model
|
|
7901
|
+
* @param UserResponse_adminDemoPreferences The instance to deserialize into.
|
|
7902
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
7903
|
+
*/
|
|
7904
|
+
// @ts-ignore
|
|
7905
|
+
export function deserializeIntoUserResponse_adminDemoPreferences(userResponse_adminDemoPreferences = {}) {
|
|
7906
|
+
return {
|
|
7907
|
+
...deserializeIntoAdminDemoPreferences(userResponse_adminDemoPreferences),
|
|
7908
|
+
};
|
|
7909
|
+
}
|
|
7863
7910
|
/**
|
|
7864
7911
|
* The deserialization information for the current model
|
|
7865
7912
|
* @param UserResponse_billingState The instance to deserialize into.
|
|
@@ -7986,6 +8033,21 @@ export function serializeActivationTimelineEvent_actor(writer, activationTimelin
|
|
|
7986
8033
|
}
|
|
7987
8034
|
serializeIdNamePair(writer, activationTimelineEvent_actor, isSerializingDerivedType);
|
|
7988
8035
|
}
|
|
8036
|
+
/**
|
|
8037
|
+
* Serializes information the current object
|
|
8038
|
+
* @param AdminDemoPreferences The instance to serialize from.
|
|
8039
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
8040
|
+
* @param writer Serialization writer to use to serialize this model
|
|
8041
|
+
*/
|
|
8042
|
+
// @ts-ignore
|
|
8043
|
+
export function serializeAdminDemoPreferences(writer, adminDemoPreferences = {}, isSerializingDerivedType = false) {
|
|
8044
|
+
if (!adminDemoPreferences || isSerializingDerivedType) {
|
|
8045
|
+
return;
|
|
8046
|
+
}
|
|
8047
|
+
writer.writeBooleanValue("showDemoData", adminDemoPreferences.showDemoData);
|
|
8048
|
+
writer.writeBooleanValue("showDemoMarkers", adminDemoPreferences.showDemoMarkers);
|
|
8049
|
+
writer.writeAdditionalData(adminDemoPreferences.additionalData);
|
|
8050
|
+
}
|
|
7989
8051
|
/**
|
|
7990
8052
|
* Serializes information the current object
|
|
7991
8053
|
* @param AnalyticsComparison The instance to serialize from.
|
|
@@ -11857,6 +11919,7 @@ export function serializePhoneCallResponse(writer, phoneCallResponse = {}, isSer
|
|
|
11857
11919
|
writer.writeStringValue("billingStatus", phoneCallResponse.billingStatus);
|
|
11858
11920
|
writer.writeObjectValue("browserCallApproval", phoneCallResponse.browserCallApproval, serializePhoneCallResponse_browserCallApproval);
|
|
11859
11921
|
writer.writeStringValue("callerId", phoneCallResponse.callerId);
|
|
11922
|
+
writer.writeStringValue("callSessionId", phoneCallResponse.callSessionId);
|
|
11860
11923
|
writer.writeStringValue("campaignId", phoneCallResponse.campaignId);
|
|
11861
11924
|
writer.writeCollectionOfObjectValues("consoleEntries", phoneCallResponse.consoleEntries, serializeCommunicationConsoleEntry);
|
|
11862
11925
|
writer.writeStringValue("conversationId", phoneCallResponse.conversationId);
|
|
@@ -11869,6 +11932,7 @@ export function serializePhoneCallResponse(writer, phoneCallResponse = {}, isSer
|
|
|
11869
11932
|
writer.writeStringValue("id", phoneCallResponse.id);
|
|
11870
11933
|
writer.writeBooleanValue("isDemo", phoneCallResponse.isDemo);
|
|
11871
11934
|
writer.writeStringValue("leadId", phoneCallResponse.leadId);
|
|
11935
|
+
writer.writeStringValue("leadName", phoneCallResponse.leadName);
|
|
11872
11936
|
writer.writeDateValue("modifiedAt", phoneCallResponse.modifiedAt);
|
|
11873
11937
|
writer.writeStringValue("organizationId", phoneCallResponse.organizationId);
|
|
11874
11938
|
writer.writeStringValue("phoneNumber", phoneCallResponse.phoneNumber);
|
|
@@ -13332,6 +13396,7 @@ export function serializeTelephonyLoginRequest(writer, telephonyLoginRequest = {
|
|
|
13332
13396
|
return;
|
|
13333
13397
|
}
|
|
13334
13398
|
writer.writeObjectValue("device", telephonyLoginRequest.device, serializeTelephonyLoginRequest_device);
|
|
13399
|
+
writer.writeBooleanValue("includeIncoming", telephonyLoginRequest.includeIncoming);
|
|
13335
13400
|
writer.writeAdditionalData(telephonyLoginRequest.additionalData);
|
|
13336
13401
|
}
|
|
13337
13402
|
/**
|
|
@@ -13360,6 +13425,8 @@ export function serializeTelephonyLoginResponse(writer, telephonyLoginResponse =
|
|
|
13360
13425
|
}
|
|
13361
13426
|
writer.writeStringValue("callbackToken", telephonyLoginResponse.callbackToken);
|
|
13362
13427
|
writer.writeDateValue("expiresAt", telephonyLoginResponse.expiresAt);
|
|
13428
|
+
writer.writeStringValue("incomingPassword", telephonyLoginResponse.incomingPassword);
|
|
13429
|
+
writer.writeStringValue("incomingUsername", telephonyLoginResponse.incomingUsername);
|
|
13363
13430
|
writer.writeStringValue("password", telephonyLoginResponse.password);
|
|
13364
13431
|
writer.writeStringValue("username", telephonyLoginResponse.username);
|
|
13365
13432
|
writer.writeAdditionalData(telephonyLoginResponse.additionalData);
|
|
@@ -13837,6 +13904,7 @@ export function serializeUserResponse(writer, userResponse = {}, isSerializingDe
|
|
|
13837
13904
|
if (!userResponse || isSerializingDerivedType) {
|
|
13838
13905
|
return;
|
|
13839
13906
|
}
|
|
13907
|
+
writer.writeObjectValue("adminDemoPreferences", userResponse.adminDemoPreferences, serializeUserResponse_adminDemoPreferences);
|
|
13840
13908
|
writer.writeEnumValue("billingPlan", userResponse.billingPlan);
|
|
13841
13909
|
writer.writeObjectValue("billingState", userResponse.billingState, serializeUserResponse_billingState);
|
|
13842
13910
|
writer.writeObjectValue("compliance", userResponse.compliance, serializeUserResponse_compliance);
|
|
@@ -13862,6 +13930,19 @@ export function serializeUserResponse(writer, userResponse = {}, isSerializingDe
|
|
|
13862
13930
|
writer.writeStringValue("timeZoneId", userResponse.timeZoneId);
|
|
13863
13931
|
writer.writeAdditionalData(userResponse.additionalData);
|
|
13864
13932
|
}
|
|
13933
|
+
/**
|
|
13934
|
+
* Serializes information the current object
|
|
13935
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
13936
|
+
* @param UserResponse_adminDemoPreferences The instance to serialize from.
|
|
13937
|
+
* @param writer Serialization writer to use to serialize this model
|
|
13938
|
+
*/
|
|
13939
|
+
// @ts-ignore
|
|
13940
|
+
export function serializeUserResponse_adminDemoPreferences(writer, userResponse_adminDemoPreferences = {}, isSerializingDerivedType = false) {
|
|
13941
|
+
if (!userResponse_adminDemoPreferences || isSerializingDerivedType) {
|
|
13942
|
+
return;
|
|
13943
|
+
}
|
|
13944
|
+
serializeAdminDemoPreferences(writer, userResponse_adminDemoPreferences, isSerializingDerivedType);
|
|
13945
|
+
}
|
|
13865
13946
|
/**
|
|
13866
13947
|
* Serializes information the current object
|
|
13867
13948
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|