@leadping/sdk 1.0.141 → 1.0.142

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.
@@ -3477,6 +3477,7 @@ export function deserializeIntoAutomationResponse(automationResponse = {}) {
3477
3477
  "name": n => { automationResponse.name = n.getStringValue(); },
3478
3478
  "organization": n => { automationResponse.organization = n.getObjectValue(createAutomationResponse_organizationFromDiscriminatorValue); },
3479
3479
  "organizationId": n => { automationResponse.organizationId = n.getStringValue(); },
3480
+ "scheduleStartedAt": n => { automationResponse.scheduleStartedAt = n.getDateValue(); },
3480
3481
  "scope": n => { automationResponse.scope = n.getStringValue(); },
3481
3482
  "timeZoneId": n => { automationResponse.timeZoneId = n.getStringValue(); },
3482
3483
  "triggers": n => { automationResponse.triggers = n.getCollectionOfObjectValues(createAutomationTriggerFromDiscriminatorValue); },
@@ -4659,6 +4660,8 @@ export function deserializeIntoIdNameValue(idNameValue = {}) {
4659
4660
  // @ts-ignore
4660
4661
  export function deserializeIntoIncomingCallerResponse(incomingCallerResponse = {}) {
4661
4662
  return {
4663
+ "leadAvatarUrl": n => { incomingCallerResponse.leadAvatarUrl = n.getStringValue(); },
4664
+ "leadEmail": n => { incomingCallerResponse.leadEmail = n.getStringValue(); },
4662
4665
  "leadId": n => { incomingCallerResponse.leadId = n.getStringValue(); },
4663
4666
  "leadName": n => { incomingCallerResponse.leadName = n.getStringValue(); },
4664
4667
  };
@@ -6137,6 +6140,9 @@ export function deserializeIntoOrganizationRequest(organizationRequest = {}) {
6137
6140
  "isYoungerThan90": n => { organizationRequest.isYoungerThan90 = n.getBooleanValue(); },
6138
6141
  "messagedLeadStatusId": n => { organizationRequest.messagedLeadStatusId = n.getStringValue(); },
6139
6142
  "name": n => { organizationRequest.name = n.getStringValue(); },
6143
+ "nextCallExcludedStatusIds": n => { organizationRequest.nextCallExcludedStatusIds = n.getCollectionOfPrimitiveValues("string"); },
6144
+ "nextCallExcludedTagIds": n => { organizationRequest.nextCallExcludedTagIds = n.getCollectionOfPrimitiveValues("string"); },
6145
+ "nextCallIncludedStatusIds": n => { organizationRequest.nextCallIncludedStatusIds = n.getCollectionOfPrimitiveValues("string"); },
6140
6146
  "offer": n => { organizationRequest.offer = n.getStringValue(); },
6141
6147
  "phone": n => { organizationRequest.phone = n.getStringValue(); },
6142
6148
  "secondaryName": n => { organizationRequest.secondaryName = n.getStringValue(); },
@@ -6195,6 +6201,9 @@ export function deserializeIntoOrganizationResponse(organizationResponse = {}) {
6195
6201
  "messagedLeadStatusId": n => { organizationResponse.messagedLeadStatusId = n.getStringValue(); },
6196
6202
  "modifiedAt": n => { organizationResponse.modifiedAt = n.getDateValue(); },
6197
6203
  "name": n => { organizationResponse.name = n.getStringValue(); },
6204
+ "nextCallExcludedStatusIds": n => { organizationResponse.nextCallExcludedStatusIds = n.getCollectionOfPrimitiveValues("string"); },
6205
+ "nextCallExcludedTagIds": n => { organizationResponse.nextCallExcludedTagIds = n.getCollectionOfPrimitiveValues("string"); },
6206
+ "nextCallIncludedStatusIds": n => { organizationResponse.nextCallIncludedStatusIds = n.getCollectionOfPrimitiveValues("string"); },
6198
6207
  "phone": n => { organizationResponse.phone = n.getStringValue(); },
6199
6208
  "phones": n => { organizationResponse.phones = n.getCollectionOfObjectValues(createIdNameValueFromDiscriminatorValue); },
6200
6209
  "secondaryName": n => { organizationResponse.secondaryName = n.getStringValue(); },
@@ -6374,6 +6383,7 @@ export function deserializeIntoOutboundPhoneNumberCapacity(outboundPhoneNumberCa
6374
6383
  "smsLimitThisMinute": n => { outboundPhoneNumberCapacity.smsLimitThisMinute = n.getNumberValue(); },
6375
6384
  "smsLimitToday": n => { outboundPhoneNumberCapacity.smsLimitToday = n.getNumberValue(); },
6376
6385
  "smsMinutelyResetsAt": n => { outboundPhoneNumberCapacity.smsMinutelyResetsAt = n.getDateValue(); },
6386
+ "smsNextSlotAt": n => { outboundPhoneNumberCapacity.smsNextSlotAt = n.getDateValue(); },
6377
6387
  "smsRampDirection": n => { outboundPhoneNumberCapacity.smsRampDirection = n.getEnumValue(OutboundPhoneNumberCapacity_smsRampDirectionObject); },
6378
6388
  "smsRamping": n => { outboundPhoneNumberCapacity.smsRamping = n.getBooleanValue(); },
6379
6389
  "smsRemainingThisHour": n => { outboundPhoneNumberCapacity.smsRemainingThisHour = n.getNumberValue(); },
@@ -6388,6 +6398,7 @@ export function deserializeIntoOutboundPhoneNumberCapacity(outboundPhoneNumberCa
6388
6398
  "voiceLimitThisMinute": n => { outboundPhoneNumberCapacity.voiceLimitThisMinute = n.getNumberValue(); },
6389
6399
  "voiceLimitToday": n => { outboundPhoneNumberCapacity.voiceLimitToday = n.getNumberValue(); },
6390
6400
  "voiceMinutelyResetsAt": n => { outboundPhoneNumberCapacity.voiceMinutelyResetsAt = n.getDateValue(); },
6401
+ "voiceNextSlotAt": n => { outboundPhoneNumberCapacity.voiceNextSlotAt = n.getDateValue(); },
6391
6402
  "voiceRampDirection": n => { outboundPhoneNumberCapacity.voiceRampDirection = n.getEnumValue(OutboundPhoneNumberCapacity_voiceRampDirectionObject); },
6392
6403
  "voiceRamping": n => { outboundPhoneNumberCapacity.voiceRamping = n.getBooleanValue(); },
6393
6404
  "voiceRemainingThisHour": n => { outboundPhoneNumberCapacity.voiceRemainingThisHour = n.getNumberValue(); },
@@ -9199,6 +9210,7 @@ export function serializeAutomationResponse(writer, automationResponse = {}, isS
9199
9210
  writer.writeStringValue("name", automationResponse.name);
9200
9211
  writer.writeObjectValue("organization", automationResponse.organization, serializeAutomationResponse_organization);
9201
9212
  writer.writeStringValue("organizationId", automationResponse.organizationId);
9213
+ writer.writeDateValue("scheduleStartedAt", automationResponse.scheduleStartedAt);
9202
9214
  writer.writeStringValue("scope", automationResponse.scope);
9203
9215
  writer.writeStringValue("timeZoneId", automationResponse.timeZoneId);
9204
9216
  writer.writeCollectionOfObjectValues("triggers", automationResponse.triggers, serializeAutomationTrigger);
@@ -10558,6 +10570,8 @@ export function serializeIncomingCallerResponse(writer, incomingCallerResponse =
10558
10570
  if (!incomingCallerResponse || isSerializingDerivedType) {
10559
10571
  return;
10560
10572
  }
10573
+ writer.writeStringValue("leadAvatarUrl", incomingCallerResponse.leadAvatarUrl);
10574
+ writer.writeStringValue("leadEmail", incomingCallerResponse.leadEmail);
10561
10575
  writer.writeStringValue("leadId", incomingCallerResponse.leadId);
10562
10576
  writer.writeStringValue("leadName", incomingCallerResponse.leadName);
10563
10577
  writer.writeAdditionalData(incomingCallerResponse.additionalData);
@@ -12275,6 +12289,9 @@ export function serializeOrganizationRequest(writer, organizationRequest = {}, i
12275
12289
  writer.writeBooleanValue("isYoungerThan90", organizationRequest.isYoungerThan90);
12276
12290
  writer.writeStringValue("messagedLeadStatusId", organizationRequest.messagedLeadStatusId);
12277
12291
  writer.writeStringValue("name", organizationRequest.name);
12292
+ writer.writeCollectionOfPrimitiveValues("nextCallExcludedStatusIds", organizationRequest.nextCallExcludedStatusIds);
12293
+ writer.writeCollectionOfPrimitiveValues("nextCallExcludedTagIds", organizationRequest.nextCallExcludedTagIds);
12294
+ writer.writeCollectionOfPrimitiveValues("nextCallIncludedStatusIds", organizationRequest.nextCallIncludedStatusIds);
12278
12295
  writer.writeStringValue("offer", organizationRequest.offer);
12279
12296
  writer.writeStringValue("phone", organizationRequest.phone);
12280
12297
  writer.writeStringValue("secondaryName", organizationRequest.secondaryName);
@@ -12338,6 +12355,9 @@ export function serializeOrganizationResponse(writer, organizationResponse = {},
12338
12355
  writer.writeStringValue("messagedLeadStatusId", organizationResponse.messagedLeadStatusId);
12339
12356
  writer.writeDateValue("modifiedAt", organizationResponse.modifiedAt);
12340
12357
  writer.writeStringValue("name", organizationResponse.name);
12358
+ writer.writeCollectionOfPrimitiveValues("nextCallExcludedStatusIds", organizationResponse.nextCallExcludedStatusIds);
12359
+ writer.writeCollectionOfPrimitiveValues("nextCallExcludedTagIds", organizationResponse.nextCallExcludedTagIds);
12360
+ writer.writeCollectionOfPrimitiveValues("nextCallIncludedStatusIds", organizationResponse.nextCallIncludedStatusIds);
12341
12361
  writer.writeStringValue("phone", organizationResponse.phone);
12342
12362
  writer.writeCollectionOfObjectValues("phones", organizationResponse.phones, serializeIdNameValue);
12343
12363
  writer.writeStringValue("secondaryName", organizationResponse.secondaryName);
@@ -12545,6 +12565,7 @@ export function serializeOutboundPhoneNumberCapacity(writer, outboundPhoneNumber
12545
12565
  writer.writeNumberValue("smsLimitThisMinute", outboundPhoneNumberCapacity.smsLimitThisMinute);
12546
12566
  writer.writeNumberValue("smsLimitToday", outboundPhoneNumberCapacity.smsLimitToday);
12547
12567
  writer.writeDateValue("smsMinutelyResetsAt", outboundPhoneNumberCapacity.smsMinutelyResetsAt);
12568
+ writer.writeDateValue("smsNextSlotAt", outboundPhoneNumberCapacity.smsNextSlotAt);
12548
12569
  writer.writeEnumValue("smsRampDirection", outboundPhoneNumberCapacity.smsRampDirection);
12549
12570
  writer.writeBooleanValue("smsRamping", outboundPhoneNumberCapacity.smsRamping);
12550
12571
  writer.writeNumberValue("smsRemainingThisHour", outboundPhoneNumberCapacity.smsRemainingThisHour);
@@ -12559,6 +12580,7 @@ export function serializeOutboundPhoneNumberCapacity(writer, outboundPhoneNumber
12559
12580
  writer.writeNumberValue("voiceLimitThisMinute", outboundPhoneNumberCapacity.voiceLimitThisMinute);
12560
12581
  writer.writeNumberValue("voiceLimitToday", outboundPhoneNumberCapacity.voiceLimitToday);
12561
12582
  writer.writeDateValue("voiceMinutelyResetsAt", outboundPhoneNumberCapacity.voiceMinutelyResetsAt);
12583
+ writer.writeDateValue("voiceNextSlotAt", outboundPhoneNumberCapacity.voiceNextSlotAt);
12562
12584
  writer.writeEnumValue("voiceRampDirection", outboundPhoneNumberCapacity.voiceRampDirection);
12563
12585
  writer.writeBooleanValue("voiceRamping", outboundPhoneNumberCapacity.voiceRamping);
12564
12586
  writer.writeNumberValue("voiceRemainingThisHour", outboundPhoneNumberCapacity.voiceRemainingThisHour);