@leadping/sdk 1.0.75 → 1.0.76

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.
@@ -340,6 +340,31 @@ export interface AutomationConsoleResponse extends AdditionalDataHolder, Parsabl
340
340
  */
341
341
  runs?: AutomationWorkflowRunResponse[] | null;
342
342
  }
343
+ /**
344
+ * Persisted origin of an automation run and the events produced by its actions.
345
+ */
346
+ export interface AutomationLineage extends AdditionalDataHolder, Parsable {
347
+ /**
348
+ * The actionId property
349
+ */
350
+ actionId?: string | null;
351
+ /**
352
+ * Automation IDs in execution order, including the run that produced this event.
353
+ */
354
+ automationIds?: string[] | null;
355
+ /**
356
+ * The rootEventId property
357
+ */
358
+ rootEventId?: string | null;
359
+ /**
360
+ * The runId property
361
+ */
362
+ runId?: string | null;
363
+ /**
364
+ * The triggerEventId property
365
+ */
366
+ triggerEventId?: string | null;
367
+ }
343
368
  /**
344
369
  * Result schema for the Leadping API automation preview action result returned by lookup and validation endpoints.
345
370
  */
@@ -666,6 +691,10 @@ export interface AutomationRunRecord extends AdditionalDataHolder, Parsable {
666
691
  * Automation ID connected to this workflow, run, or event.
667
692
  */
668
693
  automationId?: string | null;
694
+ /**
695
+ * Persisted origin of an automation run and the events produced by its actions.
696
+ */
697
+ automationLineage?: AutomationRunRecord_automationLineage | null;
669
698
  /**
670
699
  * UTC timestamp when processing completed for this automation run record.
671
700
  */
@@ -723,6 +752,11 @@ export interface AutomationRunRecord extends AdditionalDataHolder, Parsable {
723
752
  */
724
753
  triggerType?: string | null;
725
754
  }
755
+ /**
756
+ * Persisted origin of an automation run and the events produced by its actions.
757
+ */
758
+ export interface AutomationRunRecord_automationLineage extends AutomationLineage, Parsable {
759
+ }
726
760
  /**
727
761
  * Results of condition nodes already visited by this run, preserved across waits and retries.
728
762
  */
@@ -1708,6 +1742,12 @@ export declare function createAutomationConnectionFromDiscriminatorValue(parseNo
1708
1742
  * @returns {AutomationConsoleResponse}
1709
1743
  */
1710
1744
  export declare function createAutomationConsoleResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
1745
+ /**
1746
+ * Creates a new instance of the appropriate class based on discriminator value
1747
+ * @param parseNode The parse node to use to read the discriminator value and create the object
1748
+ * @returns {AutomationLineage}
1749
+ */
1750
+ export declare function createAutomationLineageFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
1711
1751
  /**
1712
1752
  * Creates a new instance of the appropriate class based on discriminator value
1713
1753
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -1768,6 +1808,12 @@ export declare function createAutomationResponse_userFromDiscriminatorValue(pars
1768
1808
  * @returns {AutomationResponse}
1769
1809
  */
1770
1810
  export declare function createAutomationResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
1811
+ /**
1812
+ * Creates a new instance of the appropriate class based on discriminator value
1813
+ * @param parseNode The parse node to use to read the discriminator value and create the object
1814
+ * @returns {AutomationRunRecord_automationLineage}
1815
+ */
1816
+ export declare function createAutomationRunRecord_automationLineageFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
1771
1817
  /**
1772
1818
  * Creates a new instance of the appropriate class based on discriminator value
1773
1819
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -4010,6 +4056,12 @@ export declare function deserializeIntoAutomationConnection(automationConnection
4010
4056
  * @returns {Record<string, (node: ParseNode) => void>}
4011
4057
  */
4012
4058
  export declare function deserializeIntoAutomationConsoleResponse(automationConsoleResponse?: Partial<AutomationConsoleResponse> | undefined): Record<string, (node: ParseNode) => void>;
4059
+ /**
4060
+ * The deserialization information for the current model
4061
+ * @param AutomationLineage The instance to deserialize into.
4062
+ * @returns {Record<string, (node: ParseNode) => void>}
4063
+ */
4064
+ export declare function deserializeIntoAutomationLineage(automationLineage?: Partial<AutomationLineage> | undefined): Record<string, (node: ParseNode) => void>;
4013
4065
  /**
4014
4066
  * The deserialization information for the current model
4015
4067
  * @param AutomationPreviewActionResult The instance to deserialize into.
@@ -4076,6 +4128,12 @@ export declare function deserializeIntoAutomationResponse_user(automationRespons
4076
4128
  * @returns {Record<string, (node: ParseNode) => void>}
4077
4129
  */
4078
4130
  export declare function deserializeIntoAutomationRunRecord(automationRunRecord?: Partial<AutomationRunRecord> | undefined): Record<string, (node: ParseNode) => void>;
4131
+ /**
4132
+ * The deserialization information for the current model
4133
+ * @param AutomationRunRecord_automationLineage The instance to deserialize into.
4134
+ * @returns {Record<string, (node: ParseNode) => void>}
4135
+ */
4136
+ export declare function deserializeIntoAutomationRunRecord_automationLineage(automationRunRecord_automationLineage?: Partial<AutomationRunRecord_automationLineage> | undefined): Record<string, (node: ParseNode) => void>;
4079
4137
  /**
4080
4138
  * The deserialization information for the current model
4081
4139
  * @param AutomationRunRecord_conditionResults The instance to deserialize into.
@@ -10478,6 +10536,13 @@ export declare function serializeAutomationConnection(writer: SerializationWrite
10478
10536
  * @param writer Serialization writer to use to serialize this model
10479
10537
  */
10480
10538
  export declare function serializeAutomationConsoleResponse(writer: SerializationWriter, automationConsoleResponse?: Partial<AutomationConsoleResponse> | undefined | null, isSerializingDerivedType?: boolean): void;
10539
+ /**
10540
+ * Serializes information the current object
10541
+ * @param AutomationLineage The instance to serialize from.
10542
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
10543
+ * @param writer Serialization writer to use to serialize this model
10544
+ */
10545
+ export declare function serializeAutomationLineage(writer: SerializationWriter, automationLineage?: Partial<AutomationLineage> | undefined | null, isSerializingDerivedType?: boolean): void;
10481
10546
  /**
10482
10547
  * Serializes information the current object
10483
10548
  * @param AutomationPreviewActionResult The instance to serialize from.
@@ -10555,6 +10620,13 @@ export declare function serializeAutomationResponse_user(writer: SerializationWr
10555
10620
  * @param writer Serialization writer to use to serialize this model
10556
10621
  */
10557
10622
  export declare function serializeAutomationRunRecord(writer: SerializationWriter, automationRunRecord?: Partial<AutomationRunRecord> | undefined | null, isSerializingDerivedType?: boolean): void;
10623
+ /**
10624
+ * Serializes information the current object
10625
+ * @param AutomationRunRecord_automationLineage The instance to serialize from.
10626
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
10627
+ * @param writer Serialization writer to use to serialize this model
10628
+ */
10629
+ export declare function serializeAutomationRunRecord_automationLineage(writer: SerializationWriter, automationRunRecord_automationLineage?: Partial<AutomationRunRecord_automationLineage> | undefined | null, isSerializingDerivedType?: boolean): void;
10558
10630
  /**
10559
10631
  * Serializes information the current object
10560
10632
  * @param AutomationRunRecord_conditionResults The instance to serialize from.