@leadping/sdk 1.0.19 → 1.0.20

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.
@@ -63,9 +63,9 @@ export type ActivationTelephonyStatus = (typeof ActivationTelephonyStatusObject)
63
63
  */
64
64
  export interface ActivationTimelineEvent extends AdditionalDataHolder, Parsable {
65
65
  /**
66
- * The actor name value for this activation timeline event.
66
+ * The ID and name for this actor.
67
67
  */
68
- actorName?: string | null;
68
+ actor?: ActivationTimelineEvent_actor | null;
69
69
  /**
70
70
  * The date and time for the created at value on this activation timeline event.
71
71
  */
@@ -95,6 +95,11 @@ export interface ActivationTimelineEvent extends AdditionalDataHolder, Parsable
95
95
  */
96
96
  type?: string | null;
97
97
  }
98
+ /**
99
+ * The ID and name for this actor.
100
+ */
101
+ export interface ActivationTimelineEvent_actor extends IdNamePair, Parsable {
102
+ }
98
103
  /**
99
104
  * Date and time when this Leadping customer analytics summary was leads comparison.
100
105
  */
@@ -923,13 +928,9 @@ export interface AutomationWorkflowRunResponse extends AdditionalDataHolder, Par
923
928
  */
924
929
  actions?: AutomationWorkflowActionResponse[] | null;
925
930
  /**
926
- * Unique identifier of the automation associated with this Leadping automation workflow run.
927
- */
928
- automationId?: string | null;
929
- /**
930
- * Human-readable automation name associated with this Leadping automation workflow run.
931
+ * The ID and name for this automation.
931
932
  */
932
- automationName?: string | null;
933
+ automation?: AutomationWorkflowRunResponse_automation | null;
933
934
  /**
934
935
  * Unique identifier of the business associated with this Leadping automation workflow run.
935
936
  */
@@ -943,13 +944,9 @@ export interface AutomationWorkflowRunResponse extends AdditionalDataHolder, Par
943
944
  */
944
945
  completedAt?: Date | null;
945
946
  /**
946
- * Unique identifier of the current step associated with this Leadping automation workflow run.
947
- */
948
- currentStepId?: string | null;
949
- /**
950
- * Human-readable current step name associated with this Leadping automation workflow run.
947
+ * The ID and name for this currentStep.
951
948
  */
952
- currentStepName?: string | null;
949
+ currentStep?: AutomationWorkflowRunResponse_currentStep | null;
953
950
  /**
954
951
  * Current step order associated with this Leadping automation workflow run.
955
952
  */
@@ -1035,6 +1032,16 @@ export interface AutomationWorkflowRunResponse extends AdditionalDataHolder, Par
1035
1032
  */
1036
1033
  updatedAt?: Date | null;
1037
1034
  }
1035
+ /**
1036
+ * The ID and name for this automation.
1037
+ */
1038
+ export interface AutomationWorkflowRunResponse_automation extends IdNamePair, Parsable {
1039
+ }
1040
+ /**
1041
+ * The ID and name for this currentStep.
1042
+ */
1043
+ export interface AutomationWorkflowRunResponse_currentStep extends IdNamePair, Parsable {
1044
+ }
1038
1045
  /**
1039
1046
  * Automation workflow status collection for a lead.
1040
1047
  */
@@ -1259,13 +1266,9 @@ export interface BusinessInvitationResponse extends AdditionalDataHolder, Parsab
1259
1266
  */
1260
1267
  acceptedAt?: Date | null;
1261
1268
  /**
1262
- * The business ID associated with this business invitation.
1269
+ * The ID and name for this business.
1263
1270
  */
1264
- businessId?: string | null;
1265
- /**
1266
- * The business name value for this business invitation.
1267
- */
1268
- businessName?: string | null;
1271
+ business?: IdNamePair | null;
1269
1272
  /**
1270
1273
  * The date and time for the created at value on this business invitation.
1271
1274
  */
@@ -1341,13 +1344,9 @@ export interface BusinessInvitationTableRow extends AdditionalDataHolder, Parsab
1341
1344
  */
1342
1345
  acceptedAt?: Date | null;
1343
1346
  /**
1344
- * The business ID associated with this business invitation.
1345
- */
1346
- businessId?: string | null;
1347
- /**
1348
- * The business name value for this business invitation.
1347
+ * The ID and name for this business.
1349
1348
  */
1350
- businessName?: string | null;
1349
+ business?: IdNamePair | null;
1351
1350
  /**
1352
1351
  * The date and time for the created at value on this business invitation.
1353
1352
  */
