@leadping/sdk 1.0.35 → 1.0.37
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/automations/index.d.ts.map +1 -1
- package/dist/automations/index.js +2 -1
- package/dist/automations/index.js.map +1 -1
- package/dist/automations/item/index.d.ts +15 -1
- package/dist/automations/item/index.d.ts.map +1 -1
- package/dist/automations/item/index.js +16 -0
- package/dist/automations/item/index.js.map +1 -1
- package/dist/automations/item/run/index.d.ts +30 -0
- package/dist/automations/item/run/index.d.ts.map +1 -0
- package/dist/automations/item/run/index.js +27 -0
- package/dist/automations/item/run/index.js.map +1 -0
- package/dist/automations/item/runs/index.d.ts +40 -0
- package/dist/automations/item/runs/index.d.ts.map +1 -0
- package/dist/automations/item/runs/index.js +37 -0
- package/dist/automations/item/runs/index.js.map +1 -0
- package/dist/automations/item/runs/item/index.d.ts +30 -0
- package/dist/automations/item/runs/item/index.d.ts.map +1 -0
- package/dist/automations/item/runs/item/index.js +27 -0
- package/dist/automations/item/runs/item/index.js.map +1 -0
- package/dist/leads/item/index.d.ts +2 -2
- package/dist/models/index.d.ts +181 -0
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +145 -0
- package/dist/models/index.js.map +1 -1
- package/package.json +1 -1
package/dist/models/index.js
CHANGED
|
@@ -138,6 +138,15 @@ export function createAutomationConditionGroupFromDiscriminatorValue(parseNode)
|
|
|
138
138
|
export function createAutomationConnectionFromDiscriminatorValue(parseNode) {
|
|
139
139
|
return deserializeIntoAutomationConnection;
|
|
140
140
|
}
|
|
141
|
+
/**
|
|
142
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
143
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
144
|
+
* @returns {AutomationConsoleResponse}
|
|
145
|
+
*/
|
|
146
|
+
// @ts-ignore
|
|
147
|
+
export function createAutomationConsoleResponseFromDiscriminatorValue(parseNode) {
|
|
148
|
+
return deserializeIntoAutomationConsoleResponse;
|
|
149
|
+
}
|
|
141
150
|
/**
|
|
142
151
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
143
152
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -363,6 +372,15 @@ export function createCallEventTableRowFromDiscriminatorValue(parseNode) {
|
|
|
363
372
|
export function createChangeBillingPlanRequestFromDiscriminatorValue(parseNode) {
|
|
364
373
|
return deserializeIntoChangeBillingPlanRequest;
|
|
365
374
|
}
|
|
375
|
+
/**
|
|
376
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
377
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
378
|
+
* @returns {CommunicationConsoleEntry}
|
|
379
|
+
*/
|
|
380
|
+
// @ts-ignore
|
|
381
|
+
export function createCommunicationConsoleEntryFromDiscriminatorValue(parseNode) {
|
|
382
|
+
return deserializeIntoCommunicationConsoleEntry;
|
|
383
|
+
}
|
|
366
384
|
/**
|
|
367
385
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
368
386
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -2582,6 +2600,18 @@ export function deserializeIntoAutomationConnection(automationConnection = {}) {
|
|
|
2582
2600
|
"targetNodeId": n => { automationConnection.targetNodeId = n.getStringValue(); },
|
|
2583
2601
|
};
|
|
2584
2602
|
}
|
|
2603
|
+
/**
|
|
2604
|
+
* The deserialization information for the current model
|
|
2605
|
+
* @param AutomationConsoleResponse The instance to deserialize into.
|
|
2606
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
2607
|
+
*/
|
|
2608
|
+
// @ts-ignore
|
|
2609
|
+
export function deserializeIntoAutomationConsoleResponse(automationConsoleResponse = {}) {
|
|
2610
|
+
return {
|
|
2611
|
+
"automationId": n => { automationConsoleResponse.automationId = n.getStringValue(); },
|
|
2612
|
+
"runs": n => { automationConsoleResponse.runs = n.getCollectionOfObjectValues(createAutomationWorkflowRunResponseFromDiscriminatorValue); },
|
|
2613
|
+
};
|
|
2614
|
+
}
|
|
2585
2615
|
/**
|
|
2586
2616
|
* The deserialization information for the current model
|
|
2587
2617
|
* @param AutomationPreviewActionResult The instance to deserialize into.
|
|
@@ -2990,6 +3020,7 @@ export function deserializeIntoCallEventTableRow(callEventTableRow = {}) {
|
|
|
2990
3020
|
"billableSeconds": n => { callEventTableRow.billableSeconds = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
|
|
2991
3021
|
"billingStatus": n => { callEventTableRow.billingStatus = n.getStringValue(); },
|
|
2992
3022
|
"callerId": n => { callEventTableRow.callerId = n.getStringValue(); },
|
|
3023
|
+
"consoleEntries": n => { callEventTableRow.consoleEntries = n.getCollectionOfObjectValues(createCommunicationConsoleEntryFromDiscriminatorValue); },
|
|
2993
3024
|
"conversationId": n => { callEventTableRow.conversationId = n.getStringValue(); },
|
|
2994
3025
|
"createdAt": n => { callEventTableRow.createdAt = n.getDateValue(); },
|
|
2995
3026
|
"direction": n => { callEventTableRow.direction = n.getStringValue(); },
|
|
@@ -3008,7 +3039,9 @@ export function deserializeIntoCallEventTableRow(callEventTableRow = {}) {
|
|
|
3008
3039
|
"statusReason": n => { callEventTableRow.statusReason = n.getStringValue(); },
|
|
3009
3040
|
"toPhoneNumber": n => { callEventTableRow.toPhoneNumber = n.getStringValue(); },
|
|
3010
3041
|
"user": n => { callEventTableRow.user = n.getStringValue(); },
|
|
3042
|
+
"userEmail": n => { callEventTableRow.userEmail = n.getStringValue(); },
|
|
3011
3043
|
"userId": n => { callEventTableRow.userId = n.getStringValue(); },
|
|
3044
|
+
"userName": n => { callEventTableRow.userName = n.getStringValue(); },
|
|
3012
3045
|
};
|
|
3013
3046
|
}
|
|
3014
3047
|
/**
|
|
@@ -3023,6 +3056,21 @@ export function deserializeIntoChangeBillingPlanRequest(changeBillingPlanRequest
|
|
|
3023
3056
|
"userId": n => { changeBillingPlanRequest.userId = n.getStringValue(); },
|
|
3024
3057
|
};
|
|
3025
3058
|
}
|
|
3059
|
+
/**
|
|
3060
|
+
* The deserialization information for the current model
|
|
3061
|
+
* @param CommunicationConsoleEntry The instance to deserialize into.
|
|
3062
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
3063
|
+
*/
|
|
3064
|
+
// @ts-ignore
|
|
3065
|
+
export function deserializeIntoCommunicationConsoleEntry(communicationConsoleEntry = {}) {
|
|
3066
|
+
return {
|
|
3067
|
+
"id": n => { communicationConsoleEntry.id = n.getStringValue(); },
|
|
3068
|
+
"message": n => { communicationConsoleEntry.message = n.getStringValue(); },
|
|
3069
|
+
"occurredAt": n => { communicationConsoleEntry.occurredAt = n.getDateValue(); },
|
|
3070
|
+
"stage": n => { communicationConsoleEntry.stage = n.getStringValue(); },
|
|
3071
|
+
"status": n => { communicationConsoleEntry.status = n.getStringValue(); },
|
|
3072
|
+
};
|
|
3073
|
+
}
|
|
3026
3074
|
/**
|
|
3027
3075
|
* The deserialization information for the current model
|
|
3028
3076
|
* @param ComplianceUpdateRequest The instance to deserialize into.
|
|
@@ -3440,6 +3488,7 @@ export function deserializeIntoEventDetailResponse(eventDetailResponse = {}) {
|
|
|
3440
3488
|
"toPhoneNumber": n => { eventDetailResponse.toPhoneNumber = n.getStringValue(); },
|
|
3441
3489
|
"undeliverableAt": n => { eventDetailResponse.undeliverableAt = n.getDateValue(); },
|
|
3442
3490
|
"user": n => { eventDetailResponse.user = n.getObjectValue(createEventDetailResponse_userFromDiscriminatorValue); },
|
|
3491
|
+
"userEmail": n => { eventDetailResponse.userEmail = n.getStringValue(); },
|
|
3443
3492
|
"userId": n => { eventDetailResponse.userId = n.getStringValue(); },
|
|
3444
3493
|
};
|
|
3445
3494
|
}
|
|
@@ -3839,12 +3888,17 @@ export function deserializeIntoLeadResponse(leadResponse = {}) {
|
|
|
3839
3888
|
"createdAt": n => { leadResponse.createdAt = n.getDateValue(); },
|
|
3840
3889
|
"currentLeadStatus": n => { leadResponse.currentLeadStatus = n.getObjectValue(createLeadResponse_currentLeadStatusFromDiscriminatorValue); },
|
|
3841
3890
|
"customer": n => { leadResponse.customer = n.getObjectValue(createLeadProfileFromDiscriminatorValue); },
|
|
3891
|
+
"deletedAt": n => { leadResponse.deletedAt = n.getDateValue(); },
|
|
3892
|
+
"deletedByUserId": n => { leadResponse.deletedByUserId = n.getStringValue(); },
|
|
3842
3893
|
"enabled": n => { leadResponse.enabled = n.getBooleanValue(); },
|
|
3843
3894
|
"id": n => { leadResponse.id = n.getStringValue(); },
|
|
3844
3895
|
"isArchived": n => { leadResponse.isArchived = n.getBooleanValue(); },
|
|
3845
3896
|
"metadata": n => { leadResponse.metadata = n.getObjectValue(createLeadMetadataFromDiscriminatorValue); },
|
|
3846
3897
|
"modifiedAt": n => { leadResponse.modifiedAt = n.getDateValue(); },
|
|
3847
3898
|
"phoneIdentity": n => { leadResponse.phoneIdentity = n.getObjectValue(createLeadResponse_phoneIdentityFromDiscriminatorValue); },
|
|
3899
|
+
"processingStatus": n => { leadResponse.processingStatus = n.getEnumValue(LeadResponse_processingStatusObject); },
|
|
3900
|
+
"processingStatusChangedAt": n => { leadResponse.processingStatusChangedAt = n.getDateValue(); },
|
|
3901
|
+
"processingStatusReason": n => { leadResponse.processingStatusReason = n.getStringValue(); },
|
|
3848
3902
|
"tags": n => { leadResponse.tags = n.getCollectionOfObjectValues(createTagSummaryFromDiscriminatorValue); },
|
|
3849
3903
|
};
|
|
3850
3904
|
}
|
|
@@ -4041,6 +4095,9 @@ export function deserializeIntoLeadTableRow(leadTableRow = {}) {
|
|
|
4041
4095
|
"organization": n => { leadTableRow.organization = n.getObjectValue(createLeadTableRow_organizationFromDiscriminatorValue); },
|
|
4042
4096
|
"phone": n => { leadTableRow.phone = n.getStringValue(); },
|
|
4043
4097
|
"price": n => { leadTableRow.price = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
|
|
4098
|
+
"processingStatus": n => { leadTableRow.processingStatus = n.getEnumValue(LeadTableRow_processingStatusObject); },
|
|
4099
|
+
"processingStatusChangedAt": n => { leadTableRow.processingStatusChangedAt = n.getDateValue(); },
|
|
4100
|
+
"processingStatusReason": n => { leadTableRow.processingStatusReason = n.getStringValue(); },
|
|
4044
4101
|
"source": n => { leadTableRow.source = n.getObjectValue(createLeadTableRow_sourceFromDiscriminatorValue); },
|
|
4045
4102
|
"status": n => { leadTableRow.status = n.getStringValue(); },
|
|
4046
4103
|
"statusTone": n => { leadTableRow.statusTone = n.getStringValue(); },
|
|
@@ -5084,6 +5141,7 @@ export function deserializeIntoPhoneCallResponse(phoneCallResponse = {}) {
|
|
|
5084
5141
|
"billingStatus": n => { phoneCallResponse.billingStatus = n.getStringValue(); },
|
|
5085
5142
|
"callerId": n => { phoneCallResponse.callerId = n.getStringValue(); },
|
|
5086
5143
|
"campaignId": n => { phoneCallResponse.campaignId = n.getStringValue(); },
|
|
5144
|
+
"consoleEntries": n => { phoneCallResponse.consoleEntries = n.getCollectionOfObjectValues(createCommunicationConsoleEntryFromDiscriminatorValue); },
|
|
5087
5145
|
"conversationId": n => { phoneCallResponse.conversationId = n.getStringValue(); },
|
|
5088
5146
|
"createdAt": n => { phoneCallResponse.createdAt = n.getDateValue(); },
|
|
5089
5147
|
"direction": n => { phoneCallResponse.direction = n.getStringValue(); },
|
|
@@ -5117,6 +5175,8 @@ export function deserializeIntoPhoneIdentityLookupAction(phoneIdentityLookupActi
|
|
|
5117
5175
|
"id": n => { phoneIdentityLookupAction.id = n.getStringValue(); },
|
|
5118
5176
|
"occurredAt": n => { phoneIdentityLookupAction.occurredAt = n.getDateValue(); },
|
|
5119
5177
|
"provider": n => { phoneIdentityLookupAction.provider = n.getStringValue(); },
|
|
5178
|
+
"providerCostAmount": n => { phoneIdentityLookupAction.providerCostAmount = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
|
|
5179
|
+
"providerPricingVersion": n => { phoneIdentityLookupAction.providerPricingVersion = n.getStringValue(); },
|
|
5120
5180
|
"status": n => { phoneIdentityLookupAction.status = n.getEnumValue(PhoneIdentityLookupActionStatusObject); },
|
|
5121
5181
|
"type": n => { phoneIdentityLookupAction.type = n.getEnumValue(PhoneIdentityLookupActionTypeObject); },
|
|
5122
5182
|
};
|
|
@@ -5784,6 +5844,7 @@ export function deserializeIntoSmsEventTableRow(smsEventTableRow = {}) {
|
|
|
5784
5844
|
"canceledAt": n => { smsEventTableRow.canceledAt = n.getDateValue(); },
|
|
5785
5845
|
"cancelReason": n => { smsEventTableRow.cancelReason = n.getStringValue(); },
|
|
5786
5846
|
"complianceAction": n => { smsEventTableRow.complianceAction = n.getStringValue(); },
|
|
5847
|
+
"consoleEntries": n => { smsEventTableRow.consoleEntries = n.getCollectionOfObjectValues(createCommunicationConsoleEntryFromDiscriminatorValue); },
|
|
5787
5848
|
"conversationId": n => { smsEventTableRow.conversationId = n.getStringValue(); },
|
|
5788
5849
|
"createdAt": n => { smsEventTableRow.createdAt = n.getDateValue(); },
|
|
5789
5850
|
"deliveredAt": n => { smsEventTableRow.deliveredAt = n.getDateValue(); },
|
|
@@ -5864,6 +5925,7 @@ export function deserializeIntoSmsResponse(smsResponse = {}) {
|
|
|
5864
5925
|
"canceledAt": n => { smsResponse.canceledAt = n.getDateValue(); },
|
|
5865
5926
|
"cancelReason": n => { smsResponse.cancelReason = n.getStringValue(); },
|
|
5866
5927
|
"complianceAction": n => { smsResponse.complianceAction = n.getStringValue(); },
|
|
5928
|
+
"consoleEntries": n => { smsResponse.consoleEntries = n.getCollectionOfObjectValues(createCommunicationConsoleEntryFromDiscriminatorValue); },
|
|
5867
5929
|
"conversationId": n => { smsResponse.conversationId = n.getStringValue(); },
|
|
5868
5930
|
"createdAt": n => { smsResponse.createdAt = n.getDateValue(); },
|
|
5869
5931
|
"deliveredAt": n => { smsResponse.deliveredAt = n.getDateValue(); },
|
|
@@ -5947,6 +6009,7 @@ export function deserializeIntoSourceResponse(sourceResponse = {}) {
|
|
|
5947
6009
|
"costPerLead": n => { sourceResponse.costPerLead = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
|
|
5948
6010
|
"createdAt": n => { sourceResponse.createdAt = n.getDateValue(); },
|
|
5949
6011
|
"createdByUser": n => { sourceResponse.createdByUser = n.getObjectValue(createSourceResponse_createdByUserFromDiscriminatorValue); },
|
|
6012
|
+
"createdByUserEmail": n => { sourceResponse.createdByUserEmail = n.getStringValue(); },
|
|
5950
6013
|
"defaultTagIds": n => { sourceResponse.defaultTagIds = n.getCollectionOfPrimitiveValues("string"); },
|
|
5951
6014
|
"defaultTags": n => { sourceResponse.defaultTags = n.getCollectionOfObjectValues(createTagSummaryFromDiscriminatorValue); },
|
|
5952
6015
|
"description": n => { sourceResponse.description = n.getStringValue(); },
|
|
@@ -7108,6 +7171,21 @@ export function serializeAutomationConnection(writer, automationConnection = {},
|
|
|
7108
7171
|
writer.writeStringValue("targetNodeId", automationConnection.targetNodeId);
|
|
7109
7172
|
writer.writeAdditionalData(automationConnection.additionalData);
|
|
7110
7173
|
}
|
|
7174
|
+
/**
|
|
7175
|
+
* Serializes information the current object
|
|
7176
|
+
* @param AutomationConsoleResponse The instance to serialize from.
|
|
7177
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
7178
|
+
* @param writer Serialization writer to use to serialize this model
|
|
7179
|
+
*/
|
|
7180
|
+
// @ts-ignore
|
|
7181
|
+
export function serializeAutomationConsoleResponse(writer, automationConsoleResponse = {}, isSerializingDerivedType = false) {
|
|
7182
|
+
if (!automationConsoleResponse || isSerializingDerivedType) {
|
|
7183
|
+
return;
|
|
7184
|
+
}
|
|
7185
|
+
writer.writeStringValue("automationId", automationConsoleResponse.automationId);
|
|
7186
|
+
writer.writeCollectionOfObjectValues("runs", automationConsoleResponse.runs, serializeAutomationWorkflowRunResponse);
|
|
7187
|
+
writer.writeAdditionalData(automationConsoleResponse.additionalData);
|
|
7188
|
+
}
|
|
7111
7189
|
/**
|
|
7112
7190
|
* Serializes information the current object
|
|
7113
7191
|
* @param AutomationPreviewActionResult The instance to serialize from.
|
|
@@ -7584,6 +7662,7 @@ export function serializeCallEventTableRow(writer, callEventTableRow = {}, isSer
|
|
|
7584
7662
|
writer.writeObjectValue("billableSeconds", callEventTableRow.billableSeconds);
|
|
7585
7663
|
writer.writeStringValue("billingStatus", callEventTableRow.billingStatus);
|
|
7586
7664
|
writer.writeStringValue("callerId", callEventTableRow.callerId);
|
|
7665
|
+
writer.writeCollectionOfObjectValues("consoleEntries", callEventTableRow.consoleEntries, serializeCommunicationConsoleEntry);
|
|
7587
7666
|
writer.writeStringValue("conversationId", callEventTableRow.conversationId);
|
|
7588
7667
|
writer.writeDateValue("createdAt", callEventTableRow.createdAt);
|
|
7589
7668
|
writer.writeStringValue("direction", callEventTableRow.direction);
|
|
@@ -7602,7 +7681,9 @@ export function serializeCallEventTableRow(writer, callEventTableRow = {}, isSer
|
|
|
7602
7681
|
writer.writeStringValue("statusReason", callEventTableRow.statusReason);
|
|
7603
7682
|
writer.writeStringValue("toPhoneNumber", callEventTableRow.toPhoneNumber);
|
|
7604
7683
|
writer.writeStringValue("user", callEventTableRow.user);
|
|
7684
|
+
writer.writeStringValue("userEmail", callEventTableRow.userEmail);
|
|
7605
7685
|
writer.writeStringValue("userId", callEventTableRow.userId);
|
|
7686
|
+
writer.writeStringValue("userName", callEventTableRow.userName);
|
|
7606
7687
|
writer.writeAdditionalData(callEventTableRow.additionalData);
|
|
7607
7688
|
}
|
|
7608
7689
|
/**
|
|
@@ -7620,6 +7701,24 @@ export function serializeChangeBillingPlanRequest(writer, changeBillingPlanReque
|
|
|
7620
7701
|
writer.writeStringValue("userId", changeBillingPlanRequest.userId);
|
|
7621
7702
|
writer.writeAdditionalData(changeBillingPlanRequest.additionalData);
|
|
7622
7703
|
}
|
|
7704
|
+
/**
|
|
7705
|
+
* Serializes information the current object
|
|
7706
|
+
* @param CommunicationConsoleEntry The instance to serialize from.
|
|
7707
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
7708
|
+
* @param writer Serialization writer to use to serialize this model
|
|
7709
|
+
*/
|
|
7710
|
+
// @ts-ignore
|
|
7711
|
+
export function serializeCommunicationConsoleEntry(writer, communicationConsoleEntry = {}, isSerializingDerivedType = false) {
|
|
7712
|
+
if (!communicationConsoleEntry || isSerializingDerivedType) {
|
|
7713
|
+
return;
|
|
7714
|
+
}
|
|
7715
|
+
writer.writeStringValue("id", communicationConsoleEntry.id);
|
|
7716
|
+
writer.writeStringValue("message", communicationConsoleEntry.message);
|
|
7717
|
+
writer.writeDateValue("occurredAt", communicationConsoleEntry.occurredAt);
|
|
7718
|
+
writer.writeStringValue("stage", communicationConsoleEntry.stage);
|
|
7719
|
+
writer.writeStringValue("status", communicationConsoleEntry.status);
|
|
7720
|
+
writer.writeAdditionalData(communicationConsoleEntry.additionalData);
|
|
7721
|
+
}
|
|
7623
7722
|
/**
|
|
7624
7723
|
* Serializes information the current object
|
|
7625
7724
|
* @param ComplianceUpdateRequest The instance to serialize from.
|
|
@@ -8108,6 +8207,7 @@ export function serializeEventDetailResponse(writer, eventDetailResponse = {}, i
|
|
|
8108
8207
|
writer.writeStringValue("toPhoneNumber", eventDetailResponse.toPhoneNumber);
|
|
8109
8208
|
writer.writeDateValue("undeliverableAt", eventDetailResponse.undeliverableAt);
|
|
8110
8209
|
writer.writeObjectValue("user", eventDetailResponse.user, serializeEventDetailResponse_user);
|
|
8210
|
+
writer.writeStringValue("userEmail", eventDetailResponse.userEmail);
|
|
8111
8211
|
writer.writeStringValue("userId", eventDetailResponse.userId);
|
|
8112
8212
|
writer.writeAdditionalData(eventDetailResponse.additionalData);
|
|
8113
8213
|
}
|
|
@@ -8568,12 +8668,17 @@ export function serializeLeadResponse(writer, leadResponse = {}, isSerializingDe
|
|
|
8568
8668
|
writer.writeDateValue("createdAt", leadResponse.createdAt);
|
|
8569
8669
|
writer.writeObjectValue("currentLeadStatus", leadResponse.currentLeadStatus, serializeLeadResponse_currentLeadStatus);
|
|
8570
8670
|
writer.writeObjectValue("customer", leadResponse.customer, serializeLeadProfile);
|
|
8671
|
+
writer.writeDateValue("deletedAt", leadResponse.deletedAt);
|
|
8672
|
+
writer.writeStringValue("deletedByUserId", leadResponse.deletedByUserId);
|
|
8571
8673
|
writer.writeBooleanValue("enabled", leadResponse.enabled);
|
|
8572
8674
|
writer.writeStringValue("id", leadResponse.id);
|
|
8573
8675
|
writer.writeBooleanValue("isArchived", leadResponse.isArchived);
|
|
8574
8676
|
writer.writeObjectValue("metadata", leadResponse.metadata, serializeLeadMetadata);
|
|
8575
8677
|
writer.writeDateValue("modifiedAt", leadResponse.modifiedAt);
|
|
8576
8678
|
writer.writeObjectValue("phoneIdentity", leadResponse.phoneIdentity, serializeLeadResponse_phoneIdentity);
|
|
8679
|
+
writer.writeEnumValue("processingStatus", leadResponse.processingStatus);
|
|
8680
|
+
writer.writeDateValue("processingStatusChangedAt", leadResponse.processingStatusChangedAt);
|
|
8681
|
+
writer.writeStringValue("processingStatusReason", leadResponse.processingStatusReason);
|
|
8577
8682
|
writer.writeCollectionOfObjectValues("tags", leadResponse.tags, serializeTagSummary);
|
|
8578
8683
|
writer.writeAdditionalData(leadResponse.additionalData);
|
|
8579
8684
|
}
|
|
@@ -8795,6 +8900,9 @@ export function serializeLeadTableRow(writer, leadTableRow = {}, isSerializingDe
|
|
|
8795
8900
|
writer.writeObjectValue("organization", leadTableRow.organization, serializeLeadTableRow_organization);
|
|
8796
8901
|
writer.writeStringValue("phone", leadTableRow.phone);
|
|
8797
8902
|
writer.writeObjectValue("price", leadTableRow.price);
|
|
8903
|
+
writer.writeEnumValue("processingStatus", leadTableRow.processingStatus);
|
|
8904
|
+
writer.writeDateValue("processingStatusChangedAt", leadTableRow.processingStatusChangedAt);
|
|
8905
|
+
writer.writeStringValue("processingStatusReason", leadTableRow.processingStatusReason);
|
|
8798
8906
|
writer.writeObjectValue("source", leadTableRow.source, serializeLeadTableRow_source);
|
|
8799
8907
|
writer.writeStringValue("status", leadTableRow.status);
|
|
8800
8908
|
writer.writeStringValue("statusTone", leadTableRow.statusTone);
|
|
@@ -10003,6 +10111,7 @@ export function serializePhoneCallResponse(writer, phoneCallResponse = {}, isSer
|
|
|
10003
10111
|
writer.writeStringValue("billingStatus", phoneCallResponse.billingStatus);
|
|
10004
10112
|
writer.writeStringValue("callerId", phoneCallResponse.callerId);
|
|
10005
10113
|
writer.writeStringValue("campaignId", phoneCallResponse.campaignId);
|
|
10114
|
+
writer.writeCollectionOfObjectValues("consoleEntries", phoneCallResponse.consoleEntries, serializeCommunicationConsoleEntry);
|
|
10006
10115
|
writer.writeStringValue("conversationId", phoneCallResponse.conversationId);
|
|
10007
10116
|
writer.writeDateValue("createdAt", phoneCallResponse.createdAt);
|
|
10008
10117
|
writer.writeStringValue("direction", phoneCallResponse.direction);
|
|
@@ -10039,6 +10148,8 @@ export function serializePhoneIdentityLookupAction(writer, phoneIdentityLookupAc
|
|
|
10039
10148
|
writer.writeStringValue("id", phoneIdentityLookupAction.id);
|
|
10040
10149
|
writer.writeDateValue("occurredAt", phoneIdentityLookupAction.occurredAt);
|
|
10041
10150
|
writer.writeStringValue("provider", phoneIdentityLookupAction.provider);
|
|
10151
|
+
writer.writeObjectValue("providerCostAmount", phoneIdentityLookupAction.providerCostAmount);
|
|
10152
|
+
writer.writeStringValue("providerPricingVersion", phoneIdentityLookupAction.providerPricingVersion);
|
|
10042
10153
|
writer.writeEnumValue("status", phoneIdentityLookupAction.status);
|
|
10043
10154
|
writer.writeEnumValue("type", phoneIdentityLookupAction.type);
|
|
10044
10155
|
writer.writeAdditionalData(phoneIdentityLookupAction.additionalData);
|
|
@@ -10827,6 +10938,7 @@ export function serializeSmsEventTableRow(writer, smsEventTableRow = {}, isSeria
|
|
|
10827
10938
|
writer.writeDateValue("canceledAt", smsEventTableRow.canceledAt);
|
|
10828
10939
|
writer.writeStringValue("cancelReason", smsEventTableRow.cancelReason);
|
|
10829
10940
|
writer.writeStringValue("complianceAction", smsEventTableRow.complianceAction);
|
|
10941
|
+
writer.writeCollectionOfObjectValues("consoleEntries", smsEventTableRow.consoleEntries, serializeCommunicationConsoleEntry);
|
|
10830
10942
|
writer.writeStringValue("conversationId", smsEventTableRow.conversationId);
|
|
10831
10943
|
writer.writeDateValue("createdAt", smsEventTableRow.createdAt);
|
|
10832
10944
|
writer.writeDateValue("deliveredAt", smsEventTableRow.deliveredAt);
|
|
@@ -10916,6 +11028,7 @@ export function serializeSmsResponse(writer, smsResponse = {}, isSerializingDeri
|
|
|
10916
11028
|
writer.writeDateValue("canceledAt", smsResponse.canceledAt);
|
|
10917
11029
|
writer.writeStringValue("cancelReason", smsResponse.cancelReason);
|
|
10918
11030
|
writer.writeStringValue("complianceAction", smsResponse.complianceAction);
|
|
11031
|
+
writer.writeCollectionOfObjectValues("consoleEntries", smsResponse.consoleEntries, serializeCommunicationConsoleEntry);
|
|
10919
11032
|
writer.writeStringValue("conversationId", smsResponse.conversationId);
|
|
10920
11033
|
writer.writeDateValue("createdAt", smsResponse.createdAt);
|
|
10921
11034
|
writer.writeDateValue("deliveredAt", smsResponse.deliveredAt);
|
|
@@ -11008,6 +11121,7 @@ export function serializeSourceResponse(writer, sourceResponse = {}, isSerializi
|
|
|
11008
11121
|
writer.writeObjectValue("costPerLead", sourceResponse.costPerLead);
|
|
11009
11122
|
writer.writeDateValue("createdAt", sourceResponse.createdAt);
|
|
11010
11123
|
writer.writeObjectValue("createdByUser", sourceResponse.createdByUser, serializeSourceResponse_createdByUser);
|
|
11124
|
+
writer.writeStringValue("createdByUserEmail", sourceResponse.createdByUserEmail);
|
|
11011
11125
|
writer.writeCollectionOfPrimitiveValues("defaultTagIds", sourceResponse.defaultTagIds);
|
|
11012
11126
|
writer.writeCollectionOfObjectValues("defaultTags", sourceResponse.defaultTags, serializeTagSummary);
|
|
11013
11127
|
writer.writeStringValue("description", sourceResponse.description);
|
|
@@ -12116,6 +12230,8 @@ export const BillableUnitObject = {
|
|
|
12116
12230
|
Openai_operation: "openai_operation",
|
|
12117
12231
|
Domain_registration: "domain_registration",
|
|
12118
12232
|
OneZerodlc_application: "10dlc_application",
|
|
12233
|
+
OneZerodlc_campaign_month: "10dlc_campaign_month",
|
|
12234
|
+
Payment_processing_fee: "payment_processing_fee",
|
|
12119
12235
|
Connection_action: "connection_action",
|
|
12120
12236
|
Automation_run: "automation_run",
|
|
12121
12237
|
};
|
|
@@ -12377,6 +12493,17 @@ export const LeadProfile_maritalStatusObject = {
|
|
|
12377
12493
|
Separated: "Separated",
|
|
12378
12494
|
Divorced: "Divorced",
|
|
12379
12495
|
};
|
|
12496
|
+
/**
|
|
12497
|
+
* Defines the asynchronous verification and enrichment lifecycle for a lead.
|
|
12498
|
+
*/
|
|
12499
|
+
export const LeadResponse_processingStatusObject = {
|
|
12500
|
+
Verifying: "Verifying",
|
|
12501
|
+
Validating: "Validating",
|
|
12502
|
+
Enriching: "Enriching",
|
|
12503
|
+
Ready: "Ready",
|
|
12504
|
+
Invalid: "Invalid",
|
|
12505
|
+
Failed: "Failed",
|
|
12506
|
+
};
|
|
12380
12507
|
/**
|
|
12381
12508
|
* Controlled lead status change categories used for reporting, automation, and analytics.
|
|
12382
12509
|
*/
|
|
@@ -12462,6 +12589,17 @@ export const LeadStatusRequest_categoryObject = {
|
|
|
12462
12589
|
Invalid: "Invalid",
|
|
12463
12590
|
Duplicate: "Duplicate",
|
|
12464
12591
|
};
|
|
12592
|
+
/**
|
|
12593
|
+
* Defines the asynchronous verification and enrichment lifecycle for a lead.
|
|
12594
|
+
*/
|
|
12595
|
+
export const LeadTableRow_processingStatusObject = {
|
|
12596
|
+
Verifying: "Verifying",
|
|
12597
|
+
Validating: "Validating",
|
|
12598
|
+
Enriching: "Enriching",
|
|
12599
|
+
Ready: "Ready",
|
|
12600
|
+
Invalid: "Invalid",
|
|
12601
|
+
Failed: "Failed",
|
|
12602
|
+
};
|
|
12465
12603
|
/**
|
|
12466
12604
|
* Defines the supported Notification Priority values.
|
|
12467
12605
|
*/
|
|
@@ -13117,6 +13255,8 @@ export const TransactionResponse_billableUnitObject = {
|
|
|
13117
13255
|
Openai_operation: "openai_operation",
|
|
13118
13256
|
Domain_registration: "domain_registration",
|
|
13119
13257
|
OneZerodlc_application: "10dlc_application",
|
|
13258
|
+
OneZerodlc_campaign_month: "10dlc_campaign_month",
|
|
13259
|
+
Payment_processing_fee: "payment_processing_fee",
|
|
13120
13260
|
Connection_action: "connection_action",
|
|
13121
13261
|
Automation_run: "automation_run",
|
|
13122
13262
|
};
|
|
@@ -13135,6 +13275,7 @@ export const TransactionResponse_billingChannelObject = {
|
|
|
13135
13275
|
Openai: "openai",
|
|
13136
13276
|
Domain: "domain",
|
|
13137
13277
|
OneZerodlc: "10dlc",
|
|
13278
|
+
Payment: "payment",
|
|
13138
13279
|
Connection: "connection",
|
|
13139
13280
|
Automation: "automation",
|
|
13140
13281
|
};
|
|
@@ -13163,6 +13304,8 @@ export const TransactionTableRow_billableUnitObject = {
|
|
|
13163
13304
|
Openai_operation: "openai_operation",
|
|
13164
13305
|
Domain_registration: "domain_registration",
|
|
13165
13306
|
OneZerodlc_application: "10dlc_application",
|
|
13307
|
+
OneZerodlc_campaign_month: "10dlc_campaign_month",
|
|
13308
|
+
Payment_processing_fee: "payment_processing_fee",
|
|
13166
13309
|
Connection_action: "connection_action",
|
|
13167
13310
|
Automation_run: "automation_run",
|
|
13168
13311
|
};
|
|
@@ -13181,6 +13324,7 @@ export const TransactionTableRow_billingChannelObject = {
|
|
|
13181
13324
|
Openai: "openai",
|
|
13182
13325
|
Domain: "domain",
|
|
13183
13326
|
OneZerodlc: "10dlc",
|
|
13327
|
+
Payment: "payment",
|
|
13184
13328
|
Connection: "connection",
|
|
13185
13329
|
Automation: "automation",
|
|
13186
13330
|
};
|
|
@@ -13207,6 +13351,7 @@ export const UsageChannelObject = {
|
|
|
13207
13351
|
Openai: "openai",
|
|
13208
13352
|
Domain: "domain",
|
|
13209
13353
|
OneZerodlc: "10dlc",
|
|
13354
|
+
Payment: "payment",
|
|
13210
13355
|
Connection: "connection",
|
|
13211
13356
|
Automation: "automation",
|
|
13212
13357
|
};
|