@leadping/sdk 1.0.59 → 1.0.60
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 +38 -0
- 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/package.json +1 -1
package/dist/models/index.js
CHANGED
|
@@ -3690,6 +3690,7 @@ export function deserializeIntoEventTableRow(eventTableRow = {}) {
|
|
|
3690
3690
|
"actorDisplayName": n => { eventTableRow.actorDisplayName = n.getStringValue(); },
|
|
3691
3691
|
"actorEmail": n => { eventTableRow.actorEmail = n.getStringValue(); },
|
|
3692
3692
|
"actorUserId": n => { eventTableRow.actorUserId = n.getStringValue(); },
|
|
3693
|
+
"automationRunId": n => { eventTableRow.automationRunId = n.getStringValue(); },
|
|
3693
3694
|
"billableAmount": n => { eventTableRow.billableAmount = n.getNumberValue(); },
|
|
3694
3695
|
"billingStatus": n => { eventTableRow.billingStatus = n.getStringValue(); },
|
|
3695
3696
|
"blockedAt": n => { eventTableRow.blockedAt = n.getDateValue(); },
|
|
@@ -5018,6 +5019,7 @@ export function deserializeIntoOutboundPhoneNumberCapacity(outboundPhoneNumberCa
|
|
|
5018
5019
|
"smsLimitThisMinute": n => { outboundPhoneNumberCapacity.smsLimitThisMinute = n.getNumberValue(); },
|
|
5019
5020
|
"smsLimitToday": n => { outboundPhoneNumberCapacity.smsLimitToday = n.getNumberValue(); },
|
|
5020
5021
|
"smsMinutelyResetsAt": n => { outboundPhoneNumberCapacity.smsMinutelyResetsAt = n.getDateValue(); },
|
|
5022
|
+
"smsRampDirection": n => { outboundPhoneNumberCapacity.smsRampDirection = n.getEnumValue(OutboundPhoneNumberCapacity_smsRampDirectionObject); },
|
|
5021
5023
|
"smsRamping": n => { outboundPhoneNumberCapacity.smsRamping = n.getBooleanValue(); },
|
|
5022
5024
|
"smsRemainingThisHour": n => { outboundPhoneNumberCapacity.smsRemainingThisHour = n.getNumberValue(); },
|
|
5023
5025
|
"smsRemainingThisMinute": n => { outboundPhoneNumberCapacity.smsRemainingThisMinute = n.getNumberValue(); },
|
|
@@ -5031,6 +5033,7 @@ export function deserializeIntoOutboundPhoneNumberCapacity(outboundPhoneNumberCa
|
|
|
5031
5033
|
"voiceLimitThisMinute": n => { outboundPhoneNumberCapacity.voiceLimitThisMinute = n.getNumberValue(); },
|
|
5032
5034
|
"voiceLimitToday": n => { outboundPhoneNumberCapacity.voiceLimitToday = n.getNumberValue(); },
|
|
5033
5035
|
"voiceMinutelyResetsAt": n => { outboundPhoneNumberCapacity.voiceMinutelyResetsAt = n.getDateValue(); },
|
|
5036
|
+
"voiceRampDirection": n => { outboundPhoneNumberCapacity.voiceRampDirection = n.getEnumValue(OutboundPhoneNumberCapacity_voiceRampDirectionObject); },
|
|
5034
5037
|
"voiceRamping": n => { outboundPhoneNumberCapacity.voiceRamping = n.getBooleanValue(); },
|
|
5035
5038
|
"voiceRemainingThisHour": n => { outboundPhoneNumberCapacity.voiceRemainingThisHour = n.getNumberValue(); },
|
|
5036
5039
|
"voiceRemainingThisMinute": n => { outboundPhoneNumberCapacity.voiceRemainingThisMinute = n.getNumberValue(); },
|
|
@@ -5716,6 +5719,8 @@ export function deserializeIntoPhoneNumberResponse(phoneNumberResponse = {}) {
|
|
|
5716
5719
|
"organization": n => { phoneNumberResponse.organization = n.getObjectValue(createPhoneNumberResponse_organizationFromDiscriminatorValue); },
|
|
5717
5720
|
"phoneIdentityId": n => { phoneNumberResponse.phoneIdentityId = n.getStringValue(); },
|
|
5718
5721
|
"routing": n => { phoneNumberResponse.routing = n.getObjectValue(createPhoneNumberRoutingMetadataFromDiscriminatorValue); },
|
|
5722
|
+
"smsReady": n => { phoneNumberResponse.smsReady = n.getBooleanValue(); },
|
|
5723
|
+
"voiceReady": n => { phoneNumberResponse.voiceReady = n.getBooleanValue(); },
|
|
5719
5724
|
"warmup": n => { phoneNumberResponse.warmup = n.getObjectValue(createPhoneNumberReadinessFromDiscriminatorValue); },
|
|
5720
5725
|
};
|
|
5721
5726
|
}
|
|
@@ -8544,6 +8549,7 @@ export function serializeEventTableRow(writer, eventTableRow = {}, isSerializing
|
|
|
8544
8549
|
writer.writeStringValue("actorDisplayName", eventTableRow.actorDisplayName);
|
|
8545
8550
|
writer.writeStringValue("actorEmail", eventTableRow.actorEmail);
|
|
8546
8551
|
writer.writeStringValue("actorUserId", eventTableRow.actorUserId);
|
|
8552
|
+
writer.writeStringValue("automationRunId", eventTableRow.automationRunId);
|
|
8547
8553
|
writer.writeNumberValue("billableAmount", eventTableRow.billableAmount);
|
|
8548
8554
|
writer.writeStringValue("billingStatus", eventTableRow.billingStatus);
|
|
8549
8555
|
writer.writeDateValue("blockedAt", eventTableRow.blockedAt);
|
|
@@ -10069,6 +10075,7 @@ export function serializeOutboundPhoneNumberCapacity(writer, outboundPhoneNumber
|
|
|
10069
10075
|
writer.writeNumberValue("smsLimitThisMinute", outboundPhoneNumberCapacity.smsLimitThisMinute);
|
|
10070
10076
|
writer.writeNumberValue("smsLimitToday", outboundPhoneNumberCapacity.smsLimitToday);
|
|
10071
10077
|
writer.writeDateValue("smsMinutelyResetsAt", outboundPhoneNumberCapacity.smsMinutelyResetsAt);
|
|
10078
|
+
writer.writeEnumValue("smsRampDirection", outboundPhoneNumberCapacity.smsRampDirection);
|
|
10072
10079
|
writer.writeBooleanValue("smsRamping", outboundPhoneNumberCapacity.smsRamping);
|
|
10073
10080
|
writer.writeNumberValue("smsRemainingThisHour", outboundPhoneNumberCapacity.smsRemainingThisHour);
|
|
10074
10081
|
writer.writeNumberValue("smsRemainingThisMinute", outboundPhoneNumberCapacity.smsRemainingThisMinute);
|
|
@@ -10082,6 +10089,7 @@ export function serializeOutboundPhoneNumberCapacity(writer, outboundPhoneNumber
|
|
|
10082
10089
|
writer.writeNumberValue("voiceLimitThisMinute", outboundPhoneNumberCapacity.voiceLimitThisMinute);
|
|
10083
10090
|
writer.writeNumberValue("voiceLimitToday", outboundPhoneNumberCapacity.voiceLimitToday);
|
|
10084
10091
|
writer.writeDateValue("voiceMinutelyResetsAt", outboundPhoneNumberCapacity.voiceMinutelyResetsAt);
|
|
10092
|
+
writer.writeEnumValue("voiceRampDirection", outboundPhoneNumberCapacity.voiceRampDirection);
|
|
10085
10093
|
writer.writeBooleanValue("voiceRamping", outboundPhoneNumberCapacity.voiceRamping);
|
|
10086
10094
|
writer.writeNumberValue("voiceRemainingThisHour", outboundPhoneNumberCapacity.voiceRemainingThisHour);
|
|
10087
10095
|
writer.writeNumberValue("voiceRemainingThisMinute", outboundPhoneNumberCapacity.voiceRemainingThisMinute);
|
|
@@ -10892,6 +10900,8 @@ export function serializePhoneNumberResponse(writer, phoneNumberResponse = {}, i
|
|
|
10892
10900
|
writer.writeObjectValue("organization", phoneNumberResponse.organization, serializePhoneNumberResponse_organization);
|
|
10893
10901
|
writer.writeStringValue("phoneIdentityId", phoneNumberResponse.phoneIdentityId);
|
|
10894
10902
|
writer.writeObjectValue("routing", phoneNumberResponse.routing, serializePhoneNumberRoutingMetadata);
|
|
10903
|
+
writer.writeBooleanValue("smsReady", phoneNumberResponse.smsReady);
|
|
10904
|
+
writer.writeBooleanValue("voiceReady", phoneNumberResponse.voiceReady);
|
|
10895
10905
|
writer.writeObjectValue("warmup", phoneNumberResponse.warmup, serializePhoneNumberReadiness);
|
|
10896
10906
|
writer.writeAdditionalData(phoneNumberResponse.additionalData);
|
|
10897
10907
|
}
|
|
@@ -13161,6 +13171,22 @@ export const OutboundDeliveryStatusObject = {
|
|
|
13161
13171
|
Blocked: "blocked",
|
|
13162
13172
|
Cancelled: "cancelled",
|
|
13163
13173
|
};
|
|
13174
|
+
/**
|
|
13175
|
+
* Indicates whether a phone number's channel capacity is increasing, decreasing, or stable.
|
|
13176
|
+
*/
|
|
13177
|
+
export const OutboundPhoneNumberCapacity_smsRampDirectionObject = {
|
|
13178
|
+
Up: "up",
|
|
13179
|
+
Down: "down",
|
|
13180
|
+
None: "none",
|
|
13181
|
+
};
|
|
13182
|
+
/**
|
|
13183
|
+
* Indicates whether a phone number's channel capacity is increasing, decreasing, or stable.
|
|
13184
|
+
*/
|
|
13185
|
+
export const OutboundPhoneNumberCapacity_voiceRampDirectionObject = {
|
|
13186
|
+
Up: "up",
|
|
13187
|
+
Down: "down",
|
|
13188
|
+
None: "none",
|
|
13189
|
+
};
|
|
13164
13190
|
/**
|
|
13165
13191
|
* Structured reason codes for outbound pacing and blocking decisions.
|
|
13166
13192
|
*/
|