@leadping/sdk 1.0.55 → 1.0.57
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/a2a/index.d.ts +2 -2
- package/dist/automations/preview/index.d.ts +3 -3
- package/dist/blog/index.d.ts +2 -2
- package/dist/leadStatusChanges/item/index.d.ts +2 -2
- package/dist/leads/item/archive/index.d.ts +2 -2
- package/dist/leads/item/index.d.ts +2 -2
- package/dist/models/index.d.ts +32 -0
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +35 -0
- package/dist/models/index.js.map +1 -1
- package/dist/sms/item/cancel/index.d.ts +2 -2
- package/dist/users/me/notificationPreferences/index.d.ts +2 -2
- package/package.json +1 -1
package/dist/models/index.js
CHANGED
|
@@ -228,6 +228,15 @@ export function createAutomationResponse_userFromDiscriminatorValue(parseNode) {
|
|
|
228
228
|
export function createAutomationResponseFromDiscriminatorValue(parseNode) {
|
|
229
229
|
return deserializeIntoAutomationResponse;
|
|
230
230
|
}
|
|
231
|
+
/**
|
|
232
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
233
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
234
|
+
* @returns {AutomationRunRecord_conditionResults}
|
|
235
|
+
*/
|
|
236
|
+
// @ts-ignore
|
|
237
|
+
export function createAutomationRunRecord_conditionResultsFromDiscriminatorValue(parseNode) {
|
|
238
|
+
return deserializeIntoAutomationRunRecord_conditionResults;
|
|
239
|
+
}
|
|
231
240
|
/**
|
|
232
241
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
233
242
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -2792,6 +2801,7 @@ export function deserializeIntoAutomationRunRecord(automationRunRecord = {}) {
|
|
|
2792
2801
|
"actions": n => { automationRunRecord.actions = n.getCollectionOfObjectValues(createAutomationActionRunRecordFromDiscriminatorValue); },
|
|
2793
2802
|
"automationId": n => { automationRunRecord.automationId = n.getStringValue(); },
|
|
2794
2803
|
"completedAt": n => { automationRunRecord.completedAt = n.getDateValue(); },
|
|
2804
|
+
"conditionResults": n => { automationRunRecord.conditionResults = n.getObjectValue(createAutomationRunRecord_conditionResultsFromDiscriminatorValue); },
|
|
2795
2805
|
"executionMode": n => { automationRunRecord.executionMode = n.getStringValue(); },
|
|
2796
2806
|
"failureCode": n => { automationRunRecord.failureCode = n.getStringValue(); },
|
|
2797
2807
|
"id": n => { automationRunRecord.id = n.getStringValue(); },
|
|
@@ -2802,9 +2812,19 @@ export function deserializeIntoAutomationRunRecord(automationRunRecord = {}) {
|
|
|
2802
2812
|
"skippedReason": n => { automationRunRecord.skippedReason = n.getStringValue(); },
|
|
2803
2813
|
"startedAt": n => { automationRunRecord.startedAt = n.getDateValue(); },
|
|
2804
2814
|
"status": n => { automationRunRecord.status = n.getStringValue(); },
|
|
2815
|
+
"triggerId": n => { automationRunRecord.triggerId = n.getStringValue(); },
|
|
2805
2816
|
"triggerType": n => { automationRunRecord.triggerType = n.getStringValue(); },
|
|
2806
2817
|
};
|
|
2807
2818
|
}
|
|
2819
|
+
/**
|
|
2820
|
+
* The deserialization information for the current model
|
|
2821
|
+
* @param AutomationRunRecord_conditionResults The instance to deserialize into.
|
|
2822
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
2823
|
+
*/
|
|
2824
|
+
// @ts-ignore
|
|
2825
|
+
export function deserializeIntoAutomationRunRecord_conditionResults(automationRunRecord_conditionResults = {}) {
|
|
2826
|
+
return {};
|
|
2827
|
+
}
|
|
2808
2828
|
/**
|
|
2809
2829
|
* The deserialization information for the current model
|
|
2810
2830
|
* @param AutomationTableRow The instance to deserialize into.
|
|
@@ -7412,6 +7432,7 @@ export function serializeAutomationRunRecord(writer, automationRunRecord = {}, i
|
|
|
7412
7432
|
writer.writeCollectionOfObjectValues("actions", automationRunRecord.actions, serializeAutomationActionRunRecord);
|
|
7413
7433
|
writer.writeStringValue("automationId", automationRunRecord.automationId);
|
|
7414
7434
|
writer.writeDateValue("completedAt", automationRunRecord.completedAt);
|
|
7435
|
+
writer.writeObjectValue("conditionResults", automationRunRecord.conditionResults, serializeAutomationRunRecord_conditionResults);
|
|
7415
7436
|
writer.writeStringValue("executionMode", automationRunRecord.executionMode);
|
|
7416
7437
|
writer.writeStringValue("failureCode", automationRunRecord.failureCode);
|
|
7417
7438
|
writer.writeStringValue("id", automationRunRecord.id);
|
|
@@ -7422,9 +7443,23 @@ export function serializeAutomationRunRecord(writer, automationRunRecord = {}, i
|
|
|
7422
7443
|
writer.writeStringValue("skippedReason", automationRunRecord.skippedReason);
|
|
7423
7444
|
writer.writeDateValue("startedAt", automationRunRecord.startedAt);
|
|
7424
7445
|
writer.writeStringValue("status", automationRunRecord.status);
|
|
7446
|
+
writer.writeStringValue("triggerId", automationRunRecord.triggerId);
|
|
7425
7447
|
writer.writeStringValue("triggerType", automationRunRecord.triggerType);
|
|
7426
7448
|
writer.writeAdditionalData(automationRunRecord.additionalData);
|
|
7427
7449
|
}
|
|
7450
|
+
/**
|
|
7451
|
+
* Serializes information the current object
|
|
7452
|
+
* @param AutomationRunRecord_conditionResults The instance to serialize from.
|
|
7453
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
7454
|
+
* @param writer Serialization writer to use to serialize this model
|
|
7455
|
+
*/
|
|
7456
|
+
// @ts-ignore
|
|
7457
|
+
export function serializeAutomationRunRecord_conditionResults(writer, automationRunRecord_conditionResults = {}, isSerializingDerivedType = false) {
|
|
7458
|
+
if (!automationRunRecord_conditionResults || isSerializingDerivedType) {
|
|
7459
|
+
return;
|
|
7460
|
+
}
|
|
7461
|
+
writer.writeAdditionalData(automationRunRecord_conditionResults.additionalData);
|
|
7462
|
+
}
|
|
7428
7463
|
/**
|
|
7429
7464
|
* Serializes information the current object
|
|
7430
7465
|
* @param AutomationTableRow The instance to serialize from.
|