@leadping/sdk 1.0.135 → 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.
@@ -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(); },
@@ -8368,6 +8317,7 @@ export function deserializeIntoUserNotificationPreferences(userNotificationPrefe
8368
8317
  "automationFailedSmsEnabled": n => { userNotificationPreferences.automationFailedSmsEnabled = n.getBooleanValue(); },
8369
8318
  "billingEmailEnabled": n => { userNotificationPreferences.billingEmailEnabled = n.getBooleanValue(); },
8370
8319
  "billingSmsEnabled": n => { userNotificationPreferences.billingSmsEnabled = n.getBooleanValue(); },
8320
+ "incomingMessageSoundEnabled": n => { userNotificationPreferences.incomingMessageSoundEnabled = n.getBooleanValue(); },
8371
8321
  "lowWalletBalanceEmailEnabled": n => { userNotificationPreferences.lowWalletBalanceEmailEnabled = n.getBooleanValue(); },
8372
8322
  "lowWalletBalanceEnabled": n => { userNotificationPreferences.lowWalletBalanceEnabled = n.getBooleanValue(); },
8373
8323
  "lowWalletBalanceSmsEnabled": n => { userNotificationPreferences.lowWalletBalanceSmsEnabled = n.getBooleanValue(); },
@@ -12916,8 +12866,6 @@ export function serializePhoneIdentityLookupAction(writer, phoneIdentityLookupAc
12916
12866
  writer.writeStringValue("id", phoneIdentityLookupAction.id);
12917
12867
  writer.writeDateValue("occurredAt", phoneIdentityLookupAction.occurredAt);
12918
12868
  writer.writeStringValue("provider", phoneIdentityLookupAction.provider);
12919
- writer.writeNumberValue("providerCostAmount", phoneIdentityLookupAction.providerCostAmount);
12920
- writer.writeStringValue("providerPricingVersion", phoneIdentityLookupAction.providerPricingVersion);
12921
12869
  writer.writeEnumValue("status", phoneIdentityLookupAction.status);
12922
12870
  writer.writeEnumValue("type", phoneIdentityLookupAction.type);
12923
12871
  writer.writeAdditionalData(phoneIdentityLookupAction.additionalData);
@@ -12942,7 +12890,6 @@ export function serializePhoneIdentityResponse(writer, phoneIdentityResponse = {
12942
12890
  writer.writeDateValue("modifiedAt", phoneIdentityResponse.modifiedAt);
12943
12891
  writer.writeStringValue("name", phoneIdentityResponse.name);
12944
12892
  writer.writeStringValue("number", phoneIdentityResponse.number);
12945
- writer.writeObjectValue("providerEnrichment", phoneIdentityResponse.providerEnrichment, serializePhoneIdentityResponse_providerEnrichment);
12946
12893
  writer.writeBooleanValue("smsNotRoutable", phoneIdentityResponse.smsNotRoutable);
12947
12894
  writer.writeAdditionalData(phoneIdentityResponse.additionalData);
12948
12895
  }
@@ -12959,19 +12906,6 @@ export function serializePhoneIdentityResponse_lookup(writer, phoneIdentityRespo
12959
12906
  }
12960
12907
  serializePhoneLookup(writer, phoneIdentityResponse_lookup, isSerializingDerivedType);
12961
12908
  }
12962
- /**
12963
- * Serializes information the current object
12964
- * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
12965
- * @param PhoneIdentityResponse_providerEnrichment The instance to serialize from.
12966
- * @param writer Serialization writer to use to serialize this model
12967
- */
12968
- // @ts-ignore
12969
- export function serializePhoneIdentityResponse_providerEnrichment(writer, phoneIdentityResponse_providerEnrichment = {}, isSerializingDerivedType = false) {
12970
- if (!phoneIdentityResponse_providerEnrichment || isSerializingDerivedType) {
12971
- return;
12972
- }
12973
- serializePhoneLookupProviderSnapshot(writer, phoneIdentityResponse_providerEnrichment, isSerializingDerivedType);
12974
- }
12975
12909
  /**
12976
12910
  * Serializes information the current object
12977
12911
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -13125,24 +13059,6 @@ export function serializePhoneLookupPortability(writer, phoneLookupPortability =
13125
13059
  writer.writeStringValue("state", phoneLookupPortability.state);
13126
13060
  writer.writeAdditionalData(phoneLookupPortability.additionalData);
13127
13061
  }
13128
- /**
13129
- * Serializes information the current object
13130
- * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
13131
- * @param PhoneLookupProviderSnapshot The instance to serialize from.
13132
- * @param writer Serialization writer to use to serialize this model
13133
- */
13134
- // @ts-ignore
13135
- export function serializePhoneLookupProviderSnapshot(writer, phoneLookupProviderSnapshot = {}, isSerializingDerivedType = false) {
13136
- if (!phoneLookupProviderSnapshot || isSerializingDerivedType) {
13137
- return;
13138
- }
13139
- writer.writeStringValue("lookupType", phoneLookupProviderSnapshot.lookupType);
13140
- writer.writeStringValue("provider", phoneLookupProviderSnapshot.provider);
13141
- writer.writeStringValue("rawRecordJson", phoneLookupProviderSnapshot.rawRecordJson);
13142
- writer.writeDateValue("retrievedAt", phoneLookupProviderSnapshot.retrievedAt);
13143
- writer.writeNumberValue("schemaVersion", phoneLookupProviderSnapshot.schemaVersion);
13144
- writer.writeAdditionalData(phoneLookupProviderSnapshot.additionalData);
13145
- }
13146
13062
  /**
13147
13063
  * Serializes information the current object
13148
13064
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -14517,7 +14433,6 @@ export function serializeTransactionResponse(writer, transactionResponse = {}, i
14517
14433
  writer.writeEnumValue("billingChannel", transactionResponse.billingChannel);
14518
14434
  writer.writeDateValue("createdAt", transactionResponse.createdAt);
14519
14435
  writer.writeStringValue("description", transactionResponse.description);
14520
- writer.writeNumberValue("gatewayFeeAmount", transactionResponse.gatewayFeeAmount);
14521
14436
  writer.writeStringValue("gatewayStatus", transactionResponse.gatewayStatus);
14522
14437
  writer.writeStringValue("id", transactionResponse.id);
14523
14438
  writer.writeBooleanValue("isDemo", transactionResponse.isDemo);
@@ -14525,11 +14440,9 @@ export function serializeTransactionResponse(writer, transactionResponse = {}, i
14525
14440
  writer.writeObjectValue("lead", transactionResponse.lead, serializeTransactionResponse_lead);
14526
14441
  writer.writeStringValue("messageEventId", transactionResponse.messageEventId);
14527
14442
  writer.writeDateValue("modifiedAt", transactionResponse.modifiedAt);
14528
- writer.writeNumberValue("netAmount", transactionResponse.netAmount);
14529
14443
  writer.writeStringValue("notes", transactionResponse.notes);
14530
14444
  writer.writeObjectValue("organization", transactionResponse.organization, serializeTransactionResponse_organization);
14531
14445
  writer.writeStringValue("paymentMethodDisplay", transactionResponse.paymentMethodDisplay);
14532
- writer.writeNumberValue("platformFeeAmount", transactionResponse.platformFeeAmount);
14533
14446
  writer.writeEnumValue("transactionStatus", transactionResponse.transactionStatus);
14534
14447
  writer.writeEnumValue("transactionType", transactionResponse.transactionType);
14535
14448
  writer.writeAdditionalData(transactionResponse.additionalData);
@@ -14581,7 +14494,6 @@ export function serializeTransactionTableRow(writer, transactionTableRow = {}, i
14581
14494
  writer.writeBooleanValue("isDemo", transactionTableRow.isDemo);
14582
14495
  writer.writeBooleanValue("isUsageReservation", transactionTableRow.isUsageReservation);
14583
14496
  writer.writeObjectValue("lead", transactionTableRow.lead, serializeTransactionTableRow_lead);
14584
- writer.writeNumberValue("netAmount", transactionTableRow.netAmount);
14585
14497
  writer.writeObjectValue("organization", transactionTableRow.organization, serializeTransactionTableRow_organization);
14586
14498
  writer.writeStringValue("paymentMethodDisplay", transactionTableRow.paymentMethodDisplay);
14587
14499
  writer.writeStringValue("pricingVersion", transactionTableRow.pricingVersion);
@@ -14847,6 +14759,7 @@ export function serializeUserNotificationPreferences(writer, userNotificationPre
14847
14759
  writer.writeBooleanValue("automationFailedSmsEnabled", userNotificationPreferences.automationFailedSmsEnabled);
14848
14760
  writer.writeBooleanValue("billingEmailEnabled", userNotificationPreferences.billingEmailEnabled);
14849
14761
  writer.writeBooleanValue("billingSmsEnabled", userNotificationPreferences.billingSmsEnabled);
14762
+ writer.writeBooleanValue("incomingMessageSoundEnabled", userNotificationPreferences.incomingMessageSoundEnabled);
14850
14763
  writer.writeBooleanValue("lowWalletBalanceEmailEnabled", userNotificationPreferences.lowWalletBalanceEmailEnabled);
14851
14764
  writer.writeBooleanValue("lowWalletBalanceEnabled", userNotificationPreferences.lowWalletBalanceEnabled);
14852
14765
  writer.writeBooleanValue("lowWalletBalanceSmsEnabled", userNotificationPreferences.lowWalletBalanceSmsEnabled);