@leadping/sdk 1.0.86 → 1.0.87
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/leads/item/index.d.ts +5 -0
- package/dist/leads/item/index.d.ts.map +1 -1
- package/dist/leads/item/index.js +5 -0
- package/dist/leads/item/index.js.map +1 -1
- package/dist/leads/item/phoneLookup/index.d.ts +32 -0
- package/dist/leads/item/phoneLookup/index.d.ts.map +1 -0
- package/dist/leads/item/phoneLookup/index.js +29 -0
- package/dist/leads/item/phoneLookup/index.js.map +1 -0
- package/dist/models/index.d.ts +54 -0
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +37 -0
- package/dist/models/index.js.map +1 -1
- package/dist/outbound/index.d.ts +7 -0
- package/dist/outbound/index.d.ts.map +1 -1
- package/dist/outbound/index.js +6 -0
- package/dist/outbound/index.js.map +1 -1
- package/dist/outbound/item/capacity/index.d.ts +32 -0
- package/dist/outbound/item/capacity/index.d.ts.map +1 -0
- package/dist/outbound/item/capacity/index.js +29 -0
- package/dist/outbound/item/capacity/index.js.map +1 -0
- package/dist/outbound/item/index.d.ts +20 -0
- package/dist/outbound/item/index.d.ts.map +1 -0
- package/dist/outbound/item/index.js +20 -0
- package/dist/outbound/item/index.js.map +1 -0
- package/package.json +1 -1
package/dist/models/index.js
CHANGED
|
@@ -3503,6 +3503,7 @@ export function deserializeIntoCallEventTableRow(callEventTableRow = {}) {
|
|
|
3503
3503
|
"consoleEntries": n => { callEventTableRow.consoleEntries = n.getCollectionOfObjectValues(createCommunicationConsoleEntryFromDiscriminatorValue); },
|
|
3504
3504
|
"conversationId": n => { callEventTableRow.conversationId = n.getStringValue(); },
|
|
3505
3505
|
"createdAt": n => { callEventTableRow.createdAt = n.getDateValue(); },
|
|
3506
|
+
"description": n => { callEventTableRow.description = n.getStringValue(); },
|
|
3506
3507
|
"direction": n => { callEventTableRow.direction = n.getStringValue(); },
|
|
3507
3508
|
"duration": n => { callEventTableRow.duration = n.getNumberValue(); },
|
|
3508
3509
|
"endedAt": n => { callEventTableRow.endedAt = n.getDateValue(); },
|
|
@@ -4512,6 +4513,7 @@ export function deserializeIntoLeadMetadata(leadMetadata = {}) {
|
|
|
4512
4513
|
"landingPage": n => { leadMetadata.landingPage = n.getStringValue(); },
|
|
4513
4514
|
"leadpingConsentCheckedAt": n => { leadMetadata.leadpingConsentCheckedAt = n.getDateValue(); },
|
|
4514
4515
|
"organizationId": n => { leadMetadata.organizationId = n.getStringValue(); },
|
|
4516
|
+
"organizationName": n => { leadMetadata.organizationName = n.getStringValue(); },
|
|
4515
4517
|
"origin": n => { leadMetadata.origin = n.getStringValue(); },
|
|
4516
4518
|
"price": n => { leadMetadata.price = n.getNumberValue(); },
|
|
4517
4519
|
"product": n => { leadMetadata.product = n.getStringValue(); },
|
|
@@ -4525,6 +4527,7 @@ export function deserializeIntoLeadMetadata(leadMetadata = {}) {
|
|
|
4525
4527
|
"smsOptInAt": n => { leadMetadata.smsOptInAt = n.getDateValue(); },
|
|
4526
4528
|
"smsOptOutAt": n => { leadMetadata.smsOptOutAt = n.getDateValue(); },
|
|
4527
4529
|
"sourceMetadata": n => { leadMetadata.sourceMetadata = n.getObjectValue(createLeadMetadata_sourceMetadataFromDiscriminatorValue); },
|
|
4530
|
+
"sourceName": n => { leadMetadata.sourceName = n.getStringValue(); },
|
|
4528
4531
|
"subId": n => { leadMetadata.subId = n.getStringValue(); },
|
|
4529
4532
|
"trustedFormCheckedAt": n => { leadMetadata.trustedFormCheckedAt = n.getDateValue(); },
|
|
4530
4533
|
"trustedFormRejectedAt": n => { leadMetadata.trustedFormRejectedAt = n.getDateValue(); },
|
|
@@ -6628,9 +6631,11 @@ export function deserializeIntoPhoneNumberTableRow(phoneNumberTableRow = {}) {
|
|
|
6628
6631
|
"organizationId": n => { phoneNumberTableRow.organizationId = n.getStringValue(); },
|
|
6629
6632
|
"ownership": n => { phoneNumberTableRow.ownership = n.getEnumValue(PhoneNumberOwnershipObject); },
|
|
6630
6633
|
"routingSummary": n => { phoneNumberTableRow.routingSummary = n.getStringValue(); },
|
|
6634
|
+
"smsRampDirection": n => { phoneNumberTableRow.smsRampDirection = n.getEnumValue(PhoneNumberTableRow_smsRampDirectionObject); },
|
|
6631
6635
|
"smsReady": n => { phoneNumberTableRow.smsReady = n.getBooleanValue(); },
|
|
6632
6636
|
"tenDlcCampaignStatus": n => { phoneNumberTableRow.tenDlcCampaignStatus = n.getStringValue(); },
|
|
6633
6637
|
"type": n => { phoneNumberTableRow.type = n.getStringValue(); },
|
|
6638
|
+
"voiceRampDirection": n => { phoneNumberTableRow.voiceRampDirection = n.getEnumValue(PhoneNumberTableRow_voiceRampDirectionObject); },
|
|
6634
6639
|
"voiceReady": n => { phoneNumberTableRow.voiceReady = n.getBooleanValue(); },
|
|
6635
6640
|
"warmup": n => { phoneNumberTableRow.warmup = n.getObjectValue(createPhoneNumberReadinessFromDiscriminatorValue); },
|
|
6636
6641
|
};
|
|
@@ -7170,6 +7175,8 @@ export function deserializeIntoStripePaymentMethodResponse(stripePaymentMethodRe
|
|
|
7170
7175
|
"id": n => { stripePaymentMethodResponse.id = n.getStringValue(); },
|
|
7171
7176
|
"isDefault": n => { stripePaymentMethodResponse.isDefault = n.getBooleanValue(); },
|
|
7172
7177
|
"last4": n => { stripePaymentMethodResponse.last4 = n.getStringValue(); },
|
|
7178
|
+
"type": n => { stripePaymentMethodResponse.type = n.getEnumValue(BillingPaymentMethodTypeObject); },
|
|
7179
|
+
"walletName": n => { stripePaymentMethodResponse.walletName = n.getStringValue(); },
|
|
7173
7180
|
};
|
|
7174
7181
|
}
|
|
7175
7182
|
/**
|
|
@@ -8764,6 +8771,7 @@ export function serializeCallEventTableRow(writer, callEventTableRow = {}, isSer
|
|
|
8764
8771
|
writer.writeCollectionOfObjectValues("consoleEntries", callEventTableRow.consoleEntries, serializeCommunicationConsoleEntry);
|
|
8765
8772
|
writer.writeStringValue("conversationId", callEventTableRow.conversationId);
|
|
8766
8773
|
writer.writeDateValue("createdAt", callEventTableRow.createdAt);
|
|
8774
|
+
writer.writeStringValue("description", callEventTableRow.description);
|
|
8767
8775
|
writer.writeStringValue("direction", callEventTableRow.direction);
|
|
8768
8776
|
writer.writeNumberValue("duration", callEventTableRow.duration);
|
|
8769
8777
|
writer.writeDateValue("endedAt", callEventTableRow.endedAt);
|
|
@@ -9930,6 +9938,7 @@ export function serializeLeadMetadata(writer, leadMetadata = {}, isSerializingDe
|
|
|
9930
9938
|
writer.writeStringValue("landingPage", leadMetadata.landingPage);
|
|
9931
9939
|
writer.writeDateValue("leadpingConsentCheckedAt", leadMetadata.leadpingConsentCheckedAt);
|
|
9932
9940
|
writer.writeStringValue("organizationId", leadMetadata.organizationId);
|
|
9941
|
+
writer.writeStringValue("organizationName", leadMetadata.organizationName);
|
|
9933
9942
|
writer.writeStringValue("origin", leadMetadata.origin);
|
|
9934
9943
|
writer.writeNumberValue("price", leadMetadata.price);
|
|
9935
9944
|
writer.writeStringValue("product", leadMetadata.product);
|
|
@@ -9943,6 +9952,7 @@ export function serializeLeadMetadata(writer, leadMetadata = {}, isSerializingDe
|
|
|
9943
9952
|
writer.writeDateValue("smsOptInAt", leadMetadata.smsOptInAt);
|
|
9944
9953
|
writer.writeDateValue("smsOptOutAt", leadMetadata.smsOptOutAt);
|
|
9945
9954
|
writer.writeObjectValue("sourceMetadata", leadMetadata.sourceMetadata, serializeLeadMetadata_sourceMetadata);
|
|
9955
|
+
writer.writeStringValue("sourceName", leadMetadata.sourceName);
|
|
9946
9956
|
writer.writeStringValue("subId", leadMetadata.subId);
|
|
9947
9957
|
writer.writeDateValue("trustedFormCheckedAt", leadMetadata.trustedFormCheckedAt);
|
|
9948
9958
|
writer.writeDateValue("trustedFormRejectedAt", leadMetadata.trustedFormRejectedAt);
|
|
@@ -12393,9 +12403,11 @@ export function serializePhoneNumberTableRow(writer, phoneNumberTableRow = {}, i
|
|
|
12393
12403
|
writer.writeStringValue("organizationId", phoneNumberTableRow.organizationId);
|
|
12394
12404
|
writer.writeEnumValue("ownership", phoneNumberTableRow.ownership);
|
|
12395
12405
|
writer.writeStringValue("routingSummary", phoneNumberTableRow.routingSummary);
|
|
12406
|
+
writer.writeEnumValue("smsRampDirection", phoneNumberTableRow.smsRampDirection);
|
|
12396
12407
|
writer.writeBooleanValue("smsReady", phoneNumberTableRow.smsReady);
|
|
12397
12408
|
writer.writeStringValue("tenDlcCampaignStatus", phoneNumberTableRow.tenDlcCampaignStatus);
|
|
12398
12409
|
writer.writeStringValue("type", phoneNumberTableRow.type);
|
|
12410
|
+
writer.writeEnumValue("voiceRampDirection", phoneNumberTableRow.voiceRampDirection);
|
|
12399
12411
|
writer.writeBooleanValue("voiceReady", phoneNumberTableRow.voiceReady);
|
|
12400
12412
|
writer.writeObjectValue("warmup", phoneNumberTableRow.warmup, serializePhoneNumberReadiness);
|
|
12401
12413
|
writer.writeAdditionalData(phoneNumberTableRow.additionalData);
|
|
@@ -13015,6 +13027,8 @@ export function serializeStripePaymentMethodResponse(writer, stripePaymentMethod
|
|
|
13015
13027
|
writer.writeStringValue("id", stripePaymentMethodResponse.id);
|
|
13016
13028
|
writer.writeBooleanValue("isDefault", stripePaymentMethodResponse.isDefault);
|
|
13017
13029
|
writer.writeStringValue("last4", stripePaymentMethodResponse.last4);
|
|
13030
|
+
writer.writeEnumValue("type", stripePaymentMethodResponse.type);
|
|
13031
|
+
writer.writeStringValue("walletName", stripePaymentMethodResponse.walletName);
|
|
13018
13032
|
writer.writeAdditionalData(stripePaymentMethodResponse.additionalData);
|
|
13019
13033
|
}
|
|
13020
13034
|
/**
|
|
@@ -13891,6 +13905,13 @@ export const BillableUnitObject = {
|
|
|
13891
13905
|
Connection_action: "connection_action",
|
|
13892
13906
|
Automation_run: "automation_run",
|
|
13893
13907
|
};
|
|
13908
|
+
/**
|
|
13909
|
+
* Reusable payment types supported for immediate billing payments.
|
|
13910
|
+
*/
|
|
13911
|
+
export const BillingPaymentMethodTypeObject = {
|
|
13912
|
+
Card: "card",
|
|
13913
|
+
Link: "link",
|
|
13914
|
+
};
|
|
13894
13915
|
/**
|
|
13895
13916
|
* Identifies the Leadping subscription plan that determines organization features, allowances, and billing behavior.
|
|
13896
13917
|
*/
|
|
@@ -14734,6 +14755,22 @@ export const PhoneNumberReadiness_stateObject = {
|
|
|
14734
14755
|
Blocked: "Blocked",
|
|
14735
14756
|
Ready: "Ready",
|
|
14736
14757
|
};
|
|
14758
|
+
/**
|
|
14759
|
+
* Indicates whether a phone number's channel capacity is increasing, decreasing, or stable.
|
|
14760
|
+
*/
|
|
14761
|
+
export const PhoneNumberTableRow_smsRampDirectionObject = {
|
|
14762
|
+
Up: "up",
|
|
14763
|
+
Down: "down",
|
|
14764
|
+
None: "none",
|
|
14765
|
+
};
|
|
14766
|
+
/**
|
|
14767
|
+
* Indicates whether a phone number's channel capacity is increasing, decreasing, or stable.
|
|
14768
|
+
*/
|
|
14769
|
+
export const PhoneNumberTableRow_voiceRampDirectionObject = {
|
|
14770
|
+
Up: "up",
|
|
14771
|
+
Down: "down",
|
|
14772
|
+
None: "none",
|
|
14773
|
+
};
|
|
14737
14774
|
/**
|
|
14738
14775
|
* Defines the source that requested outbound delivery.
|
|
14739
14776
|
*/
|