@leadping/sdk 1.0.141 → 1.0.143
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 +56 -4
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +26 -0
- package/dist/models/index.js.map +1 -1
- package/dist/phoneCall/next/index.d.ts +5 -0
- package/dist/phoneCall/next/index.d.ts.map +1 -1
- package/dist/phoneCall/next/index.js +5 -0
- package/dist/phoneCall/next/index.js.map +1 -1
- package/dist/phoneCall/next/mobile/index.d.ts +22 -0
- package/dist/phoneCall/next/mobile/index.d.ts.map +1 -0
- package/dist/phoneCall/next/mobile/index.js +21 -0
- package/dist/phoneCall/next/mobile/index.js.map +1 -0
- package/dist/phoneCall/next/mobile/item/index.d.ts +33 -0
- package/dist/phoneCall/next/mobile/item/index.d.ts.map +1 -0
- package/dist/phoneCall/next/mobile/item/index.js +31 -0
- package/dist/phoneCall/next/mobile/item/index.js.map +1 -0
- package/package.json +1 -1
package/dist/models/index.js
CHANGED
|
@@ -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
|
};
|
|
@@ -6135,8 +6138,12 @@ export function deserializeIntoOrganizationRequest(organizationRequest = {}) {
|
|
|
6135
6138
|
"duplicateLeadLookbackDays": n => { organizationRequest.duplicateLeadLookbackDays = n.getNumberValue(); },
|
|
6136
6139
|
"ein": n => { organizationRequest.ein = n.getStringValue(); },
|
|
6137
6140
|
"isYoungerThan90": n => { organizationRequest.isYoungerThan90 = n.getBooleanValue(); },
|
|
6141
|
+
"lowBalanceWarningThreshold": n => { organizationRequest.lowBalanceWarningThreshold = n.getNumberValue(); },
|
|
6138
6142
|
"messagedLeadStatusId": n => { organizationRequest.messagedLeadStatusId = n.getStringValue(); },
|
|
6139
6143
|
"name": n => { organizationRequest.name = n.getStringValue(); },
|
|
6144
|
+
"nextCallExcludedStatusIds": n => { organizationRequest.nextCallExcludedStatusIds = n.getCollectionOfPrimitiveValues("string"); },
|
|
6145
|
+
"nextCallExcludedTagIds": n => { organizationRequest.nextCallExcludedTagIds = n.getCollectionOfPrimitiveValues("string"); },
|
|
6146
|
+
"nextCallIncludedStatusIds": n => { organizationRequest.nextCallIncludedStatusIds = n.getCollectionOfPrimitiveValues("string"); },
|
|
6140
6147
|
"offer": n => { organizationRequest.offer = n.getStringValue(); },
|
|
6141
6148
|
"phone": n => { organizationRequest.phone = n.getStringValue(); },
|
|
6142
6149
|
"secondaryName": n => { organizationRequest.secondaryName = n.getStringValue(); },
|
|
@@ -6192,9 +6199,13 @@ export function deserializeIntoOrganizationResponse(organizationResponse = {}) {
|
|
|
6192
6199
|
"enabled": n => { organizationResponse.enabled = n.getBooleanValue(); },
|
|
6193
6200
|
"id": n => { organizationResponse.id = n.getStringValue(); },
|
|
6194
6201
|
"isDemo": n => { organizationResponse.isDemo = n.getBooleanValue(); },
|
|
6202
|
+
"lowBalanceWarningThreshold": n => { organizationResponse.lowBalanceWarningThreshold = n.getNumberValue(); },
|
|
6195
6203
|
"messagedLeadStatusId": n => { organizationResponse.messagedLeadStatusId = n.getStringValue(); },
|
|
6196
6204
|
"modifiedAt": n => { organizationResponse.modifiedAt = n.getDateValue(); },
|
|
6197
6205
|
"name": n => { organizationResponse.name = n.getStringValue(); },
|
|
6206
|
+
"nextCallExcludedStatusIds": n => { organizationResponse.nextCallExcludedStatusIds = n.getCollectionOfPrimitiveValues("string"); },
|
|
6207
|
+
"nextCallExcludedTagIds": n => { organizationResponse.nextCallExcludedTagIds = n.getCollectionOfPrimitiveValues("string"); },
|
|
6208
|
+
"nextCallIncludedStatusIds": n => { organizationResponse.nextCallIncludedStatusIds = n.getCollectionOfPrimitiveValues("string"); },
|
|
6198
6209
|
"phone": n => { organizationResponse.phone = n.getStringValue(); },
|
|
6199
6210
|
"phones": n => { organizationResponse.phones = n.getCollectionOfObjectValues(createIdNameValueFromDiscriminatorValue); },
|
|
6200
6211
|
"secondaryName": n => { organizationResponse.secondaryName = n.getStringValue(); },
|
|
@@ -6374,6 +6385,7 @@ export function deserializeIntoOutboundPhoneNumberCapacity(outboundPhoneNumberCa
|
|
|
6374
6385
|
"smsLimitThisMinute": n => { outboundPhoneNumberCapacity.smsLimitThisMinute = n.getNumberValue(); },
|
|
6375
6386
|
"smsLimitToday": n => { outboundPhoneNumberCapacity.smsLimitToday = n.getNumberValue(); },
|
|
6376
6387
|
"smsMinutelyResetsAt": n => { outboundPhoneNumberCapacity.smsMinutelyResetsAt = n.getDateValue(); },
|
|
6388
|
+
"smsNextSlotAt": n => { outboundPhoneNumberCapacity.smsNextSlotAt = n.getDateValue(); },
|
|
6377
6389
|
"smsRampDirection": n => { outboundPhoneNumberCapacity.smsRampDirection = n.getEnumValue(OutboundPhoneNumberCapacity_smsRampDirectionObject); },
|
|
6378
6390
|
"smsRamping": n => { outboundPhoneNumberCapacity.smsRamping = n.getBooleanValue(); },
|
|
6379
6391
|
"smsRemainingThisHour": n => { outboundPhoneNumberCapacity.smsRemainingThisHour = n.getNumberValue(); },
|
|
@@ -6388,6 +6400,7 @@ export function deserializeIntoOutboundPhoneNumberCapacity(outboundPhoneNumberCa
|
|
|
6388
6400
|
"voiceLimitThisMinute": n => { outboundPhoneNumberCapacity.voiceLimitThisMinute = n.getNumberValue(); },
|
|
6389
6401
|
"voiceLimitToday": n => { outboundPhoneNumberCapacity.voiceLimitToday = n.getNumberValue(); },
|
|
6390
6402
|
"voiceMinutelyResetsAt": n => { outboundPhoneNumberCapacity.voiceMinutelyResetsAt = n.getDateValue(); },
|
|
6403
|
+
"voiceNextSlotAt": n => { outboundPhoneNumberCapacity.voiceNextSlotAt = n.getDateValue(); },
|
|
6391
6404
|
"voiceRampDirection": n => { outboundPhoneNumberCapacity.voiceRampDirection = n.getEnumValue(OutboundPhoneNumberCapacity_voiceRampDirectionObject); },
|
|
6392
6405
|
"voiceRamping": n => { outboundPhoneNumberCapacity.voiceRamping = n.getBooleanValue(); },
|
|
6393
6406
|
"voiceRemainingThisHour": n => { outboundPhoneNumberCapacity.voiceRemainingThisHour = n.getNumberValue(); },
|
|
@@ -9199,6 +9212,7 @@ export function serializeAutomationResponse(writer, automationResponse = {}, isS
|
|
|
9199
9212
|
writer.writeStringValue("name", automationResponse.name);
|
|
9200
9213
|
writer.writeObjectValue("organization", automationResponse.organization, serializeAutomationResponse_organization);
|
|
9201
9214
|
writer.writeStringValue("organizationId", automationResponse.organizationId);
|
|
9215
|
+
writer.writeDateValue("scheduleStartedAt", automationResponse.scheduleStartedAt);
|
|
9202
9216
|
writer.writeStringValue("scope", automationResponse.scope);
|
|
9203
9217
|
writer.writeStringValue("timeZoneId", automationResponse.timeZoneId);
|
|
9204
9218
|
writer.writeCollectionOfObjectValues("triggers", automationResponse.triggers, serializeAutomationTrigger);
|
|
@@ -10558,6 +10572,8 @@ export function serializeIncomingCallerResponse(writer, incomingCallerResponse =
|
|
|
10558
10572
|
if (!incomingCallerResponse || isSerializingDerivedType) {
|
|
10559
10573
|
return;
|
|
10560
10574
|
}
|
|
10575
|
+
writer.writeStringValue("leadAvatarUrl", incomingCallerResponse.leadAvatarUrl);
|
|
10576
|
+
writer.writeStringValue("leadEmail", incomingCallerResponse.leadEmail);
|
|
10561
10577
|
writer.writeStringValue("leadId", incomingCallerResponse.leadId);
|
|
10562
10578
|
writer.writeStringValue("leadName", incomingCallerResponse.leadName);
|
|
10563
10579
|
writer.writeAdditionalData(incomingCallerResponse.additionalData);
|
|
@@ -12273,8 +12289,12 @@ export function serializeOrganizationRequest(writer, organizationRequest = {}, i
|
|
|
12273
12289
|
writer.writeNumberValue("duplicateLeadLookbackDays", organizationRequest.duplicateLeadLookbackDays);
|
|
12274
12290
|
writer.writeStringValue("ein", organizationRequest.ein);
|
|
12275
12291
|
writer.writeBooleanValue("isYoungerThan90", organizationRequest.isYoungerThan90);
|
|
12292
|
+
writer.writeNumberValue("lowBalanceWarningThreshold", organizationRequest.lowBalanceWarningThreshold);
|
|
12276
12293
|
writer.writeStringValue("messagedLeadStatusId", organizationRequest.messagedLeadStatusId);
|
|
12277
12294
|
writer.writeStringValue("name", organizationRequest.name);
|
|
12295
|
+
writer.writeCollectionOfPrimitiveValues("nextCallExcludedStatusIds", organizationRequest.nextCallExcludedStatusIds);
|
|
12296
|
+
writer.writeCollectionOfPrimitiveValues("nextCallExcludedTagIds", organizationRequest.nextCallExcludedTagIds);
|
|
12297
|
+
writer.writeCollectionOfPrimitiveValues("nextCallIncludedStatusIds", organizationRequest.nextCallIncludedStatusIds);
|
|
12278
12298
|
writer.writeStringValue("offer", organizationRequest.offer);
|
|
12279
12299
|
writer.writeStringValue("phone", organizationRequest.phone);
|
|
12280
12300
|
writer.writeStringValue("secondaryName", organizationRequest.secondaryName);
|
|
@@ -12335,9 +12355,13 @@ export function serializeOrganizationResponse(writer, organizationResponse = {},
|
|
|
12335
12355
|
writer.writeBooleanValue("enabled", organizationResponse.enabled);
|
|
12336
12356
|
writer.writeStringValue("id", organizationResponse.id);
|
|
12337
12357
|
writer.writeBooleanValue("isDemo", organizationResponse.isDemo);
|
|
12358
|
+
writer.writeNumberValue("lowBalanceWarningThreshold", organizationResponse.lowBalanceWarningThreshold);
|
|
12338
12359
|
writer.writeStringValue("messagedLeadStatusId", organizationResponse.messagedLeadStatusId);
|
|
12339
12360
|
writer.writeDateValue("modifiedAt", organizationResponse.modifiedAt);
|
|
12340
12361
|
writer.writeStringValue("name", organizationResponse.name);
|
|
12362
|
+
writer.writeCollectionOfPrimitiveValues("nextCallExcludedStatusIds", organizationResponse.nextCallExcludedStatusIds);
|
|
12363
|
+
writer.writeCollectionOfPrimitiveValues("nextCallExcludedTagIds", organizationResponse.nextCallExcludedTagIds);
|
|
12364
|
+
writer.writeCollectionOfPrimitiveValues("nextCallIncludedStatusIds", organizationResponse.nextCallIncludedStatusIds);
|
|
12341
12365
|
writer.writeStringValue("phone", organizationResponse.phone);
|
|
12342
12366
|
writer.writeCollectionOfObjectValues("phones", organizationResponse.phones, serializeIdNameValue);
|
|
12343
12367
|
writer.writeStringValue("secondaryName", organizationResponse.secondaryName);
|
|
@@ -12545,6 +12569,7 @@ export function serializeOutboundPhoneNumberCapacity(writer, outboundPhoneNumber
|
|
|
12545
12569
|
writer.writeNumberValue("smsLimitThisMinute", outboundPhoneNumberCapacity.smsLimitThisMinute);
|
|
12546
12570
|
writer.writeNumberValue("smsLimitToday", outboundPhoneNumberCapacity.smsLimitToday);
|
|
12547
12571
|
writer.writeDateValue("smsMinutelyResetsAt", outboundPhoneNumberCapacity.smsMinutelyResetsAt);
|
|
12572
|
+
writer.writeDateValue("smsNextSlotAt", outboundPhoneNumberCapacity.smsNextSlotAt);
|
|
12548
12573
|
writer.writeEnumValue("smsRampDirection", outboundPhoneNumberCapacity.smsRampDirection);
|
|
12549
12574
|
writer.writeBooleanValue("smsRamping", outboundPhoneNumberCapacity.smsRamping);
|
|
12550
12575
|
writer.writeNumberValue("smsRemainingThisHour", outboundPhoneNumberCapacity.smsRemainingThisHour);
|
|
@@ -12559,6 +12584,7 @@ export function serializeOutboundPhoneNumberCapacity(writer, outboundPhoneNumber
|
|
|
12559
12584
|
writer.writeNumberValue("voiceLimitThisMinute", outboundPhoneNumberCapacity.voiceLimitThisMinute);
|
|
12560
12585
|
writer.writeNumberValue("voiceLimitToday", outboundPhoneNumberCapacity.voiceLimitToday);
|
|
12561
12586
|
writer.writeDateValue("voiceMinutelyResetsAt", outboundPhoneNumberCapacity.voiceMinutelyResetsAt);
|
|
12587
|
+
writer.writeDateValue("voiceNextSlotAt", outboundPhoneNumberCapacity.voiceNextSlotAt);
|
|
12562
12588
|
writer.writeEnumValue("voiceRampDirection", outboundPhoneNumberCapacity.voiceRampDirection);
|
|
12563
12589
|
writer.writeBooleanValue("voiceRamping", outboundPhoneNumberCapacity.voiceRamping);
|
|
12564
12590
|
writer.writeNumberValue("voiceRemainingThisHour", outboundPhoneNumberCapacity.voiceRemainingThisHour);
|