@leadping/sdk 1.0.21 → 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 +245 -0
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +226 -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(); },
|
|
@@ -2987,6 +3028,7 @@ export function deserializeIntoBusinessResponse(businessResponse = {}) {
|
|
|
2987
3028
|
"phone": n => { businessResponse.phone = n.getStringValue(); },
|
|
2988
3029
|
"phones": n => { businessResponse.phones = n.getCollectionOfObjectValues(createIdNameValueFromDiscriminatorValue); },
|
|
2989
3030
|
"secondaryName": n => { businessResponse.secondaryName = n.getStringValue(); },
|
|
3031
|
+
"setupStatus": n => { businessResponse.setupStatus = n.getEnumValue(BusinessResponse_setupStatusObject); },
|
|
2990
3032
|
"setupStep": n => { businessResponse.setupStep = n.getEnumValue(BusinessResponse_setupStepObject); },
|
|
2991
3033
|
"site": n => { businessResponse.site = n.getObjectValue(createBusinessResponse_siteFromDiscriminatorValue); },
|
|
2992
3034
|
"status": n => { businessResponse.status = n.getEnumValue(BusinessResponse_statusObject); },
|
|
@@ -4196,6 +4238,38 @@ export function deserializeIntoLeadResponse_currentDisposition(leadResponse_curr
|
|
|
4196
4238
|
...deserializeIntoCurrentDispositionSummary(leadResponse_currentDisposition),
|
|
4197
4239
|
};
|
|
4198
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
|
+
}
|
|
4199
4273
|
/**
|
|
4200
4274
|
* The deserialization information for the current model
|
|
4201
4275
|
* @param LeadTableRow The instance to deserialize into.
|
|
@@ -5375,6 +5449,22 @@ export function deserializeIntoStreetAddress(streetAddress = {}) {
|
|
|
5375
5449
|
"state": n => { streetAddress.state = n.getStringValue(); },
|
|
5376
5450
|
};
|
|
5377
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
|
+
}
|
|
5378
5468
|
/**
|
|
5379
5469
|
* The deserialization information for the current model
|
|
5380
5470
|
* @param StripePaymentMethodResponse The instance to deserialize into.
|
|
@@ -5899,6 +5989,9 @@ export function deserializeIntoUserNotificationPreferences(userNotificationPrefe
|
|
|
5899
5989
|
"newLeadSmsEnabled": n => { userNotificationPreferences.newLeadSmsEnabled = n.getBooleanValue(); },
|
|
5900
5990
|
"paymentFailedEnabled": n => { userNotificationPreferences.paymentFailedEnabled = n.getBooleanValue(); },
|
|
5901
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(); },
|
|
5902
5995
|
"subscriptionRenewingEmailEnabled": n => { userNotificationPreferences.subscriptionRenewingEmailEnabled = n.getBooleanValue(); },
|
|
5903
5996
|
"subscriptionRenewingEnabled": n => { userNotificationPreferences.subscriptionRenewingEnabled = n.getBooleanValue(); },
|
|
5904
5997
|
"subscriptionRenewingSmsEnabled": n => { userNotificationPreferences.subscriptionRenewingSmsEnabled = n.getBooleanValue(); },
|
|
@@ -5909,6 +6002,17 @@ export function deserializeIntoUserNotificationPreferences(userNotificationPrefe
|
|
|
5909
6002
|
"usageLimitHitEnabled": n => { userNotificationPreferences.usageLimitHitEnabled = n.getBooleanValue(); },
|
|
5910
6003
|
};
|
|
5911
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
|
+
}
|
|
5912
6016
|
/**
|
|
5913
6017
|
* The deserialization information for the current model
|
|
5914
6018
|
* @param UserRequest The instance to deserialize into.
|
|
@@ -6838,6 +6942,7 @@ export function serializeBusinessBillingState(writer, businessBillingState = {},
|
|
|
6838
6942
|
if (!businessBillingState || isSerializingDerivedType) {
|
|
6839
6943
|
return;
|
|
6840
6944
|
}
|
|
6945
|
+
writer.writeDateValue("billingPlanChangeEffectiveAt", businessBillingState.billingPlanChangeEffectiveAt);
|
|
6841
6946
|
writer.writeObjectValue("businessUserAssignedQuantity", businessBillingState.businessUserAssignedQuantity);
|
|
6842
6947
|
writer.writeObjectValue("businessUserQuantity", businessBillingState.businessUserQuantity);
|
|
6843
6948
|
writer.writeDateValue("cancelAt", businessBillingState.cancelAt);
|
|
@@ -6846,7 +6951,9 @@ export function serializeBusinessBillingState(writer, businessBillingState = {},
|
|
|
6846
6951
|
writer.writeBooleanValue("hasStripeCustomer", businessBillingState.hasStripeCustomer);
|
|
6847
6952
|
writer.writeDateValue("lastPaymentMethodEventAt", businessBillingState.lastPaymentMethodEventAt);
|
|
6848
6953
|
writer.writeDateValue("lastSubscriptionEventAt", businessBillingState.lastSubscriptionEventAt);
|
|
6954
|
+
writer.writeEnumValue("pendingBillingPlan", businessBillingState.pendingBillingPlan);
|
|
6849
6955
|
writer.writeObjectValue("phoneNumberQuantity", businessBillingState.phoneNumberQuantity);
|
|
6956
|
+
writer.writeDateValue("planRenewalAt", businessBillingState.planRenewalAt);
|
|
6850
6957
|
writer.writeAdditionalData(businessBillingState.additionalData);
|
|
6851
6958
|
}
|
|
6852
6959
|
/**
|
|
@@ -6999,6 +7106,7 @@ export function serializeBusinessRequest(writer, businessRequest = {}, isSeriali
|
|
|
6999
7106
|
writer.writeObjectValue("autoRefillTrigger", businessRequest.autoRefillTrigger);
|
|
7000
7107
|
writer.writeObjectValue("billingAddress", businessRequest.billingAddress, serializeBusinessRequest_billingAddress);
|
|
7001
7108
|
writer.writeStringValue("billingName", businessRequest.billingName);
|
|
7109
|
+
writer.writeStringValue("billingTaxId", businessRequest.billingTaxId);
|
|
7002
7110
|
writer.writeObjectValue("compliancePolicy", businessRequest.compliancePolicy, serializeBusinessRequest_compliancePolicy);
|
|
7003
7111
|
writer.writeStringValue("description", businessRequest.description);
|
|
7004
7112
|
writer.writeStringValue("ein", businessRequest.ein);
|
|
@@ -7088,6 +7196,7 @@ export function serializeBusinessResponse(writer, businessResponse = {}, isSeria
|
|
|
7088
7196
|
writer.writeStringValue("billingName", businessResponse.billingName);
|
|
7089
7197
|
writer.writeEnumValue("billingPlan", businessResponse.billingPlan);
|
|
7090
7198
|
writer.writeObjectValue("billingState", businessResponse.billingState, serializeBusinessResponse_billingState);
|
|
7199
|
+
writer.writeStringValue("billingTaxId", businessResponse.billingTaxId);
|
|
7091
7200
|
writer.writeObjectValue("compliancePolicy", businessResponse.compliancePolicy, serializeBusinessResponse_compliancePolicy);
|
|
7092
7201
|
writer.writeDateValue("createdAt", businessResponse.createdAt);
|
|
7093
7202
|
writer.writeStringValue("description", businessResponse.description);
|
|
@@ -7101,6 +7210,7 @@ export function serializeBusinessResponse(writer, businessResponse = {}, isSeria
|
|
|
7101
7210
|
writer.writeStringValue("phone", businessResponse.phone);
|
|
7102
7211
|
writer.writeCollectionOfObjectValues("phones", businessResponse.phones, serializeIdNameValue);
|
|
7103
7212
|
writer.writeStringValue("secondaryName", businessResponse.secondaryName);
|
|
7213
|
+
writer.writeEnumValue("setupStatus", businessResponse.setupStatus);
|
|
7104
7214
|
writer.writeEnumValue("setupStep", businessResponse.setupStep);
|
|
7105
7215
|
writer.writeObjectValue("site", businessResponse.site, serializeBusinessResponse_site);
|
|
7106
7216
|
writer.writeEnumValue("status", businessResponse.status);
|
|
@@ -8495,6 +8605,44 @@ export function serializeLeadResponse_currentDisposition(writer, leadResponse_cu
|
|
|
8495
8605
|
}
|
|
8496
8606
|
serializeCurrentDispositionSummary(writer, leadResponse_currentDisposition, isSerializingDerivedType);
|
|
8497
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
|
+
}
|
|
8498
8646
|
/**
|
|
8499
8647
|
* Serializes information the current object
|
|
8500
8648
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -9872,6 +10020,25 @@ export function serializeStreetAddress(writer, streetAddress = {}, isSerializing
|
|
|
9872
10020
|
writer.writeStringValue("state", streetAddress.state);
|
|
9873
10021
|
writer.writeAdditionalData(streetAddress.additionalData);
|
|
9874
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
|
+
}
|
|
9875
10042
|
/**
|
|
9876
10043
|
* Serializes information the current object
|
|
9877
10044
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -10485,6 +10652,9 @@ export function serializeUserNotificationPreferences(writer, userNotificationPre
|
|
|
10485
10652
|
writer.writeBooleanValue("newLeadSmsEnabled", userNotificationPreferences.newLeadSmsEnabled);
|
|
10486
10653
|
writer.writeBooleanValue("paymentFailedEnabled", userNotificationPreferences.paymentFailedEnabled);
|
|
10487
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);
|
|
10488
10658
|
writer.writeBooleanValue("subscriptionRenewingEmailEnabled", userNotificationPreferences.subscriptionRenewingEmailEnabled);
|
|
10489
10659
|
writer.writeBooleanValue("subscriptionRenewingEnabled", userNotificationPreferences.subscriptionRenewingEnabled);
|
|
10490
10660
|
writer.writeBooleanValue("subscriptionRenewingSmsEnabled", userNotificationPreferences.subscriptionRenewingSmsEnabled);
|
|
@@ -10495,6 +10665,19 @@ export function serializeUserNotificationPreferences(writer, userNotificationPre
|
|
|
10495
10665
|
writer.writeBooleanValue("usageLimitHitEnabled", userNotificationPreferences.usageLimitHitEnabled);
|
|
10496
10666
|
writer.writeAdditionalData(userNotificationPreferences.additionalData);
|
|
10497
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
|
+
}
|
|
10498
10681
|
/**
|
|
10499
10682
|
* Serializes information the current object
|
|
10500
10683
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -10746,6 +10929,13 @@ export const BillingPlanObject = {
|
|
|
10746
10929
|
Annual: "Annual",
|
|
10747
10930
|
Monthly: "Monthly",
|
|
10748
10931
|
};
|
|
10932
|
+
/**
|
|
10933
|
+
* Defines the supported Billing Plan values.
|
|
10934
|
+
*/
|
|
10935
|
+
export const BusinessBillingState_pendingBillingPlanObject = {
|
|
10936
|
+
Annual: "Annual",
|
|
10937
|
+
Monthly: "Monthly",
|
|
10938
|
+
};
|
|
10749
10939
|
/**
|
|
10750
10940
|
* Defines the supported Business Invitation Status values.
|
|
10751
10941
|
*/
|
|
@@ -10772,6 +10962,20 @@ export const BusinessResponse_billingPlanObject = {
|
|
|
10772
10962
|
Annual: "Annual",
|
|
10773
10963
|
Monthly: "Monthly",
|
|
10774
10964
|
};
|
|
10965
|
+
/**
|
|
10966
|
+
* Defines the supported User Setup Status values.
|
|
10967
|
+
*/
|
|
10968
|
+
export const BusinessResponse_setupStatusObject = {
|
|
10969
|
+
Personal: "Personal",
|
|
10970
|
+
Business: "Business",
|
|
10971
|
+
Details: "Details",
|
|
10972
|
+
Compliance: "Compliance",
|
|
10973
|
+
Phone: "Phone",
|
|
10974
|
+
Plan: "Plan",
|
|
10975
|
+
Billing: "Billing",
|
|
10976
|
+
Review: "Review",
|
|
10977
|
+
Complete: "Complete",
|
|
10978
|
+
};
|
|
10775
10979
|
/**
|
|
10776
10980
|
* Defines the supported Business Setup Step values.
|
|
10777
10981
|
*/
|
|
@@ -11024,6 +11228,17 @@ export const CustomerActivationStatusObject = {
|
|
|
11024
11228
|
BlockedRequiresOperatorAction: "BlockedRequiresOperatorAction",
|
|
11025
11229
|
ManuallyBypassed: "ManuallyBypassed",
|
|
11026
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
|
+
};
|
|
11027
11242
|
/**
|
|
11028
11243
|
* Controlled disposition categories used for reporting, automation, and analytics.
|
|
11029
11244
|
*/
|
|
@@ -11260,6 +11475,17 @@ export const LeadProfile_maritalStatusObject = {
|
|
|
11260
11475
|
Separated: "Separated",
|
|
11261
11476
|
Divorced: "Divorced",
|
|
11262
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
|
+
};
|
|
11263
11489
|
/**
|
|
11264
11490
|
* Defines the supported Notification Priority values.
|
|
11265
11491
|
*/
|