@leadping/sdk 1.0.117 → 1.0.119
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/appointments/bookedTimes/index.d.ts +38 -0
- package/dist/appointments/bookedTimes/index.d.ts.map +1 -0
- package/dist/appointments/bookedTimes/index.js +28 -0
- package/dist/appointments/bookedTimes/index.js.map +1 -0
- package/dist/appointments/index.d.ts +5 -0
- package/dist/appointments/index.d.ts.map +1 -1
- package/dist/appointments/index.js +5 -0
- package/dist/appointments/index.js.map +1 -1
- package/dist/models/index.d.ts +20 -0
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +10 -0
- package/dist/models/index.js.map +1 -1
- package/package.json +1 -1
package/dist/models/index.js
CHANGED
|
@@ -3050,6 +3050,7 @@ export function deserializeIntoAppointmentActivity(appointmentActivity = {}) {
|
|
|
3050
3050
|
"actorName": n => { appointmentActivity.actorName = n.getStringValue(); },
|
|
3051
3051
|
"assignedToName": n => { appointmentActivity.assignedToName = n.getStringValue(); },
|
|
3052
3052
|
"at": n => { appointmentActivity.at = n.getDateValue(); },
|
|
3053
|
+
"endAt": n => { appointmentActivity.endAt = n.getDateValue(); },
|
|
3053
3054
|
"notes": n => { appointmentActivity.notes = n.getStringValue(); },
|
|
3054
3055
|
"reminderAt": n => { appointmentActivity.reminderAt = n.getDateValue(); },
|
|
3055
3056
|
"revision": n => { appointmentActivity.revision = n.getNumberValue(); },
|
|
@@ -3067,6 +3068,7 @@ export function deserializeIntoAppointmentActivity(appointmentActivity = {}) {
|
|
|
3067
3068
|
export function deserializeIntoAppointmentRequest(appointmentRequest = {}) {
|
|
3068
3069
|
return {
|
|
3069
3070
|
"assignedToUserId": n => { appointmentRequest.assignedToUserId = n.getStringValue(); },
|
|
3071
|
+
"endAt": n => { appointmentRequest.endAt = n.getDateValue(); },
|
|
3070
3072
|
"expectedRevision": n => { appointmentRequest.expectedRevision = n.getNumberValue(); },
|
|
3071
3073
|
"leadId": n => { appointmentRequest.leadId = n.getStringValue(); },
|
|
3072
3074
|
"notes": n => { appointmentRequest.notes = n.getStringValue(); },
|
|
@@ -3087,6 +3089,7 @@ export function deserializeIntoAppointmentResponse(appointmentResponse = {}) {
|
|
|
3087
3089
|
"assignedToUserId": n => { appointmentResponse.assignedToUserId = n.getStringValue(); },
|
|
3088
3090
|
"createdAt": n => { appointmentResponse.createdAt = n.getDateValue(); },
|
|
3089
3091
|
"dismissedAt": n => { appointmentResponse.dismissedAt = n.getDateValue(); },
|
|
3092
|
+
"endAt": n => { appointmentResponse.endAt = n.getDateValue(); },
|
|
3090
3093
|
"history": n => { appointmentResponse.history = n.getCollectionOfObjectValues(createAppointmentActivityFromDiscriminatorValue); },
|
|
3091
3094
|
"id": n => { appointmentResponse.id = n.getStringValue(); },
|
|
3092
3095
|
"isDemo": n => { appointmentResponse.isDemo = n.getBooleanValue(); },
|
|
@@ -3792,6 +3795,7 @@ export function deserializeIntoCallEventTableRow(callEventTableRow = {}) {
|
|
|
3792
3795
|
"fromPhoneNumberId": n => { callEventTableRow.fromPhoneNumberId = n.getStringValue(); },
|
|
3793
3796
|
"id": n => { callEventTableRow.id = n.getStringValue(); },
|
|
3794
3797
|
"isDemo": n => { callEventTableRow.isDemo = n.getBooleanValue(); },
|
|
3798
|
+
"leadAvatarUrl": n => { callEventTableRow.leadAvatarUrl = n.getStringValue(); },
|
|
3795
3799
|
"leadId": n => { callEventTableRow.leadId = n.getStringValue(); },
|
|
3796
3800
|
"leadName": n => { callEventTableRow.leadName = n.getStringValue(); },
|
|
3797
3801
|
"organization": n => { callEventTableRow.organization = n.getStringValue(); },
|
|
@@ -7253,6 +7257,7 @@ export function deserializeIntoSmsEventTableRow(smsEventTableRow = {}) {
|
|
|
7253
7257
|
"isAutomated": n => { smsEventTableRow.isAutomated = n.getBooleanValue(); },
|
|
7254
7258
|
"isDemo": n => { smsEventTableRow.isDemo = n.getBooleanValue(); },
|
|
7255
7259
|
"lead": n => { smsEventTableRow.lead = n.getObjectValue(createIdNamePairFromDiscriminatorValue); },
|
|
7260
|
+
"leadAvatarUrl": n => { smsEventTableRow.leadAvatarUrl = n.getStringValue(); },
|
|
7256
7261
|
"media": n => { smsEventTableRow.media = n.getCollectionOfObjectValues(createMessageMediaAttachmentFromDiscriminatorValue); },
|
|
7257
7262
|
"organization": n => { smsEventTableRow.organization = n.getStringValue(); },
|
|
7258
7263
|
"organizationName": n => { smsEventTableRow.organizationName = n.getStringValue(); },
|
|
@@ -8569,6 +8574,7 @@ export function serializeAppointmentActivity(writer, appointmentActivity = {}, i
|
|
|
8569
8574
|
writer.writeStringValue("actorName", appointmentActivity.actorName);
|
|
8570
8575
|
writer.writeStringValue("assignedToName", appointmentActivity.assignedToName);
|
|
8571
8576
|
writer.writeDateValue("at", appointmentActivity.at);
|
|
8577
|
+
writer.writeDateValue("endAt", appointmentActivity.endAt);
|
|
8572
8578
|
writer.writeStringValue("notes", appointmentActivity.notes);
|
|
8573
8579
|
writer.writeDateValue("reminderAt", appointmentActivity.reminderAt);
|
|
8574
8580
|
writer.writeNumberValue("revision", appointmentActivity.revision);
|
|
@@ -8589,6 +8595,7 @@ export function serializeAppointmentRequest(writer, appointmentRequest = {}, isS
|
|
|
8589
8595
|
return;
|
|
8590
8596
|
}
|
|
8591
8597
|
writer.writeStringValue("assignedToUserId", appointmentRequest.assignedToUserId);
|
|
8598
|
+
writer.writeDateValue("endAt", appointmentRequest.endAt);
|
|
8592
8599
|
writer.writeNumberValue("expectedRevision", appointmentRequest.expectedRevision);
|
|
8593
8600
|
writer.writeStringValue("leadId", appointmentRequest.leadId);
|
|
8594
8601
|
writer.writeStringValue("notes", appointmentRequest.notes);
|
|
@@ -8612,6 +8619,7 @@ export function serializeAppointmentResponse(writer, appointmentResponse = {}, i
|
|
|
8612
8619
|
writer.writeStringValue("assignedToUserId", appointmentResponse.assignedToUserId);
|
|
8613
8620
|
writer.writeDateValue("createdAt", appointmentResponse.createdAt);
|
|
8614
8621
|
writer.writeDateValue("dismissedAt", appointmentResponse.dismissedAt);
|
|
8622
|
+
writer.writeDateValue("endAt", appointmentResponse.endAt);
|
|
8615
8623
|
writer.writeCollectionOfObjectValues("history", appointmentResponse.history, serializeAppointmentActivity);
|
|
8616
8624
|
writer.writeStringValue("id", appointmentResponse.id);
|
|
8617
8625
|
writer.writeBooleanValue("isDemo", appointmentResponse.isDemo);
|
|
@@ -9436,6 +9444,7 @@ export function serializeCallEventTableRow(writer, callEventTableRow = {}, isSer
|
|
|
9436
9444
|
writer.writeStringValue("fromPhoneNumberId", callEventTableRow.fromPhoneNumberId);
|
|
9437
9445
|
writer.writeStringValue("id", callEventTableRow.id);
|
|
9438
9446
|
writer.writeBooleanValue("isDemo", callEventTableRow.isDemo);
|
|
9447
|
+
writer.writeStringValue("leadAvatarUrl", callEventTableRow.leadAvatarUrl);
|
|
9439
9448
|
writer.writeStringValue("leadId", callEventTableRow.leadId);
|
|
9440
9449
|
writer.writeStringValue("leadName", callEventTableRow.leadName);
|
|
9441
9450
|
writer.writeStringValue("organization", callEventTableRow.organization);
|
|
@@ -13457,6 +13466,7 @@ export function serializeSmsEventTableRow(writer, smsEventTableRow = {}, isSeria
|
|
|
13457
13466
|
writer.writeBooleanValue("isAutomated", smsEventTableRow.isAutomated);
|
|
13458
13467
|
writer.writeBooleanValue("isDemo", smsEventTableRow.isDemo);
|
|
13459
13468
|
writer.writeObjectValue("lead", smsEventTableRow.lead, serializeIdNamePair);
|
|
13469
|
+
writer.writeStringValue("leadAvatarUrl", smsEventTableRow.leadAvatarUrl);
|
|
13460
13470
|
writer.writeCollectionOfObjectValues("media", smsEventTableRow.media, serializeMessageMediaAttachment);
|
|
13461
13471
|
writer.writeStringValue("organization", smsEventTableRow.organization);
|
|
13462
13472
|
writer.writeStringValue("organizationName", smsEventTableRow.organizationName);
|