@@ -1776,13 +1775,9 @@ export interface BusinessTableRow extends AdditionalDataHolder, Parsable {
1776
1775
  */
1777
1776
  billingPlan?: BusinessTableRow_billingPlan | null;
1778
1777
  /**
1779
- * The business ID that owns this row when the row represents a child business resource.
1778
+ * The ID and name for this business.
1780
1779
  */
1781
- businessId?: string | null;
1782
- /**
1783
- * The business name that owns this row when the row represents a child business resource.
1784
- */
1785
- businessName?: string | null;
1780
+ business?: BusinessTableRow_business | null;
1786
1781
  /**
1787
1782
  * Whether this business is enabled.
1788
1783
  */
@@ -1843,14 +1838,6 @@ export interface BusinessTableRow extends AdditionalDataHolder, Parsable {
1843
1838
  * The user count for this business.
1844
1839
  */
1845
1840
  userCount?: number | null;
1846
- /**
1847
- * The user ID value for this business.
1848
- */
1849
- userId?: string | null;
1850
- /**
1851
- * The user name value for this business.
1852
- */
1853
- userName?: string | null;
1854
1841
  /**
1855
1842
  * The website URL associated with this business.
1856
1843
  */
@@ -1862,6 +1849,11 @@ export interface BusinessTableRow extends AdditionalDataHolder, Parsable {
1862
1849
  }
1863
1850
  export type BusinessTableRow_activationStatus = (typeof BusinessTableRow_activationStatusObject)[keyof typeof BusinessTableRow_activationStatusObject];
1864
1851
  export type BusinessTableRow_billingPlan = (typeof BusinessTableRow_billingPlanObject)[keyof typeof BusinessTableRow_billingPlanObject];
1852
+ /**
1853
+ * The ID and name for this business.
1854
+ */
1855
+ export interface BusinessTableRow_business extends IdNamePair, Parsable {
1856
+ }
1865
1857
  export type BusinessTableRow_setupStep = (typeof BusinessTableRow_setupStepObject)[keyof typeof BusinessTableRow_setupStepObject];
1866
1858
  export type BusinessTableRow_status = (typeof BusinessTableRow_statusObject)[keyof typeof BusinessTableRow_statusObject];
1867
1859
  export type BusinessTableRow_subscriptionStatus = (typeof BusinessTableRow_subscriptionStatusObject)[keyof typeof BusinessTableRow_subscriptionStatusObject];
@@ -1975,17 +1967,13 @@ export interface BusinessUserTableRow extends AdditionalDataHolder, Parsable {
1975
1967
  */
1976
1968
  role?: BusinessUserRole | null;
1977
1969
  /**
1978
- * The user email value for this business user.
1970
+ * The ID and name for this user.
1979
1971
  */
1980
- userEmail?: string | null;
1981
- /**
1982
- * The user ID associated with this business user.
1983
- */
1984
- userId?: string | null;
1972
+ user?: IdNamePair | null;
1985
1973
  /**
1986
- * The user name value for this business user.
1974
+ * The user email value for this business user.
1987
1975
  */
1988
- userName?: string | null;
1976
+ userEmail?: string | null;
1989
1977
  }
1990
1978
  /**
1991
1979
  * List item schema for Leadping API call event table row results shown in searchable tables.
@@ -2255,6 +2243,12 @@ export declare function createAcceptBusinessInvitationRequestFromDiscriminatorVa
2255
2243
  * @returns {ActivationDomainOption}
2256
2244
  */
2257
2245
  export declare function createActivationDomainOptionFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
2246
+ /**
2247
+ * Creates a new instance of the appropriate class based on discriminator value
2248
+ * @param parseNode The parse node to use to read the discriminator value and create the object
2249
+ * @returns {ActivationTimelineEvent_actor}
2250
+ */
2251
+ export declare function createActivationTimelineEvent_actorFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
2258
2252
  /**
2259
2253
  * Creates a new instance of the appropriate class based on discriminator value
2260
2254
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -2435,6 +2429,18 @@ export declare function createAutomationWorkflowActionResponseFromDiscriminatorV
2435
2429
  * @returns {AutomationWorkflowEventResponse}
2436
2430
  */
2437
2431
  export declare function createAutomationWorkflowEventResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
2432
+ /**
2433
+ * Creates a new instance of the appropriate class based on discriminator value
2434
+ * @param parseNode The parse node to use to read the discriminator value and create the object
2435
+ * @returns {AutomationWorkflowRunResponse_automation}
2436
+ */
2437
+ export declare function createAutomationWorkflowRunResponse_automationFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
2438
+ /**
2439
+ * Creates a new instance of the appropriate class based on discriminator value
2440
+ * @param parseNode The parse node to use to read the discriminator value and create the object
2441
+ * @returns {AutomationWorkflowRunResponse_currentStep}
2442
+ */
2443
+ export declare function createAutomationWorkflowRunResponse_currentStepFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
2438
2444
  /**
2439
2445
  * Creates a new instance of the appropriate class based on discriminator value
2440
2446
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -2573,6 +2579,12 @@ export declare function createBusinessSwitchOptionFromDiscriminatorValue(parseNo
2573
2579
  * @returns {BusinessSwitchRequest}
2574
2580
  */
2575
2581
  export declare function createBusinessSwitchRequestFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
2582
+ /**
2583
+ * Creates a new instance of the appropriate class based on discriminator value
2584
+ * @param parseNode The parse node to use to read the discriminator value and create the object
2585
+ * @returns {BusinessTableRow_business}
2586
+ */
2587
+ export declare function createBusinessTableRow_businessFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
2576
2588
  /**
2577
2589
  * Creates a new instance of the appropriate class based on discriminator value
2578
2590
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -2909,12 +2921,24 @@ export declare function createLeadResponse_currentDispositionFromDiscriminatorVa
2909
2921
  * @returns {LeadResponse}
2910
2922
  */
2911
2923
  export declare function createLeadResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
2924
+ /**
2925
+ * Creates a new instance of the appropriate class based on discriminator value
2926
+ * @param parseNode The parse node to use to read the discriminator value and create the object
2927
+ * @returns {LeadTableRow_business}
2928
+ */
2929
+ export declare function createLeadTableRow_businessFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
2912
2930
  /**
2913
2931
  * Creates a new instance of the appropriate class based on discriminator value
2914
2932
  * @param parseNode The parse node to use to read the discriminator value and create the object
2915
2933
  * @returns {LeadTableRow_currentDisposition}
2916
2934
  */
2917
2935
  export declare function createLeadTableRow_currentDispositionFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
2936
+ /**
2937
+ * Creates a new instance of the appropriate class based on discriminator value
2938
+ * @param parseNode The parse node to use to read the discriminator value and create the object
2939
+ * @returns {LeadTableRow_source}
2940
+ */
2941
+ export declare function createLeadTableRow_sourceFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
2918
2942
  /**
2919
2943
  * Creates a new instance of the appropriate class based on discriminator value
2920
2944
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -3062,12 +3086,6 @@ export declare function createPagedResultOfTransactionTableRowFromDiscriminatorV
3062
3086
  * @returns {PagedResultOfUsageLedgerTableRow}
3063
3087
  */
3064
3088
  export declare function createPagedResultOfUsageLedgerTableRowFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
3065
- /**
3066
- * Creates a new instance of the appropriate class based on discriminator value
3067
- * @param parseNode The parse node to use to read the discriminator value and create the object
3068
- * @returns {Phone_lookup}
3069
- */
3070
- export declare function createPhone_lookupFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
3071
3089
  /**
3072
3090
  * Creates a new instance of the appropriate class based on discriminator value
3073
3091
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -3080,30 +3098,6 @@ export declare function createPhoneCallResponseFromDiscriminatorValue(parseNode:
3080
3098
  * @returns {Phone}
3081
3099
  */
3082
3100
  export declare function createPhoneFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
3083
- /**
3084
- * Creates a new instance of the appropriate class based on discriminator value
3085
- * @param parseNode The parse node to use to read the discriminator value and create the object
3086
- * @returns {PhoneLookup_carrier}
3087
- */
3088
- export declare function createPhoneLookup_carrierFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
3089
- /**
3090
- * Creates a new instance of the appropriate class based on discriminator value
3091
- * @param parseNode The parse node to use to read the discriminator value and create the object
3092
- * @returns {PhoneLookup_location}
3093
- */
3094
- export declare function createPhoneLookup_locationFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
3095
- /**
3096
- * Creates a new instance of the appropriate class based on discriminator value
3097
- * @param parseNode The parse node to use to read the discriminator value and create the object
3098
- * @returns {PhoneLookupCarrier}
3099
- */
3100
- export declare function createPhoneLookupCarrierFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
3101
- /**
3102
- * Creates a new instance of the appropriate class based on discriminator value
3103
- * @param parseNode The parse node to use to read the discriminator value and create the object
3104
- * @returns {PhoneLookup}
3105
- */
3106
- export declare function createPhoneLookupFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
3107
3101
  /**
3108
3102
  * Creates a new instance of the appropriate class based on discriminator value
3109
3103
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -3158,12 +3152,6 @@ export declare function createPhoneNumberRequestFromDiscriminatorValue(parseNode
3158
3152
  * @returns {PhoneNumberResponse_business}
3159
3153
  */
3160
3154
  export declare function createPhoneNumberResponse_businessFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
3161
- /**
3162
- * Creates a new instance of the appropriate class based on discriminator value
3163
- * @param parseNode The parse node to use to read the discriminator value and create the object
3164
- * @returns {PhoneNumberResponse_location}
3165
- */
3166
- export declare function createPhoneNumberResponse_locationFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
3167
3155
  /**
3168
3156
  * Creates a new instance of the appropriate class based on discriminator value
3169
3157
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -3428,6 +3416,12 @@ export declare function createTagResponseFromDiscriminatorValue(parseNode: Parse
3428
3416
  * @returns {TagSummary}
3429
3417
  */
3430
3418
  export declare function createTagSummaryFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
3419
+ /**
3420
+ * Creates a new instance of the appropriate class based on discriminator value
3421
+ * @param parseNode The parse node to use to read the discriminator value and create the object
3422
+ * @returns {TelephonyLoginRequest_device}
3423
+ */
3424
+ export declare function createTelephonyLoginRequest_deviceFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
3431
3425
  /**
3432
3426
  * Creates a new instance of the appropriate class based on discriminator value
3433
3427
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -3446,12 +3440,36 @@ export declare function createTelephonyLoginResponseFromDiscriminatorValue(parse
3446
3440
  * @returns {TenDlcApplicationDraft}
3447
3441
  */
3448
3442
  export declare function createTenDlcApplicationDraftFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
3443
+ /**
3444
+ * Creates a new instance of the appropriate class based on discriminator value
3445
+ * @param parseNode The parse node to use to read the discriminator value and create the object
3446
+ * @returns {TransactionResponse_business}
3447
+ */
3448
+ export declare function createTransactionResponse_businessFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
3449
+ /**
3450
+ * Creates a new instance of the appropriate class based on discriminator value
3451
+ * @param parseNode The parse node to use to read the discriminator value and create the object
3452
+ * @returns {TransactionResponse_lead}
3453
+ */
3454
+ export declare function createTransactionResponse_leadFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
3449
3455
  /**
3450
3456
  * Creates a new instance of the appropriate class based on discriminator value
3451
3457
  * @param parseNode The parse node to use to read the discriminator value and create the object
3452
3458
  * @returns {TransactionResponse}
3453
3459
  */
3454
3460
  export declare function createTransactionResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
3461
+ /**
3462
+ * Creates a new instance of the appropriate class based on discriminator value
3463
+ * @param parseNode The parse node to use to read the discriminator value and create the object
3464
+ * @returns {TransactionTableRow_business}
3465
+ */
3466
+ export declare function createTransactionTableRow_businessFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
3467
+ /**
3468
+ * Creates a new instance of the appropriate class based on discriminator value
3469
+ * @param parseNode The parse node to use to read the discriminator value and create the object
3470
+ * @returns {TransactionTableRow_lead}
3471
+ */
3472
+ export declare function createTransactionTableRow_leadFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
3455
3473
  /**
3456
3474
  * Creates a new instance of the appropriate class based on discriminator value
3457
3475
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -3470,6 +3488,24 @@ export declare function createTrustedFormCertificateFromDiscriminatorValue(parse
3470
3488
  * @returns {UsageCounterLine}
3471
3489
  */
3472
3490
  export declare function createUsageCounterLineFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
3491
+ /**
3492
+ * Creates a new instance of the appropriate class based on discriminator value
3493
+ * @param parseNode The parse node to use to read the discriminator value and create the object
3494
+ * @returns {UsageLedgerTableRow_business}
3495
+ */
3496
+ export declare function createUsageLedgerTableRow_businessFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
3497
+ /**
3498
+ * Creates a new instance of the appropriate class based on discriminator value
3499
+ * @param parseNode The parse node to use to read the discriminator value and create the object
3500
+ * @returns {UsageLedgerTableRow_lead}
3501
+ */
3502
+ export declare function createUsageLedgerTableRow_leadFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
3503
+ /**
3504
+ * Creates a new instance of the appropriate class based on discriminator value
3505
+ * @param parseNode The parse node to use to read the discriminator value and create the object
3506
+ * @returns {UsageLedgerTableRow_user}
3507
+ */
3508
+ export declare function createUsageLedgerTableRow_userFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
3473
3509
  /**
3474
3510
  * Creates a new instance of the appropriate class based on discriminator value
3475
3511
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -4008,6 +4044,12 @@ export declare function deserializeIntoActivationDomainOption(activationDomainOp
4008
4044
  * @returns {Record<string, (node: ParseNode) => void>}
4009
4045
  */
4010
4046
  export declare function deserializeIntoActivationTimelineEvent(activationTimelineEvent?: Partial<ActivationTimelineEvent> | undefined): Record<string, (node: ParseNode) => void>;
4047
+ /**
4048
+ * The deserialization information for the current model
4049
+ * @param ActivationTimelineEvent_actor The instance to deserialize into.
4050
+ * @returns {Record<string, (node: ParseNode) => void>}
4051
+ */
4052
+ export declare function deserializeIntoActivationTimelineEvent_actor(activationTimelineEvent_actor?: Partial<ActivationTimelineEvent_actor> | undefined): Record<string, (node: ParseNode) => void>;
4011
4053
  /**
4012
4054
  * The deserialization information for the current model
4013
4055
  * @param AnalyticsComparison The instance to deserialize into.
@@ -4188,6 +4230,18 @@ export declare function deserializeIntoAutomationWorkflowEventResponse(automatio
4188
4230
  * @returns {Record<string, (node: ParseNode) => void>}
4189
4231
  */
4190
4232
  export declare function deserializeIntoAutomationWorkflowRunResponse(automationWorkflowRunResponse?: Partial<AutomationWorkflowRunResponse> | undefined): Record<string, (node: ParseNode) => void>;
4233
+ /**
4234
+ * The deserialization information for the current model
4235
+ * @param AutomationWorkflowRunResponse_automation The instance to deserialize into.
4236
+ * @returns {Record<string, (node: ParseNode) => void>}
4237
+ */
4238
+ export declare function deserializeIntoAutomationWorkflowRunResponse_automation(automationWorkflowRunResponse_automation?: Partial<AutomationWorkflowRunResponse_automation> | undefined): Record<string, (node: ParseNode) => void>;
4239
+ /**
4240
+ * The deserialization information for the current model
4241
+ * @param AutomationWorkflowRunResponse_currentStep The instance to deserialize into.
4242
+ * @returns {Record<string, (node: ParseNode) => void>}
4243
+ */
4244
+ export declare function deserializeIntoAutomationWorkflowRunResponse_currentStep(automationWorkflowRunResponse_currentStep?: Partial<AutomationWorkflowRunResponse_currentStep> | undefined): Record<string, (node: ParseNode) => void>;
4191
4245
  /**
4192
4246
  * The deserialization information for the current model
4193
4247
  * @param AutomationWorkflowStatusResponse The instance to deserialize into.
@@ -4326,6 +4380,12 @@ export declare function deserializeIntoBusinessSwitchRequest(businessSwitchReque
4326
4380
  * @returns {Record<string, (node: ParseNode) => void>}
4327
4381
  */
4328
4382
  export declare function deserializeIntoBusinessTableRow(businessTableRow?: Partial<BusinessTableRow> | undefined): Record<string, (node: ParseNode) => void>;
4383
+ /**
4384
+ * The deserialization information for the current model
4385
+ * @param BusinessTableRow_business The instance to deserialize into.
4386
+ * @returns {Record<string, (node: ParseNode) => void>}
4387
+ */
4388
+ export declare function deserializeIntoBusinessTableRow_business(businessTableRow_business?: Partial<BusinessTableRow_business> | undefined): Record<string, (node: ParseNode) => void>;
4329
4389
  /**
4330
4390
  * The deserialization information for the current model
4331
4391
  * @param BusinessUserRequest The instance to deserialize into.
@@ -4662,12 +4722,24 @@ export declare function deserializeIntoLeadResponse_currentDisposition(leadRespo
4662
4722
  * @returns {Record<string, (node: ParseNode) => void>}
4663
4723
  */
4664
4724
  export declare function deserializeIntoLeadTableRow(leadTableRow?: Partial<LeadTableRow> | undefined): Record<string, (node: ParseNode) => void>;
4725
+ /**
4726
+ * The deserialization information for the current model
4727
+ * @param LeadTableRow_business The instance to deserialize into.
4728
+ * @returns {Record<string, (node: ParseNode) => void>}
4729
+ */
4730
+ export declare function deserializeIntoLeadTableRow_business(leadTableRow_business?: Partial<LeadTableRow_business> | undefined): Record<string, (node: ParseNode) => void>;
4665
4731
  /**
4666
4732
  * The deserialization information for the current model
4667
4733
  * @param LeadTableRow_currentDisposition The instance to deserialize into.
4668
4734
  * @returns {Record<string, (node: ParseNode) => void>}
4669
4735
  */
4670
4736
  export declare function deserializeIntoLeadTableRow_currentDisposition(leadTableRow_currentDisposition?: Partial<LeadTableRow_currentDisposition> | undefined): Record<string, (node: ParseNode) => void>;
4737
+ /**
4738
+ * The deserialization information for the current model
4739
+ * @param LeadTableRow_source The instance to deserialize into.
4740
+ * @returns {Record<string, (node: ParseNode) => void>}
4741
+ */
4742
+ export declare function deserializeIntoLeadTableRow_source(leadTableRow_source?: Partial<LeadTableRow_source> | undefined): Record<string, (node: ParseNode) => void>;
4671
4743
  /**
4672
4744
  * The deserialization information for the current model
4673
4745
  * @param LeadTagsRequest The instance to deserialize into.
@@ -4806,42 +4878,12 @@ export declare function deserializeIntoPagedResultOfUsageLedgerTableRow(pagedRes
4806
4878
  * @returns {Record<string, (node: ParseNode) => void>}
4807
4879
  */
4808
4880
  export declare function deserializeIntoPhone(phone?: Partial<Phone> | undefined): Record<string, (node: ParseNode) => void>;
4809
- /**
4810
- * The deserialization information for the current model
4811
- * @param Phone_lookup The instance to deserialize into.
4812
- * @returns {Record<string, (node: ParseNode) => void>}
4813
- */
4814
- export declare function deserializeIntoPhone_lookup(phone_lookup?: Partial<Phone_lookup> | undefined): Record<string, (node: ParseNode) => void>;
4815
4881
  /**
4816
4882
  * The deserialization information for the current model
4817
4883
  * @param PhoneCallResponse The instance to deserialize into.
4818
4884
  * @returns {Record<string, (node: ParseNode) => void>}
4819
4885
  */
4820
4886
  export declare function deserializeIntoPhoneCallResponse(phoneCallResponse?: Partial<PhoneCallResponse> | undefined): Record<string, (node: ParseNode) => void>;
4821
- /**
4822
- * The deserialization information for the current model
4823
- * @param PhoneLookup The instance to deserialize into.
4824
- * @returns {Record<string, (node: ParseNode) => void>}
4825
- */
4826
- export declare function deserializeIntoPhoneLookup(phoneLookup?: Partial<PhoneLookup> | undefined): Record<string, (node: ParseNode) => void>;
4827
- /**
4828
- * The deserialization information for the current model
4829
- * @param PhoneLookup_carrier The instance to deserialize into.
4830
- * @returns {Record<string, (node: ParseNode) => void>}
4831
- */
4832
- export declare function deserializeIntoPhoneLookup_carrier(phoneLookup_carrier?: Partial<PhoneLookup_carrier> | undefined): Record<string, (node: ParseNode) => void>;
4833
- /**
4834
- * The deserialization information for the current model
4835
- * @param PhoneLookup_location The instance to deserialize into.
4836
- * @returns {Record<string, (node: ParseNode) => void>}
4837
- */
4838
- export declare function deserializeIntoPhoneLookup_location(phoneLookup_location?: Partial<PhoneLookup_location> | undefined): Record<string, (node: ParseNode) => void>;
4839
- /**
4840
- * The deserialization information for the current model
4841
- * @param PhoneLookupCarrier The instance to deserialize into.
4842
- * @returns {Record<string, (node: ParseNode) => void>}
4843
- */
4844
- export declare function deserializeIntoPhoneLookupCarrier(phoneLookupCarrier?: Partial<PhoneLookupCarrier> | undefined): Record<string, (node: ParseNode) => void>;
4845
4887
  /**
4846
4888
  * The deserialization information for the current model
4847
4889
  * @param PhoneNumberAvailabilityRequest The instance to deserialize into.
@@ -4902,12 +4944,6 @@ export declare function deserializeIntoPhoneNumberResponse(phoneNumberResponse?:
4902
4944
  * @returns {Record<string, (node: ParseNode) => void>}
4903
4945
  */
4904
4946
  export declare function deserializeIntoPhoneNumberResponse_business(phoneNumberResponse_business?: Partial<PhoneNumberResponse_business> | undefined): Record<string, (node: ParseNode) => void>;
4905
- /**
4906
- * The deserialization information for the current model
4907
- * @param PhoneNumberResponse_location The instance to deserialize into.
4908
- * @returns {Record<string, (node: ParseNode) => void>}
4909
- */
4910
- export declare function deserializeIntoPhoneNumberResponse_location(phoneNumberResponse_location?: Partial<PhoneNumberResponse_location> | undefined): Record<string, (node: ParseNode) => void>;
4911
4947
  /**
4912
4948
  * The deserialization information for the current model
4913
4949
  * @param PhoneNumberRoutingMetadata The instance to deserialize into.
@@ -5172,6 +5208,12 @@ export declare function deserializeIntoTagSummary(tagSummary?: Partial<TagSummar
5172
5208
  * @returns {Record<string, (node: ParseNode) => void>}
5173
5209
  */
5174
5210
  export declare function deserializeIntoTelephonyLoginRequest(telephonyLoginRequest?: Partial<TelephonyLoginRequest> | undefined): Record<string, (node: ParseNode) => void>;
5211
+ /**
5212
+ * The deserialization information for the current model
5213
+ * @param TelephonyLoginRequest_device The instance to deserialize into.
5214
+ * @returns {Record<string, (node: ParseNode) => void>}
5215
+ */
5216
+ export declare function deserializeIntoTelephonyLoginRequest_device(telephonyLoginRequest_device?: Partial<TelephonyLoginRequest_device> | undefined): Record<string, (node: ParseNode) => void>;
5175
5217
  /**
5176
5218
  * The deserialization information for the current model
5177
5219
  * @param TelephonyLoginResponse The instance to deserialize into.
@@ -5190,12 +5232,36 @@ export declare function deserializeIntoTenDlcApplicationDraft(tenDlcApplicationD
5190
5232
  * @returns {Record<string, (node: ParseNode) => void>}
5191
5233
  */
5192
5234
  export declare function deserializeIntoTransactionResponse(transactionResponse?: Partial<TransactionResponse> | undefined): Record<string, (node: ParseNode) => void>;
5235
+ /**
5236
+ * The deserialization information for the current model
5237
+ * @param TransactionResponse_business The instance to deserialize into.
5238
+ * @returns {Record<string, (node: ParseNode) => void>}
5239
+ */
5240
+ export declare function deserializeIntoTransactionResponse_business(transactionResponse_business?: Partial<TransactionResponse_business> | undefined): Record<string, (node: ParseNode) => void>;
5241
+ /**
5242
+ * The deserialization information for the current model
5243
+ * @param TransactionResponse_lead The instance to deserialize into.
5244
+ * @returns {Record<string, (node: ParseNode) => void>}
5245
+ */
5246
+ export declare function deserializeIntoTransactionResponse_lead(transactionResponse_lead?: Partial<TransactionResponse_lead> | undefined): Record<string, (node: ParseNode) => void>;
5193
5247
  /**
5194
5248
  * The deserialization information for the current model
5195
5249
  * @param TransactionTableRow The instance to deserialize into.
5196
5250
  * @returns {Record<string, (node: ParseNode) => void>}
5197
5251
  */
5198
5252
  export declare function deserializeIntoTransactionTableRow(transactionTableRow?: Partial<TransactionTableRow> | undefined): Record<string, (node: ParseNode) => void>;
5253
+ /**
5254
+ * The deserialization information for the current model
5255
+ * @param TransactionTableRow_business The instance to deserialize into.
5256
+ * @returns {Record<string, (node: ParseNode) => void>}
5257
+ */
5258
+ export declare function deserializeIntoTransactionTableRow_business(transactionTableRow_business?: Partial<TransactionTableRow_business> | undefined): Record<string, (node: ParseNode) => void>;
5259
+ /**
5260
+ * The deserialization information for the current model
5261
+ * @param TransactionTableRow_lead The instance to deserialize into.
5262
+ * @returns {Record<string, (node: ParseNode) => void>}
5263
+ */
5264
+ export declare function deserializeIntoTransactionTableRow_lead(transactionTableRow_lead?: Partial<TransactionTableRow_lead> | undefined): Record<string, (node: ParseNode) => void>;
5199
5265
  /**
5200
5266
  * The deserialization information for the current model
5201
5267
  * @param TrustedFormCertificate The instance to deserialize into.
@@ -5214,6 +5280,24 @@ export declare function deserializeIntoUsageCounterLine(usageCounterLine?: Parti
5214
5280
  * @returns {Record<string, (node: ParseNode) => void>}
5215
5281
  */
5216
5282
  export declare function deserializeIntoUsageLedgerTableRow(usageLedgerTableRow?: Partial<UsageLedgerTableRow> | undefined): Record<string, (node: ParseNode) => void>;
5283
+ /**
5284
+ * The deserialization information for the current model
5285
+ * @param UsageLedgerTableRow_business The instance to deserialize into.
5286
+ * @returns {Record<string, (node: ParseNode) => void>}
5287
+ */
5288
+ export declare function deserializeIntoUsageLedgerTableRow_business(usageLedgerTableRow_business?: Partial<UsageLedgerTableRow_business> | undefined): Record<string, (node: ParseNode) => void>;
5289
+ /**
5290
+ * The deserialization information for the current model
5291
+ * @param UsageLedgerTableRow_lead The instance to deserialize into.
5292
+ * @returns {Record<string, (node: ParseNode) => void>}
5293
+ */
5294
+ export declare function deserializeIntoUsageLedgerTableRow_lead(usageLedgerTableRow_lead?: Partial<UsageLedgerTableRow_lead> | undefined): Record<string, (node: ParseNode) => void>;
5295
+ /**
5296
+ * The deserialization information for the current model
5297
+ * @param UsageLedgerTableRow_user The instance to deserialize into.
5298
+ * @returns {Record<string, (node: ParseNode) => void>}
5299
+ */
5300
+ export declare function deserializeIntoUsageLedgerTableRow_user(usageLedgerTableRow_user?: Partial<UsageLedgerTableRow_user> | undefined): Record<string, (node: ParseNode) => void>;
5217
5301
  /**
5218
5302
  * The deserialization information for the current model
5219
5303
  * @param UsageSummaryLine The instance to deserialize into.
@@ -6713,13 +6797,9 @@ export interface LeadTableRow extends AdditionalDataHolder, Parsable {
6713
6797
  */
6714
6798
  archiveReason?: number | null;
6715
6799
  /**
6716
- * Business ID that owns this lead.
6800
+ * The ID and name for this business.
6717
6801
  */
6718
- businessId?: string | null;
6719
- /**
6720
- * Business display name shown for this lead.
6721
- */
6722
- businessName?: string | null;
6802
+ business?: LeadTableRow_business | null;
6723
6803
  /**
6724
6804
  * UTC timestamp when this lead table row was created.
6725
6805
  */
@@ -6761,13 +6841,9 @@ export interface LeadTableRow extends AdditionalDataHolder, Parsable {
6761
6841
  */
6762
6842
  price?: UntypedNode | null;
6763
6843
  /**
6764
- * Lead source ID that created or supplied this lead.
6765
- */
6766
- sourceId?: string | null;
6767
- /**
6768
- * Lead source display name shown for this lead.
6844
+ * The ID and name for this source.
6769
6845
  */
6770
- sourceName?: string | null;
6846
+ source?: LeadTableRow_source | null;
6771
6847
  /**
6772
6848
  * Current lifecycle status for this lead table row in the Leadping API.
6773
6849
  */
@@ -6785,11 +6861,21 @@ export interface LeadTableRow extends AdditionalDataHolder, Parsable {
6785
6861
  */
6786
6862
  updatedAt?: Date | null;
6787
6863
  }
6864
+ /**
6865
+ * The ID and name for this business.
6866
+ */
6867
+ export interface LeadTableRow_business extends IdNamePair, Parsable {
6868
+ }
6788
6869
  /**
6789
6870
  * Current disposition summary that describes the lead outcome.
6790
6871
  */
6791
6872
  export interface LeadTableRow_currentDisposition extends CurrentDispositionSummary, Parsable {
6792
6873
  }
6874
+ /**
6875
+ * The ID and name for this source.
6876
+ */
6877
+ export interface LeadTableRow_source extends IdNamePair, Parsable {
6878
+ }
6793
6879
  /**
6794
6880
  * Request schema for the Leadping API lead tag update request, including the fields clients can send.
6795
6881
  */
@@ -6812,13 +6898,9 @@ export interface LeadTagsRequest extends AdditionalDataHolder, Parsable {
6812
6898
  */
6813
6899
  export interface MobileDevicePreferences extends AdditionalDataHolder, Parsable {
6814
6900
  /**
6815
- * Stable device identifier generated by the Leadping mobile app.
6901
+ * The ID and name for this device.
6816
6902
  */
6817
- deviceId?: string | null;
6818
- /**
6819
- * Human-readable device name captured by the Leadping mobile app.
6820
- */
6821
- deviceName?: string | null;
6903
+ device?: IdNamePair | null;
6822
6904
  /**
6823
6905
  * Whether inbound phone calls are enabled for this user device.
6824
6906
  */
@@ -7410,10 +7492,6 @@ export interface PagedResultOfUsageLedgerTableRow extends AdditionalDataHolder,
7410
7492
  * Public Leadping API schema for lead phone number data.
7411
7493
  */
7412
7494
  export interface Phone extends AdditionalDataHolder, Parsable {
7413
- /**
7414
- * Phone lookup details returned by the provider or Leadping enrichment service.
7415
- */
7416
- lookup?: Phone_lookup | null;
7417
7495
  /**
7418
7496
  * E.164 phone number exposed by this lead phone number.
7419
7497
  */
@@ -7427,11 +7505,6 @@ export interface Phone extends AdditionalDataHolder, Parsable {
7427
7505
  */
7428
7506
  type?: string | null;
7429
7507
  }
7430
- /**
7431
- * Phone lookup details returned by the provider or Leadping enrichment service.
7432
- */
7433
- export interface Phone_lookup extends Parsable, PhoneLookup {
7434
- }
7435
7508
  /**
7436
7509
  * Response schema for the Leadping API phone call returned to authenticated clients.
7437
7510
  */
@@ -7539,84 +7612,6 @@ export interface PhoneCallResponse extends AdditionalDataHolder, Parsable {
7539
7612
  }
7540
7613
  export type PhoneCallResponse_selectionReason = (typeof PhoneCallResponse_selectionReasonObject)[keyof typeof PhoneCallResponse_selectionReasonObject];
7541
7614
  export type PhoneCallStatus = (typeof PhoneCallStatusObject)[keyof typeof PhoneCallStatusObject];
7542
- /**
7543
- * Public Leadping API schema for phone lookup result data.
7544
- */
7545
- export interface PhoneLookup extends AdditionalDataHolder, Parsable {
7546
- /**
7547
- * Complete carrier metadata reported for this phone number.
7548
- */
7549
- carrier?: PhoneLookup_carrier | null;
7550
- /**
7551
- * Gets or sets created at.
7552
- */
7553
- createdAt?: Date | null;
7554
- /**
7555
- * Gets or sets id.
7556
- */
7557
- id?: string | null;
7558
- /**
7559
- * Indicates whether this phone lookup result passed validation.
7560
- */
7561
- isValid?: boolean | null;
7562
- /**
7563
- * An enumerator describing phone line types
7564
- */
7565
- lineType?: PhoneLookup_lineType | null;
7566
- /**
7567
- * Geographic location metadata for the phone number, lead, or lookup result.
7568
- */
7569
- location?: PhoneLookup_location | null;
7570
- /**
7571
- * Gets or sets modified at.
7572
- */
7573
- modifiedAt?: Date | null;
7574
- /**
7575
- * E.164 phone number exposed by this phone lookup result.
7576
- */
7577
- number?: string | null;
7578
- }
7579
- /**
7580
- * Complete carrier metadata reported for this phone number.
7581
- */
7582
- export interface PhoneLookup_carrier extends Parsable, PhoneLookupCarrier {
7583
- }
7584
- export type PhoneLookup_lineType = (typeof PhoneLookup_lineTypeObject)[keyof typeof PhoneLookup_lineTypeObject];
7585
- /**
7586
- * Geographic location metadata for the phone number, lead, or lookup result.
7587
- */
7588
- export interface PhoneLookup_location extends Parsable, PhoneNumberLocation {
7589
- }
7590
- /**
7591
- * Complete carrier metadata returned by a phone number lookup provider.
7592
- */
7593
- export interface PhoneLookupCarrier extends AdditionalDataHolder, Parsable {
7594
- /**
7595
- * Reason or diagnostic code that explains the current outcome for this Leadping phone lookup carrier.
7596
- */
7597
- errorCode?: string | null;
7598
- /**
7599
- * Mobile country code (MCC) reported by the carrier lookup.
7600
- */
7601
- mobileCountryCode?: string | null;
7602
- /**
7603
- * Mobile network code (MNC) reported by the carrier lookup.
7604
- */
7605
- mobileNetworkCode?: string | null;
7606
- /**
7607
- * Human-readable name of the phone lookup carrier.
7608
- */
7609
- name?: string | null;
7610
- /**
7611
- * Normalized carrier name used for consistent matching and reporting.
7612
- */
7613
- normalizedCarrier?: string | null;
7614
- /**
7615
- * An enumerator describing carrier types
7616
- */
7617
- type?: PhoneLookupCarrier_type | null;
7618
- }
7619
- export type PhoneLookupCarrier_type = (typeof PhoneLookupCarrier_typeObject)[keyof typeof PhoneLookupCarrier_typeObject];
7620
7615
  /**
7621
7616
  * Request schema for checking phone number availability before purchase or assignment.
7622
7617
  */
@@ -7802,10 +7797,6 @@ export interface PhoneNumberResponse extends AdditionalDataHolder, Parsable {
7802
7797
  * Indicates whether Leadping provisions and manages this phone number.
7803
7798
  */
7804
7799
  leadpingOwned?: boolean | null;
7805
- /**
7806
- * Geographic location metadata for the phone number, lead, or lookup result.
7807
- */
7808
- location?: PhoneNumberResponse_location | null;
7809
7800
  /**
7810
7801
  * The date and time when the entity was last modified, if applicable.
7811
7802
  */
@@ -7818,6 +7809,10 @@ export interface PhoneNumberResponse extends AdditionalDataHolder, Parsable {
7818
7809
  * E.164 phone number exposed by this phone number.
7819
7810
  */
7820
7811
  number?: string | null;
7812
+ /**
7813
+ * Identifier of the canonical phone identity for this number.
7814
+ */
7815
+ phoneIdentityId?: string | null;
7821
7816
  /**
7822
7817
  * Routing metadata that connects this phone number to teams, campaigns, and sources.
7823
7818
  */
@@ -7832,11 +7827,6 @@ export interface PhoneNumberResponse extends AdditionalDataHolder, Parsable {
7832
7827
  */
7833
7828
  export interface PhoneNumberResponse_business extends IdNamePair, Parsable {
7834
7829
  }
7835
- /**
7836
- * Geographic location metadata for the phone number, lead, or lookup result.
7837
- */
7838
- export interface PhoneNumberResponse_location extends Parsable, PhoneNumberLocation {
7839
- }
7840
7830
  /**
7841
7831
  * Public Leadping API schema for phone number routing metadata data.
7842
7832
  */
@@ -7974,10 +7964,6 @@ export interface PhoneNumberTableRow extends AdditionalDataHolder, Parsable {
7974
7964
  * Unique Leadping identifier for this phone number table row.
7975
7965
  */
7976
7966
  id?: string | null;
7977
- /**
7978
- * Geographic location metadata for the phone number, lead, or lookup result.
7979
- */
7980
- location?: string | null;
7981
7967
  /**
7982
7968
  * Display name for this phone number table row in the Leadping API.
7983
7969
  */
@@ -8254,6 +8240,13 @@ export declare function serializeActivationDomainOption(writer: SerializationWri
8254
8240
  * @param writer Serialization writer to use to serialize this model
8255
8241
  */
8256
8242
  export declare function serializeActivationTimelineEvent(writer: SerializationWriter, activationTimelineEvent?: Partial<ActivationTimelineEvent> | undefined | null, isSerializingDerivedType?: boolean): void;
8243
+ /**
8244
+ * Serializes information the current object
8245
+ * @param ActivationTimelineEvent_actor The instance to serialize from.
8246
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
8247
+ * @param writer Serialization writer to use to serialize this model
8248
+ */
8249
+ export declare function serializeActivationTimelineEvent_actor(writer: SerializationWriter, activationTimelineEvent_actor?: Partial<ActivationTimelineEvent_actor> | undefined | null, isSerializingDerivedType?: boolean): void;
8257
8250
  /**
8258
8251
  * Serializes information the current object
8259
8252
  * @param AnalyticsComparison The instance to serialize from.
@@ -8464,6 +8457,20 @@ export declare function serializeAutomationWorkflowEventResponse(writer: Seriali
8464
8457
  * @param writer Serialization writer to use to serialize this model
8465
8458
  */
8466
8459
  export declare function serializeAutomationWorkflowRunResponse(writer: SerializationWriter, automationWorkflowRunResponse?: Partial<AutomationWorkflowRunResponse> | undefined | null, isSerializingDerivedType?: boolean): void;
8460
+ /**
8461
+ * Serializes information the current object
8462
+ * @param AutomationWorkflowRunResponse_automation The instance to serialize from.
8463
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
8464
+ * @param writer Serialization writer to use to serialize this model
8465
+ */
8466
+ export declare function serializeAutomationWorkflowRunResponse_automation(writer: SerializationWriter, automationWorkflowRunResponse_automation?: Partial<AutomationWorkflowRunResponse_automation> | undefined | null, isSerializingDerivedType?: boolean): void;
8467
+ /**
8468
+ * Serializes information the current object
8469
+ * @param AutomationWorkflowRunResponse_currentStep The instance to serialize from.
8470
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
8471
+ * @param writer Serialization writer to use to serialize this model
8472
+ */
8473
+ export declare function serializeAutomationWorkflowRunResponse_currentStep(writer: SerializationWriter, automationWorkflowRunResponse_currentStep?: Partial<AutomationWorkflowRunResponse_currentStep> | undefined | null, isSerializingDerivedType?: boolean): void;
8467
8474
  /**
8468
8475
  * Serializes information the current object
8469
8476
  * @param AutomationWorkflowStatusResponse The instance to serialize from.
@@ -8625,6 +8632,13 @@ export declare function serializeBusinessSwitchRequest(writer: SerializationWrit
8625
8632
  * @param writer Serialization writer to use to serialize this model
8626
8633
  */
8627
8634
  export declare function serializeBusinessTableRow(writer: SerializationWriter, businessTableRow?: Partial<BusinessTableRow> | undefined | null, isSerializingDerivedType?: boolean): void;
8635
+ /**
8636
+ * Serializes information the current object
8637
+ * @param BusinessTableRow_business The instance to serialize from.
8638
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
8639
+ * @param writer Serialization writer to use to serialize this model
8640
+ */
8641
+ export declare function serializeBusinessTableRow_business(writer: SerializationWriter, businessTableRow_business?: Partial<BusinessTableRow_business> | undefined | null, isSerializingDerivedType?: boolean): void;
8628
8642
  /**
8629
8643
  * Serializes information the current object
8630
8644
  * @param BusinessUserRequest The instance to serialize from.
@@ -9017,6 +9031,13 @@ export declare function serializeLeadResponse_currentDisposition(writer: Seriali
9017
9031
  * @param writer Serialization writer to use to serialize this model
9018
9032
  */
9019
9033
  export declare function serializeLeadTableRow(writer: SerializationWriter, leadTableRow?: Partial<LeadTableRow> | undefined | null, isSerializingDerivedType?: boolean): void;
9034
+ /**
9035
+ * Serializes information the current object
9036
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
9037
+ * @param LeadTableRow_business The instance to serialize from.
9038
+ * @param writer Serialization writer to use to serialize this model
9039
+ */
9040
+ export declare function serializeLeadTableRow_business(writer: SerializationWriter, leadTableRow_business?: Partial<LeadTableRow_business> | undefined | null, isSerializingDerivedType?: boolean): void;
9020
9041
  /**
9021
9042
  * Serializes information the current object
9022
9043
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -9024,6 +9045,13 @@ export declare function serializeLeadTableRow(writer: SerializationWriter, leadT
9024
9045
  * @param writer Serialization writer to use to serialize this model
9025
9046
  */
9026
9047
  export declare function serializeLeadTableRow_currentDisposition(writer: SerializationWriter, leadTableRow_currentDisposition?: Partial<LeadTableRow_currentDisposition> | undefined | null, isSerializingDerivedType?: boolean): void;
9048
+ /**
9049
+ * Serializes information the current object
9050
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
9051
+ * @param LeadTableRow_source The instance to serialize from.
9052
+ * @param writer Serialization writer to use to serialize this model
9053
+ */
9054
+ export declare function serializeLeadTableRow_source(writer: SerializationWriter, leadTableRow_source?: Partial<LeadTableRow_source> | undefined | null, isSerializingDerivedType?: boolean): void;
9027
9055
  /**
9028
9056
  * Serializes information the current object
9029
9057
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -9185,13 +9213,6 @@ export declare function serializePagedResultOfUsageLedgerTableRow(writer: Serial
9185
9213
  * @param writer Serialization writer to use to serialize this model
9186
9214
  */
9187
9215
  export declare function serializePhone(writer: SerializationWriter, phone?: Partial<Phone> | undefined | null, isSerializingDerivedType?: boolean): void;
9188
- /**
9189
- * Serializes information the current object
9190
- * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
9191
- * @param Phone_lookup The instance to serialize from.
9192
- * @param writer Serialization writer to use to serialize this model
9193
- */
9194
- export declare function serializePhone_lookup(writer: SerializationWriter, phone_lookup?: Partial<Phone_lookup> | undefined | null, isSerializingDerivedType?: boolean): void;
9195
9216
  /**
9196
9217
  * Serializes information the current object
9197
9218
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -9199,34 +9220,6 @@ export declare function serializePhone_lookup(writer: SerializationWriter, phone
9199
9220
  * @param writer Serialization writer to use to serialize this model
9200
9221
  */
9201
9222
  export declare function serializePhoneCallResponse(writer: SerializationWriter, phoneCallResponse?: Partial<PhoneCallResponse> | undefined | null, isSerializingDerivedType?: boolean): void;
9202
- /**
9203
- * Serializes information the current object
9204
- * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
9205
- * @param PhoneLookup The instance to serialize from.
9206
- * @param writer Serialization writer to use to serialize this model
9207
- */
9208
- export declare function serializePhoneLookup(writer: SerializationWriter, phoneLookup?: Partial<PhoneLookup> | undefined | null, isSerializingDerivedType?: boolean): void;
9209
- /**
9210
- * Serializes information the current object
9211
- * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
9212
- * @param PhoneLookup_carrier The instance to serialize from.
9213
- * @param writer Serialization writer to use to serialize this model
9214
- */
9215
- export declare function serializePhoneLookup_carrier(writer: SerializationWriter, phoneLookup_carrier?: Partial<PhoneLookup_carrier> | undefined | null, isSerializingDerivedType?: boolean): void;
9216
- /**
9217
- * Serializes information the current object
9218
- * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
9219
- * @param PhoneLookup_location The instance to serialize from.
9220
- * @param writer Serialization writer to use to serialize this model
9221
- */
9222
- export declare function serializePhoneLookup_location(writer: SerializationWriter, phoneLookup_location?: Partial<PhoneLookup_location> | undefined | null, isSerializingDerivedType?: boolean): void;
9223
- /**
9224
- * Serializes information the current object
9225
- * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
9226
- * @param PhoneLookupCarrier The instance to serialize from.
9227
- * @param writer Serialization writer to use to serialize this model
9228
- */
9229
- export declare function serializePhoneLookupCarrier(writer: SerializationWriter, phoneLookupCarrier?: Partial<PhoneLookupCarrier> | undefined | null, isSerializingDerivedType?: boolean): void;
9230
9223
  /**
9231
9224
  * Serializes information the current object
9232
9225
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -9297,13 +9290,6 @@ export declare function serializePhoneNumberResponse(writer: SerializationWriter
9297
9290
  * @param writer Serialization writer to use to serialize this model
9298
9291
  */
9299
9292
  export declare function serializePhoneNumberResponse_business(writer: SerializationWriter, phoneNumberResponse_business?: Partial<PhoneNumberResponse_business> | undefined | null, isSerializingDerivedType?: boolean): void;
9300
- /**
9301
- * Serializes information the current object
9302
- * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
9303
- * @param PhoneNumberResponse_location The instance to serialize from.
9304
- * @param writer Serialization writer to use to serialize this model
9305
- */
9306
- export declare function serializePhoneNumberResponse_location(writer: SerializationWriter, phoneNumberResponse_location?: Partial<PhoneNumberResponse_location> | undefined | null, isSerializingDerivedType?: boolean): void;
9307
9293
  /**
9308
9294
  * Serializes information the current object
9309
9295
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -9612,6 +9598,13 @@ export declare function serializeTagSummary(writer: SerializationWriter, tagSumm
9612
9598
  * @param writer Serialization writer to use to serialize this model
9613
9599
  */
9614
9600
  export declare function serializeTelephonyLoginRequest(writer: SerializationWriter, telephonyLoginRequest?: Partial<TelephonyLoginRequest> | undefined | null, isSerializingDerivedType?: boolean): void;
9601
+ /**
9602
+ * Serializes information the current object
9603
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
9604
+ * @param TelephonyLoginRequest_device The instance to serialize from.
9605
+ * @param writer Serialization writer to use to serialize this model
9606
+ */
9607
+ export declare function serializeTelephonyLoginRequest_device(writer: SerializationWriter, telephonyLoginRequest_device?: Partial<TelephonyLoginRequest_device> | undefined | null, isSerializingDerivedType?: boolean): void;
9615
9608
  /**
9616
9609
  * Serializes information the current object
9617
9610
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -9633,6 +9626,20 @@ export declare function serializeTenDlcApplicationDraft(writer: SerializationWri
9633
9626
  * @param writer Serialization writer to use to serialize this model
9634
9627
  */
9635
9628
  export declare function serializeTransactionResponse(writer: SerializationWriter, transactionResponse?: Partial<TransactionResponse> | undefined | null, isSerializingDerivedType?: boolean): void;
9629
+ /**
9630
+ * Serializes information the current object
9631
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
9632
+ * @param TransactionResponse_business The instance to serialize from.
9633
+ * @param writer Serialization writer to use to serialize this model
9634
+ */
9635
+ export declare function serializeTransactionResponse_business(writer: SerializationWriter, transactionResponse_business?: Partial<TransactionResponse_business> | undefined | null, isSerializingDerivedType?: boolean): void;
9636
+ /**
9637
+ * Serializes information the current object
9638
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
9639
+ * @param TransactionResponse_lead The instance to serialize from.
9640
+ * @param writer Serialization writer to use to serialize this model
9641
+ */
9642
+ export declare function serializeTransactionResponse_lead(writer: SerializationWriter, transactionResponse_lead?: Partial<TransactionResponse_lead> | undefined | null, isSerializingDerivedType?: boolean): void;
9636
9643
  /**
9637
9644
  * Serializes information the current object
9638
9645
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -9640,6 +9647,20 @@ export declare function serializeTransactionResponse(writer: SerializationWriter
9640
9647
  * @param writer Serialization writer to use to serialize this model
9641
9648
  */
9642
9649
  export declare function serializeTransactionTableRow(writer: SerializationWriter, transactionTableRow?: Partial<TransactionTableRow> | undefined | null, isSerializingDerivedType?: boolean): void;
9650
+ /**
9651
+ * Serializes information the current object
9652
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
9653
+ * @param TransactionTableRow_business The instance to serialize from.
9654
+ * @param writer Serialization writer to use to serialize this model
9655
+ */
9656
+ export declare function serializeTransactionTableRow_business(writer: SerializationWriter, transactionTableRow_business?: Partial<TransactionTableRow_business> | undefined | null, isSerializingDerivedType?: boolean): void;
9657
+ /**
9658
+ * Serializes information the current object
9659
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
9660
+ * @param TransactionTableRow_lead The instance to serialize from.
9661
+ * @param writer Serialization writer to use to serialize this model
9662
+ */
9663
+ export declare function serializeTransactionTableRow_lead(writer: SerializationWriter, transactionTableRow_lead?: Partial<TransactionTableRow_lead> | undefined | null, isSerializingDerivedType?: boolean): void;
9643
9664
  /**
9644
9665
  * Serializes information the current object
9645
9666
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -9661,6 +9682,27 @@ export declare function serializeUsageCounterLine(writer: SerializationWriter, u
9661
9682
  * @param writer Serialization writer to use to serialize this model
9662
9683
  */
9663
9684
  export declare function serializeUsageLedgerTableRow(writer: SerializationWriter, usageLedgerTableRow?: Partial<UsageLedgerTableRow> | undefined | null, isSerializingDerivedType?: boolean): void;
9685
+ /**
9686
+ * Serializes information the current object
9687
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
9688
+ * @param UsageLedgerTableRow_business The instance to serialize from.
9689
+ * @param writer Serialization writer to use to serialize this model
9690
+ */
9691
+ export declare function serializeUsageLedgerTableRow_business(writer: SerializationWriter, usageLedgerTableRow_business?: Partial<UsageLedgerTableRow_business> | undefined | null, isSerializingDerivedType?: boolean): void;
9692
+ /**
9693
+ * Serializes information the current object
9694
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
9695
+ * @param UsageLedgerTableRow_lead The instance to serialize from.
9696
+ * @param writer Serialization writer to use to serialize this model
9697
+ */
9698
+ export declare function serializeUsageLedgerTableRow_lead(writer: SerializationWriter, usageLedgerTableRow_lead?: Partial<UsageLedgerTableRow_lead> | undefined | null, isSerializingDerivedType?: boolean): void;
9699
+ /**
9700
+ * Serializes information the current object
9701
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
9702
+ * @param UsageLedgerTableRow_user The instance to serialize from.
9703
+ * @param writer Serialization writer to use to serialize this model
9704
+ */
9705
+ export declare function serializeUsageLedgerTableRow_user(writer: SerializationWriter, usageLedgerTableRow_user?: Partial<UsageLedgerTableRow_user> | undefined | null, isSerializingDerivedType?: boolean): void;
9664
9706
  /**
9665
9707
  * Serializes information the current object
9666
9708
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -9862,13 +9904,9 @@ export interface SmsEventTableRow extends AdditionalDataHolder, Parsable {
9862
9904
  */
9863
9905
  isAutomated?: boolean | null;
9864
9906
  /**
9865
- * Lead ID associated with this SMS event.
9866
- */
9867
- leadId?: string | null;
9868
- /**
9869
- * Lead display name shown for this SMS event.
9907
+ * The ID and name for this lead.
9870
9908
  */
9871
- leadName?: string | null;
9909
+ lead?: IdNamePair | null;
9872
9910
  /**
9873
9911
  * Phone number ID selected for outbound delivery.
9874
9912
  */
@@ -10764,13 +10802,14 @@ export interface TagSummary extends AdditionalDataHolder, Parsable {
10764
10802
  */
10765
10803
  export interface TelephonyLoginRequest extends AdditionalDataHolder, Parsable {
10766
10804
  /**
10767
- * Stable device identifier generated by the Leadping mobile app.
10768
- */
10769
- deviceId?: string | null;
10770
- /**
10771
- * Human-readable device name captured by the Leadping mobile app.
10805
+ * The ID and name for this device.
10772
10806
  */
10773
- deviceName?: string | null;
10807
+ device?: TelephonyLoginRequest_device | null;
10808
+ }
10809
+ /**
10810
+ * The ID and name for this device.
10811
+ */
10812
+ export interface TelephonyLoginRequest_device extends IdNamePair, Parsable {
10774
10813
  }
10775
10814
  /**
10776
10815
  * Response model for telephony login token generation.
@@ -10891,22 +10930,14 @@ export type TenDlcApplicationStatus = (typeof TenDlcApplicationStatusObject)[key
10891
10930
  * Response schema for the Leadping API billing transaction response returned to authenticated clients.
10892
10931
  */
10893
10932
  export interface TransactionResponse extends AdditionalDataHolder, Parsable {
10894
- /**
10895
- * Display name of the wallet or account used for this transaction.
10896
- */
10897
- accountName?: string | null;
10898
10933
  /**
10899
10934
  * Monetary amount for this billing transaction or wallet operation.
10900
10935
  */
10901
10936
  amount?: number | null;
10902
10937
  /**
10903
- * Business ID charged or credited by this wallet transaction.
10938
+ * The ID and name for this business.
10904
10939
  */
10905
- businessId?: string | null;
10906
- /**
10907
- * Business display name shown for this wallet transaction.
10908
- */
10909
- businessName?: string | null;
10940
+ business?: TransactionResponse_business | null;
10910
10941
  /**
10911
10942
  * The date and time when the entity was created.
10912
10943
  */
@@ -10928,13 +10959,9 @@ export interface TransactionResponse extends AdditionalDataHolder, Parsable {
10928
10959
  */
10929
10960
  id?: string | null;
10930
10961
  /**
10931
- * Lead ID connected to this transaction when the charge came from lead activity.
10932
- */
10933
- leadId?: string | null;
10934
- /**
10935
- * Lead display name shown for lead-related wallet transactions.
10962
+ * The ID and name for this lead.
10936
10963
  */
10937
- leadName?: string | null;
10964
+ lead?: TransactionResponse_lead | null;
10938
10965
  /**
10939
10966
  * The date and time when the entity was last modified, if applicable.
10940
10967
  */
@@ -10964,27 +10991,29 @@ export interface TransactionResponse extends AdditionalDataHolder, Parsable {
10964
10991
  */
10965
10992
  transactionType?: TransactionType | null;
10966
10993
  }
10994
+ /**
10995
+ * The ID and name for this business.
10996
+ */
10997
+ export interface TransactionResponse_business extends IdNamePair, Parsable {
10998
+ }
10999
+ /**
11000
+ * The ID and name for this lead.
11001
+ */
11002
+ export interface TransactionResponse_lead extends IdNamePair, Parsable {
11003
+ }
10967
11004
  export type TransactionStatus = (typeof TransactionStatusObject)[keyof typeof TransactionStatusObject];
10968
11005
  /**
10969
11006
  * List item schema for Leadping API billing transaction table row results shown in searchable tables.
10970
11007
  */
10971
11008
  export interface TransactionTableRow extends AdditionalDataHolder, Parsable {
10972
- /**
10973
- * Display name of the wallet or account used for this transaction.
10974
- */
10975
- accountName?: string | null;
10976
11009
  /**
10977
11010
  * Monetary amount for this billing transaction or wallet operation.
10978
11011
  */
10979
11012
  amount?: number | null;
10980
11013
  /**
10981
- * Business ID charged or credited by this wallet transaction.
11014
+ * The ID and name for this business.
10982
11015
  */
10983
- businessId?: string | null;
10984
- /**
10985
- * Business display name shown for this wallet transaction.
10986
- */
10987
- businessName?: string | null;
11016
+ business?: TransactionTableRow_business | null;
10988
11017
  /**
10989
11018
  * UTC timestamp when this billing transaction table row was created.
10990
11019
  */
@@ -10998,13 +11027,9 @@ export interface TransactionTableRow extends AdditionalDataHolder, Parsable {
10998
11027
  */
10999
11028
  id?: string | null;
11000
11029
  /**
11001
- * Lead ID connected to this transaction when the charge came from lead activity.
11030
+ * The ID and name for this lead.
11002
11031
  */
11003
- leadId?: string | null;
11004
- /**
11005
- * Lead display name shown for lead-related wallet transactions.
11006
- */
11007
- leadName?: string | null;
11032
+ lead?: TransactionTableRow_lead | null;
11008
11033
  /**
11009
11034
  * Net monetary amount after fees, credits, or adjustments.
11010
11035
  */
@@ -11022,6 +11047,16 @@ export interface TransactionTableRow extends AdditionalDataHolder, Parsable {
11022
11047
  */
11023
11048
  transactionType?: TransactionType | null;
11024
11049
  }
11050
+ /**
11051
+ * The ID and name for this business.
11052
+ */
11053
+ export interface TransactionTableRow_business extends IdNamePair, Parsable {
11054
+ }
11055
+ /**
11056
+ * The ID and name for this lead.
11057
+ */
11058
+ export interface TransactionTableRow_lead extends IdNamePair, Parsable {
11059
+ }
11025
11060
  export type TransactionType = (typeof TransactionTypeObject)[keyof typeof TransactionTypeObject];
11026
11061
  /**
11027
11062
  * API DTO containing trusted form certificate data used by Leadping API contracts.
@@ -11083,13 +11118,9 @@ export interface UsageLedgerTableRow extends AdditionalDataHolder, Parsable {
11083
11118
  */
11084
11119
  billableUnit?: BillableUnit | null;
11085
11120
  /**
11086
- * The business ID associated with this usage ledger.
11121
+ * The ID and name for this business.
11087
11122
  */
11088
- businessId?: string | null;
11089
- /**
11090
- * The business name value for this usage ledger.
11091
- */
11092
- businessName?: string | null;
11123
+ business?: UsageLedgerTableRow_business | null;
11093
11124
  /**
11094
11125
  * The channel value for this usage ledger.
11095
11126
  */
@@ -11119,13 +11150,9 @@ export interface UsageLedgerTableRow extends AdditionalDataHolder, Parsable {
11119
11150
  */
11120
11151
  isBillable?: boolean | null;
11121
11152
  /**
11122
- * The lead ID associated with this usage ledger.
11123
- */
11124
- leadId?: string | null;
11125
- /**
11126
- * The lead name value for this usage ledger.
11153
+ * The ID and name for this lead.
11127
11154
  */
11128
- leadName?: string | null;
11155
+ lead?: UsageLedgerTableRow_lead | null;
11129
11156
  /**
11130
11157
  * The phone number associated with this usage ledger.
11131
11158
  */
@@ -11151,13 +11178,24 @@ export interface UsageLedgerTableRow extends AdditionalDataHolder, Parsable {
11151
11178
  */
11152
11179
  unitPrice?: number | null;
11153
11180
  /**
11154
- * The user ID associated with this usage ledger.
11181
+ * The ID and name for this user.
11155
11182
  */
11156
- userId?: string | null;
11157
- /**
11158
- * The user name value for this usage ledger.
11159
- */
11160
- userName?: string | null;
11183
+ user?: UsageLedgerTableRow_user | null;
11184
+ }
11185
+ /**
11186
+ * The ID and name for this business.
11187
+ */
11188
+ export interface UsageLedgerTableRow_business extends IdNamePair, Parsable {
11189
+ }
11190
+ /**
11191
+ * The ID and name for this lead.
11192
+ */
11193
+ export interface UsageLedgerTableRow_lead extends IdNamePair, Parsable {
11194
+ }
11195
+ /**
11196
+ * The ID and name for this user.
11197
+ */
11198
+ export interface UsageLedgerTableRow_user extends IdNamePair, Parsable {
11161
11199
  }
11162
11200
  export type UsageRecordStatus = (typeof UsageRecordStatusObject)[keyof typeof UsageRecordStatusObject];
11163
11201
  /**
@@ -12474,34 +12512,6 @@ export declare const PhoneCallStatusObject: {
12474
12512
  readonly Blocked_permission: "blocked_permission";
12475
12513
  readonly Configuration_required: "configuration_required";
12476
12514
  };
12477
- /**
12478
- * An enumerator describing phone line types
12479
- */
12480
- export declare const PhoneLookup_lineTypeObject: {
12481
- readonly Wireline: "Wireline";
12482
- readonly Wireless: "Wireless";
12483
- readonly VoWiFi: "VoWiFi";
12484
- readonly VoIP: "VoIP";
12485
- readonly PrePaidWireless: "PrePaidWireless";
12486
- readonly Unknown: "Unknown";
12487
- };
12488
- /**
12489
- * An enumerator describing carrier types
12490
- */
12491
- export declare const PhoneLookupCarrier_typeObject: {
12492
- readonly FixedLine: "FixedLine";
12493
- readonly Mobile: "Mobile";
12494
- readonly Voip: "Voip";
12495
- readonly FixedLineOrMobile: "FixedLineOrMobile";
12496
- readonly TollFree: "TollFree";
12497
- readonly PremiumRate: "PremiumRate";
12498
- readonly SharedCost: "SharedCost";
12499
- readonly PersonalNumber: "PersonalNumber";
12500
- readonly Pager: "Pager";
12501
- readonly Uan: "Uan";
12502
- readonly Voicemail: "Voicemail";
12503
- readonly Unknown: "Unknown";
12504
- };
12505
12515
  /**
12506
12516
  * Defines phone-number outbound health states used by pacing.
12507
12517
  */