@leadping/sdk 1.0.31 → 1.0.33
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/analytics/my/index.d.ts +9 -0
- package/dist/analytics/my/index.d.ts.map +1 -1
- package/dist/analytics/my/index.js.map +1 -1
- package/dist/automations/index.d.ts +2 -2
- package/dist/automations/item/index.d.ts +2 -2
- package/dist/automations/preview/index.d.ts +2 -2
- package/dist/contact/index.d.ts +2 -2
- package/dist/conversations/my/index.d.ts +3 -0
- package/dist/conversations/my/index.d.ts.map +1 -1
- package/dist/conversations/my/index.js.map +1 -1
- package/dist/events/all/my/index.d.ts +9 -0
- package/dist/events/all/my/index.d.ts.map +1 -1
- package/dist/events/all/my/index.js.map +1 -1
- package/dist/events/conversations/item/notes/index.d.ts +2 -2
- package/dist/events/organizations/item/index.d.ts +6 -0
- package/dist/events/organizations/item/index.d.ts.map +1 -1
- package/dist/events/organizations/item/index.js.map +1 -1
- package/dist/feedback/index.d.ts +2 -2
- package/dist/leadStatusChanges/all/my/index.d.ts +2 -2
- package/dist/leadStatuses/index.d.ts +1 -1
- package/dist/leads/all/my/index.d.ts +12 -0
- package/dist/leads/all/my/index.d.ts.map +1 -1
- package/dist/leads/all/my/index.js.map +1 -1
- package/dist/leads/index.d.ts +2 -2
- package/dist/leads/intake/index.d.ts +2 -2
- package/dist/leads/item/archive/index.d.ts +3 -3
- package/dist/leads/item/index.d.ts +2 -2
- package/dist/leads/item/tags/index.d.ts +5 -5
- package/dist/models/index.d.ts +538 -358
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +156 -2
- package/dist/models/index.js.map +1 -1
- package/dist/notifications/index.d.ts +5 -0
- package/dist/notifications/index.d.ts.map +1 -1
- package/dist/notifications/index.js +5 -0
- package/dist/notifications/index.js.map +1 -1
- package/dist/notifications/push/index.d.ts +20 -0
- package/dist/notifications/push/index.d.ts.map +1 -0
- package/dist/notifications/push/index.js +20 -0
- package/dist/notifications/push/index.js.map +1 -0
- package/dist/notifications/push/installations/current/index.d.ts +32 -0
- package/dist/notifications/push/installations/current/index.d.ts.map +1 -0
- package/dist/notifications/push/installations/current/index.js +30 -0
- package/dist/notifications/push/installations/current/index.js.map +1 -0
- package/dist/notifications/push/installations/index.d.ts +27 -0
- package/dist/notifications/push/installations/index.d.ts.map +1 -0
- package/dist/notifications/push/installations/index.js +26 -0
- package/dist/notifications/push/installations/index.js.map +1 -0
- package/dist/notifications/push/installations/item/index.d.ts +28 -0
- package/dist/notifications/push/installations/item/index.d.ts.map +1 -0
- package/dist/notifications/push/installations/item/index.js +26 -0
- package/dist/notifications/push/installations/item/index.js.map +1 -0
- package/dist/organizations/invitations/accept/index.d.ts +2 -2
- package/dist/organizations/me/index.d.ts +4 -4
- package/dist/organizations/me/invitations/index.d.ts +2 -2
- package/dist/organizations/me/members/index.d.ts +2 -2
- package/dist/organizations/me/members/item/index.d.ts +2 -2
- package/dist/organizations/me/switchEscaped/index.d.ts +2 -2
- package/dist/paymentMethods/invoices/index.d.ts +1 -1
- package/dist/paymentMethods/invoices/item/pdfAccess/index.d.ts +3 -0
- package/dist/paymentMethods/invoices/item/pdfAccess/index.d.ts.map +1 -1
- package/dist/paymentMethods/invoices/item/pdfAccess/index.js.map +1 -1
- package/dist/phoneCall/initiate/index.d.ts +2 -2
- package/dist/phoneNumbers/index.d.ts +2 -2
- package/dist/phoneNumbers/isAvailableForPurchase/index.d.ts +2 -2
- package/dist/phoneNumbers/item/index.d.ts +2 -2
- package/dist/phoneNumbers/outgoing/conversation/item/index.d.ts +2 -2
- package/dist/phoneNumbers/outgoing/conversation/item/override/index.d.ts +2 -2
- package/dist/phoneNumbers/outgoing/manualOverride/index.d.ts +2 -2
- package/dist/phoneNumbers/outgoing/newEscaped/index.d.ts +2 -2
- package/dist/phoneNumbers/search/index.d.ts +2 -2
- package/dist/reports/exports/index.d.ts +1 -1
- package/dist/reports/exports/item/download/index.d.ts +3 -0
- package/dist/reports/exports/item/download/index.d.ts.map +1 -1
- package/dist/reports/exports/item/download/index.js.map +1 -1
- package/dist/sms/media/index.d.ts +2 -2
- package/dist/sms/send/index.d.ts +2 -2
- package/dist/sources/index.d.ts +2 -2
- package/dist/sources/item/index.d.ts +2 -2
- package/dist/suppressions/all/my/index.d.ts +2 -2
- package/dist/suppressions/check/index.d.ts +2 -2
- package/dist/suppressions/index.d.ts +3 -3
- package/dist/suppressions/item/index.d.ts +2 -2
- package/dist/suppressions/release/index.d.ts +2 -2
- package/dist/tags/index.d.ts +6 -3
- package/dist/tags/index.d.ts.map +1 -1
- package/dist/tags/index.js.map +1 -1
- package/dist/tags/item/index.d.ts +2 -2
- package/dist/transactions/all/my/index.d.ts +6 -0
- package/dist/transactions/all/my/index.d.ts.map +1 -1
- package/dist/transactions/all/my/index.js.map +1 -1
- package/dist/users/changeBillingPlan/index.d.ts +2 -2
- package/dist/users/compliance/index.d.ts +2 -2
- package/dist/users/me/index.d.ts +2 -2
- package/package.json +1 -1
package/dist/models/index.js
CHANGED
|
@@ -1407,6 +1407,15 @@ export function createPhoneCallResponseFromDiscriminatorValue(parseNode) {
|
|
|
1407
1407
|
export function createPhoneFromDiscriminatorValue(parseNode) {
|
|
1408
1408
|
return deserializeIntoPhone;
|
|
1409
1409
|
}
|
|
1410
|
+
/**
|
|
1411
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
1412
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
1413
|
+
* @returns {PhoneIdentityLookupAction}
|
|
1414
|
+
*/
|
|
1415
|
+
// @ts-ignore
|
|
1416
|
+
export function createPhoneIdentityLookupActionFromDiscriminatorValue(parseNode) {
|
|
1417
|
+
return deserializeIntoPhoneIdentityLookupAction;
|
|
1418
|
+
}
|
|
1410
1419
|
/**
|
|
1411
1420
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
1412
1421
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -1758,6 +1767,24 @@ export function createPhoneNumberTrafficTrendPointFromDiscriminatorValue(parseNo
|
|
|
1758
1767
|
export function createProblemDetailsFromDiscriminatorValue(parseNode) {
|
|
1759
1768
|
return deserializeIntoProblemDetails;
|
|
1760
1769
|
}
|
|
1770
|
+
/**
|
|
1771
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
1772
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
1773
|
+
* @returns {PushInstallationRequest_metadata}
|
|
1774
|
+
*/
|
|
1775
|
+
// @ts-ignore
|
|
1776
|
+
export function createPushInstallationRequest_metadataFromDiscriminatorValue(parseNode) {
|
|
1777
|
+
return deserializeIntoPushInstallationRequest_metadata;
|
|
1778
|
+
}
|
|
1779
|
+
/**
|
|
1780
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
1781
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
1782
|
+
* @returns {PushInstallationRequest}
|
|
1783
|
+
*/
|
|
1784
|
+
// @ts-ignore
|
|
1785
|
+
export function createPushInstallationRequestFromDiscriminatorValue(parseNode) {
|
|
1786
|
+
return deserializeIntoPushInstallationRequest;
|
|
1787
|
+
}
|
|
1761
1788
|
/**
|
|
1762
1789
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
1763
1790
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -4113,6 +4140,7 @@ export function deserializeIntoNotificationResponse(notificationResponse = {}) {
|
|
|
4113
4140
|
"modifiedAt": n => { notificationResponse.modifiedAt = n.getDateValue(); },
|
|
4114
4141
|
"name": n => { notificationResponse.name = n.getStringValue(); },
|
|
4115
4142
|
"priority": n => { notificationResponse.priority = n.getEnumValue(NotificationPriorityObject); },
|
|
4143
|
+
"pushEnabled": n => { notificationResponse.pushEnabled = n.getBooleanValue(); },
|
|
4116
4144
|
"readAt": n => { notificationResponse.readAt = n.getDateValue(); },
|
|
4117
4145
|
"relatedEntityId": n => { notificationResponse.relatedEntityId = n.getStringValue(); },
|
|
4118
4146
|
"relatedEntityType": n => { notificationResponse.relatedEntityType = n.getStringValue(); },
|
|
@@ -4714,6 +4742,7 @@ export function deserializeIntoOutboundCapacityOverview(outboundCapacityOverview
|
|
|
4714
4742
|
"healthyPhoneNumbers": n => { outboundCapacityOverview.healthyPhoneNumbers = n.getNumberValue(); },
|
|
4715
4743
|
"limitedPhoneNumbers": n => { outboundCapacityOverview.limitedPhoneNumbers = n.getNumberValue(); },
|
|
4716
4744
|
"phoneNumbers": n => { outboundCapacityOverview.phoneNumbers = n.getCollectionOfObjectValues(createOutboundPhoneNumberCapacityFromDiscriminatorValue); },
|
|
4745
|
+
"rampingPhoneNumbers": n => { outboundCapacityOverview.rampingPhoneNumbers = n.getNumberValue(); },
|
|
4717
4746
|
"recentDecisions": n => { outboundCapacityOverview.recentDecisions = n.getCollectionOfObjectValues(createOutboundQueueItemFromDiscriminatorValue); },
|
|
4718
4747
|
"scheduledCount": n => { outboundCapacityOverview.scheduledCount = n.getNumberValue(); },
|
|
4719
4748
|
"smsCapacityRemainingToday": n => { outboundCapacityOverview.smsCapacityRemainingToday = n.getNumberValue(); },
|
|
@@ -4729,15 +4758,18 @@ export function deserializeIntoOutboundCapacityOverview(outboundCapacityOverview
|
|
|
4729
4758
|
export function deserializeIntoOutboundPhoneNumberCapacity(outboundPhoneNumberCapacity = {}) {
|
|
4730
4759
|
return {
|
|
4731
4760
|
"capacityAvailable": n => { outboundPhoneNumberCapacity.capacityAvailable = n.getBooleanValue(); },
|
|
4761
|
+
"healthReason": n => { outboundPhoneNumberCapacity.healthReason = n.getStringValue(); },
|
|
4732
4762
|
"healthStatus": n => { outboundPhoneNumberCapacity.healthStatus = n.getEnumValue(PhoneNumberOutboundHealthStatusObject); },
|
|
4733
4763
|
"phoneNumber": n => { outboundPhoneNumberCapacity.phoneNumber = n.getStringValue(); },
|
|
4734
4764
|
"phoneNumberId": n => { outboundPhoneNumberCapacity.phoneNumberId = n.getStringValue(); },
|
|
4765
|
+
"smsApproved": n => { outboundPhoneNumberCapacity.smsApproved = n.getBooleanValue(); },
|
|
4735
4766
|
"smsDailyResetsAt": n => { outboundPhoneNumberCapacity.smsDailyResetsAt = n.getDateValue(); },
|
|
4736
4767
|
"smsHourlyResetsAt": n => { outboundPhoneNumberCapacity.smsHourlyResetsAt = n.getDateValue(); },
|
|
4737
4768
|
"smsLimitThisHour": n => { outboundPhoneNumberCapacity.smsLimitThisHour = n.getNumberValue(); },
|
|
4738
4769
|
"smsLimitThisMinute": n => { outboundPhoneNumberCapacity.smsLimitThisMinute = n.getNumberValue(); },
|
|
4739
4770
|
"smsLimitToday": n => { outboundPhoneNumberCapacity.smsLimitToday = n.getNumberValue(); },
|
|
4740
4771
|
"smsMinutelyResetsAt": n => { outboundPhoneNumberCapacity.smsMinutelyResetsAt = n.getDateValue(); },
|
|
4772
|
+
"smsRamping": n => { outboundPhoneNumberCapacity.smsRamping = n.getBooleanValue(); },
|
|
4741
4773
|
"smsRemainingThisHour": n => { outboundPhoneNumberCapacity.smsRemainingThisHour = n.getNumberValue(); },
|
|
4742
4774
|
"smsRemainingThisMinute": n => { outboundPhoneNumberCapacity.smsRemainingThisMinute = n.getNumberValue(); },
|
|
4743
4775
|
"smsRemainingToday": n => { outboundPhoneNumberCapacity.smsRemainingToday = n.getNumberValue(); },
|
|
@@ -4750,6 +4782,7 @@ export function deserializeIntoOutboundPhoneNumberCapacity(outboundPhoneNumberCa
|
|
|
4750
4782
|
"voiceLimitThisMinute": n => { outboundPhoneNumberCapacity.voiceLimitThisMinute = n.getNumberValue(); },
|
|
4751
4783
|
"voiceLimitToday": n => { outboundPhoneNumberCapacity.voiceLimitToday = n.getNumberValue(); },
|
|
4752
4784
|
"voiceMinutelyResetsAt": n => { outboundPhoneNumberCapacity.voiceMinutelyResetsAt = n.getDateValue(); },
|
|
4785
|
+
"voiceRamping": n => { outboundPhoneNumberCapacity.voiceRamping = n.getBooleanValue(); },
|
|
4753
4786
|
"voiceRemainingThisHour": n => { outboundPhoneNumberCapacity.voiceRemainingThisHour = n.getNumberValue(); },
|
|
4754
4787
|
"voiceRemainingThisMinute": n => { outboundPhoneNumberCapacity.voiceRemainingThisMinute = n.getNumberValue(); },
|
|
4755
4788
|
"voiceRemainingToday": n => { outboundPhoneNumberCapacity.voiceRemainingToday = n.getNumberValue(); },
|
|
@@ -5073,6 +5106,21 @@ export function deserializeIntoPhoneCallResponse(phoneCallResponse = {}) {
|
|
|
5073
5106
|
"wasManuallyOverridden": n => { phoneCallResponse.wasManuallyOverridden = n.getBooleanValue(); },
|
|
5074
5107
|
};
|
|
5075
5108
|
}
|
|
5109
|
+
/**
|
|
5110
|
+
* The deserialization information for the current model
|
|
5111
|
+
* @param PhoneIdentityLookupAction The instance to deserialize into.
|
|
5112
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
5113
|
+
*/
|
|
5114
|
+
// @ts-ignore
|
|
5115
|
+
export function deserializeIntoPhoneIdentityLookupAction(phoneIdentityLookupAction = {}) {
|
|
5116
|
+
return {
|
|
5117
|
+
"id": n => { phoneIdentityLookupAction.id = n.getStringValue(); },
|
|
5118
|
+
"occurredAt": n => { phoneIdentityLookupAction.occurredAt = n.getDateValue(); },
|
|
5119
|
+
"provider": n => { phoneIdentityLookupAction.provider = n.getStringValue(); },
|
|
5120
|
+
"status": n => { phoneIdentityLookupAction.status = n.getEnumValue(PhoneIdentityLookupActionStatusObject); },
|
|
5121
|
+
"type": n => { phoneIdentityLookupAction.type = n.getEnumValue(PhoneIdentityLookupActionTypeObject); },
|
|
5122
|
+
};
|
|
5123
|
+
}
|
|
5076
5124
|
/**
|
|
5077
5125
|
* The deserialization information for the current model
|
|
5078
5126
|
* @param PhoneIdentityResponse The instance to deserialize into.
|
|
@@ -5085,6 +5133,7 @@ export function deserializeIntoPhoneIdentityResponse(phoneIdentityResponse = {})
|
|
|
5085
5133
|
"id": n => { phoneIdentityResponse.id = n.getStringValue(); },
|
|
5086
5134
|
"lastEnrichedAt": n => { phoneIdentityResponse.lastEnrichedAt = n.getDateValue(); },
|
|
5087
5135
|
"lookup": n => { phoneIdentityResponse.lookup = n.getObjectValue(createPhoneIdentityResponse_lookupFromDiscriminatorValue); },
|
|
5136
|
+
"lookupActions": n => { phoneIdentityResponse.lookupActions = n.getCollectionOfObjectValues(createPhoneIdentityLookupActionFromDiscriminatorValue); },
|
|
5088
5137
|
"modifiedAt": n => { phoneIdentityResponse.modifiedAt = n.getDateValue(); },
|
|
5089
5138
|
"name": n => { phoneIdentityResponse.name = n.getStringValue(); },
|
|
5090
5139
|
"number": n => { phoneIdentityResponse.number = n.getStringValue(); },
|
|
@@ -5636,6 +5685,36 @@ export function deserializeIntoProblemDetails(problemDetails = {}) {
|
|
|
5636
5685
|
"type": n => { problemDetails.type = n.getStringValue(); },
|
|
5637
5686
|
};
|
|
5638
5687
|
}
|
|
5688
|
+
/**
|
|
5689
|
+
* The deserialization information for the current model
|
|
5690
|
+
* @param PushInstallationRequest The instance to deserialize into.
|
|
5691
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
5692
|
+
*/
|
|
5693
|
+
// @ts-ignore
|
|
5694
|
+
export function deserializeIntoPushInstallationRequest(pushInstallationRequest = {}) {
|
|
5695
|
+
return {
|
|
5696
|
+
"appBuild": n => { pushInstallationRequest.appBuild = n.getStringValue(); },
|
|
5697
|
+
"appIdentifier": n => { pushInstallationRequest.appIdentifier = n.getStringValue(); },
|
|
5698
|
+
"appName": n => { pushInstallationRequest.appName = n.getStringValue(); },
|
|
5699
|
+
"appVersion": n => { pushInstallationRequest.appVersion = n.getStringValue(); },
|
|
5700
|
+
"deviceModel": n => { pushInstallationRequest.deviceModel = n.getStringValue(); },
|
|
5701
|
+
"devicePlatform": n => { pushInstallationRequest.devicePlatform = n.getStringValue(); },
|
|
5702
|
+
"deviceVersion": n => { pushInstallationRequest.deviceVersion = n.getStringValue(); },
|
|
5703
|
+
"installationId": n => { pushInstallationRequest.installationId = n.getStringValue(); },
|
|
5704
|
+
"metadata": n => { pushInstallationRequest.metadata = n.getObjectValue(createPushInstallationRequest_metadataFromDiscriminatorValue); },
|
|
5705
|
+
"platform": n => { pushInstallationRequest.platform = n.getStringValue(); },
|
|
5706
|
+
"pushChannel": n => { pushInstallationRequest.pushChannel = n.getStringValue(); },
|
|
5707
|
+
};
|
|
5708
|
+
}
|
|
5709
|
+
/**
|
|
5710
|
+
* The deserialization information for the current model
|
|
5711
|
+
* @param PushInstallationRequest_metadata The instance to deserialize into.
|
|
5712
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
5713
|
+
*/
|
|
5714
|
+
// @ts-ignore
|
|
5715
|
+
export function deserializeIntoPushInstallationRequest_metadata(pushInstallationRequest_metadata = {}) {
|
|
5716
|
+
return {};
|
|
5717
|
+
}
|
|
5639
5718
|
/**
|
|
5640
5719
|
* The deserialization information for the current model
|
|
5641
5720
|
* @param RangeFilter The instance to deserialize into.
|
|
@@ -6245,7 +6324,6 @@ export function deserializeIntoTenDlcApplicationDraft(tenDlcApplicationDraft = {
|
|
|
6245
6324
|
"expectedMonthlyVolume": n => { tenDlcApplicationDraft.expectedMonthlyVolume = n.getNumberValue(); },
|
|
6246
6325
|
"industry": n => { tenDlcApplicationDraft.industry = n.getStringValue(); },
|
|
6247
6326
|
"lastSubmittedAt": n => { tenDlcApplicationDraft.lastSubmittedAt = n.getDateValue(); },
|
|
6248
|
-
"leadSource": n => { tenDlcApplicationDraft.leadSource = n.getStringValue(); },
|
|
6249
6327
|
"messageExamples": n => { tenDlcApplicationDraft.messageExamples = n.getCollectionOfPrimitiveValues("string"); },
|
|
6250
6328
|
"missingFields": n => { tenDlcApplicationDraft.missingFields = n.getCollectionOfPrimitiveValues("string"); },
|
|
6251
6329
|
"optInLanguage": n => { tenDlcApplicationDraft.optInLanguage = n.getStringValue(); },
|
|
@@ -8834,6 +8912,7 @@ export function serializeNotificationResponse(writer, notificationResponse = {},
|
|
|
8834
8912
|
writer.writeDateValue("modifiedAt", notificationResponse.modifiedAt);
|
|
8835
8913
|
writer.writeStringValue("name", notificationResponse.name);
|
|
8836
8914
|
writer.writeEnumValue("priority", notificationResponse.priority);
|
|
8915
|
+
writer.writeBooleanValue("pushEnabled", notificationResponse.pushEnabled);
|
|
8837
8916
|
writer.writeDateValue("readAt", notificationResponse.readAt);
|
|
8838
8917
|
writer.writeStringValue("relatedEntityId", notificationResponse.relatedEntityId);
|
|
8839
8918
|
writer.writeStringValue("relatedEntityType", notificationResponse.relatedEntityType);
|
|
@@ -9519,6 +9598,7 @@ export function serializeOutboundCapacityOverview(writer, outboundCapacityOvervi
|
|
|
9519
9598
|
writer.writeNumberValue("healthyPhoneNumbers", outboundCapacityOverview.healthyPhoneNumbers);
|
|
9520
9599
|
writer.writeNumberValue("limitedPhoneNumbers", outboundCapacityOverview.limitedPhoneNumbers);
|
|
9521
9600
|
writer.writeCollectionOfObjectValues("phoneNumbers", outboundCapacityOverview.phoneNumbers, serializeOutboundPhoneNumberCapacity);
|
|
9601
|
+
writer.writeNumberValue("rampingPhoneNumbers", outboundCapacityOverview.rampingPhoneNumbers);
|
|
9522
9602
|
writer.writeCollectionOfObjectValues("recentDecisions", outboundCapacityOverview.recentDecisions, serializeOutboundQueueItem);
|
|
9523
9603
|
writer.writeNumberValue("scheduledCount", outboundCapacityOverview.scheduledCount);
|
|
9524
9604
|
writer.writeNumberValue("smsCapacityRemainingToday", outboundCapacityOverview.smsCapacityRemainingToday);
|
|
@@ -9537,15 +9617,18 @@ export function serializeOutboundPhoneNumberCapacity(writer, outboundPhoneNumber
|
|
|
9537
9617
|
return;
|
|
9538
9618
|
}
|
|
9539
9619
|
writer.writeBooleanValue("capacityAvailable", outboundPhoneNumberCapacity.capacityAvailable);
|
|
9620
|
+
writer.writeStringValue("healthReason", outboundPhoneNumberCapacity.healthReason);
|
|
9540
9621
|
writer.writeEnumValue("healthStatus", outboundPhoneNumberCapacity.healthStatus);
|
|
9541
9622
|
writer.writeStringValue("phoneNumber", outboundPhoneNumberCapacity.phoneNumber);
|
|
9542
9623
|
writer.writeStringValue("phoneNumberId", outboundPhoneNumberCapacity.phoneNumberId);
|
|
9624
|
+
writer.writeBooleanValue("smsApproved", outboundPhoneNumberCapacity.smsApproved);
|
|
9543
9625
|
writer.writeDateValue("smsDailyResetsAt", outboundPhoneNumberCapacity.smsDailyResetsAt);
|
|
9544
9626
|
writer.writeDateValue("smsHourlyResetsAt", outboundPhoneNumberCapacity.smsHourlyResetsAt);
|
|
9545
9627
|
writer.writeNumberValue("smsLimitThisHour", outboundPhoneNumberCapacity.smsLimitThisHour);
|
|
9546
9628
|
writer.writeNumberValue("smsLimitThisMinute", outboundPhoneNumberCapacity.smsLimitThisMinute);
|
|
9547
9629
|
writer.writeNumberValue("smsLimitToday", outboundPhoneNumberCapacity.smsLimitToday);
|
|
9548
9630
|
writer.writeDateValue("smsMinutelyResetsAt", outboundPhoneNumberCapacity.smsMinutelyResetsAt);
|
|
9631
|
+
writer.writeBooleanValue("smsRamping", outboundPhoneNumberCapacity.smsRamping);
|
|
9549
9632
|
writer.writeNumberValue("smsRemainingThisHour", outboundPhoneNumberCapacity.smsRemainingThisHour);
|
|
9550
9633
|
writer.writeNumberValue("smsRemainingThisMinute", outboundPhoneNumberCapacity.smsRemainingThisMinute);
|
|
9551
9634
|
writer.writeNumberValue("smsRemainingToday", outboundPhoneNumberCapacity.smsRemainingToday);
|
|
@@ -9558,6 +9641,7 @@ export function serializeOutboundPhoneNumberCapacity(writer, outboundPhoneNumber
|
|
|
9558
9641
|
writer.writeNumberValue("voiceLimitThisMinute", outboundPhoneNumberCapacity.voiceLimitThisMinute);
|
|
9559
9642
|
writer.writeNumberValue("voiceLimitToday", outboundPhoneNumberCapacity.voiceLimitToday);
|
|
9560
9643
|
writer.writeDateValue("voiceMinutelyResetsAt", outboundPhoneNumberCapacity.voiceMinutelyResetsAt);
|
|
9644
|
+
writer.writeBooleanValue("voiceRamping", outboundPhoneNumberCapacity.voiceRamping);
|
|
9561
9645
|
writer.writeNumberValue("voiceRemainingThisHour", outboundPhoneNumberCapacity.voiceRemainingThisHour);
|
|
9562
9646
|
writer.writeNumberValue("voiceRemainingThisMinute", outboundPhoneNumberCapacity.voiceRemainingThisMinute);
|
|
9563
9647
|
writer.writeNumberValue("voiceRemainingToday", outboundPhoneNumberCapacity.voiceRemainingToday);
|
|
@@ -9941,6 +10025,24 @@ export function serializePhoneCallResponse(writer, phoneCallResponse = {}, isSer
|
|
|
9941
10025
|
writer.writeBooleanValue("wasManuallyOverridden", phoneCallResponse.wasManuallyOverridden);
|
|
9942
10026
|
writer.writeAdditionalData(phoneCallResponse.additionalData);
|
|
9943
10027
|
}
|
|
10028
|
+
/**
|
|
10029
|
+
* Serializes information the current object
|
|
10030
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
10031
|
+
* @param PhoneIdentityLookupAction The instance to serialize from.
|
|
10032
|
+
* @param writer Serialization writer to use to serialize this model
|
|
10033
|
+
*/
|
|
10034
|
+
// @ts-ignore
|
|
10035
|
+
export function serializePhoneIdentityLookupAction(writer, phoneIdentityLookupAction = {}, isSerializingDerivedType = false) {
|
|
10036
|
+
if (!phoneIdentityLookupAction || isSerializingDerivedType) {
|
|
10037
|
+
return;
|
|
10038
|
+
}
|
|
10039
|
+
writer.writeStringValue("id", phoneIdentityLookupAction.id);
|
|
10040
|
+
writer.writeDateValue("occurredAt", phoneIdentityLookupAction.occurredAt);
|
|
10041
|
+
writer.writeStringValue("provider", phoneIdentityLookupAction.provider);
|
|
10042
|
+
writer.writeEnumValue("status", phoneIdentityLookupAction.status);
|
|
10043
|
+
writer.writeEnumValue("type", phoneIdentityLookupAction.type);
|
|
10044
|
+
writer.writeAdditionalData(phoneIdentityLookupAction.additionalData);
|
|
10045
|
+
}
|
|
9944
10046
|
/**
|
|
9945
10047
|
* Serializes information the current object
|
|
9946
10048
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -9956,6 +10058,7 @@ export function serializePhoneIdentityResponse(writer, phoneIdentityResponse = {
|
|
|
9956
10058
|
writer.writeStringValue("id", phoneIdentityResponse.id);
|
|
9957
10059
|
writer.writeDateValue("lastEnrichedAt", phoneIdentityResponse.lastEnrichedAt);
|
|
9958
10060
|
writer.writeObjectValue("lookup", phoneIdentityResponse.lookup, serializePhoneIdentityResponse_lookup);
|
|
10061
|
+
writer.writeCollectionOfObjectValues("lookupActions", phoneIdentityResponse.lookupActions, serializePhoneIdentityLookupAction);
|
|
9959
10062
|
writer.writeDateValue("modifiedAt", phoneIdentityResponse.modifiedAt);
|
|
9960
10063
|
writer.writeStringValue("name", phoneIdentityResponse.name);
|
|
9961
10064
|
writer.writeStringValue("number", phoneIdentityResponse.number);
|
|
@@ -10606,6 +10709,43 @@ export function serializeProblemDetails(writer, problemDetails = {}, isSerializi
|
|
|
10606
10709
|
writer.writeStringValue("type", problemDetails.type);
|
|
10607
10710
|
writer.writeAdditionalData(problemDetails.additionalData);
|
|
10608
10711
|
}
|
|
10712
|
+
/**
|
|
10713
|
+
* Serializes information the current object
|
|
10714
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
10715
|
+
* @param PushInstallationRequest The instance to serialize from.
|
|
10716
|
+
* @param writer Serialization writer to use to serialize this model
|
|
10717
|
+
*/
|
|
10718
|
+
// @ts-ignore
|
|
10719
|
+
export function serializePushInstallationRequest(writer, pushInstallationRequest = {}, isSerializingDerivedType = false) {
|
|
10720
|
+
if (!pushInstallationRequest || isSerializingDerivedType) {
|
|
10721
|
+
return;
|
|
10722
|
+
}
|
|
10723
|
+
writer.writeStringValue("appBuild", pushInstallationRequest.appBuild);
|
|
10724
|
+
writer.writeStringValue("appIdentifier", pushInstallationRequest.appIdentifier);
|
|
10725
|
+
writer.writeStringValue("appName", pushInstallationRequest.appName);
|
|
10726
|
+
writer.writeStringValue("appVersion", pushInstallationRequest.appVersion);
|
|
10727
|
+
writer.writeStringValue("deviceModel", pushInstallationRequest.deviceModel);
|
|
10728
|
+
writer.writeStringValue("devicePlatform", pushInstallationRequest.devicePlatform);
|
|
10729
|
+
writer.writeStringValue("deviceVersion", pushInstallationRequest.deviceVersion);
|
|
10730
|
+
writer.writeStringValue("installationId", pushInstallationRequest.installationId);
|
|
10731
|
+
writer.writeObjectValue("metadata", pushInstallationRequest.metadata, serializePushInstallationRequest_metadata);
|
|
10732
|
+
writer.writeStringValue("platform", pushInstallationRequest.platform);
|
|
10733
|
+
writer.writeStringValue("pushChannel", pushInstallationRequest.pushChannel);
|
|
10734
|
+
writer.writeAdditionalData(pushInstallationRequest.additionalData);
|
|
10735
|
+
}
|
|
10736
|
+
/**
|
|
10737
|
+
* Serializes information the current object
|
|
10738
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
10739
|
+
* @param PushInstallationRequest_metadata The instance to serialize from.
|
|
10740
|
+
* @param writer Serialization writer to use to serialize this model
|
|
10741
|
+
*/
|
|
10742
|
+
// @ts-ignore
|
|
10743
|
+
export function serializePushInstallationRequest_metadata(writer, pushInstallationRequest_metadata = {}, isSerializingDerivedType = false) {
|
|
10744
|
+
if (!pushInstallationRequest_metadata || isSerializingDerivedType) {
|
|
10745
|
+
return;
|
|
10746
|
+
}
|
|
10747
|
+
writer.writeAdditionalData(pushInstallationRequest_metadata.additionalData);
|
|
10748
|
+
}
|
|
10609
10749
|
/**
|
|
10610
10750
|
* Serializes information the current object
|
|
10611
10751
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -11309,7 +11449,6 @@ export function serializeTenDlcApplicationDraft(writer, tenDlcApplicationDraft =
|
|
|
11309
11449
|
writer.writeNumberValue("expectedMonthlyVolume", tenDlcApplicationDraft.expectedMonthlyVolume);
|
|
11310
11450
|
writer.writeStringValue("industry", tenDlcApplicationDraft.industry);
|
|
11311
11451
|
writer.writeDateValue("lastSubmittedAt", tenDlcApplicationDraft.lastSubmittedAt);
|
|
11312
|
-
writer.writeStringValue("leadSource", tenDlcApplicationDraft.leadSource);
|
|
11313
11452
|
writer.writeCollectionOfPrimitiveValues("messageExamples", tenDlcApplicationDraft.messageExamples);
|
|
11314
11453
|
writer.writeCollectionOfPrimitiveValues("missingFields", tenDlcApplicationDraft.missingFields);
|
|
11315
11454
|
writer.writeStringValue("optInLanguage", tenDlcApplicationDraft.optInLanguage);
|
|
@@ -12745,6 +12884,21 @@ export const PhoneCallStatusObject = {
|
|
|
12745
12884
|
Blocked_permission: "blocked_permission",
|
|
12746
12885
|
Configuration_required: "configuration_required",
|
|
12747
12886
|
};
|
|
12887
|
+
/**
|
|
12888
|
+
* Identifies the outcome of a phone identity lookup action.
|
|
12889
|
+
*/
|
|
12890
|
+
export const PhoneIdentityLookupActionStatusObject = {
|
|
12891
|
+
Succeeded: "succeeded",
|
|
12892
|
+
Failed: "failed",
|
|
12893
|
+
};
|
|
12894
|
+
/**
|
|
12895
|
+
* Identifies the kind of lookup action performed for a phone identity.
|
|
12896
|
+
*/
|
|
12897
|
+
export const PhoneIdentityLookupActionTypeObject = {
|
|
12898
|
+
Validation: "validation",
|
|
12899
|
+
Enrichment: "enrichment",
|
|
12900
|
+
UnwantedNumberCheck: "unwanted-number-check",
|
|
12901
|
+
};
|
|
12748
12902
|
/**
|
|
12749
12903
|
* An enumerator describing phone line types
|
|
12750
12904
|
*/
|