@leadping/sdk 1.0.49 → 1.0.51
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/automations/preview/index.d.ts +14 -5
- package/dist/automations/preview/index.d.ts.map +1 -1
- package/dist/automations/preview/index.js +8 -1
- package/dist/automations/preview/index.js.map +1 -1
- package/dist/blog/index.d.ts +40 -0
- package/dist/blog/index.d.ts.map +1 -0
- package/dist/blog/index.js +37 -0
- package/dist/blog/index.js.map +1 -0
- package/dist/blog/item/index.d.ts +30 -0
- package/dist/blog/item/index.d.ts.map +1 -0
- package/dist/blog/item/index.js +27 -0
- package/dist/blog/item/index.js.map +1 -0
- package/dist/conversations/index.d.ts +7 -0
- package/dist/conversations/index.d.ts.map +1 -1
- package/dist/conversations/index.js +6 -0
- package/dist/conversations/index.js.map +1 -1
- package/dist/conversations/item/index.d.ts +20 -0
- package/dist/conversations/item/index.d.ts.map +1 -0
- package/dist/conversations/item/index.js +20 -0
- package/dist/conversations/item/index.js.map +1 -0
- package/dist/conversations/item/markRead/index.d.ts +31 -0
- package/dist/conversations/item/markRead/index.d.ts.map +1 -0
- package/dist/conversations/item/markRead/index.js +29 -0
- package/dist/conversations/item/markRead/index.js.map +1 -0
- package/dist/leadpingOpenApiClient.d.ts +5 -0
- package/dist/leadpingOpenApiClient.d.ts.map +1 -1
- package/dist/leadpingOpenApiClient.js +6 -0
- package/dist/leadpingOpenApiClient.js.map +1 -1
- package/dist/leads/item/assignment/index.d.ts +35 -0
- package/dist/leads/item/assignment/index.d.ts.map +1 -0
- package/dist/leads/item/assignment/index.js +33 -0
- package/dist/leads/item/assignment/index.js.map +1 -0
- package/dist/leads/item/index.d.ts +5 -0
- package/dist/leads/item/index.d.ts.map +1 -1
- package/dist/leads/item/index.js +5 -0
- package/dist/leads/item/index.js.map +1 -1
- package/dist/models/index.d.ts +314 -12
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +280 -6
- package/dist/models/index.js.map +1 -1
- package/dist/organizations/apiKeys/item/index.d.ts +6 -6
- package/dist/organizations/apiKeys/my/index.d.ts +2 -2
- package/dist/organizations/me/index.d.ts +5 -0
- package/dist/organizations/me/index.d.ts.map +1 -1
- package/dist/organizations/me/index.js +5 -0
- package/dist/organizations/me/index.js.map +1 -1
- package/dist/organizations/me/membership/index.d.ts +30 -0
- package/dist/organizations/me/membership/index.d.ts.map +1 -0
- package/dist/organizations/me/membership/index.js +28 -0
- package/dist/organizations/me/membership/index.js.map +1 -0
- package/dist/paymentMethods/index.d.ts +1 -0
- package/dist/paymentMethods/index.d.ts.map +1 -1
- package/dist/paymentMethods/index.js +1 -0
- package/dist/paymentMethods/index.js.map +1 -1
- package/dist/paymentMethods/invoices/index.d.ts +1 -0
- package/dist/paymentMethods/invoices/index.d.ts.map +1 -1
- package/dist/paymentMethods/invoices/index.js +1 -0
- package/dist/paymentMethods/invoices/index.js.map +1 -1
- package/dist/paymentMethods/invoices/item/pdfAccess/index.d.ts +1 -0
- package/dist/paymentMethods/invoices/item/pdfAccess/index.d.ts.map +1 -1
- package/dist/paymentMethods/invoices/item/pdfAccess/index.js +1 -0
- package/dist/paymentMethods/invoices/item/pdfAccess/index.js.map +1 -1
- package/dist/paymentMethods/item/defaultEscaped/index.d.ts +1 -0
- package/dist/paymentMethods/item/defaultEscaped/index.d.ts.map +1 -1
- package/dist/paymentMethods/item/defaultEscaped/index.js +1 -0
- package/dist/paymentMethods/item/defaultEscaped/index.js.map +1 -1
- package/dist/paymentMethods/item/index.d.ts +2 -0
- package/dist/paymentMethods/item/index.d.ts.map +1 -1
- package/dist/paymentMethods/item/index.js +2 -0
- package/dist/paymentMethods/item/index.js.map +1 -1
- package/dist/phoneCall/initiate/index.d.ts +2 -2
- package/dist/phoneCall/item/hangup/index.d.ts +2 -2
- package/dist/phoneCall/item/status/index.d.ts +2 -2
- package/dist/phoneCall/item/transfer/index.d.ts +3 -3
- package/dist/sms/item/cancel/index.d.ts +2 -2
- package/dist/sources/index.d.ts +3 -3
- package/dist/sources/index.d.ts.map +1 -1
- package/dist/sources/index.js +2 -2
- package/dist/sources/index.js.map +1 -1
- package/dist/sources/item/credentials/index.d.ts +20 -0
- package/dist/sources/item/credentials/index.d.ts.map +1 -0
- package/dist/sources/item/credentials/index.js +20 -0
- package/dist/sources/item/credentials/index.js.map +1 -0
- package/dist/sources/item/credentials/rotate/index.d.ts +32 -0
- package/dist/sources/item/credentials/rotate/index.d.ts.map +1 -0
- package/dist/sources/item/credentials/rotate/index.js +29 -0
- package/dist/sources/item/credentials/rotate/index.js.map +1 -0
- package/dist/sources/item/index.d.ts +5 -0
- package/dist/sources/item/index.d.ts.map +1 -1
- package/dist/sources/item/index.js +5 -0
- package/dist/sources/item/index.js.map +1 -1
- package/dist/suppressions/check/index.d.ts +2 -2
- package/dist/suppressions/index.d.ts +2 -2
- package/dist/suppressions/release/index.d.ts +2 -2
- package/dist/telephony/login/index.d.ts +2 -2
- package/dist/users/changeBillingPlan/index.d.ts +1 -0
- package/dist/users/changeBillingPlan/index.d.ts.map +1 -1
- package/dist/users/changeBillingPlan/index.js +1 -0
- package/dist/users/changeBillingPlan/index.js.map +1 -1
- package/dist/users/me/index.d.ts +5 -0
- package/dist/users/me/index.d.ts.map +1 -1
- package/dist/users/me/index.js +5 -0
- package/dist/users/me/index.js.map +1 -1
- package/dist/users/me/notificationPreferences/index.d.ts +33 -0
- package/dist/users/me/notificationPreferences/index.d.ts.map +1 -0
- package/dist/users/me/notificationPreferences/index.js +31 -0
- package/dist/users/me/notificationPreferences/index.js.map +1 -0
- package/dist/users/me/paymentmethod/index.d.ts +1 -0
- package/dist/users/me/paymentmethod/index.d.ts.map +1 -1
- package/dist/users/me/paymentmethod/index.js +1 -0
- package/dist/users/me/paymentmethod/index.js.map +1 -1
- package/package.json +1 -1
package/dist/models/index.js
CHANGED
|
@@ -345,6 +345,15 @@ export function createAutomationWorkflowRunResponseFromDiscriminatorValue(parseN
|
|
|
345
345
|
export function createAutomationWorkflowStatusResponseFromDiscriminatorValue(parseNode) {
|
|
346
346
|
return deserializeIntoAutomationWorkflowStatusResponse;
|
|
347
347
|
}
|
|
348
|
+
/**
|
|
349
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
350
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
351
|
+
* @returns {BlogArticleResponse}
|
|
352
|
+
*/
|
|
353
|
+
// @ts-ignore
|
|
354
|
+
export function createBlogArticleResponseFromDiscriminatorValue(parseNode) {
|
|
355
|
+
return deserializeIntoBlogArticleResponse;
|
|
356
|
+
}
|
|
348
357
|
/**
|
|
349
358
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
350
359
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -498,6 +507,15 @@ export function createCustomerAutomationHealth_lastFailureFromDiscriminatorValue
|
|
|
498
507
|
export function createCustomerAutomationHealthFromDiscriminatorValue(parseNode) {
|
|
499
508
|
return deserializeIntoCustomerAutomationHealth;
|
|
500
509
|
}
|
|
510
|
+
/**
|
|
511
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
512
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
513
|
+
* @returns {CustomerAutomationHealthPoint}
|
|
514
|
+
*/
|
|
515
|
+
// @ts-ignore
|
|
516
|
+
export function createCustomerAutomationHealthPointFromDiscriminatorValue(parseNode) {
|
|
517
|
+
return deserializeIntoCustomerAutomationHealthPoint;
|
|
518
|
+
}
|
|
501
519
|
/**
|
|
502
520
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
503
521
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -669,6 +687,15 @@ export function createInvoicePdfAccessResponseFromDiscriminatorValue(parseNode)
|
|
|
669
687
|
export function createLeadArchiveRequestFromDiscriminatorValue(parseNode) {
|
|
670
688
|
return deserializeIntoLeadArchiveRequest;
|
|
671
689
|
}
|
|
690
|
+
/**
|
|
691
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
692
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
693
|
+
* @returns {LeadAssignmentRequest}
|
|
694
|
+
*/
|
|
695
|
+
// @ts-ignore
|
|
696
|
+
export function createLeadAssignmentRequestFromDiscriminatorValue(parseNode) {
|
|
697
|
+
return deserializeIntoLeadAssignmentRequest;
|
|
698
|
+
}
|
|
672
699
|
/**
|
|
673
700
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
674
701
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -759,6 +786,15 @@ export function createLeadProfileFromDiscriminatorValue(parseNode) {
|
|
|
759
786
|
export function createLeadRequestFromDiscriminatorValue(parseNode) {
|
|
760
787
|
return deserializeIntoLeadRequest;
|
|
761
788
|
}
|
|
789
|
+
/**
|
|
790
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
791
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
792
|
+
* @returns {LeadResponse_assignedTo}
|
|
793
|
+
*/
|
|
794
|
+
// @ts-ignore
|
|
795
|
+
export function createLeadResponse_assignedToFromDiscriminatorValue(parseNode) {
|
|
796
|
+
return deserializeIntoLeadResponse_assignedTo;
|
|
797
|
+
}
|
|
762
798
|
/**
|
|
763
799
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
764
800
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -840,6 +876,15 @@ export function createLeadStatusRequestFromDiscriminatorValue(parseNode) {
|
|
|
840
876
|
export function createLeadStatusResponseFromDiscriminatorValue(parseNode) {
|
|
841
877
|
return deserializeIntoLeadStatusResponse;
|
|
842
878
|
}
|
|
879
|
+
/**
|
|
880
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
881
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
882
|
+
* @returns {LeadTableRow_assignedTo}
|
|
883
|
+
*/
|
|
884
|
+
// @ts-ignore
|
|
885
|
+
export function createLeadTableRow_assignedToFromDiscriminatorValue(parseNode) {
|
|
886
|
+
return deserializeIntoLeadTableRow_assignedTo;
|
|
887
|
+
}
|
|
843
888
|
/**
|
|
844
889
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
845
890
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -1839,6 +1884,15 @@ export function createSmsReadinessUiStateFromDiscriminatorValue(parseNode) {
|
|
|
1839
1884
|
export function createSmsResponseFromDiscriminatorValue(parseNode) {
|
|
1840
1885
|
return deserializeIntoSmsResponse;
|
|
1841
1886
|
}
|
|
1887
|
+
/**
|
|
1888
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
1889
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
1890
|
+
* @returns {SourceCredentialIssueResponse}
|
|
1891
|
+
*/
|
|
1892
|
+
// @ts-ignore
|
|
1893
|
+
export function createSourceCredentialIssueResponseFromDiscriminatorValue(parseNode) {
|
|
1894
|
+
return deserializeIntoSourceCredentialIssueResponse;
|
|
1895
|
+
}
|
|
1842
1896
|
/**
|
|
1843
1897
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
1844
1898
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -2496,6 +2550,7 @@ export function deserializeIntoAutomationActionRunRecord(automationActionRunReco
|
|
|
2496
2550
|
"order": n => { automationActionRunRecord.order = n.getNumberValue(); },
|
|
2497
2551
|
"processingAttempts": n => { automationActionRunRecord.processingAttempts = n.getNumberValue(); },
|
|
2498
2552
|
"scheduledAt": n => { automationActionRunRecord.scheduledAt = n.getDateValue(); },
|
|
2553
|
+
"selectedConnectionId": n => { automationActionRunRecord.selectedConnectionId = n.getStringValue(); },
|
|
2499
2554
|
"startedAt": n => { automationActionRunRecord.startedAt = n.getDateValue(); },
|
|
2500
2555
|
"status": n => { automationActionRunRecord.status = n.getStringValue(); },
|
|
2501
2556
|
};
|
|
@@ -2548,6 +2603,7 @@ export function deserializeIntoAutomationConnection(automationConnection = {}) {
|
|
|
2548
2603
|
"id": n => { automationConnection.id = n.getStringValue(); },
|
|
2549
2604
|
"sourceNodeId": n => { automationConnection.sourceNodeId = n.getStringValue(); },
|
|
2550
2605
|
"targetNodeId": n => { automationConnection.targetNodeId = n.getStringValue(); },
|
|
2606
|
+
"weight": n => { automationConnection.weight = n.getNumberValue(); },
|
|
2551
2607
|
};
|
|
2552
2608
|
}
|
|
2553
2609
|
/**
|
|
@@ -2696,7 +2752,6 @@ export function deserializeIntoAutomationResponse(automationResponse = {}) {
|
|
|
2696
2752
|
"name": n => { automationResponse.name = n.getStringValue(); },
|
|
2697
2753
|
"organization": n => { automationResponse.organization = n.getObjectValue(createAutomationResponse_organizationFromDiscriminatorValue); },
|
|
2698
2754
|
"organizationId": n => { automationResponse.organizationId = n.getStringValue(); },
|
|
2699
|
-
"recentRuns": n => { automationResponse.recentRuns = n.getCollectionOfObjectValues(createAutomationRunRecordFromDiscriminatorValue); },
|
|
2700
2755
|
"scope": n => { automationResponse.scope = n.getStringValue(); },
|
|
2701
2756
|
"triggers": n => { automationResponse.triggers = n.getCollectionOfObjectValues(createAutomationTriggerFromDiscriminatorValue); },
|
|
2702
2757
|
"user": n => { automationResponse.user = n.getObjectValue(createAutomationResponse_userFromDiscriminatorValue); },
|
|
@@ -2957,6 +3012,29 @@ export function deserializeIntoAutomationWorkflowStatusResponse(automationWorkfl
|
|
|
2957
3012
|
"runs": n => { automationWorkflowStatusResponse.runs = n.getCollectionOfObjectValues(createAutomationWorkflowRunResponseFromDiscriminatorValue); },
|
|
2958
3013
|
};
|
|
2959
3014
|
}
|
|
3015
|
+
/**
|
|
3016
|
+
* The deserialization information for the current model
|
|
3017
|
+
* @param BlogArticleResponse The instance to deserialize into.
|
|
3018
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
3019
|
+
*/
|
|
3020
|
+
// @ts-ignore
|
|
3021
|
+
export function deserializeIntoBlogArticleResponse(blogArticleResponse = {}) {
|
|
3022
|
+
return {
|
|
3023
|
+
"authorName": n => { blogArticleResponse.authorName = n.getStringValue(); },
|
|
3024
|
+
"category": n => { blogArticleResponse.category = n.getStringValue(); },
|
|
3025
|
+
"content": n => { blogArticleResponse.content = n.getStringValue(); },
|
|
3026
|
+
"coverImageUrl": n => { blogArticleResponse.coverImageUrl = n.getStringValue(); },
|
|
3027
|
+
"createdAt": n => { blogArticleResponse.createdAt = n.getDateValue(); },
|
|
3028
|
+
"excerpt": n => { blogArticleResponse.excerpt = n.getStringValue(); },
|
|
3029
|
+
"id": n => { blogArticleResponse.id = n.getStringValue(); },
|
|
3030
|
+
"isFeatured": n => { blogArticleResponse.isFeatured = n.getBooleanValue(); },
|
|
3031
|
+
"isPublished": n => { blogArticleResponse.isPublished = n.getBooleanValue(); },
|
|
3032
|
+
"modifiedAt": n => { blogArticleResponse.modifiedAt = n.getDateValue(); },
|
|
3033
|
+
"publishedAt": n => { blogArticleResponse.publishedAt = n.getDateValue(); },
|
|
3034
|
+
"slug": n => { blogArticleResponse.slug = n.getStringValue(); },
|
|
3035
|
+
"title": n => { blogArticleResponse.title = n.getStringValue(); },
|
|
3036
|
+
};
|
|
3037
|
+
}
|
|
2960
3038
|
/**
|
|
2961
3039
|
* The deserialization information for the current model
|
|
2962
3040
|
* @param CallEventTableRow The instance to deserialize into.
|
|
@@ -3226,6 +3304,7 @@ export function deserializeIntoCustomerAutomationHealth(customerAutomationHealth
|
|
|
3226
3304
|
"failureCount": n => { customerAutomationHealth.failureCount = n.getNumberValue(); },
|
|
3227
3305
|
"lastFailure": n => { customerAutomationHealth.lastFailure = n.getObjectValue(createCustomerAutomationHealth_lastFailureFromDiscriminatorValue); },
|
|
3228
3306
|
"successCount": n => { customerAutomationHealth.successCount = n.getNumberValue(); },
|
|
3307
|
+
"trend": n => { customerAutomationHealth.trend = n.getCollectionOfObjectValues(createCustomerAutomationHealthPointFromDiscriminatorValue); },
|
|
3229
3308
|
};
|
|
3230
3309
|
}
|
|
3231
3310
|
/**
|
|
@@ -3239,6 +3318,22 @@ export function deserializeIntoCustomerAutomationHealth_lastFailure(customerAuto
|
|
|
3239
3318
|
...deserializeIntoCustomerFailingAutomation(customerAutomationHealth_lastFailure),
|
|
3240
3319
|
};
|
|
3241
3320
|
}
|
|
3321
|
+
/**
|
|
3322
|
+
* The deserialization information for the current model
|
|
3323
|
+
* @param CustomerAutomationHealthPoint The instance to deserialize into.
|
|
3324
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
3325
|
+
*/
|
|
3326
|
+
// @ts-ignore
|
|
3327
|
+
export function deserializeIntoCustomerAutomationHealthPoint(customerAutomationHealthPoint = {}) {
|
|
3328
|
+
return {
|
|
3329
|
+
"endAt": n => { customerAutomationHealthPoint.endAt = n.getDateValue(); },
|
|
3330
|
+
"executions": n => { customerAutomationHealthPoint.executions = n.getNumberValue(); },
|
|
3331
|
+
"failureCount": n => { customerAutomationHealthPoint.failureCount = n.getNumberValue(); },
|
|
3332
|
+
"label": n => { customerAutomationHealthPoint.label = n.getStringValue(); },
|
|
3333
|
+
"startAt": n => { customerAutomationHealthPoint.startAt = n.getDateValue(); },
|
|
3334
|
+
"successCount": n => { customerAutomationHealthPoint.successCount = n.getNumberValue(); },
|
|
3335
|
+
};
|
|
3336
|
+
}
|
|
3242
3337
|
/**
|
|
3243
3338
|
* The deserialization information for the current model
|
|
3244
3339
|
* @param CustomerCommunicationUsage The instance to deserialize into.
|
|
@@ -3248,6 +3343,7 @@ export function deserializeIntoCustomerAutomationHealth_lastFailure(customerAuto
|
|
|
3248
3343
|
export function deserializeIntoCustomerCommunicationUsage(customerCommunicationUsage = {}) {
|
|
3249
3344
|
return {
|
|
3250
3345
|
"answeredCalls": n => { customerCommunicationUsage.answeredCalls = n.getNumberValue(); },
|
|
3346
|
+
"callErrors": n => { customerCommunicationUsage.callErrors = n.getNumberValue(); },
|
|
3251
3347
|
"callMinutes": n => { customerCommunicationUsage.callMinutes = n.getNumberValue(); },
|
|
3252
3348
|
"callsPlaced": n => { customerCommunicationUsage.callsPlaced = n.getNumberValue(); },
|
|
3253
3349
|
"callsReceived": n => { customerCommunicationUsage.callsReceived = n.getNumberValue(); },
|
|
@@ -3267,10 +3363,14 @@ export function deserializeIntoCustomerCommunicationUsage(customerCommunicationU
|
|
|
3267
3363
|
// @ts-ignore
|
|
3268
3364
|
export function deserializeIntoCustomerCommunicationUsagePoint(customerCommunicationUsagePoint = {}) {
|
|
3269
3365
|
return {
|
|
3366
|
+
"callErrors": n => { customerCommunicationUsagePoint.callErrors = n.getNumberValue(); },
|
|
3270
3367
|
"callMinutes": n => { customerCommunicationUsagePoint.callMinutes = n.getNumberValue(); },
|
|
3271
3368
|
"calls": n => { customerCommunicationUsagePoint.calls = n.getNumberValue(); },
|
|
3369
|
+
"callsPlaced": n => { customerCommunicationUsagePoint.callsPlaced = n.getNumberValue(); },
|
|
3370
|
+
"callsReceived": n => { customerCommunicationUsagePoint.callsReceived = n.getNumberValue(); },
|
|
3272
3371
|
"endAt": n => { customerCommunicationUsagePoint.endAt = n.getDateValue(); },
|
|
3273
3372
|
"label": n => { customerCommunicationUsagePoint.label = n.getStringValue(); },
|
|
3373
|
+
"smsErrors": n => { customerCommunicationUsagePoint.smsErrors = n.getNumberValue(); },
|
|
3274
3374
|
"smsReceived": n => { customerCommunicationUsagePoint.smsReceived = n.getNumberValue(); },
|
|
3275
3375
|
"smsSent": n => { customerCommunicationUsagePoint.smsSent = n.getNumberValue(); },
|
|
3276
3376
|
"spend": n => { customerCommunicationUsagePoint.spend = n.getNumberValue(); },
|
|
@@ -3313,8 +3413,10 @@ export function deserializeIntoCustomerLeadSourceBreakdown(customerLeadSourceBre
|
|
|
3313
3413
|
export function deserializeIntoCustomerLeadTrend(customerLeadTrend = {}) {
|
|
3314
3414
|
return {
|
|
3315
3415
|
"comparison": n => { customerLeadTrend.comparison = n.getObjectValue(createAnalyticsComparisonFromDiscriminatorValue); },
|
|
3416
|
+
"errorPoints": n => { customerLeadTrend.errorPoints = n.getCollectionOfObjectValues(createAnalyticsTrendPointOfintFromDiscriminatorValue); },
|
|
3316
3417
|
"points": n => { customerLeadTrend.points = n.getCollectionOfObjectValues(createAnalyticsTrendPointOfintFromDiscriminatorValue); },
|
|
3317
3418
|
"total": n => { customerLeadTrend.total = n.getNumberValue(); },
|
|
3419
|
+
"totalErrors": n => { customerLeadTrend.totalErrors = n.getNumberValue(); },
|
|
3318
3420
|
};
|
|
3319
3421
|
}
|
|
3320
3422
|
/**
|
|
@@ -3599,6 +3701,17 @@ export function deserializeIntoLeadArchiveRequest(leadArchiveRequest = {}) {
|
|
|
3599
3701
|
"reason": n => { leadArchiveRequest.reason = n.getNumberValue(); },
|
|
3600
3702
|
};
|
|
3601
3703
|
}
|
|
3704
|
+
/**
|
|
3705
|
+
* The deserialization information for the current model
|
|
3706
|
+
* @param LeadAssignmentRequest The instance to deserialize into.
|
|
3707
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
3708
|
+
*/
|
|
3709
|
+
// @ts-ignore
|
|
3710
|
+
export function deserializeIntoLeadAssignmentRequest(leadAssignmentRequest = {}) {
|
|
3711
|
+
return {
|
|
3712
|
+
"assignedToUserId": n => { leadAssignmentRequest.assignedToUserId = n.getStringValue(); },
|
|
3713
|
+
};
|
|
3714
|
+
}
|
|
3602
3715
|
/**
|
|
3603
3716
|
* The deserialization information for the current model
|
|
3604
3717
|
* @param LeadContact The instance to deserialize into.
|
|
@@ -3808,6 +3921,8 @@ export function deserializeIntoLeadResponse(leadResponse = {}) {
|
|
|
3808
3921
|
"archivedByUserId": n => { leadResponse.archivedByUserId = n.getStringValue(); },
|
|
3809
3922
|
"archiveNote": n => { leadResponse.archiveNote = n.getStringValue(); },
|
|
3810
3923
|
"archiveReason": n => { leadResponse.archiveReason = n.getNumberValue(); },
|
|
3924
|
+
"assignedTo": n => { leadResponse.assignedTo = n.getObjectValue(createLeadResponse_assignedToFromDiscriminatorValue); },
|
|
3925
|
+
"assignedToUserId": n => { leadResponse.assignedToUserId = n.getStringValue(); },
|
|
3811
3926
|
"contact": n => { leadResponse.contact = n.getObjectValue(createLeadContactFromDiscriminatorValue); },
|
|
3812
3927
|
"createdAt": n => { leadResponse.createdAt = n.getDateValue(); },
|
|
3813
3928
|
"currentLeadStatus": n => { leadResponse.currentLeadStatus = n.getObjectValue(createLeadResponse_currentLeadStatusFromDiscriminatorValue); },
|
|
@@ -3826,6 +3941,17 @@ export function deserializeIntoLeadResponse(leadResponse = {}) {
|
|
|
3826
3941
|
"tags": n => { leadResponse.tags = n.getCollectionOfObjectValues(createTagSummaryFromDiscriminatorValue); },
|
|
3827
3942
|
};
|
|
3828
3943
|
}
|
|
3944
|
+
/**
|
|
3945
|
+
* The deserialization information for the current model
|
|
3946
|
+
* @param LeadResponse_assignedTo The instance to deserialize into.
|
|
3947
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
3948
|
+
*/
|
|
3949
|
+
// @ts-ignore
|
|
3950
|
+
export function deserializeIntoLeadResponse_assignedTo(leadResponse_assignedTo = {}) {
|
|
3951
|
+
return {
|
|
3952
|
+
...deserializeIntoIdNamePair(leadResponse_assignedTo),
|
|
3953
|
+
};
|
|
3954
|
+
}
|
|
3829
3955
|
/**
|
|
3830
3956
|
* The deserialization information for the current model
|
|
3831
3957
|
* @param LeadResponse_currentLeadStatus The instance to deserialize into.
|
|
@@ -4001,6 +4127,9 @@ export function deserializeIntoLeadTableRow(leadTableRow = {}) {
|
|
|
4001
4127
|
"archivedAt": n => { leadTableRow.archivedAt = n.getDateValue(); },
|
|
4002
4128
|
"archivedByUserId": n => { leadTableRow.archivedByUserId = n.getStringValue(); },
|
|
4003
4129
|
"archiveReason": n => { leadTableRow.archiveReason = n.getNumberValue(); },
|
|
4130
|
+
"assignedTo": n => { leadTableRow.assignedTo = n.getObjectValue(createLeadTableRow_assignedToFromDiscriminatorValue); },
|
|
4131
|
+
"assignedToUserId": n => { leadTableRow.assignedToUserId = n.getStringValue(); },
|
|
4132
|
+
"avatarUrl": n => { leadTableRow.avatarUrl = n.getStringValue(); },
|
|
4004
4133
|
"createdAt": n => { leadTableRow.createdAt = n.getDateValue(); },
|
|
4005
4134
|
"currentLeadStatus": n => { leadTableRow.currentLeadStatus = n.getObjectValue(createLeadTableRow_currentLeadStatusFromDiscriminatorValue); },
|
|
4006
4135
|
"email": n => { leadTableRow.email = n.getStringValue(); },
|
|
@@ -4011,6 +4140,7 @@ export function deserializeIntoLeadTableRow(leadTableRow = {}) {
|
|
|
4011
4140
|
"lastName": n => { leadTableRow.lastName = n.getStringValue(); },
|
|
4012
4141
|
"organization": n => { leadTableRow.organization = n.getObjectValue(createLeadTableRow_organizationFromDiscriminatorValue); },
|
|
4013
4142
|
"phone": n => { leadTableRow.phone = n.getStringValue(); },
|
|
4143
|
+
"phoneIdentityId": n => { leadTableRow.phoneIdentityId = n.getStringValue(); },
|
|
4014
4144
|
"price": n => { leadTableRow.price = n.getNumberValue(); },
|
|
4015
4145
|
"processingStatus": n => { leadTableRow.processingStatus = n.getEnumValue(LeadTableRow_processingStatusObject); },
|
|
4016
4146
|
"processingStatusChangedAt": n => { leadTableRow.processingStatusChangedAt = n.getDateValue(); },
|
|
@@ -4022,6 +4152,17 @@ export function deserializeIntoLeadTableRow(leadTableRow = {}) {
|
|
|
4022
4152
|
"updatedAt": n => { leadTableRow.updatedAt = n.getDateValue(); },
|
|
4023
4153
|
};
|
|
4024
4154
|
}
|
|
4155
|
+
/**
|
|
4156
|
+
* The deserialization information for the current model
|
|
4157
|
+
* @param LeadTableRow_assignedTo The instance to deserialize into.
|
|
4158
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
4159
|
+
*/
|
|
4160
|
+
// @ts-ignore
|
|
4161
|
+
export function deserializeIntoLeadTableRow_assignedTo(leadTableRow_assignedTo = {}) {
|
|
4162
|
+
return {
|
|
4163
|
+
...deserializeIntoIdNamePair(leadTableRow_assignedTo),
|
|
4164
|
+
};
|
|
4165
|
+
}
|
|
4025
4166
|
/**
|
|
4026
4167
|
* The deserialization information for the current model
|
|
4027
4168
|
* @param LeadTableRow_currentLeadStatus The instance to deserialize into.
|
|
@@ -5849,6 +5990,18 @@ export function deserializeIntoSmsResponse(smsResponse = {}) {
|
|
|
5849
5990
|
"wasManuallyOverridden": n => { smsResponse.wasManuallyOverridden = n.getBooleanValue(); },
|
|
5850
5991
|
};
|
|
5851
5992
|
}
|
|
5993
|
+
/**
|
|
5994
|
+
* The deserialization information for the current model
|
|
5995
|
+
* @param SourceCredentialIssueResponse The instance to deserialize into.
|
|
5996
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
5997
|
+
*/
|
|
5998
|
+
// @ts-ignore
|
|
5999
|
+
export function deserializeIntoSourceCredentialIssueResponse(sourceCredentialIssueResponse = {}) {
|
|
6000
|
+
return {
|
|
6001
|
+
"secret": n => { sourceCredentialIssueResponse.secret = n.getStringValue(); },
|
|
6002
|
+
"source": n => { sourceCredentialIssueResponse.source = n.getObjectValue(createSourceResponseFromDiscriminatorValue); },
|
|
6003
|
+
};
|
|
6004
|
+
}
|
|
5852
6005
|
/**
|
|
5853
6006
|
* The deserialization information for the current model
|
|
5854
6007
|
* @param SourceMetricsResponse The instance to deserialize into.
|
|
@@ -5857,9 +6010,11 @@ export function deserializeIntoSmsResponse(smsResponse = {}) {
|
|
|
5857
6010
|
// @ts-ignore
|
|
5858
6011
|
export function deserializeIntoSourceMetricsResponse(sourceMetricsResponse = {}) {
|
|
5859
6012
|
return {
|
|
6013
|
+
"errorPoints": n => { sourceMetricsResponse.errorPoints = n.getCollectionOfObjectValues(createAnalyticsTrendPointOfintFromDiscriminatorValue); },
|
|
5860
6014
|
"generatedAt": n => { sourceMetricsResponse.generatedAt = n.getDateValue(); },
|
|
5861
6015
|
"points": n => { sourceMetricsResponse.points = n.getCollectionOfObjectValues(createAnalyticsTrendPointOfintFromDiscriminatorValue); },
|
|
5862
6016
|
"range": n => { sourceMetricsResponse.range = n.getObjectValue(createAnalyticsDateRangeFromDiscriminatorValue); },
|
|
6017
|
+
"totalErrors": n => { sourceMetricsResponse.totalErrors = n.getNumberValue(); },
|
|
5863
6018
|
"totalLeads": n => { sourceMetricsResponse.totalLeads = n.getNumberValue(); },
|
|
5864
6019
|
};
|
|
5865
6020
|
}
|
|
@@ -5890,8 +6045,8 @@ export function deserializeIntoSourceResponse(sourceResponse = {}) {
|
|
|
5890
6045
|
return {
|
|
5891
6046
|
"allowedProducts": n => { sourceResponse.allowedProducts = n.getCollectionOfPrimitiveValues("string"); },
|
|
5892
6047
|
"allowedStates": n => { sourceResponse.allowedStates = n.getCollectionOfPrimitiveValues("string"); },
|
|
5893
|
-
"apiKey": n => { sourceResponse.apiKey = n.getStringValue(); },
|
|
5894
6048
|
"apiKeyPreview": n => { sourceResponse.apiKeyPreview = n.getStringValue(); },
|
|
6049
|
+
"apiKeyRotatedAt": n => { sourceResponse.apiKeyRotatedAt = n.getDateValue(); },
|
|
5895
6050
|
"complianceApproved": n => { sourceResponse.complianceApproved = n.getBooleanValue(); },
|
|
5896
6051
|
"costPerLead": n => { sourceResponse.costPerLead = n.getNumberValue(); },
|
|
5897
6052
|
"createdAt": n => { sourceResponse.createdAt = n.getDateValue(); },
|
|
@@ -5966,9 +6121,9 @@ export function deserializeIntoSourceTableRow(sourceTableRow = {}) {
|
|
|
5966
6121
|
return {
|
|
5967
6122
|
"allowedProducts": n => { sourceTableRow.allowedProducts = n.getCollectionOfPrimitiveValues("string"); },
|
|
5968
6123
|
"allowedStates": n => { sourceTableRow.allowedStates = n.getCollectionOfPrimitiveValues("string"); },
|
|
5969
|
-
"apiKey": n => { sourceTableRow.apiKey = n.getStringValue(); },
|
|
5970
6124
|
"apiKeyLastUsedAt": n => { sourceTableRow.apiKeyLastUsedAt = n.getDateValue(); },
|
|
5971
6125
|
"apiKeyPreview": n => { sourceTableRow.apiKeyPreview = n.getStringValue(); },
|
|
6126
|
+
"apiKeyRotatedAt": n => { sourceTableRow.apiKeyRotatedAt = n.getDateValue(); },
|
|
5972
6127
|
"apiKeyTotalUses": n => { sourceTableRow.apiKeyTotalUses = n.getNumberValue(); },
|
|
5973
6128
|
"complianceApproved": n => { sourceTableRow.complianceApproved = n.getBooleanValue(); },
|
|
5974
6129
|
"costPerLead": n => { sourceTableRow.costPerLead = n.getNumberValue(); },
|
|
@@ -6956,6 +7111,7 @@ export function serializeAutomationActionRunRecord(writer, automationActionRunRe
|
|
|
6956
7111
|
writer.writeNumberValue("order", automationActionRunRecord.order);
|
|
6957
7112
|
writer.writeNumberValue("processingAttempts", automationActionRunRecord.processingAttempts);
|
|
6958
7113
|
writer.writeDateValue("scheduledAt", automationActionRunRecord.scheduledAt);
|
|
7114
|
+
writer.writeStringValue("selectedConnectionId", automationActionRunRecord.selectedConnectionId);
|
|
6959
7115
|
writer.writeDateValue("startedAt", automationActionRunRecord.startedAt);
|
|
6960
7116
|
writer.writeStringValue("status", automationActionRunRecord.status);
|
|
6961
7117
|
writer.writeAdditionalData(automationActionRunRecord.additionalData);
|
|
@@ -7021,6 +7177,7 @@ export function serializeAutomationConnection(writer, automationConnection = {},
|
|
|
7021
7177
|
writer.writeStringValue("id", automationConnection.id);
|
|
7022
7178
|
writer.writeStringValue("sourceNodeId", automationConnection.sourceNodeId);
|
|
7023
7179
|
writer.writeStringValue("targetNodeId", automationConnection.targetNodeId);
|
|
7180
|
+
writer.writeNumberValue("weight", automationConnection.weight);
|
|
7024
7181
|
writer.writeAdditionalData(automationConnection.additionalData);
|
|
7025
7182
|
}
|
|
7026
7183
|
/**
|
|
@@ -7197,7 +7354,6 @@ export function serializeAutomationResponse(writer, automationResponse = {}, isS
|
|
|
7197
7354
|
writer.writeStringValue("name", automationResponse.name);
|
|
7198
7355
|
writer.writeObjectValue("organization", automationResponse.organization, serializeAutomationResponse_organization);
|
|
7199
7356
|
writer.writeStringValue("organizationId", automationResponse.organizationId);
|
|
7200
|
-
writer.writeCollectionOfObjectValues("recentRuns", automationResponse.recentRuns, serializeAutomationRunRecord);
|
|
7201
7357
|
writer.writeStringValue("scope", automationResponse.scope);
|
|
7202
7358
|
writer.writeCollectionOfObjectValues("triggers", automationResponse.triggers, serializeAutomationTrigger);
|
|
7203
7359
|
writer.writeObjectValue("user", automationResponse.user, serializeAutomationResponse_user);
|
|
@@ -7498,6 +7654,32 @@ export function serializeAutomationWorkflowStatusResponse(writer, automationWork
|
|
|
7498
7654
|
writer.writeCollectionOfObjectValues("runs", automationWorkflowStatusResponse.runs, serializeAutomationWorkflowRunResponse);
|
|
7499
7655
|
writer.writeAdditionalData(automationWorkflowStatusResponse.additionalData);
|
|
7500
7656
|
}
|
|
7657
|
+
/**
|
|
7658
|
+
* Serializes information the current object
|
|
7659
|
+
* @param BlogArticleResponse The instance to serialize from.
|
|
7660
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
7661
|
+
* @param writer Serialization writer to use to serialize this model
|
|
7662
|
+
*/
|
|
7663
|
+
// @ts-ignore
|
|
7664
|
+
export function serializeBlogArticleResponse(writer, blogArticleResponse = {}, isSerializingDerivedType = false) {
|
|
7665
|
+
if (!blogArticleResponse || isSerializingDerivedType) {
|
|
7666
|
+
return;
|
|
7667
|
+
}
|
|
7668
|
+
writer.writeStringValue("authorName", blogArticleResponse.authorName);
|
|
7669
|
+
writer.writeStringValue("category", blogArticleResponse.category);
|
|
7670
|
+
writer.writeStringValue("content", blogArticleResponse.content);
|
|
7671
|
+
writer.writeStringValue("coverImageUrl", blogArticleResponse.coverImageUrl);
|
|
7672
|
+
writer.writeDateValue("createdAt", blogArticleResponse.createdAt);
|
|
7673
|
+
writer.writeStringValue("excerpt", blogArticleResponse.excerpt);
|
|
7674
|
+
writer.writeStringValue("id", blogArticleResponse.id);
|
|
7675
|
+
writer.writeBooleanValue("isFeatured", blogArticleResponse.isFeatured);
|
|
7676
|
+
writer.writeBooleanValue("isPublished", blogArticleResponse.isPublished);
|
|
7677
|
+
writer.writeDateValue("modifiedAt", blogArticleResponse.modifiedAt);
|
|
7678
|
+
writer.writeDateValue("publishedAt", blogArticleResponse.publishedAt);
|
|
7679
|
+
writer.writeStringValue("slug", blogArticleResponse.slug);
|
|
7680
|
+
writer.writeStringValue("title", blogArticleResponse.title);
|
|
7681
|
+
writer.writeAdditionalData(blogArticleResponse.additionalData);
|
|
7682
|
+
}
|
|
7501
7683
|
/**
|
|
7502
7684
|
* Serializes information the current object
|
|
7503
7685
|
* @param CallEventTableRow The instance to serialize from.
|
|
@@ -7812,6 +7994,7 @@ export function serializeCustomerAutomationHealth(writer, customerAutomationHeal
|
|
|
7812
7994
|
writer.writeNumberValue("failureCount", customerAutomationHealth.failureCount);
|
|
7813
7995
|
writer.writeObjectValue("lastFailure", customerAutomationHealth.lastFailure, serializeCustomerAutomationHealth_lastFailure);
|
|
7814
7996
|
writer.writeNumberValue("successCount", customerAutomationHealth.successCount);
|
|
7997
|
+
writer.writeCollectionOfObjectValues("trend", customerAutomationHealth.trend, serializeCustomerAutomationHealthPoint);
|
|
7815
7998
|
writer.writeAdditionalData(customerAutomationHealth.additionalData);
|
|
7816
7999
|
}
|
|
7817
8000
|
/**
|
|
@@ -7827,6 +8010,25 @@ export function serializeCustomerAutomationHealth_lastFailure(writer, customerAu
|
|
|
7827
8010
|
}
|
|
7828
8011
|
serializeCustomerFailingAutomation(writer, customerAutomationHealth_lastFailure, isSerializingDerivedType);
|
|
7829
8012
|
}
|
|
8013
|
+
/**
|
|
8014
|
+
* Serializes information the current object
|
|
8015
|
+
* @param CustomerAutomationHealthPoint The instance to serialize from.
|
|
8016
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
8017
|
+
* @param writer Serialization writer to use to serialize this model
|
|
8018
|
+
*/
|
|
8019
|
+
// @ts-ignore
|
|
8020
|
+
export function serializeCustomerAutomationHealthPoint(writer, customerAutomationHealthPoint = {}, isSerializingDerivedType = false) {
|
|
8021
|
+
if (!customerAutomationHealthPoint || isSerializingDerivedType) {
|
|
8022
|
+
return;
|
|
8023
|
+
}
|
|
8024
|
+
writer.writeDateValue("endAt", customerAutomationHealthPoint.endAt);
|
|
8025
|
+
writer.writeNumberValue("executions", customerAutomationHealthPoint.executions);
|
|
8026
|
+
writer.writeNumberValue("failureCount", customerAutomationHealthPoint.failureCount);
|
|
8027
|
+
writer.writeStringValue("label", customerAutomationHealthPoint.label);
|
|
8028
|
+
writer.writeDateValue("startAt", customerAutomationHealthPoint.startAt);
|
|
8029
|
+
writer.writeNumberValue("successCount", customerAutomationHealthPoint.successCount);
|
|
8030
|
+
writer.writeAdditionalData(customerAutomationHealthPoint.additionalData);
|
|
8031
|
+
}
|
|
7830
8032
|
/**
|
|
7831
8033
|
* Serializes information the current object
|
|
7832
8034
|
* @param CustomerCommunicationUsage The instance to serialize from.
|
|
@@ -7839,6 +8041,7 @@ export function serializeCustomerCommunicationUsage(writer, customerCommunicatio
|
|
|
7839
8041
|
return;
|
|
7840
8042
|
}
|
|
7841
8043
|
writer.writeNumberValue("answeredCalls", customerCommunicationUsage.answeredCalls);
|
|
8044
|
+
writer.writeNumberValue("callErrors", customerCommunicationUsage.callErrors);
|
|
7842
8045
|
writer.writeNumberValue("callMinutes", customerCommunicationUsage.callMinutes);
|
|
7843
8046
|
writer.writeNumberValue("callsPlaced", customerCommunicationUsage.callsPlaced);
|
|
7844
8047
|
writer.writeNumberValue("callsReceived", customerCommunicationUsage.callsReceived);
|
|
@@ -7861,10 +8064,14 @@ export function serializeCustomerCommunicationUsagePoint(writer, customerCommuni
|
|
|
7861
8064
|
if (!customerCommunicationUsagePoint || isSerializingDerivedType) {
|
|
7862
8065
|
return;
|
|
7863
8066
|
}
|
|
8067
|
+
writer.writeNumberValue("callErrors", customerCommunicationUsagePoint.callErrors);
|
|
7864
8068
|
writer.writeNumberValue("callMinutes", customerCommunicationUsagePoint.callMinutes);
|
|
7865
8069
|
writer.writeNumberValue("calls", customerCommunicationUsagePoint.calls);
|
|
8070
|
+
writer.writeNumberValue("callsPlaced", customerCommunicationUsagePoint.callsPlaced);
|
|
8071
|
+
writer.writeNumberValue("callsReceived", customerCommunicationUsagePoint.callsReceived);
|
|
7866
8072
|
writer.writeDateValue("endAt", customerCommunicationUsagePoint.endAt);
|
|
7867
8073
|
writer.writeStringValue("label", customerCommunicationUsagePoint.label);
|
|
8074
|
+
writer.writeNumberValue("smsErrors", customerCommunicationUsagePoint.smsErrors);
|
|
7868
8075
|
writer.writeNumberValue("smsReceived", customerCommunicationUsagePoint.smsReceived);
|
|
7869
8076
|
writer.writeNumberValue("smsSent", customerCommunicationUsagePoint.smsSent);
|
|
7870
8077
|
writer.writeNumberValue("spend", customerCommunicationUsagePoint.spend);
|
|
@@ -7916,8 +8123,10 @@ export function serializeCustomerLeadTrend(writer, customerLeadTrend = {}, isSer
|
|
|
7916
8123
|
return;
|
|
7917
8124
|
}
|
|
7918
8125
|
writer.writeObjectValue("comparison", customerLeadTrend.comparison, serializeAnalyticsComparison);
|
|
8126
|
+
writer.writeCollectionOfObjectValues("errorPoints", customerLeadTrend.errorPoints, serializeAnalyticsTrendPointOfint);
|
|
7919
8127
|
writer.writeCollectionOfObjectValues("points", customerLeadTrend.points, serializeAnalyticsTrendPointOfint);
|
|
7920
8128
|
writer.writeNumberValue("total", customerLeadTrend.total);
|
|
8129
|
+
writer.writeNumberValue("totalErrors", customerLeadTrend.totalErrors);
|
|
7921
8130
|
writer.writeAdditionalData(customerLeadTrend.additionalData);
|
|
7922
8131
|
}
|
|
7923
8132
|
/**
|
|
@@ -8243,6 +8452,20 @@ export function serializeLeadArchiveRequest(writer, leadArchiveRequest = {}, isS
|
|
|
8243
8452
|
writer.writeNumberValue("reason", leadArchiveRequest.reason);
|
|
8244
8453
|
writer.writeAdditionalData(leadArchiveRequest.additionalData);
|
|
8245
8454
|
}
|
|
8455
|
+
/**
|
|
8456
|
+
* Serializes information the current object
|
|
8457
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
8458
|
+
* @param LeadAssignmentRequest The instance to serialize from.
|
|
8459
|
+
* @param writer Serialization writer to use to serialize this model
|
|
8460
|
+
*/
|
|
8461
|
+
// @ts-ignore
|
|
8462
|
+
export function serializeLeadAssignmentRequest(writer, leadAssignmentRequest = {}, isSerializingDerivedType = false) {
|
|
8463
|
+
if (!leadAssignmentRequest || isSerializingDerivedType) {
|
|
8464
|
+
return;
|
|
8465
|
+
}
|
|
8466
|
+
writer.writeStringValue("assignedToUserId", leadAssignmentRequest.assignedToUserId);
|
|
8467
|
+
writer.writeAdditionalData(leadAssignmentRequest.additionalData);
|
|
8468
|
+
}
|
|
8246
8469
|
/**
|
|
8247
8470
|
* Serializes information the current object
|
|
8248
8471
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -8484,6 +8707,8 @@ export function serializeLeadResponse(writer, leadResponse = {}, isSerializingDe
|
|
|
8484
8707
|
writer.writeStringValue("archivedByUserId", leadResponse.archivedByUserId);
|
|
8485
8708
|
writer.writeStringValue("archiveNote", leadResponse.archiveNote);
|
|
8486
8709
|
writer.writeNumberValue("archiveReason", leadResponse.archiveReason);
|
|
8710
|
+
writer.writeObjectValue("assignedTo", leadResponse.assignedTo, serializeLeadResponse_assignedTo);
|
|
8711
|
+
writer.writeStringValue("assignedToUserId", leadResponse.assignedToUserId);
|
|
8487
8712
|
writer.writeObjectValue("contact", leadResponse.contact, serializeLeadContact);
|
|
8488
8713
|
writer.writeDateValue("createdAt", leadResponse.createdAt);
|
|
8489
8714
|
writer.writeObjectValue("currentLeadStatus", leadResponse.currentLeadStatus, serializeLeadResponse_currentLeadStatus);
|
|
@@ -8502,6 +8727,19 @@ export function serializeLeadResponse(writer, leadResponse = {}, isSerializingDe
|
|
|
8502
8727
|
writer.writeCollectionOfObjectValues("tags", leadResponse.tags, serializeTagSummary);
|
|
8503
8728
|
writer.writeAdditionalData(leadResponse.additionalData);
|
|
8504
8729
|
}
|
|
8730
|
+
/**
|
|
8731
|
+
* Serializes information the current object
|
|
8732
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
8733
|
+
* @param LeadResponse_assignedTo The instance to serialize from.
|
|
8734
|
+
* @param writer Serialization writer to use to serialize this model
|
|
8735
|
+
*/
|
|
8736
|
+
// @ts-ignore
|
|
8737
|
+
export function serializeLeadResponse_assignedTo(writer, leadResponse_assignedTo = {}, isSerializingDerivedType = false) {
|
|
8738
|
+
if (!leadResponse_assignedTo || isSerializingDerivedType) {
|
|
8739
|
+
return;
|
|
8740
|
+
}
|
|
8741
|
+
serializeIdNamePair(writer, leadResponse_assignedTo, isSerializingDerivedType);
|
|
8742
|
+
}
|
|
8505
8743
|
/**
|
|
8506
8744
|
* Serializes information the current object
|
|
8507
8745
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -8702,6 +8940,9 @@ export function serializeLeadTableRow(writer, leadTableRow = {}, isSerializingDe
|
|
|
8702
8940
|
writer.writeDateValue("archivedAt", leadTableRow.archivedAt);
|
|
8703
8941
|
writer.writeStringValue("archivedByUserId", leadTableRow.archivedByUserId);
|
|
8704
8942
|
writer.writeNumberValue("archiveReason", leadTableRow.archiveReason);
|
|
8943
|
+
writer.writeObjectValue("assignedTo", leadTableRow.assignedTo, serializeLeadTableRow_assignedTo);
|
|
8944
|
+
writer.writeStringValue("assignedToUserId", leadTableRow.assignedToUserId);
|
|
8945
|
+
writer.writeStringValue("avatarUrl", leadTableRow.avatarUrl);
|
|
8705
8946
|
writer.writeDateValue("createdAt", leadTableRow.createdAt);
|
|
8706
8947
|
writer.writeObjectValue("currentLeadStatus", leadTableRow.currentLeadStatus, serializeLeadTableRow_currentLeadStatus);
|
|
8707
8948
|
writer.writeStringValue("email", leadTableRow.email);
|
|
@@ -8712,6 +8953,7 @@ export function serializeLeadTableRow(writer, leadTableRow = {}, isSerializingDe
|
|
|
8712
8953
|
writer.writeStringValue("lastName", leadTableRow.lastName);
|
|
8713
8954
|
writer.writeObjectValue("organization", leadTableRow.organization, serializeLeadTableRow_organization);
|
|
8714
8955
|
writer.writeStringValue("phone", leadTableRow.phone);
|
|
8956
|
+
writer.writeStringValue("phoneIdentityId", leadTableRow.phoneIdentityId);
|
|
8715
8957
|
writer.writeNumberValue("price", leadTableRow.price);
|
|
8716
8958
|
writer.writeEnumValue("processingStatus", leadTableRow.processingStatus);
|
|
8717
8959
|
writer.writeDateValue("processingStatusChangedAt", leadTableRow.processingStatusChangedAt);
|
|
@@ -8723,6 +8965,19 @@ export function serializeLeadTableRow(writer, leadTableRow = {}, isSerializingDe
|
|
|
8723
8965
|
writer.writeDateValue("updatedAt", leadTableRow.updatedAt);
|
|
8724
8966
|
writer.writeAdditionalData(leadTableRow.additionalData);
|
|
8725
8967
|
}
|
|
8968
|
+
/**
|
|
8969
|
+
* Serializes information the current object
|
|
8970
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
8971
|
+
* @param LeadTableRow_assignedTo The instance to serialize from.
|
|
8972
|
+
* @param writer Serialization writer to use to serialize this model
|
|
8973
|
+
*/
|
|
8974
|
+
// @ts-ignore
|
|
8975
|
+
export function serializeLeadTableRow_assignedTo(writer, leadTableRow_assignedTo = {}, isSerializingDerivedType = false) {
|
|
8976
|
+
if (!leadTableRow_assignedTo || isSerializingDerivedType) {
|
|
8977
|
+
return;
|
|
8978
|
+
}
|
|
8979
|
+
serializeIdNamePair(writer, leadTableRow_assignedTo, isSerializingDerivedType);
|
|
8980
|
+
}
|
|
8726
8981
|
/**
|
|
8727
8982
|
* Serializes information the current object
|
|
8728
8983
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -10853,6 +11108,21 @@ export function serializeSmsResponse(writer, smsResponse = {}, isSerializingDeri
|
|
|
10853
11108
|
writer.writeBooleanValue("wasManuallyOverridden", smsResponse.wasManuallyOverridden);
|
|
10854
11109
|
writer.writeAdditionalData(smsResponse.additionalData);
|
|
10855
11110
|
}
|
|
11111
|
+
/**
|
|
11112
|
+
* Serializes information the current object
|
|
11113
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
11114
|
+
* @param SourceCredentialIssueResponse The instance to serialize from.
|
|
11115
|
+
* @param writer Serialization writer to use to serialize this model
|
|
11116
|
+
*/
|
|
11117
|
+
// @ts-ignore
|
|
11118
|
+
export function serializeSourceCredentialIssueResponse(writer, sourceCredentialIssueResponse = {}, isSerializingDerivedType = false) {
|
|
11119
|
+
if (!sourceCredentialIssueResponse || isSerializingDerivedType) {
|
|
11120
|
+
return;
|
|
11121
|
+
}
|
|
11122
|
+
writer.writeStringValue("secret", sourceCredentialIssueResponse.secret);
|
|
11123
|
+
writer.writeObjectValue("source", sourceCredentialIssueResponse.source, serializeSourceResponse);
|
|
11124
|
+
writer.writeAdditionalData(sourceCredentialIssueResponse.additionalData);
|
|
11125
|
+
}
|
|
10856
11126
|
/**
|
|
10857
11127
|
* Serializes information the current object
|
|
10858
11128
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -10864,9 +11134,11 @@ export function serializeSourceMetricsResponse(writer, sourceMetricsResponse = {
|
|
|
10864
11134
|
if (!sourceMetricsResponse || isSerializingDerivedType) {
|
|
10865
11135
|
return;
|
|
10866
11136
|
}
|
|
11137
|
+
writer.writeCollectionOfObjectValues("errorPoints", sourceMetricsResponse.errorPoints, serializeAnalyticsTrendPointOfint);
|
|
10867
11138
|
writer.writeDateValue("generatedAt", sourceMetricsResponse.generatedAt);
|
|
10868
11139
|
writer.writeCollectionOfObjectValues("points", sourceMetricsResponse.points, serializeAnalyticsTrendPointOfint);
|
|
10869
11140
|
writer.writeObjectValue("range", sourceMetricsResponse.range, serializeAnalyticsDateRange);
|
|
11141
|
+
writer.writeNumberValue("totalErrors", sourceMetricsResponse.totalErrors);
|
|
10870
11142
|
writer.writeNumberValue("totalLeads", sourceMetricsResponse.totalLeads);
|
|
10871
11143
|
writer.writeAdditionalData(sourceMetricsResponse.additionalData);
|
|
10872
11144
|
}
|
|
@@ -10903,8 +11175,8 @@ export function serializeSourceResponse(writer, sourceResponse = {}, isSerializi
|
|
|
10903
11175
|
}
|
|
10904
11176
|
writer.writeCollectionOfPrimitiveValues("allowedProducts", sourceResponse.allowedProducts);
|
|
10905
11177
|
writer.writeCollectionOfPrimitiveValues("allowedStates", sourceResponse.allowedStates);
|
|
10906
|
-
writer.writeStringValue("apiKey", sourceResponse.apiKey);
|
|
10907
11178
|
writer.writeStringValue("apiKeyPreview", sourceResponse.apiKeyPreview);
|
|
11179
|
+
writer.writeDateValue("apiKeyRotatedAt", sourceResponse.apiKeyRotatedAt);
|
|
10908
11180
|
writer.writeBooleanValue("complianceApproved", sourceResponse.complianceApproved);
|
|
10909
11181
|
writer.writeNumberValue("costPerLead", sourceResponse.costPerLead);
|
|
10910
11182
|
writer.writeDateValue("createdAt", sourceResponse.createdAt);
|
|
@@ -10990,9 +11262,9 @@ export function serializeSourceTableRow(writer, sourceTableRow = {}, isSerializi
|
|
|
10990
11262
|
}
|
|
10991
11263
|
writer.writeCollectionOfPrimitiveValues("allowedProducts", sourceTableRow.allowedProducts);
|
|
10992
11264
|
writer.writeCollectionOfPrimitiveValues("allowedStates", sourceTableRow.allowedStates);
|
|
10993
|
-
writer.writeStringValue("apiKey", sourceTableRow.apiKey);
|
|
10994
11265
|
writer.writeDateValue("apiKeyLastUsedAt", sourceTableRow.apiKeyLastUsedAt);
|
|
10995
11266
|
writer.writeStringValue("apiKeyPreview", sourceTableRow.apiKeyPreview);
|
|
11267
|
+
writer.writeDateValue("apiKeyRotatedAt", sourceTableRow.apiKeyRotatedAt);
|
|
10996
11268
|
writer.writeNumberValue("apiKeyTotalUses", sourceTableRow.apiKeyTotalUses);
|
|
10997
11269
|
writer.writeBooleanValue("complianceApproved", sourceTableRow.complianceApproved);
|
|
10998
11270
|
writer.writeNumberValue("costPerLead", sourceTableRow.costPerLead);
|
|
@@ -12266,6 +12538,7 @@ export const LeadProfile_maritalStatusObject = {
|
|
|
12266
12538
|
* Defines the asynchronous verification and enrichment lifecycle for a lead.
|
|
12267
12539
|
*/
|
|
12268
12540
|
export const LeadResponse_processingStatusObject = {
|
|
12541
|
+
Quarantined: "Quarantined",
|
|
12269
12542
|
Verifying: "Verifying",
|
|
12270
12543
|
Validating: "Validating",
|
|
12271
12544
|
Enriching: "Enriching",
|
|
@@ -12352,6 +12625,7 @@ export const LeadStatusRequest_categoryObject = {
|
|
|
12352
12625
|
* Defines the asynchronous verification and enrichment lifecycle for a lead.
|
|
12353
12626
|
*/
|
|
12354
12627
|
export const LeadTableRow_processingStatusObject = {
|
|
12628
|
+
Quarantined: "Quarantined",
|
|
12355
12629
|
Verifying: "Verifying",
|
|
12356
12630
|
Validating: "Validating",
|
|
12357
12631
|
Enriching: "Enriching",
|