@superdurable/dex 1.16.0 → 1.17.0

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.
@@ -62,20 +62,14 @@ export declare enum IndexType {
62
62
  export declare enum WaitForMethodFailurePolicy {
63
63
  WAIT_FOR_METHOD_FAILURE_POLICY_UNSPECIFIED = 0,
64
64
  WAIT_FOR_METHOD_FAILURE_POLICY_FAIL_FLOW_ON_FAILURE = 1,
65
- /**
66
- * WAIT_FOR_METHOD_FAILURE_POLICY_PROCEED_ON_FAILURE - server-zd does not support this yet. StartFlow and SubFlow reject it with INVALID_ARGUMENT.
67
- * A Step decision that uses it fails the attempt without retry.
68
- */
65
+ /** WAIT_FOR_METHOD_FAILURE_POLICY_PROCEED_ON_FAILURE - Execute runs after the final WaitFor failure. */
69
66
  WAIT_FOR_METHOD_FAILURE_POLICY_PROCEED_ON_FAILURE = 2,
70
67
  UNRECOGNIZED = -1
71
68
  }
72
69
  export declare enum ExecuteMethodFailurePolicy {
73
70
  EXECUTE_METHOD_FAILURE_POLICY_UNSPECIFIED = 0,
74
71
  EXECUTE_METHOD_FAILURE_POLICY_FAIL_FLOW_ON_EXECUTE_METHOD_FAILURE = 1,
75
- /**
76
- * EXECUTE_METHOD_FAILURE_POLICY_PROCEED_TO_CONFIGURED_STEP - server-zd does not support this yet. StartFlow and SubFlow reject it with INVALID_ARGUMENT.
77
- * A Step decision that uses it fails the attempt without retry.
78
- */
72
+ /** EXECUTE_METHOD_FAILURE_POLICY_PROCEED_TO_CONFIGURED_STEP - The configured recovery Step starts after the final Execute failure. */
79
73
  EXECUTE_METHOD_FAILURE_POLICY_PROCEED_TO_CONFIGURED_STEP = 2,
80
74
  UNRECOGNIZED = -1
81
75
  }
@@ -621,15 +615,9 @@ export interface StepOptions {
621
615
  executeRetryPolicy: RetryPolicy | undefined;
622
616
  waitForFailurePolicy: WaitForMethodFailurePolicy;
623
617
  executeFailurePolicy: ExecuteMethodFailurePolicy;
624
- /**
625
- * server-zd does not support this yet. StartFlow and SubFlow reject it with INVALID_ARGUMENT.
626
- * A Step decision that uses it fails the attempt without retry.
627
- */
618
+ /** Step type started after the final Execute failure. */
628
619
  executeFailureProceedStepType: string;
629
- /**
630
- * server-zd does not support this yet. StartFlow and SubFlow reject it with INVALID_ARGUMENT.
631
- * A Step decision that uses it fails the attempt without retry.
632
- */
620
+ /** Options of the recovery Step. */
633
621
  executeFailureProceedStepOptions: StepOptions | undefined;
634
622
  skipWaitFor: boolean;
635
623
  waitForDurabilityOverride: StepDurability;
@@ -649,15 +637,9 @@ export interface FlowTimeoutHandlerOptions {
649
637
  heartbeatTimeoutSeconds: number;
650
638
  retryPolicy: RetryPolicy | undefined;
651
639
  failurePolicy: ExecuteMethodFailurePolicy;
652
- /**
653
- * server-zd does not support this yet. StartFlow and SubFlow reject it with INVALID_ARGUMENT.
654
- * A Step decision that uses it fails the attempt without retry.
655
- */
640
+ /** Step type started after the final timeout handler failure. */
656
641
  failureProceedStepType: string;
657
- /**
658
- * server-zd does not support this yet. StartFlow and SubFlow reject it with INVALID_ARGUMENT.
659
- * A Step decision that uses it fails the attempt without retry.
660
- */
642
+ /** Options of the recovery Step. */
661
643
  failureProceedStepOptions: StepOptions | undefined;
662
644
  durabilityOverride: StepDurability;
663
645
  lockAttributeKeys: string[];
@@ -73,10 +73,7 @@ export var WaitForMethodFailurePolicy;
73
73
  (function (WaitForMethodFailurePolicy) {
74
74
  WaitForMethodFailurePolicy[WaitForMethodFailurePolicy["WAIT_FOR_METHOD_FAILURE_POLICY_UNSPECIFIED"] = 0] = "WAIT_FOR_METHOD_FAILURE_POLICY_UNSPECIFIED";
75
75
  WaitForMethodFailurePolicy[WaitForMethodFailurePolicy["WAIT_FOR_METHOD_FAILURE_POLICY_FAIL_FLOW_ON_FAILURE"] = 1] = "WAIT_FOR_METHOD_FAILURE_POLICY_FAIL_FLOW_ON_FAILURE";
76
- /**
77
- * WAIT_FOR_METHOD_FAILURE_POLICY_PROCEED_ON_FAILURE - server-zd does not support this yet. StartFlow and SubFlow reject it with INVALID_ARGUMENT.
78
- * A Step decision that uses it fails the attempt without retry.
79
- */
76
+ /** WAIT_FOR_METHOD_FAILURE_POLICY_PROCEED_ON_FAILURE - Execute runs after the final WaitFor failure. */
80
77
  WaitForMethodFailurePolicy[WaitForMethodFailurePolicy["WAIT_FOR_METHOD_FAILURE_POLICY_PROCEED_ON_FAILURE"] = 2] = "WAIT_FOR_METHOD_FAILURE_POLICY_PROCEED_ON_FAILURE";
81
78
  WaitForMethodFailurePolicy[WaitForMethodFailurePolicy["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
82
79
  })(WaitForMethodFailurePolicy || (WaitForMethodFailurePolicy = {}));
@@ -84,10 +81,7 @@ export var ExecuteMethodFailurePolicy;
84
81
  (function (ExecuteMethodFailurePolicy) {
85
82
  ExecuteMethodFailurePolicy[ExecuteMethodFailurePolicy["EXECUTE_METHOD_FAILURE_POLICY_UNSPECIFIED"] = 0] = "EXECUTE_METHOD_FAILURE_POLICY_UNSPECIFIED";
86
83
  ExecuteMethodFailurePolicy[ExecuteMethodFailurePolicy["EXECUTE_METHOD_FAILURE_POLICY_FAIL_FLOW_ON_EXECUTE_METHOD_FAILURE"] = 1] = "EXECUTE_METHOD_FAILURE_POLICY_FAIL_FLOW_ON_EXECUTE_METHOD_FAILURE";
87
- /**
88
- * EXECUTE_METHOD_FAILURE_POLICY_PROCEED_TO_CONFIGURED_STEP - server-zd does not support this yet. StartFlow and SubFlow reject it with INVALID_ARGUMENT.
89
- * A Step decision that uses it fails the attempt without retry.
90
- */
84
+ /** EXECUTE_METHOD_FAILURE_POLICY_PROCEED_TO_CONFIGURED_STEP - The configured recovery Step starts after the final Execute failure. */
91
85
  ExecuteMethodFailurePolicy[ExecuteMethodFailurePolicy["EXECUTE_METHOD_FAILURE_POLICY_PROCEED_TO_CONFIGURED_STEP"] = 2] = "EXECUTE_METHOD_FAILURE_POLICY_PROCEED_TO_CONFIGURED_STEP";
92
86
  ExecuteMethodFailurePolicy[ExecuteMethodFailurePolicy["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
93
87
  })(ExecuteMethodFailurePolicy || (ExecuteMethodFailurePolicy = {}));