@leadping/sdk 1.0.22 → 1.0.23
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/businesses/me/index.d.ts +16 -0
- package/dist/businesses/me/index.d.ts.map +1 -1
- package/dist/businesses/me/index.js +13 -0
- package/dist/businesses/me/index.js.map +1 -1
- package/dist/leadStatuses/index.d.ts +53 -0
- package/dist/leadStatuses/index.d.ts.map +1 -0
- package/dist/leadStatuses/index.js +43 -0
- package/dist/leadStatuses/index.js.map +1 -0
- package/dist/leadStatuses/item/index.d.ts +42 -0
- package/dist/leadStatuses/item/index.d.ts.map +1 -0
- package/dist/leadStatuses/item/index.js +32 -0
- package/dist/leadStatuses/item/index.js.map +1 -0
- package/dist/leadpingOpenApiClient.d.ts +5 -0
- package/dist/leadpingOpenApiClient.d.ts.map +1 -1
- package/dist/leadpingOpenApiClient.js +6 -0
- package/dist/leadpingOpenApiClient.js.map +1 -1
- package/dist/models/index.d.ts +226 -0
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +210 -0
- package/dist/models/index.js.map +1 -1
- package/dist/paymentMethods/index.d.ts +5 -0
- package/dist/paymentMethods/index.d.ts.map +1 -1
- package/dist/paymentMethods/index.js +5 -0
- package/dist/paymentMethods/index.js.map +1 -1
- package/dist/paymentMethods/invoices/index.d.ts +28 -0
- package/dist/paymentMethods/invoices/index.d.ts.map +1 -0
- package/dist/paymentMethods/invoices/index.js +23 -0
- package/dist/paymentMethods/invoices/index.js.map +1 -0
- package/package.json +1 -1
package/dist/models/index.js
CHANGED
|
@@ -1074,6 +1074,24 @@ export function createLeadResponse_currentDispositionFromDiscriminatorValue(pars
|
|
|
1074
1074
|
export function createLeadResponseFromDiscriminatorValue(parseNode) {
|
|
1075
1075
|
return deserializeIntoLeadResponse;
|
|
1076
1076
|
}
|
|
1077
|
+
/**
|
|
1078
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
1079
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
1080
|
+
* @returns {LeadStatusRequest}
|
|
1081
|
+
*/
|
|
1082
|
+
// @ts-ignore
|
|
1083
|
+
export function createLeadStatusRequestFromDiscriminatorValue(parseNode) {
|
|
1084
|
+
return deserializeIntoLeadStatusRequest;
|
|
1085
|
+
}
|
|
1086
|
+
/**
|
|
1087
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
1088
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
1089
|
+
* @returns {LeadStatusResponse}
|
|
1090
|
+
*/
|
|
1091
|
+
// @ts-ignore
|
|
1092
|
+
export function createLeadStatusResponseFromDiscriminatorValue(parseNode) {
|
|
1093
|
+
return deserializeIntoLeadStatusResponse;
|
|
1094
|
+
}
|
|
1077
1095
|
/**
|
|
1078
1096
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
1079
1097
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -1722,6 +1740,15 @@ export function createSourceTableRowFromDiscriminatorValue(parseNode) {
|
|
|
1722
1740
|
export function createStreetAddressFromDiscriminatorValue(parseNode) {
|
|
1723
1741
|
return deserializeIntoStreetAddress;
|
|
1724
1742
|
}
|
|
1743
|
+
/**
|
|
1744
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
1745
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
1746
|
+
* @returns {StripeInvoiceResponse}
|
|
1747
|
+
*/
|
|
1748
|
+
// @ts-ignore
|
|
1749
|
+
export function createStripeInvoiceResponseFromDiscriminatorValue(parseNode) {
|
|
1750
|
+
return deserializeIntoStripeInvoiceResponse;
|
|
1751
|
+
}
|
|
1725
1752
|
/**
|
|
1726
1753
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
1727
1754
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -2001,6 +2028,15 @@ export function createUserDataExportResponseFromDiscriminatorValue(parseNode) {
|
|
|
2001
2028
|
export function createUserIdentityFromDiscriminatorValue(parseNode) {
|
|
2002
2029
|
return deserializeIntoUserIdentity;
|
|
2003
2030
|
}
|
|
2031
|
+
/**
|
|
2032
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
2033
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
2034
|
+
* @returns {UserNotificationPreferences_smsConsentTrustedFormCertificate}
|
|
2035
|
+
*/
|
|
2036
|
+
// @ts-ignore
|
|
2037
|
+
export function createUserNotificationPreferences_smsConsentTrustedFormCertificateFromDiscriminatorValue(parseNode) {
|
|
2038
|
+
return deserializeIntoUserNotificationPreferences_smsConsentTrustedFormCertificate;
|
|
2039
|
+
}
|
|
2004
2040
|
/**
|
|
2005
2041
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
2006
2042
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -2755,6 +2791,7 @@ export function deserializeIntoBusinessActivationState_tenDlcDraft(businessActiv
|
|
|
2755
2791
|
// @ts-ignore
|
|
2756
2792
|
export function deserializeIntoBusinessBillingState(businessBillingState = {}) {
|
|
2757
2793
|
return {
|
|
2794
|
+
"billingPlanChangeEffectiveAt": n => { businessBillingState.billingPlanChangeEffectiveAt = n.getDateValue(); },
|
|
2758
2795
|
"businessUserAssignedQuantity": n => { businessBillingState.businessUserAssignedQuantity = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
|
|
2759
2796
|
"businessUserQuantity": n => { businessBillingState.businessUserQuantity = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
|
|
2760
2797
|
"cancelAt": n => { businessBillingState.cancelAt = n.getDateValue(); },
|
|
@@ -2763,7 +2800,9 @@ export function deserializeIntoBusinessBillingState(businessBillingState = {}) {
|
|
|
2763
2800
|
"hasStripeCustomer": n => { businessBillingState.hasStripeCustomer = n.getBooleanValue(); },
|
|
2764
2801
|
"lastPaymentMethodEventAt": n => { businessBillingState.lastPaymentMethodEventAt = n.getDateValue(); },
|
|
2765
2802
|
"lastSubscriptionEventAt": n => { businessBillingState.lastSubscriptionEventAt = n.getDateValue(); },
|
|
2803
|
+
"pendingBillingPlan": n => { businessBillingState.pendingBillingPlan = n.getEnumValue(BusinessBillingState_pendingBillingPlanObject); },
|
|
2766
2804
|
"phoneNumberQuantity": n => { businessBillingState.phoneNumberQuantity = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
|
|
2805
|
+
"planRenewalAt": n => { businessBillingState.planRenewalAt = n.getDateValue(); },
|
|
2767
2806
|
};
|
|
2768
2807
|
}
|
|
2769
2808
|
/**
|
|
@@ -2896,6 +2935,7 @@ export function deserializeIntoBusinessRequest(businessRequest = {}) {
|
|
|
2896
2935
|
"autoRefillTrigger": n => { businessRequest.autoRefillTrigger = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
|
|
2897
2936
|
"billingAddress": n => { businessRequest.billingAddress = n.getObjectValue(createBusinessRequest_billingAddressFromDiscriminatorValue); },
|
|
2898
2937
|
"billingName": n => { businessRequest.billingName = n.getStringValue(); },
|
|
2938
|
+
"billingTaxId": n => { businessRequest.billingTaxId = n.getStringValue(); },
|
|
2899
2939
|
"compliancePolicy": n => { businessRequest.compliancePolicy = n.getObjectValue(createBusinessRequest_compliancePolicyFromDiscriminatorValue); },
|
|
2900
2940
|
"description": n => { businessRequest.description = n.getStringValue(); },
|
|
2901
2941
|
"ein": n => { businessRequest.ein = n.getStringValue(); },
|
|
@@ -2974,6 +3014,7 @@ export function deserializeIntoBusinessResponse(businessResponse = {}) {
|
|
|
2974
3014
|
"billingName": n => { businessResponse.billingName = n.getStringValue(); },
|
|
2975
3015
|
"billingPlan": n => { businessResponse.billingPlan = n.getEnumValue(BusinessResponse_billingPlanObject); },
|
|
2976
3016
|
"billingState": n => { businessResponse.billingState = n.getObjectValue(createBusinessResponse_billingStateFromDiscriminatorValue); },
|
|
3017
|
+
"billingTaxId": n => { businessResponse.billingTaxId = n.getStringValue(); },
|
|
2977
3018
|
"compliancePolicy": n => { businessResponse.compliancePolicy = n.getObjectValue(createBusinessResponse_compliancePolicyFromDiscriminatorValue); },
|
|
2978
3019
|
"createdAt": n => { businessResponse.createdAt = n.getDateValue(); },
|
|
2979
3020
|
"description": n => { businessResponse.description = n.getStringValue(); },
|
|
@@ -4197,6 +4238,38 @@ export function deserializeIntoLeadResponse_currentDisposition(leadResponse_curr
|
|
|
4197
4238
|
...deserializeIntoCurrentDispositionSummary(leadResponse_currentDisposition),
|
|
4198
4239
|
};
|
|
4199
4240
|
}
|
|
4241
|
+
/**
|
|
4242
|
+
* The deserialization information for the current model
|
|
4243
|
+
* @param LeadStatusRequest The instance to deserialize into.
|
|
4244
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
4245
|
+
*/
|
|
4246
|
+
// @ts-ignore
|
|
4247
|
+
export function deserializeIntoLeadStatusRequest(leadStatusRequest = {}) {
|
|
4248
|
+
return {
|
|
4249
|
+
"category": n => { leadStatusRequest.category = n.getEnumValue(LeadStatusRequest_categoryObject); },
|
|
4250
|
+
"color": n => { leadStatusRequest.color = n.getStringValue(); },
|
|
4251
|
+
"name": n => { leadStatusRequest.name = n.getStringValue(); },
|
|
4252
|
+
"sortOrder": n => { leadStatusRequest.sortOrder = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
|
|
4253
|
+
};
|
|
4254
|
+
}
|
|
4255
|
+
/**
|
|
4256
|
+
* The deserialization information for the current model
|
|
4257
|
+
* @param LeadStatusResponse The instance to deserialize into.
|
|
4258
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
4259
|
+
*/
|
|
4260
|
+
// @ts-ignore
|
|
4261
|
+
export function deserializeIntoLeadStatusResponse(leadStatusResponse = {}) {
|
|
4262
|
+
return {
|
|
4263
|
+
"businessId": n => { leadStatusResponse.businessId = n.getStringValue(); },
|
|
4264
|
+
"category": n => { leadStatusResponse.category = n.getEnumValue(DispositionCategoryObject); },
|
|
4265
|
+
"color": n => { leadStatusResponse.color = n.getStringValue(); },
|
|
4266
|
+
"id": n => { leadStatusResponse.id = n.getStringValue(); },
|
|
4267
|
+
"isArchived": n => { leadStatusResponse.isArchived = n.getBooleanValue(); },
|
|
4268
|
+
"modifiedAt": n => { leadStatusResponse.modifiedAt = n.getDateValue(); },
|
|
4269
|
+
"name": n => { leadStatusResponse.name = n.getStringValue(); },
|
|
4270
|
+
"sortOrder": n => { leadStatusResponse.sortOrder = n.getNumberValue(); },
|
|
4271
|
+
};
|
|
4272
|
+
}
|
|
4200
4273
|
/**
|
|
4201
4274
|
* The deserialization information for the current model
|
|
4202
4275
|
* @param LeadTableRow The instance to deserialize into.
|
|
@@ -5376,6 +5449,22 @@ export function deserializeIntoStreetAddress(streetAddress = {}) {
|
|
|
5376
5449
|
"state": n => { streetAddress.state = n.getStringValue(); },
|
|
5377
5450
|
};
|
|
5378
5451
|
}
|
|
5452
|
+
/**
|
|
5453
|
+
* The deserialization information for the current model
|
|
5454
|
+
* @param StripeInvoiceResponse The instance to deserialize into.
|
|
5455
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
5456
|
+
*/
|
|
5457
|
+
// @ts-ignore
|
|
5458
|
+
export function deserializeIntoStripeInvoiceResponse(stripeInvoiceResponse = {}) {
|
|
5459
|
+
return {
|
|
5460
|
+
"amount": n => { stripeInvoiceResponse.amount = n.getNumberValue(); },
|
|
5461
|
+
"createdAt": n => { stripeInvoiceResponse.createdAt = n.getDateValue(); },
|
|
5462
|
+
"hostedInvoiceUrl": n => { stripeInvoiceResponse.hostedInvoiceUrl = n.getStringValue(); },
|
|
5463
|
+
"id": n => { stripeInvoiceResponse.id = n.getStringValue(); },
|
|
5464
|
+
"number": n => { stripeInvoiceResponse.number = n.getStringValue(); },
|
|
5465
|
+
"status": n => { stripeInvoiceResponse.status = n.getStringValue(); },
|
|
5466
|
+
};
|
|
5467
|
+
}
|
|
5379
5468
|
/**
|
|
5380
5469
|
* The deserialization information for the current model
|
|
5381
5470
|
* @param StripePaymentMethodResponse The instance to deserialize into.
|
|
@@ -5900,6 +5989,9 @@ export function deserializeIntoUserNotificationPreferences(userNotificationPrefe
|
|
|
5900
5989
|
"newLeadSmsEnabled": n => { userNotificationPreferences.newLeadSmsEnabled = n.getBooleanValue(); },
|
|
5901
5990
|
"paymentFailedEnabled": n => { userNotificationPreferences.paymentFailedEnabled = n.getBooleanValue(); },
|
|
5902
5991
|
"paymentFailedSmsEnabled": n => { userNotificationPreferences.paymentFailedSmsEnabled = n.getBooleanValue(); },
|
|
5992
|
+
"smsConsentOptedIn": n => { userNotificationPreferences.smsConsentOptedIn = n.getBooleanValue(); },
|
|
5993
|
+
"smsConsentTrustedFormCertificate": n => { userNotificationPreferences.smsConsentTrustedFormCertificate = n.getObjectValue(createUserNotificationPreferences_smsConsentTrustedFormCertificateFromDiscriminatorValue); },
|
|
5994
|
+
"smsConsentUpdatedAt": n => { userNotificationPreferences.smsConsentUpdatedAt = n.getDateValue(); },
|
|
5903
5995
|
"subscriptionRenewingEmailEnabled": n => { userNotificationPreferences.subscriptionRenewingEmailEnabled = n.getBooleanValue(); },
|
|
5904
5996
|
"subscriptionRenewingEnabled": n => { userNotificationPreferences.subscriptionRenewingEnabled = n.getBooleanValue(); },
|
|
5905
5997
|
"subscriptionRenewingSmsEnabled": n => { userNotificationPreferences.subscriptionRenewingSmsEnabled = n.getBooleanValue(); },
|
|
@@ -5910,6 +6002,17 @@ export function deserializeIntoUserNotificationPreferences(userNotificationPrefe
|
|
|
5910
6002
|
"usageLimitHitEnabled": n => { userNotificationPreferences.usageLimitHitEnabled = n.getBooleanValue(); },
|
|
5911
6003
|
};
|
|
5912
6004
|
}
|
|
6005
|
+
/**
|
|
6006
|
+
* The deserialization information for the current model
|
|
6007
|
+
* @param UserNotificationPreferences_smsConsentTrustedFormCertificate The instance to deserialize into.
|
|
6008
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
6009
|
+
*/
|
|
6010
|
+
// @ts-ignore
|
|
6011
|
+
export function deserializeIntoUserNotificationPreferences_smsConsentTrustedFormCertificate(userNotificationPreferences_smsConsentTrustedFormCertificate = {}) {
|
|
6012
|
+
return {
|
|
6013
|
+
...deserializeIntoTrustedFormCertificate(userNotificationPreferences_smsConsentTrustedFormCertificate),
|
|
6014
|
+
};
|
|
6015
|
+
}
|
|
5913
6016
|
/**
|
|
5914
6017
|
* The deserialization information for the current model
|
|
5915
6018
|
* @param UserRequest The instance to deserialize into.
|
|
@@ -6839,6 +6942,7 @@ export function serializeBusinessBillingState(writer, businessBillingState = {},
|
|
|
6839
6942
|
if (!businessBillingState || isSerializingDerivedType) {
|
|
6840
6943
|
return;
|
|
6841
6944
|
}
|
|
6945
|
+
writer.writeDateValue("billingPlanChangeEffectiveAt", businessBillingState.billingPlanChangeEffectiveAt);
|
|
6842
6946
|
writer.writeObjectValue("businessUserAssignedQuantity", businessBillingState.businessUserAssignedQuantity);
|
|
6843
6947
|
writer.writeObjectValue("businessUserQuantity", businessBillingState.businessUserQuantity);
|
|
6844
6948
|
writer.writeDateValue("cancelAt", businessBillingState.cancelAt);
|
|
@@ -6847,7 +6951,9 @@ export function serializeBusinessBillingState(writer, businessBillingState = {},
|
|
|
6847
6951
|
writer.writeBooleanValue("hasStripeCustomer", businessBillingState.hasStripeCustomer);
|
|
6848
6952
|
writer.writeDateValue("lastPaymentMethodEventAt", businessBillingState.lastPaymentMethodEventAt);
|
|
6849
6953
|
writer.writeDateValue("lastSubscriptionEventAt", businessBillingState.lastSubscriptionEventAt);
|
|
6954
|
+
writer.writeEnumValue("pendingBillingPlan", businessBillingState.pendingBillingPlan);
|
|
6850
6955
|
writer.writeObjectValue("phoneNumberQuantity", businessBillingState.phoneNumberQuantity);
|
|
6956
|
+
writer.writeDateValue("planRenewalAt", businessBillingState.planRenewalAt);
|
|
6851
6957
|
writer.writeAdditionalData(businessBillingState.additionalData);
|
|
6852
6958
|
}
|
|
6853
6959
|
/**
|
|
@@ -7000,6 +7106,7 @@ export function serializeBusinessRequest(writer, businessRequest = {}, isSeriali
|
|
|
7000
7106
|
writer.writeObjectValue("autoRefillTrigger", businessRequest.autoRefillTrigger);
|
|
7001
7107
|
writer.writeObjectValue("billingAddress", businessRequest.billingAddress, serializeBusinessRequest_billingAddress);
|
|
7002
7108
|
writer.writeStringValue("billingName", businessRequest.billingName);
|
|
7109
|
+
writer.writeStringValue("billingTaxId", businessRequest.billingTaxId);
|
|
7003
7110
|
writer.writeObjectValue("compliancePolicy", businessRequest.compliancePolicy, serializeBusinessRequest_compliancePolicy);
|
|
7004
7111
|
writer.writeStringValue("description", businessRequest.description);
|
|
7005
7112
|
writer.writeStringValue("ein", businessRequest.ein);
|
|
@@ -7089,6 +7196,7 @@ export function serializeBusinessResponse(writer, businessResponse = {}, isSeria
|
|
|
7089
7196
|
writer.writeStringValue("billingName", businessResponse.billingName);
|
|
7090
7197
|
writer.writeEnumValue("billingPlan", businessResponse.billingPlan);
|
|
7091
7198
|
writer.writeObjectValue("billingState", businessResponse.billingState, serializeBusinessResponse_billingState);
|
|
7199
|
+
writer.writeStringValue("billingTaxId", businessResponse.billingTaxId);
|
|
7092
7200
|
writer.writeObjectValue("compliancePolicy", businessResponse.compliancePolicy, serializeBusinessResponse_compliancePolicy);
|
|
7093
7201
|
writer.writeDateValue("createdAt", businessResponse.createdAt);
|
|
7094
7202
|
writer.writeStringValue("description", businessResponse.description);
|
|
@@ -8497,6 +8605,44 @@ export function serializeLeadResponse_currentDisposition(writer, leadResponse_cu
|
|
|
8497
8605
|
}
|
|
8498
8606
|
serializeCurrentDispositionSummary(writer, leadResponse_currentDisposition, isSerializingDerivedType);
|
|
8499
8607
|
}
|
|
8608
|
+
/**
|
|
8609
|
+
* Serializes information the current object
|
|
8610
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
8611
|
+
* @param LeadStatusRequest The instance to serialize from.
|
|
8612
|
+
* @param writer Serialization writer to use to serialize this model
|
|
8613
|
+
*/
|
|
8614
|
+
// @ts-ignore
|
|
8615
|
+
export function serializeLeadStatusRequest(writer, leadStatusRequest = {}, isSerializingDerivedType = false) {
|
|
8616
|
+
if (!leadStatusRequest || isSerializingDerivedType) {
|
|
8617
|
+
return;
|
|
8618
|
+
}
|
|
8619
|
+
writer.writeEnumValue("category", leadStatusRequest.category);
|
|
8620
|
+
writer.writeStringValue("color", leadStatusRequest.color);
|
|
8621
|
+
writer.writeStringValue("name", leadStatusRequest.name);
|
|
8622
|
+
writer.writeObjectValue("sortOrder", leadStatusRequest.sortOrder);
|
|
8623
|
+
writer.writeAdditionalData(leadStatusRequest.additionalData);
|
|
8624
|
+
}
|
|
8625
|
+
/**
|
|
8626
|
+
* Serializes information the current object
|
|
8627
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
8628
|
+
* @param LeadStatusResponse The instance to serialize from.
|
|
8629
|
+
* @param writer Serialization writer to use to serialize this model
|
|
8630
|
+
*/
|
|
8631
|
+
// @ts-ignore
|
|
8632
|
+
export function serializeLeadStatusResponse(writer, leadStatusResponse = {}, isSerializingDerivedType = false) {
|
|
8633
|
+
if (!leadStatusResponse || isSerializingDerivedType) {
|
|
8634
|
+
return;
|
|
8635
|
+
}
|
|
8636
|
+
writer.writeStringValue("businessId", leadStatusResponse.businessId);
|
|
8637
|
+
writer.writeEnumValue("category", leadStatusResponse.category);
|
|
8638
|
+
writer.writeStringValue("color", leadStatusResponse.color);
|
|
8639
|
+
writer.writeStringValue("id", leadStatusResponse.id);
|
|
8640
|
+
writer.writeBooleanValue("isArchived", leadStatusResponse.isArchived);
|
|
8641
|
+
writer.writeDateValue("modifiedAt", leadStatusResponse.modifiedAt);
|
|
8642
|
+
writer.writeStringValue("name", leadStatusResponse.name);
|
|
8643
|
+
writer.writeNumberValue("sortOrder", leadStatusResponse.sortOrder);
|
|
8644
|
+
writer.writeAdditionalData(leadStatusResponse.additionalData);
|
|
8645
|
+
}
|
|
8500
8646
|
/**
|
|
8501
8647
|
* Serializes information the current object
|
|
8502
8648
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -9874,6 +10020,25 @@ export function serializeStreetAddress(writer, streetAddress = {}, isSerializing
|
|
|
9874
10020
|
writer.writeStringValue("state", streetAddress.state);
|
|
9875
10021
|
writer.writeAdditionalData(streetAddress.additionalData);
|
|
9876
10022
|
}
|
|
10023
|
+
/**
|
|
10024
|
+
* Serializes information the current object
|
|
10025
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
10026
|
+
* @param StripeInvoiceResponse The instance to serialize from.
|
|
10027
|
+
* @param writer Serialization writer to use to serialize this model
|
|
10028
|
+
*/
|
|
10029
|
+
// @ts-ignore
|
|
10030
|
+
export function serializeStripeInvoiceResponse(writer, stripeInvoiceResponse = {}, isSerializingDerivedType = false) {
|
|
10031
|
+
if (!stripeInvoiceResponse || isSerializingDerivedType) {
|
|
10032
|
+
return;
|
|
10033
|
+
}
|
|
10034
|
+
writer.writeNumberValue("amount", stripeInvoiceResponse.amount);
|
|
10035
|
+
writer.writeDateValue("createdAt", stripeInvoiceResponse.createdAt);
|
|
10036
|
+
writer.writeStringValue("hostedInvoiceUrl", stripeInvoiceResponse.hostedInvoiceUrl);
|
|
10037
|
+
writer.writeStringValue("id", stripeInvoiceResponse.id);
|
|
10038
|
+
writer.writeStringValue("number", stripeInvoiceResponse.number);
|
|
10039
|
+
writer.writeStringValue("status", stripeInvoiceResponse.status);
|
|
10040
|
+
writer.writeAdditionalData(stripeInvoiceResponse.additionalData);
|
|
10041
|
+
}
|
|
9877
10042
|
/**
|
|
9878
10043
|
* Serializes information the current object
|
|
9879
10044
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -10487,6 +10652,9 @@ export function serializeUserNotificationPreferences(writer, userNotificationPre
|
|
|
10487
10652
|
writer.writeBooleanValue("newLeadSmsEnabled", userNotificationPreferences.newLeadSmsEnabled);
|
|
10488
10653
|
writer.writeBooleanValue("paymentFailedEnabled", userNotificationPreferences.paymentFailedEnabled);
|
|
10489
10654
|
writer.writeBooleanValue("paymentFailedSmsEnabled", userNotificationPreferences.paymentFailedSmsEnabled);
|
|
10655
|
+
writer.writeBooleanValue("smsConsentOptedIn", userNotificationPreferences.smsConsentOptedIn);
|
|
10656
|
+
writer.writeObjectValue("smsConsentTrustedFormCertificate", userNotificationPreferences.smsConsentTrustedFormCertificate, serializeUserNotificationPreferences_smsConsentTrustedFormCertificate);
|
|
10657
|
+
writer.writeDateValue("smsConsentUpdatedAt", userNotificationPreferences.smsConsentUpdatedAt);
|
|
10490
10658
|
writer.writeBooleanValue("subscriptionRenewingEmailEnabled", userNotificationPreferences.subscriptionRenewingEmailEnabled);
|
|
10491
10659
|
writer.writeBooleanValue("subscriptionRenewingEnabled", userNotificationPreferences.subscriptionRenewingEnabled);
|
|
10492
10660
|
writer.writeBooleanValue("subscriptionRenewingSmsEnabled", userNotificationPreferences.subscriptionRenewingSmsEnabled);
|
|
@@ -10497,6 +10665,19 @@ export function serializeUserNotificationPreferences(writer, userNotificationPre
|
|
|
10497
10665
|
writer.writeBooleanValue("usageLimitHitEnabled", userNotificationPreferences.usageLimitHitEnabled);
|
|
10498
10666
|
writer.writeAdditionalData(userNotificationPreferences.additionalData);
|
|
10499
10667
|
}
|
|
10668
|
+
/**
|
|
10669
|
+
* Serializes information the current object
|
|
10670
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
10671
|
+
* @param UserNotificationPreferences_smsConsentTrustedFormCertificate The instance to serialize from.
|
|
10672
|
+
* @param writer Serialization writer to use to serialize this model
|
|
10673
|
+
*/
|
|
10674
|
+
// @ts-ignore
|
|
10675
|
+
export function serializeUserNotificationPreferences_smsConsentTrustedFormCertificate(writer, userNotificationPreferences_smsConsentTrustedFormCertificate = {}, isSerializingDerivedType = false) {
|
|
10676
|
+
if (!userNotificationPreferences_smsConsentTrustedFormCertificate || isSerializingDerivedType) {
|
|
10677
|
+
return;
|
|
10678
|
+
}
|
|
10679
|
+
serializeTrustedFormCertificate(writer, userNotificationPreferences_smsConsentTrustedFormCertificate, isSerializingDerivedType);
|
|
10680
|
+
}
|
|
10500
10681
|
/**
|
|
10501
10682
|
* Serializes information the current object
|
|
10502
10683
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -10748,6 +10929,13 @@ export const BillingPlanObject = {
|
|
|
10748
10929
|
Annual: "Annual",
|
|
10749
10930
|
Monthly: "Monthly",
|
|
10750
10931
|
};
|
|
10932
|
+
/**
|
|
10933
|
+
* Defines the supported Billing Plan values.
|
|
10934
|
+
*/
|
|
10935
|
+
export const BusinessBillingState_pendingBillingPlanObject = {
|
|
10936
|
+
Annual: "Annual",
|
|
10937
|
+
Monthly: "Monthly",
|
|
10938
|
+
};
|
|
10751
10939
|
/**
|
|
10752
10940
|
* Defines the supported Business Invitation Status values.
|
|
10753
10941
|
*/
|
|
@@ -11040,6 +11228,17 @@ export const CustomerActivationStatusObject = {
|
|
|
11040
11228
|
BlockedRequiresOperatorAction: "BlockedRequiresOperatorAction",
|
|
11041
11229
|
ManuallyBypassed: "ManuallyBypassed",
|
|
11042
11230
|
};
|
|
11231
|
+
/**
|
|
11232
|
+
* Controlled disposition categories used for reporting, automation, and analytics.
|
|
11233
|
+
*/
|
|
11234
|
+
export const DispositionCategoryObject = {
|
|
11235
|
+
Open: "Open",
|
|
11236
|
+
Qualified: "Qualified",
|
|
11237
|
+
Converted: "Converted",
|
|
11238
|
+
Lost: "Lost",
|
|
11239
|
+
Invalid: "Invalid",
|
|
11240
|
+
Duplicate: "Duplicate",
|
|
11241
|
+
};
|
|
11043
11242
|
/**
|
|
11044
11243
|
* Controlled disposition categories used for reporting, automation, and analytics.
|
|
11045
11244
|
*/
|
|
@@ -11276,6 +11475,17 @@ export const LeadProfile_maritalStatusObject = {
|
|
|
11276
11475
|
Separated: "Separated",
|
|
11277
11476
|
Divorced: "Divorced",
|
|
11278
11477
|
};
|
|
11478
|
+
/**
|
|
11479
|
+
* Controlled disposition categories used for reporting, automation, and analytics.
|
|
11480
|
+
*/
|
|
11481
|
+
export const LeadStatusRequest_categoryObject = {
|
|
11482
|
+
Open: "Open",
|
|
11483
|
+
Qualified: "Qualified",
|
|
11484
|
+
Converted: "Converted",
|
|
11485
|
+
Lost: "Lost",
|
|
11486
|
+
Invalid: "Invalid",
|
|
11487
|
+
Duplicate: "Duplicate",
|
|
11488
|
+
};
|
|
11279
11489
|
/**
|
|
11280
11490
|
* Defines the supported Notification Priority values.
|
|
11281
11491
|
*/
|