@leadping/sdk 1.0.74 → 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
  */
@@ -465,6 +490,10 @@ export interface AutomationRequest extends AdditionalDataHolder, Parsable {
465
490
  * Scope that limits where this automation configuration request applies in Leadping.
466
491
  */
467
492
  scope?: string | null;
493
+ /**
494
+ * Time zone used by workflow time and day conditions in preview and runtime. Defaults to UTC.
495
+ */
496
+ timeZoneId?: string | null;
468
497
  /**
469
498
  * Automation triggers that can start this workflow.
470
499
  */
@@ -530,6 +559,10 @@ export interface AutomationRequestSnapshot extends AdditionalDataHolder, Parsabl
530
559
  * Scope that limits where this automation request snapshot applies in Leadping.
531
560
  */
532
561
  scope?: string | null;
562
+ /**
563
+ * Time zone used by workflow time and day conditions in preview and runtime. Defaults to UTC.
564
+ */
565
+ timeZoneId?: string | null;
533
566
  /**
534
567
  * Automation triggers that can start this workflow.
535
568
  */
@@ -615,6 +648,10 @@ export interface AutomationResponse extends AdditionalDataHolder, Parsable {
615
648
  * Scope that limits where this automation configuration response applies in Leadping.
616
649
  */
617
650
  scope?: string | null;
651
+ /**
652
+ * Time zone used by workflow time and day conditions in preview and runtime. Defaults to UTC.
653
+ */
654
+ timeZoneId?: string | null;
618
655
  /**
619
656
  * Automation triggers that can start this workflow.
620
657
  */
@@ -654,6 +691,10 @@ export interface AutomationRunRecord extends AdditionalDataHolder, Parsable {
654
691
  * Automation ID connected to this workflow, run, or event.
655
692
  */
656
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;
657
698
  /**
658
699
  * UTC timestamp when processing completed for this automation run record.
659
700
  */
@@ -711,6 +752,11 @@ export interface AutomationRunRecord extends AdditionalDataHolder, Parsable {
711
752
  */
712
753
  triggerType?: string | null;
713
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
+ }
714
760
  /**
715
761
  * Results of condition nodes already visited by this run, preserved across waits and retries.
716
762
  */
@@ -1696,6 +1742,12 @@ export declare function createAutomationConnectionFromDiscriminatorValue(parseNo
1696
1742
  * @returns {AutomationConsoleResponse}
1697
1743
  */
1698
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>);
1699
1751
  /**
1700
1752
  * Creates a new instance of the appropriate class based on discriminator value
1701
1753
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -1756,6 +1808,12 @@ export declare function createAutomationResponse_userFromDiscriminatorValue(pars
1756
1808
  * @returns {AutomationResponse}
1757
1809
  */
1758
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>);
1759
1817
  /**
1760
1818
  * Creates a new instance of the appropriate class based on discriminator value
1761
1819
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -3998,6 +4056,12 @@ export declare function deserializeIntoAutomationConnection(automationConnection
3998
4056
  * @returns {Record<string, (node: ParseNode) => void>}
3999
4057
  */
4000
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>;
4001
4065
  /**
4002
4066
  * The deserialization information for the current model
4003
4067
  * @param AutomationPreviewActionResult The instance to deserialize into.
@@ -4064,6 +4128,12 @@ export declare function deserializeIntoAutomationResponse_user(automationRespons
4064
4128
  * @returns {Record<string, (node: ParseNode) => void>}
4065
4129
  */
4066
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>;
4067
4137
  /**
4068
4138
  * The deserialization information for the current model
4069
4139
  * @param AutomationRunRecord_conditionResults The instance to deserialize into.
@@ -10466,6 +10536,13 @@ export declare function serializeAutomationConnection(writer: SerializationWrite
10466
10536
  * @param writer Serialization writer to use to serialize this model
10467
10537
  */
10468
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;
10469
10546
  /**
10470
10547
  * Serializes information the current object
10471
10548
  * @param AutomationPreviewActionResult The instance to serialize from.
@@ -10543,6 +10620,13 @@ export declare function serializeAutomationResponse_user(writer: SerializationWr
10543
10620
  * @param writer Serialization writer to use to serialize this model
10544
10621
  */
10545
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;
10546
10630
  /**
10547
10631
  * Serializes information the current object
10548
10632
  * @param AutomationRunRecord_conditionResults The instance to serialize from.