@leadping/sdk 1.0.143 → 1.0.145
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/appointments/bookedTimes/index.d.ts +13 -2
- package/dist/appointments/bookedTimes/index.d.ts.map +1 -1
- package/dist/appointments/bookedTimes/index.js +5 -4
- package/dist/appointments/bookedTimes/index.js.map +1 -1
- package/dist/appointments/index.d.ts +4 -0
- package/dist/appointments/index.d.ts.map +1 -1
- package/dist/appointments/index.js +5 -1
- package/dist/appointments/index.js.map +1 -1
- package/dist/appointments/item/cancel/index.d.ts +3 -0
- package/dist/appointments/item/cancel/index.d.ts.map +1 -1
- package/dist/appointments/item/cancel/index.js +3 -0
- package/dist/appointments/item/cancel/index.js.map +1 -1
- package/dist/appointments/item/complete/index.d.ts +3 -0
- package/dist/appointments/item/complete/index.d.ts.map +1 -1
- package/dist/appointments/item/complete/index.js +3 -0
- package/dist/appointments/item/complete/index.js.map +1 -1
- package/dist/appointments/item/dismiss/index.d.ts +3 -0
- package/dist/appointments/item/dismiss/index.d.ts.map +1 -1
- package/dist/appointments/item/dismiss/index.js +3 -0
- package/dist/appointments/item/dismiss/index.js.map +1 -1
- package/dist/appointments/item/index.d.ts +5 -0
- package/dist/appointments/item/index.d.ts.map +1 -1
- package/dist/appointments/item/index.js +6 -1
- package/dist/appointments/item/index.js.map +1 -1
- package/dist/appointments/item/snooze/index.d.ts +3 -0
- package/dist/appointments/item/snooze/index.d.ts.map +1 -1
- package/dist/appointments/item/snooze/index.js +3 -0
- package/dist/appointments/item/snooze/index.js.map +1 -1
- package/dist/automations/item/clone/index.d.ts +33 -0
- package/dist/automations/item/clone/index.d.ts.map +1 -0
- package/dist/automations/item/clone/index.js +31 -0
- package/dist/automations/item/clone/index.js.map +1 -0
- package/dist/automations/item/index.d.ts +5 -0
- package/dist/automations/item/index.d.ts.map +1 -1
- package/dist/automations/item/index.js +5 -0
- package/dist/automations/item/index.js.map +1 -1
- package/dist/automations/item/leads/index.d.ts +4 -3
- package/dist/automations/item/leads/index.d.ts.map +1 -1
- package/dist/automations/item/leads/index.js +2 -1
- package/dist/automations/item/leads/index.js.map +1 -1
- package/dist/automations/item/leads/item/run/index.d.ts +1 -1
- package/dist/automations/item/leads/item/run/item/index.d.ts +2 -0
- package/dist/automations/item/leads/item/run/item/index.d.ts.map +1 -1
- package/dist/automations/item/leads/item/run/item/index.js +3 -1
- package/dist/automations/item/leads/item/run/item/index.js.map +1 -1
- package/dist/automations/item/runForAudience/index.d.ts +2 -0
- package/dist/automations/item/runForAudience/index.d.ts.map +1 -1
- package/dist/automations/item/runForAudience/index.js +3 -1
- package/dist/automations/item/runForAudience/index.js.map +1 -1
- package/dist/automations/leadAudience/index.js +1 -1
- package/dist/conversations/item/retry/index.d.ts +5 -2
- package/dist/conversations/item/retry/index.d.ts.map +1 -1
- package/dist/conversations/item/retry/index.js +5 -2
- package/dist/conversations/item/retry/index.js.map +1 -1
- package/dist/invitations/decline/index.d.ts +5 -0
- package/dist/invitations/decline/index.d.ts.map +1 -1
- package/dist/invitations/decline/index.js +6 -1
- package/dist/invitations/decline/index.js.map +1 -1
- package/dist/invitations/index.d.ts +4 -1
- package/dist/invitations/index.d.ts.map +1 -1
- package/dist/invitations/index.js +1 -1
- package/dist/invitations/index.js.map +1 -1
- package/dist/invitations/item/accept/index.d.ts +6 -2
- package/dist/invitations/item/accept/index.d.ts.map +1 -1
- package/dist/invitations/item/accept/index.js +7 -4
- package/dist/invitations/item/accept/index.js.map +1 -1
- package/dist/invitations/item/decline/index.d.ts +6 -2
- package/dist/invitations/item/decline/index.d.ts.map +1 -1
- package/dist/invitations/item/decline/index.js +7 -4
- package/dist/invitations/item/decline/index.js.map +1 -1
- package/dist/leadStatusChanges/item/index.d.ts +1 -0
- package/dist/leadStatusChanges/item/index.d.ts.map +1 -1
- package/dist/leadStatusChanges/item/index.js +1 -0
- package/dist/leadStatusChanges/item/index.js.map +1 -1
- package/dist/messageTemplates/index.d.ts +3 -1
- package/dist/messageTemplates/index.d.ts.map +1 -1
- package/dist/messageTemplates/index.js +4 -2
- package/dist/messageTemplates/index.js.map +1 -1
- package/dist/messageTemplates/item/index.d.ts +4 -0
- package/dist/messageTemplates/item/index.d.ts.map +1 -1
- package/dist/messageTemplates/item/index.js +6 -2
- package/dist/messageTemplates/item/index.js.map +1 -1
- package/dist/models/index.d.ts +114 -2
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +99 -0
- package/dist/models/index.js.map +1 -1
- package/dist/notifications/item/markRead/index.d.ts +1 -0
- package/dist/notifications/item/markRead/index.d.ts.map +1 -1
- package/dist/notifications/item/markRead/index.js +1 -0
- package/dist/notifications/item/markRead/index.js.map +1 -1
- package/dist/notifications/markAllRead/index.d.ts +1 -0
- package/dist/notifications/markAllRead/index.d.ts.map +1 -1
- package/dist/notifications/markAllRead/index.js +1 -0
- package/dist/notifications/markAllRead/index.js.map +1 -1
- package/dist/paymentMethods/item/index.d.ts +1 -0
- package/dist/paymentMethods/item/index.d.ts.map +1 -1
- package/dist/paymentMethods/item/index.js +1 -0
- package/dist/paymentMethods/item/index.js.map +1 -1
- package/dist/phoneCall/budget/index.d.ts +2 -2
- package/dist/phoneCall/budget/index.js +1 -1
- package/dist/phoneCall/dial/index.d.ts +1 -1
- package/dist/phoneCall/dial/item/index.d.ts +2 -0
- package/dist/phoneCall/dial/item/index.d.ts.map +1 -1
- package/dist/phoneCall/dial/item/index.js +3 -1
- package/dist/phoneCall/dial/item/index.js.map +1 -1
- package/dist/phoneCall/item/hangup/index.d.ts +1 -0
- package/dist/phoneCall/item/hangup/index.d.ts.map +1 -1
- package/dist/phoneCall/item/hangup/index.js +1 -0
- package/dist/phoneCall/item/hangup/index.js.map +1 -1
- package/dist/phoneCall/item/transfer/index.d.ts +1 -0
- package/dist/phoneCall/item/transfer/index.d.ts.map +1 -1
- package/dist/phoneCall/item/transfer/index.js +1 -0
- package/dist/phoneCall/item/transfer/index.js.map +1 -1
- package/dist/phoneCall/next/index.d.ts +1 -1
- package/dist/phoneCall/next/item/index.d.ts +8 -3
- package/dist/phoneCall/next/item/index.d.ts.map +1 -1
- package/dist/phoneCall/next/item/index.js +6 -4
- package/dist/phoneCall/next/item/index.js.map +1 -1
- package/dist/phoneCall/next/mobile/index.d.ts +1 -1
- package/dist/phoneCall/next/mobile/item/index.d.ts +7 -5
- package/dist/phoneCall/next/mobile/item/index.d.ts.map +1 -1
- package/dist/phoneCall/next/mobile/item/index.js +6 -4
- package/dist/phoneCall/next/mobile/item/index.js.map +1 -1
- package/dist/suppressions/admin/leads/index.d.ts +1 -1
- package/dist/suppressions/admin/leads/item/index.d.ts +1 -1
- package/dist/suppressions/admin/leads/item/item/index.d.ts +1 -1
- package/dist/suppressions/admin/leads/item/item/item/index.d.ts +3 -2
- package/dist/suppressions/admin/leads/item/item/item/index.d.ts.map +1 -1
- package/dist/suppressions/admin/leads/item/item/item/index.js +2 -1
- package/dist/suppressions/admin/leads/item/item/item/index.js.map +1 -1
- package/package.json +1 -1
package/dist/models/index.js
CHANGED
|
@@ -102,6 +102,15 @@ export function createAppointmentActionRequestFromDiscriminatorValue(parseNode)
|
|
|
102
102
|
export function createAppointmentActivityFromDiscriminatorValue(parseNode) {
|
|
103
103
|
return deserializeIntoAppointmentActivity;
|
|
104
104
|
}
|
|
105
|
+
/**
|
|
106
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
107
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
108
|
+
* @returns {AppointmentInterval}
|
|
109
|
+
*/
|
|
110
|
+
// @ts-ignore
|
|
111
|
+
export function createAppointmentIntervalFromDiscriminatorValue(parseNode) {
|
|
112
|
+
return deserializeIntoAppointmentInterval;
|
|
113
|
+
}
|
|
105
114
|
/**
|
|
106
115
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
107
116
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -534,6 +543,15 @@ export function createCallRetryRequestFromDiscriminatorValue(parseNode) {
|
|
|
534
543
|
export function createChangeBillingPlanRequestFromDiscriminatorValue(parseNode) {
|
|
535
544
|
return deserializeIntoChangeBillingPlanRequest;
|
|
536
545
|
}
|
|
546
|
+
/**
|
|
547
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
548
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
549
|
+
* @returns {CloneAutomationRequest}
|
|
550
|
+
*/
|
|
551
|
+
// @ts-ignore
|
|
552
|
+
export function createCloneAutomationRequestFromDiscriminatorValue(parseNode) {
|
|
553
|
+
return deserializeIntoCloneAutomationRequest;
|
|
554
|
+
}
|
|
537
555
|
/**
|
|
538
556
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
539
557
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -3122,6 +3140,18 @@ export function deserializeIntoAppointmentActivity(appointmentActivity = {}) {
|
|
|
3122
3140
|
"type": n => { appointmentActivity.type = n.getStringValue(); },
|
|
3123
3141
|
};
|
|
3124
3142
|
}
|
|
3143
|
+
/**
|
|
3144
|
+
* The deserialization information for the current model
|
|
3145
|
+
* @param AppointmentInterval The instance to deserialize into.
|
|
3146
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
3147
|
+
*/
|
|
3148
|
+
// @ts-ignore
|
|
3149
|
+
export function deserializeIntoAppointmentInterval(appointmentInterval = {}) {
|
|
3150
|
+
return {
|
|
3151
|
+
"endAt": n => { appointmentInterval.endAt = n.getDateValue(); },
|
|
3152
|
+
"startAt": n => { appointmentInterval.startAt = n.getDateValue(); },
|
|
3153
|
+
};
|
|
3154
|
+
}
|
|
3125
3155
|
/**
|
|
3126
3156
|
* The deserialization information for the current model
|
|
3127
3157
|
* @param AppointmentRequest The instance to deserialize into.
|
|
@@ -3182,6 +3212,7 @@ export function deserializeIntoAppointmentResponse(appointmentResponse = {}) {
|
|
|
3182
3212
|
// @ts-ignore
|
|
3183
3213
|
export function deserializeIntoAutomationAction(automationAction = {}) {
|
|
3184
3214
|
return {
|
|
3215
|
+
"displayName": n => { automationAction.displayName = n.getStringValue(); },
|
|
3185
3216
|
"id": n => { automationAction.id = n.getStringValue(); },
|
|
3186
3217
|
"isEnabled": n => { automationAction.isEnabled = n.getBooleanValue(); },
|
|
3187
3218
|
"order": n => { automationAction.order = n.getNumberValue(); },
|
|
@@ -3258,6 +3289,7 @@ export function deserializeIntoAutomationCondition(automationCondition = {}) {
|
|
|
3258
3289
|
"id": n => { automationCondition.id = n.getStringValue(); },
|
|
3259
3290
|
"isEnabled": n => { automationCondition.isEnabled = n.getBooleanValue(); },
|
|
3260
3291
|
"operator": n => { automationCondition.operator = n.getStringValue(); },
|
|
3292
|
+
"priority": n => { automationCondition.priority = n.getNumberValue(); },
|
|
3261
3293
|
"settings": n => { automationCondition.settings = n.getObjectValue(createAutomationCondition_settingsFromDiscriminatorValue); },
|
|
3262
3294
|
"type": n => { automationCondition.type = n.getStringValue(); },
|
|
3263
3295
|
};
|
|
@@ -3377,6 +3409,9 @@ export function deserializeIntoAutomationPreviewConditionResult(automationPrevie
|
|
|
3377
3409
|
export function deserializeIntoAutomationPreviewRequest(automationPreviewRequest = {}) {
|
|
3378
3410
|
return {
|
|
3379
3411
|
"automation": n => { automationPreviewRequest.automation = n.getObjectValue(createAutomationRequestSnapshotFromDiscriminatorValue); },
|
|
3412
|
+
"decisionActionId": n => { automationPreviewRequest.decisionActionId = n.getStringValue(); },
|
|
3413
|
+
"exampleReply": n => { automationPreviewRequest.exampleReply = n.getStringValue(); },
|
|
3414
|
+
"previousMessage": n => { automationPreviewRequest.previousMessage = n.getStringValue(); },
|
|
3380
3415
|
"triggerType": n => { automationPreviewRequest.triggerType = n.getStringValue(); },
|
|
3381
3416
|
};
|
|
3382
3417
|
}
|
|
@@ -3391,6 +3426,7 @@ export function deserializeIntoAutomationPreviewResponse(automationPreviewRespon
|
|
|
3391
3426
|
"actionResults": n => { automationPreviewResponse.actionResults = n.getCollectionOfObjectValues(createAutomationPreviewActionResultFromDiscriminatorValue); },
|
|
3392
3427
|
"conditionResults": n => { automationPreviewResponse.conditionResults = n.getCollectionOfObjectValues(createAutomationPreviewConditionResultFromDiscriminatorValue); },
|
|
3393
3428
|
"samplePayload": n => { automationPreviewResponse.samplePayload = n.getObjectValue(createAutomationPreviewResponse_samplePayloadFromDiscriminatorValue); },
|
|
3429
|
+
"selectedConnectionId": n => { automationPreviewResponse.selectedConnectionId = n.getStringValue(); },
|
|
3394
3430
|
"triggerType": n => { automationPreviewResponse.triggerType = n.getStringValue(); },
|
|
3395
3431
|
"validation": n => { automationPreviewResponse.validation = n.getObjectValue(createAutomationValidationResultFromDiscriminatorValue); },
|
|
3396
3432
|
"warnings": n => { automationPreviewResponse.warnings = n.getCollectionOfPrimitiveValues("string"); },
|
|
@@ -3421,6 +3457,7 @@ export function deserializeIntoAutomationRequest(automationRequest = {}) {
|
|
|
3421
3457
|
"id": n => { automationRequest.id = n.getStringValue(); },
|
|
3422
3458
|
"name": n => { automationRequest.name = n.getStringValue(); },
|
|
3423
3459
|
"scope": n => { automationRequest.scope = n.getStringValue(); },
|
|
3460
|
+
"stopOnReply": n => { automationRequest.stopOnReply = n.getBooleanValue(); },
|
|
3424
3461
|
"timeZoneId": n => { automationRequest.timeZoneId = n.getStringValue(); },
|
|
3425
3462
|
"triggers": n => { automationRequest.triggers = n.getCollectionOfObjectValues(createAutomationTriggerFromDiscriminatorValue); },
|
|
3426
3463
|
"version": n => { automationRequest.version = n.getNumberValue(); },
|
|
@@ -3447,6 +3484,7 @@ export function deserializeIntoAutomationRequestSnapshot(automationRequestSnapsh
|
|
|
3447
3484
|
"name": n => { automationRequestSnapshot.name = n.getStringValue(); },
|
|
3448
3485
|
"organizationId": n => { automationRequestSnapshot.organizationId = n.getStringValue(); },
|
|
3449
3486
|
"scope": n => { automationRequestSnapshot.scope = n.getStringValue(); },
|
|
3487
|
+
"stopOnReply": n => { automationRequestSnapshot.stopOnReply = n.getBooleanValue(); },
|
|
3450
3488
|
"timeZoneId": n => { automationRequestSnapshot.timeZoneId = n.getStringValue(); },
|
|
3451
3489
|
"triggers": n => { automationRequestSnapshot.triggers = n.getCollectionOfObjectValues(createAutomationTriggerFromDiscriminatorValue); },
|
|
3452
3490
|
"visibility": n => { automationRequestSnapshot.visibility = n.getStringValue(); },
|
|
@@ -3479,6 +3517,7 @@ export function deserializeIntoAutomationResponse(automationResponse = {}) {
|
|
|
3479
3517
|
"organizationId": n => { automationResponse.organizationId = n.getStringValue(); },
|
|
3480
3518
|
"scheduleStartedAt": n => { automationResponse.scheduleStartedAt = n.getDateValue(); },
|
|
3481
3519
|
"scope": n => { automationResponse.scope = n.getStringValue(); },
|
|
3520
|
+
"stopOnReply": n => { automationResponse.stopOnReply = n.getBooleanValue(); },
|
|
3482
3521
|
"timeZoneId": n => { automationResponse.timeZoneId = n.getStringValue(); },
|
|
3483
3522
|
"triggers": n => { automationResponse.triggers = n.getCollectionOfObjectValues(createAutomationTriggerFromDiscriminatorValue); },
|
|
3484
3523
|
"user": n => { automationResponse.user = n.getObjectValue(createAutomationResponse_userFromDiscriminatorValue); },
|
|
@@ -3528,9 +3567,11 @@ export function deserializeIntoAutomationRunRecord(automationRunRecord = {}) {
|
|
|
3528
3567
|
"leadId": n => { automationRunRecord.leadId = n.getStringValue(); },
|
|
3529
3568
|
"organizationId": n => { automationRunRecord.organizationId = n.getStringValue(); },
|
|
3530
3569
|
"processingAttempts": n => { automationRunRecord.processingAttempts = n.getNumberValue(); },
|
|
3570
|
+
"replyEventId": n => { automationRunRecord.replyEventId = n.getStringValue(); },
|
|
3531
3571
|
"skippedReason": n => { automationRunRecord.skippedReason = n.getStringValue(); },
|
|
3532
3572
|
"startedAt": n => { automationRunRecord.startedAt = n.getDateValue(); },
|
|
3533
3573
|
"status": n => { automationRunRecord.status = n.getStringValue(); },
|
|
3574
|
+
"stopOnReply": n => { automationRunRecord.stopOnReply = n.getBooleanValue(); },
|
|
3534
3575
|
"triggerId": n => { automationRunRecord.triggerId = n.getStringValue(); },
|
|
3535
3576
|
"triggerType": n => { automationRunRecord.triggerType = n.getStringValue(); },
|
|
3536
3577
|
};
|
|
@@ -3751,6 +3792,7 @@ export function deserializeIntoAutomationWorkflowRunResponse(automationWorkflowR
|
|
|
3751
3792
|
"nextExecutionAt": n => { automationWorkflowRunResponse.nextExecutionAt = n.getDateValue(); },
|
|
3752
3793
|
"nextRetryAt": n => { automationWorkflowRunResponse.nextRetryAt = n.getDateValue(); },
|
|
3753
3794
|
"organizationId": n => { automationWorkflowRunResponse.organizationId = n.getStringValue(); },
|
|
3795
|
+
"replyEventId": n => { automationWorkflowRunResponse.replyEventId = n.getStringValue(); },
|
|
3754
3796
|
"retryCount": n => { automationWorkflowRunResponse.retryCount = n.getNumberValue(); },
|
|
3755
3797
|
"skipReasonCode": n => { automationWorkflowRunResponse.skipReasonCode = n.getStringValue(); },
|
|
3756
3798
|
"skipReasonDisplay": n => { automationWorkflowRunResponse.skipReasonDisplay = n.getStringValue(); },
|
|
@@ -3942,6 +3984,17 @@ export function deserializeIntoChangeBillingPlanRequest(changeBillingPlanRequest
|
|
|
3942
3984
|
"billingPlan": n => { changeBillingPlanRequest.billingPlan = n.getEnumValue(BillingPlanObject); },
|
|
3943
3985
|
};
|
|
3944
3986
|
}
|
|
3987
|
+
/**
|
|
3988
|
+
* The deserialization information for the current model
|
|
3989
|
+
* @param CloneAutomationRequest The instance to deserialize into.
|
|
3990
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
3991
|
+
*/
|
|
3992
|
+
// @ts-ignore
|
|
3993
|
+
export function deserializeIntoCloneAutomationRequest(cloneAutomationRequest = {}) {
|
|
3994
|
+
return {
|
|
3995
|
+
"name": n => { cloneAutomationRequest.name = n.getStringValue(); },
|
|
3996
|
+
};
|
|
3997
|
+
}
|
|
3945
3998
|
/**
|
|
3946
3999
|
* The deserialization information for the current model
|
|
3947
4000
|
* @param CommunicationConsoleEntry The instance to deserialize into.
|
|
@@ -6776,6 +6829,7 @@ export function deserializeIntoPhoneIdentityResponse(phoneIdentityResponse = {})
|
|
|
6776
6829
|
"name": n => { phoneIdentityResponse.name = n.getStringValue(); },
|
|
6777
6830
|
"number": n => { phoneIdentityResponse.number = n.getStringValue(); },
|
|
6778
6831
|
"smsNotRoutable": n => { phoneIdentityResponse.smsNotRoutable = n.getBooleanValue(); },
|
|
6832
|
+
"smsRestrictionCode": n => { phoneIdentityResponse.smsRestrictionCode = n.getStringValue(); },
|
|
6779
6833
|
};
|
|
6780
6834
|
}
|
|
6781
6835
|
/**
|
|
@@ -8789,6 +8843,21 @@ export function serializeAppointmentActivity(writer, appointmentActivity = {}, i
|
|
|
8789
8843
|
writer.writeStringValue("type", appointmentActivity.type);
|
|
8790
8844
|
writer.writeAdditionalData(appointmentActivity.additionalData);
|
|
8791
8845
|
}
|
|
8846
|
+
/**
|
|
8847
|
+
* Serializes information the current object
|
|
8848
|
+
* @param AppointmentInterval The instance to serialize from.
|
|
8849
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
8850
|
+
* @param writer Serialization writer to use to serialize this model
|
|
8851
|
+
*/
|
|
8852
|
+
// @ts-ignore
|
|
8853
|
+
export function serializeAppointmentInterval(writer, appointmentInterval = {}, isSerializingDerivedType = false) {
|
|
8854
|
+
if (!appointmentInterval || isSerializingDerivedType) {
|
|
8855
|
+
return;
|
|
8856
|
+
}
|
|
8857
|
+
writer.writeDateValue("endAt", appointmentInterval.endAt);
|
|
8858
|
+
writer.writeDateValue("startAt", appointmentInterval.startAt);
|
|
8859
|
+
writer.writeAdditionalData(appointmentInterval.additionalData);
|
|
8860
|
+
}
|
|
8792
8861
|
/**
|
|
8793
8862
|
* Serializes information the current object
|
|
8794
8863
|
* @param AppointmentRequest The instance to serialize from.
|
|
@@ -8858,6 +8927,7 @@ export function serializeAutomationAction(writer, automationAction = {}, isSeria
|
|
|
8858
8927
|
if (!automationAction || isSerializingDerivedType) {
|
|
8859
8928
|
return;
|
|
8860
8929
|
}
|
|
8930
|
+
writer.writeStringValue("displayName", automationAction.displayName);
|
|
8861
8931
|
writer.writeStringValue("id", automationAction.id);
|
|
8862
8932
|
writer.writeBooleanValue("isEnabled", automationAction.isEnabled);
|
|
8863
8933
|
writer.writeNumberValue("order", automationAction.order);
|
|
@@ -8949,6 +9019,7 @@ export function serializeAutomationCondition(writer, automationCondition = {}, i
|
|
|
8949
9019
|
writer.writeStringValue("id", automationCondition.id);
|
|
8950
9020
|
writer.writeBooleanValue("isEnabled", automationCondition.isEnabled);
|
|
8951
9021
|
writer.writeStringValue("operator", automationCondition.operator);
|
|
9022
|
+
writer.writeNumberValue("priority", automationCondition.priority);
|
|
8952
9023
|
writer.writeObjectValue("settings", automationCondition.settings, serializeAutomationCondition_settings);
|
|
8953
9024
|
writer.writeStringValue("type", automationCondition.type);
|
|
8954
9025
|
writer.writeAdditionalData(automationCondition.additionalData);
|
|
@@ -9096,6 +9167,9 @@ export function serializeAutomationPreviewRequest(writer, automationPreviewReque
|
|
|
9096
9167
|
return;
|
|
9097
9168
|
}
|
|
9098
9169
|
writer.writeObjectValue("automation", automationPreviewRequest.automation, serializeAutomationRequestSnapshot);
|
|
9170
|
+
writer.writeStringValue("decisionActionId", automationPreviewRequest.decisionActionId);
|
|
9171
|
+
writer.writeStringValue("exampleReply", automationPreviewRequest.exampleReply);
|
|
9172
|
+
writer.writeStringValue("previousMessage", automationPreviewRequest.previousMessage);
|
|
9099
9173
|
writer.writeStringValue("triggerType", automationPreviewRequest.triggerType);
|
|
9100
9174
|
writer.writeAdditionalData(automationPreviewRequest.additionalData);
|
|
9101
9175
|
}
|
|
@@ -9113,6 +9187,7 @@ export function serializeAutomationPreviewResponse(writer, automationPreviewResp
|
|
|
9113
9187
|
writer.writeCollectionOfObjectValues("actionResults", automationPreviewResponse.actionResults, serializeAutomationPreviewActionResult);
|
|
9114
9188
|
writer.writeCollectionOfObjectValues("conditionResults", automationPreviewResponse.conditionResults, serializeAutomationPreviewConditionResult);
|
|
9115
9189
|
writer.writeObjectValue("samplePayload", automationPreviewResponse.samplePayload, serializeAutomationPreviewResponse_samplePayload);
|
|
9190
|
+
writer.writeStringValue("selectedConnectionId", automationPreviewResponse.selectedConnectionId);
|
|
9116
9191
|
writer.writeStringValue("triggerType", automationPreviewResponse.triggerType);
|
|
9117
9192
|
writer.writeObjectValue("validation", automationPreviewResponse.validation, serializeAutomationValidationResult);
|
|
9118
9193
|
writer.writeCollectionOfPrimitiveValues("warnings", automationPreviewResponse.warnings);
|
|
@@ -9150,6 +9225,7 @@ export function serializeAutomationRequest(writer, automationRequest = {}, isSer
|
|
|
9150
9225
|
writer.writeStringValue("id", automationRequest.id);
|
|
9151
9226
|
writer.writeStringValue("name", automationRequest.name);
|
|
9152
9227
|
writer.writeStringValue("scope", automationRequest.scope);
|
|
9228
|
+
writer.writeBooleanValue("stopOnReply", automationRequest.stopOnReply);
|
|
9153
9229
|
writer.writeStringValue("timeZoneId", automationRequest.timeZoneId);
|
|
9154
9230
|
writer.writeCollectionOfObjectValues("triggers", automationRequest.triggers, serializeAutomationTrigger);
|
|
9155
9231
|
writer.writeNumberValue("version", automationRequest.version);
|
|
@@ -9179,6 +9255,7 @@ export function serializeAutomationRequestSnapshot(writer, automationRequestSnap
|
|
|
9179
9255
|
writer.writeStringValue("name", automationRequestSnapshot.name);
|
|
9180
9256
|
writer.writeStringValue("organizationId", automationRequestSnapshot.organizationId);
|
|
9181
9257
|
writer.writeStringValue("scope", automationRequestSnapshot.scope);
|
|
9258
|
+
writer.writeBooleanValue("stopOnReply", automationRequestSnapshot.stopOnReply);
|
|
9182
9259
|
writer.writeStringValue("timeZoneId", automationRequestSnapshot.timeZoneId);
|
|
9183
9260
|
writer.writeCollectionOfObjectValues("triggers", automationRequestSnapshot.triggers, serializeAutomationTrigger);
|
|
9184
9261
|
writer.writeStringValue("visibility", automationRequestSnapshot.visibility);
|
|
@@ -9214,6 +9291,7 @@ export function serializeAutomationResponse(writer, automationResponse = {}, isS
|
|
|
9214
9291
|
writer.writeStringValue("organizationId", automationResponse.organizationId);
|
|
9215
9292
|
writer.writeDateValue("scheduleStartedAt", automationResponse.scheduleStartedAt);
|
|
9216
9293
|
writer.writeStringValue("scope", automationResponse.scope);
|
|
9294
|
+
writer.writeBooleanValue("stopOnReply", automationResponse.stopOnReply);
|
|
9217
9295
|
writer.writeStringValue("timeZoneId", automationResponse.timeZoneId);
|
|
9218
9296
|
writer.writeCollectionOfObjectValues("triggers", automationResponse.triggers, serializeAutomationTrigger);
|
|
9219
9297
|
writer.writeObjectValue("user", automationResponse.user, serializeAutomationResponse_user);
|
|
@@ -9270,9 +9348,11 @@ export function serializeAutomationRunRecord(writer, automationRunRecord = {}, i
|
|
|
9270
9348
|
writer.writeStringValue("leadId", automationRunRecord.leadId);
|
|
9271
9349
|
writer.writeStringValue("organizationId", automationRunRecord.organizationId);
|
|
9272
9350
|
writer.writeNumberValue("processingAttempts", automationRunRecord.processingAttempts);
|
|
9351
|
+
writer.writeStringValue("replyEventId", automationRunRecord.replyEventId);
|
|
9273
9352
|
writer.writeStringValue("skippedReason", automationRunRecord.skippedReason);
|
|
9274
9353
|
writer.writeDateValue("startedAt", automationRunRecord.startedAt);
|
|
9275
9354
|
writer.writeStringValue("status", automationRunRecord.status);
|
|
9355
|
+
writer.writeBooleanValue("stopOnReply", automationRunRecord.stopOnReply);
|
|
9276
9356
|
writer.writeStringValue("triggerId", automationRunRecord.triggerId);
|
|
9277
9357
|
writer.writeStringValue("triggerType", automationRunRecord.triggerType);
|
|
9278
9358
|
writer.writeAdditionalData(automationRunRecord.additionalData);
|
|
@@ -9530,6 +9610,7 @@ export function serializeAutomationWorkflowRunResponse(writer, automationWorkflo
|
|
|
9530
9610
|
writer.writeDateValue("nextExecutionAt", automationWorkflowRunResponse.nextExecutionAt);
|
|
9531
9611
|
writer.writeDateValue("nextRetryAt", automationWorkflowRunResponse.nextRetryAt);
|
|
9532
9612
|
writer.writeStringValue("organizationId", automationWorkflowRunResponse.organizationId);
|
|
9613
|
+
writer.writeStringValue("replyEventId", automationWorkflowRunResponse.replyEventId);
|
|
9533
9614
|
writer.writeNumberValue("retryCount", automationWorkflowRunResponse.retryCount);
|
|
9534
9615
|
writer.writeStringValue("skipReasonCode", automationWorkflowRunResponse.skipReasonCode);
|
|
9535
9616
|
writer.writeStringValue("skipReasonDisplay", automationWorkflowRunResponse.skipReasonDisplay);
|
|
@@ -9749,6 +9830,20 @@ export function serializeChangeBillingPlanRequest(writer, changeBillingPlanReque
|
|
|
9749
9830
|
writer.writeEnumValue("billingPlan", changeBillingPlanRequest.billingPlan);
|
|
9750
9831
|
writer.writeAdditionalData(changeBillingPlanRequest.additionalData);
|
|
9751
9832
|
}
|
|
9833
|
+
/**
|
|
9834
|
+
* Serializes information the current object
|
|
9835
|
+
* @param CloneAutomationRequest The instance to serialize from.
|
|
9836
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
9837
|
+
* @param writer Serialization writer to use to serialize this model
|
|
9838
|
+
*/
|
|
9839
|
+
// @ts-ignore
|
|
9840
|
+
export function serializeCloneAutomationRequest(writer, cloneAutomationRequest = {}, isSerializingDerivedType = false) {
|
|
9841
|
+
if (!cloneAutomationRequest || isSerializingDerivedType) {
|
|
9842
|
+
return;
|
|
9843
|
+
}
|
|
9844
|
+
writer.writeStringValue("name", cloneAutomationRequest.name);
|
|
9845
|
+
writer.writeAdditionalData(cloneAutomationRequest.additionalData);
|
|
9846
|
+
}
|
|
9752
9847
|
/**
|
|
9753
9848
|
* Serializes information the current object
|
|
9754
9849
|
* @param CommunicationConsoleEntry The instance to serialize from.
|
|
@@ -13028,6 +13123,7 @@ export function serializePhoneIdentityResponse(writer, phoneIdentityResponse = {
|
|
|
13028
13123
|
writer.writeStringValue("name", phoneIdentityResponse.name);
|
|
13029
13124
|
writer.writeStringValue("number", phoneIdentityResponse.number);
|
|
13030
13125
|
writer.writeBooleanValue("smsNotRoutable", phoneIdentityResponse.smsNotRoutable);
|
|
13126
|
+
writer.writeStringValue("smsRestrictionCode", phoneIdentityResponse.smsRestrictionCode);
|
|
13031
13127
|
writer.writeAdditionalData(phoneIdentityResponse.additionalData);
|
|
13032
13128
|
}
|
|
13033
13129
|
/**
|
|
@@ -15224,6 +15320,7 @@ export const BillableUnitObject = {
|
|
|
15224
15320
|
Payment_processing_fee: "payment_processing_fee",
|
|
15225
15321
|
Connection_action: "connection_action",
|
|
15226
15322
|
Automation_run: "automation_run",
|
|
15323
|
+
Ai_credit: "ai_credit",
|
|
15227
15324
|
};
|
|
15228
15325
|
/**
|
|
15229
15326
|
* Reusable payment types supported for immediate billing payments.
|
|
@@ -16265,6 +16362,7 @@ export const TransactionResponse_billableUnitObject = {
|
|
|
16265
16362
|
Payment_processing_fee: "payment_processing_fee",
|
|
16266
16363
|
Connection_action: "connection_action",
|
|
16267
16364
|
Automation_run: "automation_run",
|
|
16365
|
+
Ai_credit: "ai_credit",
|
|
16268
16366
|
};
|
|
16269
16367
|
/**
|
|
16270
16368
|
* Identifies the messaging, calling, phone-number, lookup, or platform channel that generated billable usage.
|
|
@@ -16315,6 +16413,7 @@ export const TransactionTableRow_billableUnitObject = {
|
|
|
16315
16413
|
Payment_processing_fee: "payment_processing_fee",
|
|
16316
16414
|
Connection_action: "connection_action",
|
|
16317
16415
|
Automation_run: "automation_run",
|
|
16416
|
+
Ai_credit: "ai_credit",
|
|
16318
16417
|
};
|
|
16319
16418
|
/**
|
|
16320
16419
|
* Identifies the messaging, calling, phone-number, lookup, or platform channel that generated billable usage.
|