@leadping/sdk 1.0.20 → 1.0.22
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 +271 -9
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +221 -0
- package/dist/models/index.js.map +1 -1
- package/package.json +1 -1
package/dist/models/index.js
CHANGED
|
@@ -354,6 +354,24 @@ export function createBusinessActivationState_tenDlcDraftFromDiscriminatorValue(
|
|
|
354
354
|
export function createBusinessActivationStateFromDiscriminatorValue(parseNode) {
|
|
355
355
|
return deserializeIntoBusinessActivationState;
|
|
356
356
|
}
|
|
357
|
+
/**
|
|
358
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
359
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
360
|
+
* @returns {BusinessBillingState_dunning}
|
|
361
|
+
*/
|
|
362
|
+
// @ts-ignore
|
|
363
|
+
export function createBusinessBillingState_dunningFromDiscriminatorValue(parseNode) {
|
|
364
|
+
return deserializeIntoBusinessBillingState_dunning;
|
|
365
|
+
}
|
|
366
|
+
/**
|
|
367
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
368
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
369
|
+
* @returns {BusinessBillingState}
|
|
370
|
+
*/
|
|
371
|
+
// @ts-ignore
|
|
372
|
+
export function createBusinessBillingStateFromDiscriminatorValue(parseNode) {
|
|
373
|
+
return deserializeIntoBusinessBillingState;
|
|
374
|
+
}
|
|
357
375
|
/**
|
|
358
376
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
359
377
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -363,6 +381,15 @@ export function createBusinessActivationStateFromDiscriminatorValue(parseNode) {
|
|
|
363
381
|
export function createBusinessCompliancePolicyFromDiscriminatorValue(parseNode) {
|
|
364
382
|
return deserializeIntoBusinessCompliancePolicy;
|
|
365
383
|
}
|
|
384
|
+
/**
|
|
385
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
386
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
387
|
+
* @returns {BusinessDunningInfo}
|
|
388
|
+
*/
|
|
389
|
+
// @ts-ignore
|
|
390
|
+
export function createBusinessDunningInfoFromDiscriminatorValue(parseNode) {
|
|
391
|
+
return deserializeIntoBusinessDunningInfo;
|
|
392
|
+
}
|
|
366
393
|
/**
|
|
367
394
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
368
395
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -462,6 +489,15 @@ export function createBusinessResponse_addressFromDiscriminatorValue(parseNode)
|
|
|
462
489
|
export function createBusinessResponse_billingAddressFromDiscriminatorValue(parseNode) {
|
|
463
490
|
return deserializeIntoBusinessResponse_billingAddress;
|
|
464
491
|
}
|
|
492
|
+
/**
|
|
493
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
494
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
495
|
+
* @returns {BusinessResponse_billingState}
|
|
496
|
+
*/
|
|
497
|
+
// @ts-ignore
|
|
498
|
+
export function createBusinessResponse_billingStateFromDiscriminatorValue(parseNode) {
|
|
499
|
+
return deserializeIntoBusinessResponse_billingState;
|
|
500
|
+
}
|
|
465
501
|
/**
|
|
466
502
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
467
503
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -2010,6 +2046,15 @@ export function createUserRequest_notificationPreferencesFromDiscriminatorValue(
|
|
|
2010
2046
|
export function createUserRequestFromDiscriminatorValue(parseNode) {
|
|
2011
2047
|
return deserializeIntoUserRequest;
|
|
2012
2048
|
}
|
|
2049
|
+
/**
|
|
2050
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
2051
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
2052
|
+
* @returns {UserResponse_billingState}
|
|
2053
|
+
*/
|
|
2054
|
+
// @ts-ignore
|
|
2055
|
+
export function createUserResponse_billingStateFromDiscriminatorValue(parseNode) {
|
|
2056
|
+
return deserializeIntoUserResponse_billingState;
|
|
2057
|
+
}
|
|
2013
2058
|
/**
|
|
2014
2059
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
2015
2060
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -2702,6 +2747,36 @@ export function deserializeIntoBusinessActivationState_tenDlcDraft(businessActiv
|
|
|
2702
2747
|
...deserializeIntoTenDlcApplicationDraft(businessActivationState_tenDlcDraft),
|
|
2703
2748
|
};
|
|
2704
2749
|
}
|
|
2750
|
+
/**
|
|
2751
|
+
* The deserialization information for the current model
|
|
2752
|
+
* @param BusinessBillingState The instance to deserialize into.
|
|
2753
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
2754
|
+
*/
|
|
2755
|
+
// @ts-ignore
|
|
2756
|
+
export function deserializeIntoBusinessBillingState(businessBillingState = {}) {
|
|
2757
|
+
return {
|
|
2758
|
+
"businessUserAssignedQuantity": n => { businessBillingState.businessUserAssignedQuantity = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
|
|
2759
|
+
"businessUserQuantity": n => { businessBillingState.businessUserQuantity = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
|
|
2760
|
+
"cancelAt": n => { businessBillingState.cancelAt = n.getDateValue(); },
|
|
2761
|
+
"dunning": n => { businessBillingState.dunning = n.getObjectValue(createBusinessBillingState_dunningFromDiscriminatorValue); },
|
|
2762
|
+
"hasPaymentMethod": n => { businessBillingState.hasPaymentMethod = n.getBooleanValue(); },
|
|
2763
|
+
"hasStripeCustomer": n => { businessBillingState.hasStripeCustomer = n.getBooleanValue(); },
|
|
2764
|
+
"lastPaymentMethodEventAt": n => { businessBillingState.lastPaymentMethodEventAt = n.getDateValue(); },
|
|
2765
|
+
"lastSubscriptionEventAt": n => { businessBillingState.lastSubscriptionEventAt = n.getDateValue(); },
|
|
2766
|
+
"phoneNumberQuantity": n => { businessBillingState.phoneNumberQuantity = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
|
|
2767
|
+
};
|
|
2768
|
+
}
|
|
2769
|
+
/**
|
|
2770
|
+
* The deserialization information for the current model
|
|
2771
|
+
* @param BusinessBillingState_dunning The instance to deserialize into.
|
|
2772
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
2773
|
+
*/
|
|
2774
|
+
// @ts-ignore
|
|
2775
|
+
export function deserializeIntoBusinessBillingState_dunning(businessBillingState_dunning = {}) {
|
|
2776
|
+
return {
|
|
2777
|
+
...deserializeIntoBusinessDunningInfo(businessBillingState_dunning),
|
|
2778
|
+
};
|
|
2779
|
+
}
|
|
2705
2780
|
/**
|
|
2706
2781
|
* The deserialization information for the current model
|
|
2707
2782
|
* @param BusinessCompliancePolicy The instance to deserialize into.
|
|
@@ -2720,6 +2795,26 @@ export function deserializeIntoBusinessCompliancePolicy(businessCompliancePolicy
|
|
|
2720
2795
|
"requireTrustedFormForAutomations": n => { businessCompliancePolicy.requireTrustedFormForAutomations = n.getBooleanValue(); },
|
|
2721
2796
|
};
|
|
2722
2797
|
}
|
|
2798
|
+
/**
|
|
2799
|
+
* The deserialization information for the current model
|
|
2800
|
+
* @param BusinessDunningInfo The instance to deserialize into.
|
|
2801
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
2802
|
+
*/
|
|
2803
|
+
// @ts-ignore
|
|
2804
|
+
export function deserializeIntoBusinessDunningInfo(businessDunningInfo = {}) {
|
|
2805
|
+
return {
|
|
2806
|
+
"finalCancellationAt": n => { businessDunningInfo.finalCancellationAt = n.getDateValue(); },
|
|
2807
|
+
"gracePeriodEndsAt": n => { businessDunningInfo.gracePeriodEndsAt = n.getDateValue(); },
|
|
2808
|
+
"lastFailedInvoiceStatus": n => { businessDunningInfo.lastFailedInvoiceStatus = n.getStringValue(); },
|
|
2809
|
+
"lastUpdatedAt": n => { businessDunningInfo.lastUpdatedAt = n.getDateValue(); },
|
|
2810
|
+
"nextRetryAt": n => { businessDunningInfo.nextRetryAt = n.getDateValue(); },
|
|
2811
|
+
"outboundRestrictedAt": n => { businessDunningInfo.outboundRestrictedAt = n.getDateValue(); },
|
|
2812
|
+
"outboundSuspendedAt": n => { businessDunningInfo.outboundSuspendedAt = n.getDateValue(); },
|
|
2813
|
+
"paymentFailedAt": n => { businessDunningInfo.paymentFailedAt = n.getDateValue(); },
|
|
2814
|
+
"retryAttemptCount": n => { businessDunningInfo.retryAttemptCount = n.getNumberValue(); },
|
|
2815
|
+
"stage": n => { businessDunningInfo.stage = n.getStringValue(); },
|
|
2816
|
+
};
|
|
2817
|
+
}
|
|
2723
2818
|
/**
|
|
2724
2819
|
* The deserialization information for the current model
|
|
2725
2820
|
* @param BusinessInvitationRequest The instance to deserialize into.
|
|
@@ -2878,6 +2973,7 @@ export function deserializeIntoBusinessResponse(businessResponse = {}) {
|
|
|
2878
2973
|
"billingAddress": n => { businessResponse.billingAddress = n.getObjectValue(createBusinessResponse_billingAddressFromDiscriminatorValue); },
|
|
2879
2974
|
"billingName": n => { businessResponse.billingName = n.getStringValue(); },
|
|
2880
2975
|
"billingPlan": n => { businessResponse.billingPlan = n.getEnumValue(BusinessResponse_billingPlanObject); },
|
|
2976
|
+
"billingState": n => { businessResponse.billingState = n.getObjectValue(createBusinessResponse_billingStateFromDiscriminatorValue); },
|
|
2881
2977
|
"compliancePolicy": n => { businessResponse.compliancePolicy = n.getObjectValue(createBusinessResponse_compliancePolicyFromDiscriminatorValue); },
|
|
2882
2978
|
"createdAt": n => { businessResponse.createdAt = n.getDateValue(); },
|
|
2883
2979
|
"description": n => { businessResponse.description = n.getStringValue(); },
|
|
@@ -2891,6 +2987,7 @@ export function deserializeIntoBusinessResponse(businessResponse = {}) {
|
|
|
2891
2987
|
"phone": n => { businessResponse.phone = n.getStringValue(); },
|
|
2892
2988
|
"phones": n => { businessResponse.phones = n.getCollectionOfObjectValues(createIdNameValueFromDiscriminatorValue); },
|
|
2893
2989
|
"secondaryName": n => { businessResponse.secondaryName = n.getStringValue(); },
|
|
2990
|
+
"setupStatus": n => { businessResponse.setupStatus = n.getEnumValue(BusinessResponse_setupStatusObject); },
|
|
2894
2991
|
"setupStep": n => { businessResponse.setupStep = n.getEnumValue(BusinessResponse_setupStepObject); },
|
|
2895
2992
|
"site": n => { businessResponse.site = n.getObjectValue(createBusinessResponse_siteFromDiscriminatorValue); },
|
|
2896
2993
|
"status": n => { businessResponse.status = n.getEnumValue(BusinessResponse_statusObject); },
|
|
@@ -2933,6 +3030,17 @@ export function deserializeIntoBusinessResponse_billingAddress(businessResponse_
|
|
|
2933
3030
|
...deserializeIntoStreetAddress(businessResponse_billingAddress),
|
|
2934
3031
|
};
|
|
2935
3032
|
}
|
|
3033
|
+
/**
|
|
3034
|
+
* The deserialization information for the current model
|
|
3035
|
+
* @param BusinessResponse_billingState The instance to deserialize into.
|
|
3036
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
3037
|
+
*/
|
|
3038
|
+
// @ts-ignore
|
|
3039
|
+
export function deserializeIntoBusinessResponse_billingState(businessResponse_billingState = {}) {
|
|
3040
|
+
return {
|
|
3041
|
+
...deserializeIntoBusinessBillingState(businessResponse_billingState),
|
|
3042
|
+
};
|
|
3043
|
+
}
|
|
2936
3044
|
/**
|
|
2937
3045
|
* The deserialization information for the current model
|
|
2938
3046
|
* @param BusinessResponse_compliancePolicy The instance to deserialize into.
|
|
@@ -5865,6 +5973,7 @@ export function deserializeIntoUserRequest_notificationPreferences(userRequest_n
|
|
|
5865
5973
|
export function deserializeIntoUserResponse(userResponse = {}) {
|
|
5866
5974
|
return {
|
|
5867
5975
|
"billingPlan": n => { userResponse.billingPlan = n.getEnumValue(UserResponse_billingPlanObject); },
|
|
5976
|
+
"billingState": n => { userResponse.billingState = n.getObjectValue(createUserResponse_billingStateFromDiscriminatorValue); },
|
|
5868
5977
|
"compliance": n => { userResponse.compliance = n.getObjectValue(createUserResponse_complianceFromDiscriminatorValue); },
|
|
5869
5978
|
"createdAt": n => { userResponse.createdAt = n.getDateValue(); },
|
|
5870
5979
|
"currentBusiness": n => { userResponse.currentBusiness = n.getObjectValue(createUserResponse_currentBusinessFromDiscriminatorValue); },
|
|
@@ -5887,6 +5996,17 @@ export function deserializeIntoUserResponse(userResponse = {}) {
|
|
|
5887
5996
|
"subscriptionStatus": n => { userResponse.subscriptionStatus = n.getEnumValue(UserResponse_subscriptionStatusObject); },
|
|
5888
5997
|
};
|
|
5889
5998
|
}
|
|
5999
|
+
/**
|
|
6000
|
+
* The deserialization information for the current model
|
|
6001
|
+
* @param UserResponse_billingState The instance to deserialize into.
|
|
6002
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
6003
|
+
*/
|
|
6004
|
+
// @ts-ignore
|
|
6005
|
+
export function deserializeIntoUserResponse_billingState(userResponse_billingState = {}) {
|
|
6006
|
+
return {
|
|
6007
|
+
...deserializeIntoBusinessBillingState(userResponse_billingState),
|
|
6008
|
+
};
|
|
6009
|
+
}
|
|
5890
6010
|
/**
|
|
5891
6011
|
* The deserialization information for the current model
|
|
5892
6012
|
* @param UserResponse_compliance The instance to deserialize into.
|
|
@@ -6708,6 +6828,41 @@ export function serializeBusinessActivationState_tenDlcDraft(writer, businessAct
|
|
|
6708
6828
|
}
|
|
6709
6829
|
serializeTenDlcApplicationDraft(writer, businessActivationState_tenDlcDraft, isSerializingDerivedType);
|
|
6710
6830
|
}
|
|
6831
|
+
/**
|
|
6832
|
+
* Serializes information the current object
|
|
6833
|
+
* @param BusinessBillingState The instance to serialize from.
|
|
6834
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
6835
|
+
* @param writer Serialization writer to use to serialize this model
|
|
6836
|
+
*/
|
|
6837
|
+
// @ts-ignore
|
|
6838
|
+
export function serializeBusinessBillingState(writer, businessBillingState = {}, isSerializingDerivedType = false) {
|
|
6839
|
+
if (!businessBillingState || isSerializingDerivedType) {
|
|
6840
|
+
return;
|
|
6841
|
+
}
|
|
6842
|
+
writer.writeObjectValue("businessUserAssignedQuantity", businessBillingState.businessUserAssignedQuantity);
|
|
6843
|
+
writer.writeObjectValue("businessUserQuantity", businessBillingState.businessUserQuantity);
|
|
6844
|
+
writer.writeDateValue("cancelAt", businessBillingState.cancelAt);
|
|
6845
|
+
writer.writeObjectValue("dunning", businessBillingState.dunning, serializeBusinessBillingState_dunning);
|
|
6846
|
+
writer.writeBooleanValue("hasPaymentMethod", businessBillingState.hasPaymentMethod);
|
|
6847
|
+
writer.writeBooleanValue("hasStripeCustomer", businessBillingState.hasStripeCustomer);
|
|
6848
|
+
writer.writeDateValue("lastPaymentMethodEventAt", businessBillingState.lastPaymentMethodEventAt);
|
|
6849
|
+
writer.writeDateValue("lastSubscriptionEventAt", businessBillingState.lastSubscriptionEventAt);
|
|
6850
|
+
writer.writeObjectValue("phoneNumberQuantity", businessBillingState.phoneNumberQuantity);
|
|
6851
|
+
writer.writeAdditionalData(businessBillingState.additionalData);
|
|
6852
|
+
}
|
|
6853
|
+
/**
|
|
6854
|
+
* Serializes information the current object
|
|
6855
|
+
* @param BusinessBillingState_dunning The instance to serialize from.
|
|
6856
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
6857
|
+
* @param writer Serialization writer to use to serialize this model
|
|
6858
|
+
*/
|
|
6859
|
+
// @ts-ignore
|
|
6860
|
+
export function serializeBusinessBillingState_dunning(writer, businessBillingState_dunning = {}, isSerializingDerivedType = false) {
|
|
6861
|
+
if (!businessBillingState_dunning || isSerializingDerivedType) {
|
|
6862
|
+
return;
|
|
6863
|
+
}
|
|
6864
|
+
serializeBusinessDunningInfo(writer, businessBillingState_dunning, isSerializingDerivedType);
|
|
6865
|
+
}
|
|
6711
6866
|
/**
|
|
6712
6867
|
* Serializes information the current object
|
|
6713
6868
|
* @param BusinessCompliancePolicy The instance to serialize from.
|
|
@@ -6729,6 +6884,29 @@ export function serializeBusinessCompliancePolicy(writer, businessCompliancePoli
|
|
|
6729
6884
|
writer.writeBooleanValue("requireTrustedFormForAutomations", businessCompliancePolicy.requireTrustedFormForAutomations);
|
|
6730
6885
|
writer.writeAdditionalData(businessCompliancePolicy.additionalData);
|
|
6731
6886
|
}
|
|
6887
|
+
/**
|
|
6888
|
+
* Serializes information the current object
|
|
6889
|
+
* @param BusinessDunningInfo The instance to serialize from.
|
|
6890
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
6891
|
+
* @param writer Serialization writer to use to serialize this model
|
|
6892
|
+
*/
|
|
6893
|
+
// @ts-ignore
|
|
6894
|
+
export function serializeBusinessDunningInfo(writer, businessDunningInfo = {}, isSerializingDerivedType = false) {
|
|
6895
|
+
if (!businessDunningInfo || isSerializingDerivedType) {
|
|
6896
|
+
return;
|
|
6897
|
+
}
|
|
6898
|
+
writer.writeDateValue("finalCancellationAt", businessDunningInfo.finalCancellationAt);
|
|
6899
|
+
writer.writeDateValue("gracePeriodEndsAt", businessDunningInfo.gracePeriodEndsAt);
|
|
6900
|
+
writer.writeStringValue("lastFailedInvoiceStatus", businessDunningInfo.lastFailedInvoiceStatus);
|
|
6901
|
+
writer.writeDateValue("lastUpdatedAt", businessDunningInfo.lastUpdatedAt);
|
|
6902
|
+
writer.writeDateValue("nextRetryAt", businessDunningInfo.nextRetryAt);
|
|
6903
|
+
writer.writeDateValue("outboundRestrictedAt", businessDunningInfo.outboundRestrictedAt);
|
|
6904
|
+
writer.writeDateValue("outboundSuspendedAt", businessDunningInfo.outboundSuspendedAt);
|
|
6905
|
+
writer.writeDateValue("paymentFailedAt", businessDunningInfo.paymentFailedAt);
|
|
6906
|
+
writer.writeNumberValue("retryAttemptCount", businessDunningInfo.retryAttemptCount);
|
|
6907
|
+
writer.writeStringValue("stage", businessDunningInfo.stage);
|
|
6908
|
+
writer.writeAdditionalData(businessDunningInfo.additionalData);
|
|
6909
|
+
}
|
|
6732
6910
|
/**
|
|
6733
6911
|
* Serializes information the current object
|
|
6734
6912
|
* @param BusinessInvitationRequest The instance to serialize from.
|
|
@@ -6910,6 +7088,7 @@ export function serializeBusinessResponse(writer, businessResponse = {}, isSeria
|
|
|
6910
7088
|
writer.writeObjectValue("billingAddress", businessResponse.billingAddress, serializeBusinessResponse_billingAddress);
|
|
6911
7089
|
writer.writeStringValue("billingName", businessResponse.billingName);
|
|
6912
7090
|
writer.writeEnumValue("billingPlan", businessResponse.billingPlan);
|
|
7091
|
+
writer.writeObjectValue("billingState", businessResponse.billingState, serializeBusinessResponse_billingState);
|
|
6913
7092
|
writer.writeObjectValue("compliancePolicy", businessResponse.compliancePolicy, serializeBusinessResponse_compliancePolicy);
|
|
6914
7093
|
writer.writeDateValue("createdAt", businessResponse.createdAt);
|
|
6915
7094
|
writer.writeStringValue("description", businessResponse.description);
|
|
@@ -6923,6 +7102,7 @@ export function serializeBusinessResponse(writer, businessResponse = {}, isSeria
|
|
|
6923
7102
|
writer.writeStringValue("phone", businessResponse.phone);
|
|
6924
7103
|
writer.writeCollectionOfObjectValues("phones", businessResponse.phones, serializeIdNameValue);
|
|
6925
7104
|
writer.writeStringValue("secondaryName", businessResponse.secondaryName);
|
|
7105
|
+
writer.writeEnumValue("setupStatus", businessResponse.setupStatus);
|
|
6926
7106
|
writer.writeEnumValue("setupStep", businessResponse.setupStep);
|
|
6927
7107
|
writer.writeObjectValue("site", businessResponse.site, serializeBusinessResponse_site);
|
|
6928
7108
|
writer.writeEnumValue("status", businessResponse.status);
|
|
@@ -6971,6 +7151,19 @@ export function serializeBusinessResponse_billingAddress(writer, businessRespons
|
|
|
6971
7151
|
}
|
|
6972
7152
|
serializeStreetAddress(writer, businessResponse_billingAddress, isSerializingDerivedType);
|
|
6973
7153
|
}
|
|
7154
|
+
/**
|
|
7155
|
+
* Serializes information the current object
|
|
7156
|
+
* @param BusinessResponse_billingState The instance to serialize from.
|
|
7157
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
7158
|
+
* @param writer Serialization writer to use to serialize this model
|
|
7159
|
+
*/
|
|
7160
|
+
// @ts-ignore
|
|
7161
|
+
export function serializeBusinessResponse_billingState(writer, businessResponse_billingState = {}, isSerializingDerivedType = false) {
|
|
7162
|
+
if (!businessResponse_billingState || isSerializingDerivedType) {
|
|
7163
|
+
return;
|
|
7164
|
+
}
|
|
7165
|
+
serializeBusinessBillingState(writer, businessResponse_billingState, isSerializingDerivedType);
|
|
7166
|
+
}
|
|
6974
7167
|
/**
|
|
6975
7168
|
* Serializes information the current object
|
|
6976
7169
|
* @param BusinessResponse_compliancePolicy The instance to serialize from.
|
|
@@ -10379,6 +10572,7 @@ export function serializeUserResponse(writer, userResponse = {}, isSerializingDe
|
|
|
10379
10572
|
return;
|
|
10380
10573
|
}
|
|
10381
10574
|
writer.writeEnumValue("billingPlan", userResponse.billingPlan);
|
|
10575
|
+
writer.writeObjectValue("billingState", userResponse.billingState, serializeUserResponse_billingState);
|
|
10382
10576
|
writer.writeObjectValue("compliance", userResponse.compliance, serializeUserResponse_compliance);
|
|
10383
10577
|
writer.writeDateValue("createdAt", userResponse.createdAt);
|
|
10384
10578
|
writer.writeObjectValue("currentBusiness", userResponse.currentBusiness, serializeUserResponse_currentBusiness);
|
|
@@ -10401,6 +10595,19 @@ export function serializeUserResponse(writer, userResponse = {}, isSerializingDe
|
|
|
10401
10595
|
writer.writeEnumValue("subscriptionStatus", userResponse.subscriptionStatus);
|
|
10402
10596
|
writer.writeAdditionalData(userResponse.additionalData);
|
|
10403
10597
|
}
|
|
10598
|
+
/**
|
|
10599
|
+
* Serializes information the current object
|
|
10600
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
10601
|
+
* @param UserResponse_billingState The instance to serialize from.
|
|
10602
|
+
* @param writer Serialization writer to use to serialize this model
|
|
10603
|
+
*/
|
|
10604
|
+
// @ts-ignore
|
|
10605
|
+
export function serializeUserResponse_billingState(writer, userResponse_billingState = {}, isSerializingDerivedType = false) {
|
|
10606
|
+
if (!userResponse_billingState || isSerializingDerivedType) {
|
|
10607
|
+
return;
|
|
10608
|
+
}
|
|
10609
|
+
serializeBusinessBillingState(writer, userResponse_billingState, isSerializingDerivedType);
|
|
10610
|
+
}
|
|
10404
10611
|
/**
|
|
10405
10612
|
* Serializes information the current object
|
|
10406
10613
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -10567,6 +10774,20 @@ export const BusinessResponse_billingPlanObject = {
|
|
|
10567
10774
|
Annual: "Annual",
|
|
10568
10775
|
Monthly: "Monthly",
|
|
10569
10776
|
};
|
|
10777
|
+
/**
|
|
10778
|
+
* Defines the supported User Setup Status values.
|
|
10779
|
+
*/
|
|
10780
|
+
export const BusinessResponse_setupStatusObject = {
|
|
10781
|
+
Personal: "Personal",
|
|
10782
|
+
Business: "Business",
|
|
10783
|
+
Details: "Details",
|
|
10784
|
+
Compliance: "Compliance",
|
|
10785
|
+
Phone: "Phone",
|
|
10786
|
+
Plan: "Plan",
|
|
10787
|
+
Billing: "Billing",
|
|
10788
|
+
Review: "Review",
|
|
10789
|
+
Complete: "Complete",
|
|
10790
|
+
};
|
|
10570
10791
|
/**
|
|
10571
10792
|
* Defines the supported Business Setup Step values.
|
|
10572
10793
|
*/
|