@leadping/sdk 1.0.136 → 1.0.137
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 +0 -96
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +0 -89
- package/dist/models/index.js.map +1 -1
- package/package.json +1 -1
package/dist/models/index.js
CHANGED
|
@@ -1974,15 +1974,6 @@ export function createPhoneIdentityLookupActionFromDiscriminatorValue(parseNode)
|
|
|
1974
1974
|
export function createPhoneIdentityResponse_lookupFromDiscriminatorValue(parseNode) {
|
|
1975
1975
|
return deserializeIntoPhoneIdentityResponse_lookup;
|
|
1976
1976
|
}
|
|
1977
|
-
/**
|
|
1978
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
1979
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
1980
|
-
* @returns {PhoneIdentityResponse_providerEnrichment}
|
|
1981
|
-
*/
|
|
1982
|
-
// @ts-ignore
|
|
1983
|
-
export function createPhoneIdentityResponse_providerEnrichmentFromDiscriminatorValue(parseNode) {
|
|
1984
|
-
return deserializeIntoPhoneIdentityResponse_providerEnrichment;
|
|
1985
|
-
}
|
|
1986
1977
|
/**
|
|
1987
1978
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
1988
1979
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -2073,15 +2064,6 @@ export function createPhoneLookupFromDiscriminatorValue(parseNode) {
|
|
|
2073
2064
|
export function createPhoneLookupPortabilityFromDiscriminatorValue(parseNode) {
|
|
2074
2065
|
return deserializeIntoPhoneLookupPortability;
|
|
2075
2066
|
}
|
|
2076
|
-
/**
|
|
2077
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
2078
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
2079
|
-
* @returns {PhoneLookupProviderSnapshot}
|
|
2080
|
-
*/
|
|
2081
|
-
// @ts-ignore
|
|
2082
|
-
export function createPhoneLookupProviderSnapshotFromDiscriminatorValue(parseNode) {
|
|
2083
|
-
return deserializeIntoPhoneLookupProviderSnapshot;
|
|
2084
|
-
}
|
|
2085
2067
|
/**
|
|
2086
2068
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
2087
2069
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -6705,8 +6687,6 @@ export function deserializeIntoPhoneIdentityLookupAction(phoneIdentityLookupActi
|
|
|
6705
6687
|
"id": n => { phoneIdentityLookupAction.id = n.getStringValue(); },
|
|
6706
6688
|
"occurredAt": n => { phoneIdentityLookupAction.occurredAt = n.getDateValue(); },
|
|
6707
6689
|
"provider": n => { phoneIdentityLookupAction.provider = n.getStringValue(); },
|
|
6708
|
-
"providerCostAmount": n => { phoneIdentityLookupAction.providerCostAmount = n.getNumberValue(); },
|
|
6709
|
-
"providerPricingVersion": n => { phoneIdentityLookupAction.providerPricingVersion = n.getStringValue(); },
|
|
6710
6690
|
"status": n => { phoneIdentityLookupAction.status = n.getEnumValue(PhoneIdentityLookupActionStatusObject); },
|
|
6711
6691
|
"type": n => { phoneIdentityLookupAction.type = n.getEnumValue(PhoneIdentityLookupActionTypeObject); },
|
|
6712
6692
|
};
|
|
@@ -6728,7 +6708,6 @@ export function deserializeIntoPhoneIdentityResponse(phoneIdentityResponse = {})
|
|
|
6728
6708
|
"modifiedAt": n => { phoneIdentityResponse.modifiedAt = n.getDateValue(); },
|
|
6729
6709
|
"name": n => { phoneIdentityResponse.name = n.getStringValue(); },
|
|
6730
6710
|
"number": n => { phoneIdentityResponse.number = n.getStringValue(); },
|
|
6731
|
-
"providerEnrichment": n => { phoneIdentityResponse.providerEnrichment = n.getObjectValue(createPhoneIdentityResponse_providerEnrichmentFromDiscriminatorValue); },
|
|
6732
6711
|
"smsNotRoutable": n => { phoneIdentityResponse.smsNotRoutable = n.getBooleanValue(); },
|
|
6733
6712
|
};
|
|
6734
6713
|
}
|
|
@@ -6743,17 +6722,6 @@ export function deserializeIntoPhoneIdentityResponse_lookup(phoneIdentityRespons
|
|
|
6743
6722
|
...deserializeIntoPhoneLookup(phoneIdentityResponse_lookup),
|
|
6744
6723
|
};
|
|
6745
6724
|
}
|
|
6746
|
-
/**
|
|
6747
|
-
* The deserialization information for the current model
|
|
6748
|
-
* @param PhoneIdentityResponse_providerEnrichment The instance to deserialize into.
|
|
6749
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
6750
|
-
*/
|
|
6751
|
-
// @ts-ignore
|
|
6752
|
-
export function deserializeIntoPhoneIdentityResponse_providerEnrichment(phoneIdentityResponse_providerEnrichment = {}) {
|
|
6753
|
-
return {
|
|
6754
|
-
...deserializeIntoPhoneLookupProviderSnapshot(phoneIdentityResponse_providerEnrichment),
|
|
6755
|
-
};
|
|
6756
|
-
}
|
|
6757
6725
|
/**
|
|
6758
6726
|
* The deserialization information for the current model
|
|
6759
6727
|
* @param PhoneLocationSource The instance to deserialize into.
|
|
@@ -6884,21 +6852,6 @@ export function deserializeIntoPhoneLookupPortability(phoneLookupPortability = {
|
|
|
6884
6852
|
"state": n => { phoneLookupPortability.state = n.getStringValue(); },
|
|
6885
6853
|
};
|
|
6886
6854
|
}
|
|
6887
|
-
/**
|
|
6888
|
-
* The deserialization information for the current model
|
|
6889
|
-
* @param PhoneLookupProviderSnapshot The instance to deserialize into.
|
|
6890
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
6891
|
-
*/
|
|
6892
|
-
// @ts-ignore
|
|
6893
|
-
export function deserializeIntoPhoneLookupProviderSnapshot(phoneLookupProviderSnapshot = {}) {
|
|
6894
|
-
return {
|
|
6895
|
-
"lookupType": n => { phoneLookupProviderSnapshot.lookupType = n.getStringValue(); },
|
|
6896
|
-
"provider": n => { phoneLookupProviderSnapshot.provider = n.getStringValue(); },
|
|
6897
|
-
"rawRecordJson": n => { phoneLookupProviderSnapshot.rawRecordJson = n.getStringValue(); },
|
|
6898
|
-
"retrievedAt": n => { phoneLookupProviderSnapshot.retrievedAt = n.getDateValue(); },
|
|
6899
|
-
"schemaVersion": n => { phoneLookupProviderSnapshot.schemaVersion = n.getNumberValue(); },
|
|
6900
|
-
};
|
|
6901
|
-
}
|
|
6902
6855
|
/**
|
|
6903
6856
|
* The deserialization information for the current model
|
|
6904
6857
|
* @param PhoneNumberAvailabilityRequest The instance to deserialize into.
|
|
@@ -8082,7 +8035,6 @@ export function deserializeIntoTransactionResponse(transactionResponse = {}) {
|
|
|
8082
8035
|
"billingChannel": n => { transactionResponse.billingChannel = n.getEnumValue(TransactionResponse_billingChannelObject); },
|
|
8083
8036
|
"createdAt": n => { transactionResponse.createdAt = n.getDateValue(); },
|
|
8084
8037
|
"description": n => { transactionResponse.description = n.getStringValue(); },
|
|
8085
|
-
"gatewayFeeAmount": n => { transactionResponse.gatewayFeeAmount = n.getNumberValue(); },
|
|
8086
8038
|
"gatewayStatus": n => { transactionResponse.gatewayStatus = n.getStringValue(); },
|
|
8087
8039
|
"id": n => { transactionResponse.id = n.getStringValue(); },
|
|
8088
8040
|
"isDemo": n => { transactionResponse.isDemo = n.getBooleanValue(); },
|
|
@@ -8090,11 +8042,9 @@ export function deserializeIntoTransactionResponse(transactionResponse = {}) {
|
|
|
8090
8042
|
"lead": n => { transactionResponse.lead = n.getObjectValue(createTransactionResponse_leadFromDiscriminatorValue); },
|
|
8091
8043
|
"messageEventId": n => { transactionResponse.messageEventId = n.getStringValue(); },
|
|
8092
8044
|
"modifiedAt": n => { transactionResponse.modifiedAt = n.getDateValue(); },
|
|
8093
|
-
"netAmount": n => { transactionResponse.netAmount = n.getNumberValue(); },
|
|
8094
8045
|
"notes": n => { transactionResponse.notes = n.getStringValue(); },
|
|
8095
8046
|
"organization": n => { transactionResponse.organization = n.getObjectValue(createTransactionResponse_organizationFromDiscriminatorValue); },
|
|
8096
8047
|
"paymentMethodDisplay": n => { transactionResponse.paymentMethodDisplay = n.getStringValue(); },
|
|
8097
|
-
"platformFeeAmount": n => { transactionResponse.platformFeeAmount = n.getNumberValue(); },
|
|
8098
8048
|
"transactionStatus": n => { transactionResponse.transactionStatus = n.getEnumValue(TransactionStatusObject); },
|
|
8099
8049
|
"transactionType": n => { transactionResponse.transactionType = n.getEnumValue(TransactionTypeObject); },
|
|
8100
8050
|
};
|
|
@@ -8139,7 +8089,6 @@ export function deserializeIntoTransactionTableRow(transactionTableRow = {}) {
|
|
|
8139
8089
|
"isDemo": n => { transactionTableRow.isDemo = n.getBooleanValue(); },
|
|
8140
8090
|
"isUsageReservation": n => { transactionTableRow.isUsageReservation = n.getBooleanValue(); },
|
|
8141
8091
|
"lead": n => { transactionTableRow.lead = n.getObjectValue(createTransactionTableRow_leadFromDiscriminatorValue); },
|
|
8142
|
-
"netAmount": n => { transactionTableRow.netAmount = n.getNumberValue(); },
|
|
8143
8092
|
"organization": n => { transactionTableRow.organization = n.getObjectValue(createTransactionTableRow_organizationFromDiscriminatorValue); },
|
|
8144
8093
|
"paymentMethodDisplay": n => { transactionTableRow.paymentMethodDisplay = n.getStringValue(); },
|
|
8145
8094
|
"pricingVersion": n => { transactionTableRow.pricingVersion = n.getStringValue(); },
|
|
@@ -12917,8 +12866,6 @@ export function serializePhoneIdentityLookupAction(writer, phoneIdentityLookupAc
|
|
|
12917
12866
|
writer.writeStringValue("id", phoneIdentityLookupAction.id);
|
|
12918
12867
|
writer.writeDateValue("occurredAt", phoneIdentityLookupAction.occurredAt);
|
|
12919
12868
|
writer.writeStringValue("provider", phoneIdentityLookupAction.provider);
|
|
12920
|
-
writer.writeNumberValue("providerCostAmount", phoneIdentityLookupAction.providerCostAmount);
|
|
12921
|
-
writer.writeStringValue("providerPricingVersion", phoneIdentityLookupAction.providerPricingVersion);
|
|
12922
12869
|
writer.writeEnumValue("status", phoneIdentityLookupAction.status);
|
|
12923
12870
|
writer.writeEnumValue("type", phoneIdentityLookupAction.type);
|
|
12924
12871
|
writer.writeAdditionalData(phoneIdentityLookupAction.additionalData);
|
|
@@ -12943,7 +12890,6 @@ export function serializePhoneIdentityResponse(writer, phoneIdentityResponse = {
|
|
|
12943
12890
|
writer.writeDateValue("modifiedAt", phoneIdentityResponse.modifiedAt);
|
|
12944
12891
|
writer.writeStringValue("name", phoneIdentityResponse.name);
|
|
12945
12892
|
writer.writeStringValue("number", phoneIdentityResponse.number);
|
|
12946
|
-
writer.writeObjectValue("providerEnrichment", phoneIdentityResponse.providerEnrichment, serializePhoneIdentityResponse_providerEnrichment);
|
|
12947
12893
|
writer.writeBooleanValue("smsNotRoutable", phoneIdentityResponse.smsNotRoutable);
|
|
12948
12894
|
writer.writeAdditionalData(phoneIdentityResponse.additionalData);
|
|
12949
12895
|
}
|
|
@@ -12960,19 +12906,6 @@ export function serializePhoneIdentityResponse_lookup(writer, phoneIdentityRespo
|
|
|
12960
12906
|
}
|
|
12961
12907
|
serializePhoneLookup(writer, phoneIdentityResponse_lookup, isSerializingDerivedType);
|
|
12962
12908
|
}
|
|
12963
|
-
/**
|
|
12964
|
-
* Serializes information the current object
|
|
12965
|
-
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
12966
|
-
* @param PhoneIdentityResponse_providerEnrichment The instance to serialize from.
|
|
12967
|
-
* @param writer Serialization writer to use to serialize this model
|
|
12968
|
-
*/
|
|
12969
|
-
// @ts-ignore
|
|
12970
|
-
export function serializePhoneIdentityResponse_providerEnrichment(writer, phoneIdentityResponse_providerEnrichment = {}, isSerializingDerivedType = false) {
|
|
12971
|
-
if (!phoneIdentityResponse_providerEnrichment || isSerializingDerivedType) {
|
|
12972
|
-
return;
|
|
12973
|
-
}
|
|
12974
|
-
serializePhoneLookupProviderSnapshot(writer, phoneIdentityResponse_providerEnrichment, isSerializingDerivedType);
|
|
12975
|
-
}
|
|
12976
12909
|
/**
|
|
12977
12910
|
* Serializes information the current object
|
|
12978
12911
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -13126,24 +13059,6 @@ export function serializePhoneLookupPortability(writer, phoneLookupPortability =
|
|
|
13126
13059
|
writer.writeStringValue("state", phoneLookupPortability.state);
|
|
13127
13060
|
writer.writeAdditionalData(phoneLookupPortability.additionalData);
|
|
13128
13061
|
}
|
|
13129
|
-
/**
|
|
13130
|
-
* Serializes information the current object
|
|
13131
|
-
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
13132
|
-
* @param PhoneLookupProviderSnapshot The instance to serialize from.
|
|
13133
|
-
* @param writer Serialization writer to use to serialize this model
|
|
13134
|
-
*/
|
|
13135
|
-
// @ts-ignore
|
|
13136
|
-
export function serializePhoneLookupProviderSnapshot(writer, phoneLookupProviderSnapshot = {}, isSerializingDerivedType = false) {
|
|
13137
|
-
if (!phoneLookupProviderSnapshot || isSerializingDerivedType) {
|
|
13138
|
-
return;
|
|
13139
|
-
}
|
|
13140
|
-
writer.writeStringValue("lookupType", phoneLookupProviderSnapshot.lookupType);
|
|
13141
|
-
writer.writeStringValue("provider", phoneLookupProviderSnapshot.provider);
|
|
13142
|
-
writer.writeStringValue("rawRecordJson", phoneLookupProviderSnapshot.rawRecordJson);
|
|
13143
|
-
writer.writeDateValue("retrievedAt", phoneLookupProviderSnapshot.retrievedAt);
|
|
13144
|
-
writer.writeNumberValue("schemaVersion", phoneLookupProviderSnapshot.schemaVersion);
|
|
13145
|
-
writer.writeAdditionalData(phoneLookupProviderSnapshot.additionalData);
|
|
13146
|
-
}
|
|
13147
13062
|
/**
|
|
13148
13063
|
* Serializes information the current object
|
|
13149
13064
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -14518,7 +14433,6 @@ export function serializeTransactionResponse(writer, transactionResponse = {}, i
|
|
|
14518
14433
|
writer.writeEnumValue("billingChannel", transactionResponse.billingChannel);
|
|
14519
14434
|
writer.writeDateValue("createdAt", transactionResponse.createdAt);
|
|
14520
14435
|
writer.writeStringValue("description", transactionResponse.description);
|
|
14521
|
-
writer.writeNumberValue("gatewayFeeAmount", transactionResponse.gatewayFeeAmount);
|
|
14522
14436
|
writer.writeStringValue("gatewayStatus", transactionResponse.gatewayStatus);
|
|
14523
14437
|
writer.writeStringValue("id", transactionResponse.id);
|
|
14524
14438
|
writer.writeBooleanValue("isDemo", transactionResponse.isDemo);
|
|
@@ -14526,11 +14440,9 @@ export function serializeTransactionResponse(writer, transactionResponse = {}, i
|
|
|
14526
14440
|
writer.writeObjectValue("lead", transactionResponse.lead, serializeTransactionResponse_lead);
|
|
14527
14441
|
writer.writeStringValue("messageEventId", transactionResponse.messageEventId);
|
|
14528
14442
|
writer.writeDateValue("modifiedAt", transactionResponse.modifiedAt);
|
|
14529
|
-
writer.writeNumberValue("netAmount", transactionResponse.netAmount);
|
|
14530
14443
|
writer.writeStringValue("notes", transactionResponse.notes);
|
|
14531
14444
|
writer.writeObjectValue("organization", transactionResponse.organization, serializeTransactionResponse_organization);
|
|
14532
14445
|
writer.writeStringValue("paymentMethodDisplay", transactionResponse.paymentMethodDisplay);
|
|
14533
|
-
writer.writeNumberValue("platformFeeAmount", transactionResponse.platformFeeAmount);
|
|
14534
14446
|
writer.writeEnumValue("transactionStatus", transactionResponse.transactionStatus);
|
|
14535
14447
|
writer.writeEnumValue("transactionType", transactionResponse.transactionType);
|
|
14536
14448
|
writer.writeAdditionalData(transactionResponse.additionalData);
|
|
@@ -14582,7 +14494,6 @@ export function serializeTransactionTableRow(writer, transactionTableRow = {}, i
|
|
|
14582
14494
|
writer.writeBooleanValue("isDemo", transactionTableRow.isDemo);
|
|
14583
14495
|
writer.writeBooleanValue("isUsageReservation", transactionTableRow.isUsageReservation);
|
|
14584
14496
|
writer.writeObjectValue("lead", transactionTableRow.lead, serializeTransactionTableRow_lead);
|
|
14585
|
-
writer.writeNumberValue("netAmount", transactionTableRow.netAmount);
|
|
14586
14497
|
writer.writeObjectValue("organization", transactionTableRow.organization, serializeTransactionTableRow_organization);
|
|
14587
14498
|
writer.writeStringValue("paymentMethodDisplay", transactionTableRow.paymentMethodDisplay);
|
|
14588
14499
|
writer.writeStringValue("pricingVersion", transactionTableRow.pricingVersion);
|