@leadping/sdk 1.0.82 → 1.0.84
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 +27 -0
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +18 -0
- package/dist/models/index.js.map +1 -1
- package/package.json +1 -1
package/dist/models/index.js
CHANGED
|
@@ -4347,6 +4347,7 @@ export function deserializeIntoLeadIntakeRequest(leadIntakeRequest = {}) {
|
|
|
4347
4347
|
"captureUserAgent": n => { leadIntakeRequest.captureUserAgent = n.getStringValue(); },
|
|
4348
4348
|
"city": n => { leadIntakeRequest.city = n.getStringValue(); },
|
|
4349
4349
|
"company": n => { leadIntakeRequest.company = n.getObjectValue(createLeadIntakeRequest_companyFromDiscriminatorValue); },
|
|
4350
|
+
"consentAttested": n => { leadIntakeRequest.consentAttested = n.getBooleanValue(); },
|
|
4350
4351
|
"consentCertificateType": n => { leadIntakeRequest.consentCertificateType = n.getEnumValue(LeadIntakeRequest_consentCertificateTypeObject); },
|
|
4351
4352
|
"consentCertificateUrl": n => { leadIntakeRequest.consentCertificateUrl = n.getStringValue(); },
|
|
4352
4353
|
"contactPreferences": n => { leadIntakeRequest.contactPreferences = n.getObjectValue(createLeadIntakeRequest_contactPreferencesFromDiscriminatorValue); },
|
|
@@ -4476,8 +4477,10 @@ export function deserializeIntoLeadMetadata(leadMetadata = {}) {
|
|
|
4476
4477
|
"captureUserAgent": n => { leadMetadata.captureUserAgent = n.getStringValue(); },
|
|
4477
4478
|
"complianceBlockedReason": n => { leadMetadata.complianceBlockedReason = n.getStringValue(); },
|
|
4478
4479
|
"complianceStatus": n => { leadMetadata.complianceStatus = n.getStringValue(); },
|
|
4480
|
+
"consentAttested": n => { leadMetadata.consentAttested = n.getBooleanValue(); },
|
|
4479
4481
|
"consentCertificateType": n => { leadMetadata.consentCertificateType = n.getEnumValue(LeadMetadata_consentCertificateTypeObject); },
|
|
4480
4482
|
"consentCertificateUrl": n => { leadMetadata.consentCertificateUrl = n.getStringValue(); },
|
|
4483
|
+
"consentVerificationStatus": n => { leadMetadata.consentVerificationStatus = n.getEnumValue(ConsentVerificationStatusObject); },
|
|
4481
4484
|
"createdAt": n => { leadMetadata.createdAt = n.getDateValue(); },
|
|
4482
4485
|
"currency": n => { leadMetadata.currency = n.getStringValue(); },
|
|
4483
4486
|
"directPostPrice": n => { leadMetadata.directPostPrice = n.getNumberValue(); },
|
|
@@ -4504,6 +4507,7 @@ export function deserializeIntoLeadMetadata(leadMetadata = {}) {
|
|
|
4504
4507
|
"sourceMetadata": n => { leadMetadata.sourceMetadata = n.getObjectValue(createLeadMetadata_sourceMetadataFromDiscriminatorValue); },
|
|
4505
4508
|
"subId": n => { leadMetadata.subId = n.getStringValue(); },
|
|
4506
4509
|
"trustedFormCheckedAt": n => { leadMetadata.trustedFormCheckedAt = n.getDateValue(); },
|
|
4510
|
+
"trustedFormRejectedAt": n => { leadMetadata.trustedFormRejectedAt = n.getDateValue(); },
|
|
4507
4511
|
"userAgent": n => { leadMetadata.userAgent = n.getStringValue(); },
|
|
4508
4512
|
"userId": n => { leadMetadata.userId = n.getStringValue(); },
|
|
4509
4513
|
"utmCampaign": n => { leadMetadata.utmCampaign = n.getStringValue(); },
|
|
@@ -9700,6 +9704,7 @@ export function serializeLeadIntakeRequest(writer, leadIntakeRequest = {}, isSer
|
|
|
9700
9704
|
writer.writeStringValue("captureUserAgent", leadIntakeRequest.captureUserAgent);
|
|
9701
9705
|
writer.writeStringValue("city", leadIntakeRequest.city);
|
|
9702
9706
|
writer.writeObjectValue("company", leadIntakeRequest.company, serializeLeadIntakeRequest_company);
|
|
9707
|
+
writer.writeBooleanValue("consentAttested", leadIntakeRequest.consentAttested);
|
|
9703
9708
|
writer.writeEnumValue("consentCertificateType", leadIntakeRequest.consentCertificateType);
|
|
9704
9709
|
writer.writeStringValue("consentCertificateUrl", leadIntakeRequest.consentCertificateUrl);
|
|
9705
9710
|
writer.writeObjectValue("contactPreferences", leadIntakeRequest.contactPreferences, serializeLeadIntakeRequest_contactPreferences);
|
|
@@ -9850,8 +9855,10 @@ export function serializeLeadMetadata(writer, leadMetadata = {}, isSerializingDe
|
|
|
9850
9855
|
writer.writeStringValue("captureUserAgent", leadMetadata.captureUserAgent);
|
|
9851
9856
|
writer.writeStringValue("complianceBlockedReason", leadMetadata.complianceBlockedReason);
|
|
9852
9857
|
writer.writeStringValue("complianceStatus", leadMetadata.complianceStatus);
|
|
9858
|
+
writer.writeBooleanValue("consentAttested", leadMetadata.consentAttested);
|
|
9853
9859
|
writer.writeEnumValue("consentCertificateType", leadMetadata.consentCertificateType);
|
|
9854
9860
|
writer.writeStringValue("consentCertificateUrl", leadMetadata.consentCertificateUrl);
|
|
9861
|
+
writer.writeEnumValue("consentVerificationStatus", leadMetadata.consentVerificationStatus);
|
|
9855
9862
|
writer.writeDateValue("createdAt", leadMetadata.createdAt);
|
|
9856
9863
|
writer.writeStringValue("currency", leadMetadata.currency);
|
|
9857
9864
|
writer.writeNumberValue("directPostPrice", leadMetadata.directPostPrice);
|
|
@@ -9878,6 +9885,7 @@ export function serializeLeadMetadata(writer, leadMetadata = {}, isSerializingDe
|
|
|
9878
9885
|
writer.writeObjectValue("sourceMetadata", leadMetadata.sourceMetadata, serializeLeadMetadata_sourceMetadata);
|
|
9879
9886
|
writer.writeStringValue("subId", leadMetadata.subId);
|
|
9880
9887
|
writer.writeDateValue("trustedFormCheckedAt", leadMetadata.trustedFormCheckedAt);
|
|
9888
|
+
writer.writeDateValue("trustedFormRejectedAt", leadMetadata.trustedFormRejectedAt);
|
|
9881
9889
|
writer.writeStringValue("userAgent", leadMetadata.userAgent);
|
|
9882
9890
|
writer.writeStringValue("userId", leadMetadata.userId);
|
|
9883
9891
|
writer.writeStringValue("utmCampaign", leadMetadata.utmCampaign);
|
|
@@ -13830,6 +13838,14 @@ export const CallEventTableRow_statusObject = {
|
|
|
13830
13838
|
Blocked_permission: "blocked_permission",
|
|
13831
13839
|
Configuration_required: "configuration_required",
|
|
13832
13840
|
};
|
|
13841
|
+
/**
|
|
13842
|
+
* Leadping's assessment of the supporting consent evidence.
|
|
13843
|
+
*/
|
|
13844
|
+
export const ConsentVerificationStatusObject = {
|
|
13845
|
+
Verified: "Verified",
|
|
13846
|
+
Unverified: "Unverified",
|
|
13847
|
+
Quarantined: "Quarantined",
|
|
13848
|
+
};
|
|
13833
13849
|
/**
|
|
13834
13850
|
* Defines the customer-facing operational status for an inbox conversation.
|
|
13835
13851
|
*/
|
|
@@ -14042,6 +14058,7 @@ export const LeadInquiry_urgencyObject = {
|
|
|
14042
14058
|
export const LeadIntakeRequest_consentCertificateTypeObject = {
|
|
14043
14059
|
TrustedForm: "TrustedForm",
|
|
14044
14060
|
Leadping: "Leadping",
|
|
14061
|
+
Other: "Other",
|
|
14045
14062
|
};
|
|
14046
14063
|
/**
|
|
14047
14064
|
* The provider responsible for a lead's consent certificate.
|
|
@@ -14049,6 +14066,7 @@ export const LeadIntakeRequest_consentCertificateTypeObject = {
|
|
|
14049
14066
|
export const LeadMetadata_consentCertificateTypeObject = {
|
|
14050
14067
|
TrustedForm: "TrustedForm",
|
|
14051
14068
|
Leadping: "Leadping",
|
|
14069
|
+
Other: "Other",
|
|
14052
14070
|
};
|
|
14053
14071
|
/**
|
|
14054
14072
|
* Classifies a lead's self-reported gender when required by a qualification, demographic, or integration workflow.
|