@leadping/sdk 1.0.3 → 1.0.5
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.js +30 -30
- package/dist/models/index.js.map +1 -1
- package/package.json +6 -6
package/dist/models/index.js
CHANGED
|
@@ -2425,7 +2425,7 @@ export function deserializeIntoAutomationPreviewActionResult(automationPreviewAc
|
|
|
2425
2425
|
"actionId": n => { automationPreviewActionResult.actionId = n.getStringValue(); },
|
|
2426
2426
|
"renderedOutput": n => { automationPreviewActionResult.renderedOutput = n.getStringValue(); },
|
|
2427
2427
|
"summary": n => { automationPreviewActionResult.summary = n.getStringValue(); },
|
|
2428
|
-
"warnings": n => { automationPreviewActionResult.warnings = n.getCollectionOfPrimitiveValues(); },
|
|
2428
|
+
"warnings": n => { automationPreviewActionResult.warnings = n.getCollectionOfPrimitiveValues("string"); },
|
|
2429
2429
|
"wouldHaveSideEffect": n => { automationPreviewActionResult.wouldHaveSideEffect = n.getBooleanValue(); },
|
|
2430
2430
|
};
|
|
2431
2431
|
}
|
|
@@ -2467,7 +2467,7 @@ export function deserializeIntoAutomationPreviewResponse(automationPreviewRespon
|
|
|
2467
2467
|
"samplePayload": n => { automationPreviewResponse.samplePayload = n.getObjectValue(createAutomationPreviewResponse_samplePayloadFromDiscriminatorValue); },
|
|
2468
2468
|
"triggerType": n => { automationPreviewResponse.triggerType = n.getStringValue(); },
|
|
2469
2469
|
"validation": n => { automationPreviewResponse.validation = n.getObjectValue(createAutomationValidationResultFromDiscriminatorValue); },
|
|
2470
|
-
"warnings": n => { automationPreviewResponse.warnings = n.getCollectionOfPrimitiveValues(); },
|
|
2470
|
+
"warnings": n => { automationPreviewResponse.warnings = n.getCollectionOfPrimitiveValues("string"); },
|
|
2471
2471
|
};
|
|
2472
2472
|
}
|
|
2473
2473
|
/**
|
|
@@ -2739,8 +2739,8 @@ export function deserializeIntoAutomationTrigger_settings(automationTrigger_sett
|
|
|
2739
2739
|
// @ts-ignore
|
|
2740
2740
|
export function deserializeIntoAutomationValidationResult(automationValidationResult = {}) {
|
|
2741
2741
|
return {
|
|
2742
|
-
"errors": n => { automationValidationResult.errors = n.getCollectionOfPrimitiveValues(); },
|
|
2743
|
-
"warnings": n => { automationValidationResult.warnings = n.getCollectionOfPrimitiveValues(); },
|
|
2742
|
+
"errors": n => { automationValidationResult.errors = n.getCollectionOfPrimitiveValues("string"); },
|
|
2743
|
+
"warnings": n => { automationValidationResult.warnings = n.getCollectionOfPrimitiveValues("string"); },
|
|
2744
2744
|
};
|
|
2745
2745
|
}
|
|
2746
2746
|
/**
|
|
@@ -2911,8 +2911,8 @@ export function deserializeIntoBusinessActivationState_tenDlcDraft(businessActiv
|
|
|
2911
2911
|
// @ts-ignore
|
|
2912
2912
|
export function deserializeIntoBusinessCompliancePolicy(businessCompliancePolicy = {}) {
|
|
2913
2913
|
return {
|
|
2914
|
-
"allowedProducts": n => { businessCompliancePolicy.allowedProducts = n.getCollectionOfPrimitiveValues(); },
|
|
2915
|
-
"allowedStates": n => { businessCompliancePolicy.allowedStates = n.getCollectionOfPrimitiveValues(); },
|
|
2914
|
+
"allowedProducts": n => { businessCompliancePolicy.allowedProducts = n.getCollectionOfPrimitiveValues("string"); },
|
|
2915
|
+
"allowedStates": n => { businessCompliancePolicy.allowedStates = n.getCollectionOfPrimitiveValues("string"); },
|
|
2916
2916
|
"enabled": n => { businessCompliancePolicy.enabled = n.getBooleanValue(); },
|
|
2917
2917
|
"requireAgentLicenseState": n => { businessCompliancePolicy.requireAgentLicenseState = n.getBooleanValue(); },
|
|
2918
2918
|
"requireLeadState": n => { businessCompliancePolicy.requireLeadState = n.getBooleanValue(); },
|
|
@@ -3239,7 +3239,7 @@ export function deserializeIntoBusinessStripeInfo(businessStripeInfo = {}) {
|
|
|
3239
3239
|
"phoneSubscriptionItemId": n => { businessStripeInfo.phoneSubscriptionItemId = n.getStringValue(); },
|
|
3240
3240
|
"planSubscriptionId": n => { businessStripeInfo.planSubscriptionId = n.getStringValue(); },
|
|
3241
3241
|
"planSubscriptionItemId": n => { businessStripeInfo.planSubscriptionItemId = n.getStringValue(); },
|
|
3242
|
-
"subscriptionIds": n => { businessStripeInfo.subscriptionIds = n.getCollectionOfPrimitiveValues(); },
|
|
3242
|
+
"subscriptionIds": n => { businessStripeInfo.subscriptionIds = n.getCollectionOfPrimitiveValues("string"); },
|
|
3243
3243
|
};
|
|
3244
3244
|
}
|
|
3245
3245
|
/**
|
|
@@ -4210,8 +4210,8 @@ export function deserializeIntoLeadIntakeRequest(leadIntakeRequest = {}) {
|
|
|
4210
4210
|
"sourceMetadata": n => { leadIntakeRequest.sourceMetadata = n.getObjectValue(createLeadIntakeRequest_sourceMetadataFromDiscriminatorValue); },
|
|
4211
4211
|
"state": n => { leadIntakeRequest.state = n.getStringValue(); },
|
|
4212
4212
|
"subId": n => { leadIntakeRequest.subId = n.getStringValue(); },
|
|
4213
|
-
"tagIds": n => { leadIntakeRequest.tagIds = n.getCollectionOfPrimitiveValues(); },
|
|
4214
|
-
"tagNames": n => { leadIntakeRequest.tagNames = n.getCollectionOfPrimitiveValues(); },
|
|
4213
|
+
"tagIds": n => { leadIntakeRequest.tagIds = n.getCollectionOfPrimitiveValues("string"); },
|
|
4214
|
+
"tagNames": n => { leadIntakeRequest.tagNames = n.getCollectionOfPrimitiveValues("string"); },
|
|
4215
4215
|
"trustedFormUrl": n => { leadIntakeRequest.trustedFormUrl = n.getStringValue(); },
|
|
4216
4216
|
"utmCampaign": n => { leadIntakeRequest.utmCampaign = n.getStringValue(); },
|
|
4217
4217
|
"utmContent": n => { leadIntakeRequest.utmContent = n.getStringValue(); },
|
|
@@ -4321,8 +4321,8 @@ export function deserializeIntoLeadRequest(leadRequest = {}) {
|
|
|
4321
4321
|
"enabled": n => { leadRequest.enabled = n.getBooleanValue(); },
|
|
4322
4322
|
"id": n => { leadRequest.id = n.getStringValue(); },
|
|
4323
4323
|
"metadata": n => { leadRequest.metadata = n.getObjectValue(createLeadMetadataFromDiscriminatorValue); },
|
|
4324
|
-
"tagIds": n => { leadRequest.tagIds = n.getCollectionOfPrimitiveValues(); },
|
|
4325
|
-
"tagNames": n => { leadRequest.tagNames = n.getCollectionOfPrimitiveValues(); },
|
|
4324
|
+
"tagIds": n => { leadRequest.tagIds = n.getCollectionOfPrimitiveValues("string"); },
|
|
4325
|
+
"tagNames": n => { leadRequest.tagNames = n.getCollectionOfPrimitiveValues("string"); },
|
|
4326
4326
|
};
|
|
4327
4327
|
}
|
|
4328
4328
|
/**
|
|
@@ -4445,8 +4445,8 @@ export function deserializeIntoLeadTableRow_currentDisposition(leadTableRow_curr
|
|
|
4445
4445
|
export function deserializeIntoLeadTagsRequest(leadTagsRequest = {}) {
|
|
4446
4446
|
return {
|
|
4447
4447
|
"createMissing": n => { leadTagsRequest.createMissing = n.getBooleanValue(); },
|
|
4448
|
-
"tagIds": n => { leadTagsRequest.tagIds = n.getCollectionOfPrimitiveValues(); },
|
|
4449
|
-
"tagNames": n => { leadTagsRequest.tagNames = n.getCollectionOfPrimitiveValues(); },
|
|
4448
|
+
"tagIds": n => { leadTagsRequest.tagIds = n.getCollectionOfPrimitiveValues("string"); },
|
|
4449
|
+
"tagNames": n => { leadTagsRequest.tagNames = n.getCollectionOfPrimitiveValues("string"); },
|
|
4450
4450
|
};
|
|
4451
4451
|
}
|
|
4452
4452
|
/**
|
|
@@ -5412,7 +5412,7 @@ export function deserializeIntoRequestDataOptions(requestDataOptions = {}) {
|
|
|
5412
5412
|
"pageSize": n => { requestDataOptions.pageSize = n.getNumberValue(); },
|
|
5413
5413
|
"rangeFilters": n => { requestDataOptions.rangeFilters = n.getCollectionOfObjectValues(createRangeFilterFromDiscriminatorValue); },
|
|
5414
5414
|
"search": n => { requestDataOptions.search = n.getStringValue(); },
|
|
5415
|
-
"searchFields": n => { requestDataOptions.searchFields = n.getCollectionOfPrimitiveValues(); },
|
|
5415
|
+
"searchFields": n => { requestDataOptions.searchFields = n.getCollectionOfPrimitiveValues("string"); },
|
|
5416
5416
|
};
|
|
5417
5417
|
}
|
|
5418
5418
|
/**
|
|
@@ -5642,14 +5642,14 @@ export function deserializeIntoSourceMetricsResponse(sourceMetricsResponse = {})
|
|
|
5642
5642
|
export function deserializeIntoSourceRequest(sourceRequest = {}) {
|
|
5643
5643
|
return {
|
|
5644
5644
|
"adminEnablementOverride": n => { sourceRequest.adminEnablementOverride = n.getObjectValue(createSourceRequest_adminEnablementOverrideFromDiscriminatorValue); },
|
|
5645
|
-
"allowedProducts": n => { sourceRequest.allowedProducts = n.getCollectionOfPrimitiveValues(); },
|
|
5646
|
-
"allowedStates": n => { sourceRequest.allowedStates = n.getCollectionOfPrimitiveValues(); },
|
|
5645
|
+
"allowedProducts": n => { sourceRequest.allowedProducts = n.getCollectionOfPrimitiveValues("string"); },
|
|
5646
|
+
"allowedStates": n => { sourceRequest.allowedStates = n.getCollectionOfPrimitiveValues("string"); },
|
|
5647
5647
|
"businessId": n => { sourceRequest.businessId = n.getStringValue(); },
|
|
5648
5648
|
"complianceApproved": n => { sourceRequest.complianceApproved = n.getBooleanValue(); },
|
|
5649
5649
|
"complianceNotes": n => { sourceRequest.complianceNotes = n.getStringValue(); },
|
|
5650
5650
|
"costPerLead": n => { sourceRequest.costPerLead = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
|
|
5651
|
-
"defaultTagIds": n => { sourceRequest.defaultTagIds = n.getCollectionOfPrimitiveValues(); },
|
|
5652
|
-
"defaultTagNames": n => { sourceRequest.defaultTagNames = n.getCollectionOfPrimitiveValues(); },
|
|
5651
|
+
"defaultTagIds": n => { sourceRequest.defaultTagIds = n.getCollectionOfPrimitiveValues("string"); },
|
|
5652
|
+
"defaultTagNames": n => { sourceRequest.defaultTagNames = n.getCollectionOfPrimitiveValues("string"); },
|
|
5653
5653
|
"description": n => { sourceRequest.description = n.getStringValue(); },
|
|
5654
5654
|
"enabled": n => { sourceRequest.enabled = n.getBooleanValue(); },
|
|
5655
5655
|
"id": n => { sourceRequest.id = n.getStringValue(); },
|
|
@@ -5678,8 +5678,8 @@ export function deserializeIntoSourceRequest_adminEnablementOverride(sourceReque
|
|
|
5678
5678
|
export function deserializeIntoSourceResponse(sourceResponse = {}) {
|
|
5679
5679
|
return {
|
|
5680
5680
|
"adminEnablementOverride": n => { sourceResponse.adminEnablementOverride = n.getObjectValue(createSourceResponse_adminEnablementOverrideFromDiscriminatorValue); },
|
|
5681
|
-
"allowedProducts": n => { sourceResponse.allowedProducts = n.getCollectionOfPrimitiveValues(); },
|
|
5682
|
-
"allowedStates": n => { sourceResponse.allowedStates = n.getCollectionOfPrimitiveValues(); },
|
|
5681
|
+
"allowedProducts": n => { sourceResponse.allowedProducts = n.getCollectionOfPrimitiveValues("string"); },
|
|
5682
|
+
"allowedStates": n => { sourceResponse.allowedStates = n.getCollectionOfPrimitiveValues("string"); },
|
|
5683
5683
|
"apiKeyIssuedAt": n => { sourceResponse.apiKeyIssuedAt = n.getDateValue(); },
|
|
5684
5684
|
"apiKeyPreview": n => { sourceResponse.apiKeyPreview = n.getStringValue(); },
|
|
5685
5685
|
"business": n => { sourceResponse.business = n.getObjectValue(createSourceResponse_businessFromDiscriminatorValue); },
|
|
@@ -5688,7 +5688,7 @@ export function deserializeIntoSourceResponse(sourceResponse = {}) {
|
|
|
5688
5688
|
"costPerLead": n => { sourceResponse.costPerLead = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
|
|
5689
5689
|
"createdAt": n => { sourceResponse.createdAt = n.getDateValue(); },
|
|
5690
5690
|
"createdByUser": n => { sourceResponse.createdByUser = n.getObjectValue(createSourceResponse_createdByUserFromDiscriminatorValue); },
|
|
5691
|
-
"defaultTagIds": n => { sourceResponse.defaultTagIds = n.getCollectionOfPrimitiveValues(); },
|
|
5691
|
+
"defaultTagIds": n => { sourceResponse.defaultTagIds = n.getCollectionOfPrimitiveValues("string"); },
|
|
5692
5692
|
"defaultTags": n => { sourceResponse.defaultTags = n.getCollectionOfObjectValues(createTagSummaryFromDiscriminatorValue); },
|
|
5693
5693
|
"description": n => { sourceResponse.description = n.getStringValue(); },
|
|
5694
5694
|
"enabled": n => { sourceResponse.enabled = n.getBooleanValue(); },
|
|
@@ -5766,8 +5766,8 @@ export function deserializeIntoSourceResponse_user(sourceResponse_user = {}) {
|
|
|
5766
5766
|
export function deserializeIntoSourceTableRow(sourceTableRow = {}) {
|
|
5767
5767
|
return {
|
|
5768
5768
|
"adminEnablementOverride": n => { sourceTableRow.adminEnablementOverride = n.getObjectValue(createSourceTableRow_adminEnablementOverrideFromDiscriminatorValue); },
|
|
5769
|
-
"allowedProducts": n => { sourceTableRow.allowedProducts = n.getCollectionOfPrimitiveValues(); },
|
|
5770
|
-
"allowedStates": n => { sourceTableRow.allowedStates = n.getCollectionOfPrimitiveValues(); },
|
|
5769
|
+
"allowedProducts": n => { sourceTableRow.allowedProducts = n.getCollectionOfPrimitiveValues("string"); },
|
|
5770
|
+
"allowedStates": n => { sourceTableRow.allowedStates = n.getCollectionOfPrimitiveValues("string"); },
|
|
5771
5771
|
"apiKeyIssuedAt": n => { sourceTableRow.apiKeyIssuedAt = n.getDateValue(); },
|
|
5772
5772
|
"apiKeyLastUsedAt": n => { sourceTableRow.apiKeyLastUsedAt = n.getDateValue(); },
|
|
5773
5773
|
"apiKeyPreview": n => { sourceTableRow.apiKeyPreview = n.getStringValue(); },
|
|
@@ -5778,7 +5778,7 @@ export function deserializeIntoSourceTableRow(sourceTableRow = {}) {
|
|
|
5778
5778
|
"costPerLead": n => { sourceTableRow.costPerLead = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
|
|
5779
5779
|
"createdAt": n => { sourceTableRow.createdAt = n.getDateValue(); },
|
|
5780
5780
|
"createdByUser": n => { sourceTableRow.createdByUser = n.getObjectValue(createSourceTableRow_createdByUserFromDiscriminatorValue); },
|
|
5781
|
-
"defaultTagIds": n => { sourceTableRow.defaultTagIds = n.getCollectionOfPrimitiveValues(); },
|
|
5781
|
+
"defaultTagIds": n => { sourceTableRow.defaultTagIds = n.getCollectionOfPrimitiveValues("string"); },
|
|
5782
5782
|
"defaultTags": n => { sourceTableRow.defaultTags = n.getCollectionOfObjectValues(createTagSummaryFromDiscriminatorValue); },
|
|
5783
5783
|
"description": n => { sourceTableRow.description = n.getStringValue(); },
|
|
5784
5784
|
"enabled": n => { sourceTableRow.enabled = n.getBooleanValue(); },
|
|
@@ -5941,7 +5941,7 @@ export function deserializeIntoTagSummary(tagSummary = {}) {
|
|
|
5941
5941
|
export function deserializeIntoTenDlcApplicationDraft(tenDlcApplicationDraft = {}) {
|
|
5942
5942
|
return {
|
|
5943
5943
|
"companyName": n => { tenDlcApplicationDraft.companyName = n.getStringValue(); },
|
|
5944
|
-
"complianceWarnings": n => { tenDlcApplicationDraft.complianceWarnings = n.getCollectionOfPrimitiveValues(); },
|
|
5944
|
+
"complianceWarnings": n => { tenDlcApplicationDraft.complianceWarnings = n.getCollectionOfPrimitiveValues("string"); },
|
|
5945
5945
|
"contactEmail": n => { tenDlcApplicationDraft.contactEmail = n.getStringValue(); },
|
|
5946
5946
|
"contactName": n => { tenDlcApplicationDraft.contactName = n.getStringValue(); },
|
|
5947
5947
|
"contactPhone": n => { tenDlcApplicationDraft.contactPhone = n.getStringValue(); },
|
|
@@ -5950,8 +5950,8 @@ export function deserializeIntoTenDlcApplicationDraft(tenDlcApplicationDraft = {
|
|
|
5950
5950
|
"industry": n => { tenDlcApplicationDraft.industry = n.getStringValue(); },
|
|
5951
5951
|
"lastSubmittedAt": n => { tenDlcApplicationDraft.lastSubmittedAt = n.getDateValue(); },
|
|
5952
5952
|
"leadSource": n => { tenDlcApplicationDraft.leadSource = n.getStringValue(); },
|
|
5953
|
-
"messageExamples": n => { tenDlcApplicationDraft.messageExamples = n.getCollectionOfPrimitiveValues(); },
|
|
5954
|
-
"missingFields": n => { tenDlcApplicationDraft.missingFields = n.getCollectionOfPrimitiveValues(); },
|
|
5953
|
+
"messageExamples": n => { tenDlcApplicationDraft.messageExamples = n.getCollectionOfPrimitiveValues("string"); },
|
|
5954
|
+
"missingFields": n => { tenDlcApplicationDraft.missingFields = n.getCollectionOfPrimitiveValues("string"); },
|
|
5955
5955
|
"optInLanguage": n => { tenDlcApplicationDraft.optInLanguage = n.getStringValue(); },
|
|
5956
5956
|
"privacyPolicyUrl": n => { tenDlcApplicationDraft.privacyPolicyUrl = n.getStringValue(); },
|
|
5957
5957
|
"rejectionReason": n => { tenDlcApplicationDraft.rejectionReason = n.getStringValue(); },
|
|
@@ -6153,8 +6153,8 @@ export function deserializeIntoUserCompliance(userCompliance = {}) {
|
|
|
6153
6153
|
"acceptedSms": n => { userCompliance.acceptedSms = n.getBooleanValue(); },
|
|
6154
6154
|
"acceptedTerms": n => { userCompliance.acceptedTerms = n.getBooleanValue(); },
|
|
6155
6155
|
"acceptedToSubscription": n => { userCompliance.acceptedToSubscription = n.getBooleanValue(); },
|
|
6156
|
-
"licensedProducts": n => { userCompliance.licensedProducts = n.getCollectionOfPrimitiveValues(); },
|
|
6157
|
-
"licensedStates": n => { userCompliance.licensedStates = n.getCollectionOfPrimitiveValues(); },
|
|
6156
|
+
"licensedProducts": n => { userCompliance.licensedProducts = n.getCollectionOfPrimitiveValues("string"); },
|
|
6157
|
+
"licensedStates": n => { userCompliance.licensedStates = n.getCollectionOfPrimitiveValues("string"); },
|
|
6158
6158
|
"trustedFormCertificates": n => { userCompliance.trustedFormCertificates = n.getCollectionOfObjectValues(createTrustedFormCertificateFromDiscriminatorValue); },
|
|
6159
6159
|
};
|
|
6160
6160
|
}
|
|
@@ -6431,7 +6431,7 @@ export function deserializeIntoUserStripeInfo(userStripeInfo = {}) {
|
|
|
6431
6431
|
"phoneSubscriptionItemId": n => { userStripeInfo.phoneSubscriptionItemId = n.getStringValue(); },
|
|
6432
6432
|
"planSubscriptionId": n => { userStripeInfo.planSubscriptionId = n.getStringValue(); },
|
|
6433
6433
|
"planSubscriptionItemId": n => { userStripeInfo.planSubscriptionItemId = n.getStringValue(); },
|
|
6434
|
-
"subscriptionIds": n => { userStripeInfo.subscriptionIds = n.getCollectionOfPrimitiveValues(); },
|
|
6434
|
+
"subscriptionIds": n => { userStripeInfo.subscriptionIds = n.getCollectionOfPrimitiveValues("string"); },
|
|
6435
6435
|
};
|
|
6436
6436
|
}
|
|
6437
6437
|
/**
|