@zyphr-dev/node-sdk 0.1.17 → 0.1.19

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/index.js CHANGED
@@ -2653,6 +2653,352 @@ function EndUserDeleteResponseToJSONTyped(value, ignoreDiscriminator = false) {
2653
2653
  };
2654
2654
  }
2655
2655
 
2656
+ // src/src/models/ExecutionCancelResponseData.ts
2657
+ var ExecutionCancelResponseDataStatusEnum = {
2658
+ CANCELLED: "cancelled"
2659
+ };
2660
+ function instanceOfExecutionCancelResponseData(value) {
2661
+ return true;
2662
+ }
2663
+ function ExecutionCancelResponseDataFromJSON(json) {
2664
+ return ExecutionCancelResponseDataFromJSONTyped(json, false);
2665
+ }
2666
+ function ExecutionCancelResponseDataFromJSONTyped(json, ignoreDiscriminator) {
2667
+ if (json == null) {
2668
+ return json;
2669
+ }
2670
+ return {
2671
+ "id": json["id"] == null ? void 0 : json["id"],
2672
+ "status": json["status"] == null ? void 0 : json["status"]
2673
+ };
2674
+ }
2675
+ function ExecutionCancelResponseDataToJSON(json) {
2676
+ return ExecutionCancelResponseDataToJSONTyped(json, false);
2677
+ }
2678
+ function ExecutionCancelResponseDataToJSONTyped(value, ignoreDiscriminator = false) {
2679
+ if (value == null) {
2680
+ return value;
2681
+ }
2682
+ return {
2683
+ "id": value["id"],
2684
+ "status": value["status"]
2685
+ };
2686
+ }
2687
+
2688
+ // src/src/models/ExecutionCancelResponse.ts
2689
+ function instanceOfExecutionCancelResponse(value) {
2690
+ return true;
2691
+ }
2692
+ function ExecutionCancelResponseFromJSON(json) {
2693
+ return ExecutionCancelResponseFromJSONTyped(json, false);
2694
+ }
2695
+ function ExecutionCancelResponseFromJSONTyped(json, ignoreDiscriminator) {
2696
+ if (json == null) {
2697
+ return json;
2698
+ }
2699
+ return {
2700
+ "data": json["data"] == null ? void 0 : ExecutionCancelResponseDataFromJSON(json["data"]),
2701
+ "meta": json["meta"] == null ? void 0 : RequestMetaFromJSON(json["meta"])
2702
+ };
2703
+ }
2704
+ function ExecutionCancelResponseToJSON(json) {
2705
+ return ExecutionCancelResponseToJSONTyped(json, false);
2706
+ }
2707
+ function ExecutionCancelResponseToJSONTyped(value, ignoreDiscriminator = false) {
2708
+ if (value == null) {
2709
+ return value;
2710
+ }
2711
+ return {
2712
+ "data": ExecutionCancelResponseDataToJSON(value["data"]),
2713
+ "meta": RequestMetaToJSON(value["meta"])
2714
+ };
2715
+ }
2716
+
2717
+ // src/src/models/WorkflowExecutionStatus.ts
2718
+ var WorkflowExecutionStatus = {
2719
+ PENDING: "pending",
2720
+ RUNNING: "running",
2721
+ COMPLETED: "completed",
2722
+ FAILED: "failed",
2723
+ CANCELLED: "cancelled"
2724
+ };
2725
+ function instanceOfWorkflowExecutionStatus(value) {
2726
+ for (const key in WorkflowExecutionStatus) {
2727
+ if (Object.prototype.hasOwnProperty.call(WorkflowExecutionStatus, key)) {
2728
+ if (WorkflowExecutionStatus[key] === value) {
2729
+ return true;
2730
+ }
2731
+ }
2732
+ }
2733
+ return false;
2734
+ }
2735
+ function WorkflowExecutionStatusFromJSON(json) {
2736
+ return WorkflowExecutionStatusFromJSONTyped(json, false);
2737
+ }
2738
+ function WorkflowExecutionStatusFromJSONTyped(json, ignoreDiscriminator) {
2739
+ return json;
2740
+ }
2741
+ function WorkflowExecutionStatusToJSON(value) {
2742
+ return value;
2743
+ }
2744
+ function WorkflowExecutionStatusToJSONTyped(value, ignoreDiscriminator) {
2745
+ return value;
2746
+ }
2747
+
2748
+ // src/src/models/WorkflowStepExecutionStatus.ts
2749
+ var WorkflowStepExecutionStatus = {
2750
+ PENDING: "pending",
2751
+ RUNNING: "running",
2752
+ COMPLETED: "completed",
2753
+ SKIPPED: "skipped",
2754
+ FAILED: "failed",
2755
+ WAITING: "waiting"
2756
+ };
2757
+ function instanceOfWorkflowStepExecutionStatus(value) {
2758
+ for (const key in WorkflowStepExecutionStatus) {
2759
+ if (Object.prototype.hasOwnProperty.call(WorkflowStepExecutionStatus, key)) {
2760
+ if (WorkflowStepExecutionStatus[key] === value) {
2761
+ return true;
2762
+ }
2763
+ }
2764
+ }
2765
+ return false;
2766
+ }
2767
+ function WorkflowStepExecutionStatusFromJSON(json) {
2768
+ return WorkflowStepExecutionStatusFromJSONTyped(json, false);
2769
+ }
2770
+ function WorkflowStepExecutionStatusFromJSONTyped(json, ignoreDiscriminator) {
2771
+ return json;
2772
+ }
2773
+ function WorkflowStepExecutionStatusToJSON(value) {
2774
+ return value;
2775
+ }
2776
+ function WorkflowStepExecutionStatusToJSONTyped(value, ignoreDiscriminator) {
2777
+ return value;
2778
+ }
2779
+
2780
+ // src/src/models/WorkflowStepExecution.ts
2781
+ var WorkflowStepExecutionStepTypeEnum = {
2782
+ EMAIL: "email",
2783
+ PUSH: "push",
2784
+ SMS: "sms",
2785
+ IN_APP: "in_app",
2786
+ SLACK: "slack",
2787
+ DISCORD: "discord",
2788
+ TEAMS: "teams",
2789
+ DELAY: "delay",
2790
+ BRANCH: "branch"
2791
+ };
2792
+ function instanceOfWorkflowStepExecution(value) {
2793
+ if (!("id" in value) || value["id"] === void 0) return false;
2794
+ if (!("executionId" in value) || value["executionId"] === void 0) return false;
2795
+ if (!("stepId" in value) || value["stepId"] === void 0) return false;
2796
+ if (!("status" in value) || value["status"] === void 0) return false;
2797
+ if (!("createdAt" in value) || value["createdAt"] === void 0) return false;
2798
+ return true;
2799
+ }
2800
+ function WorkflowStepExecutionFromJSON(json) {
2801
+ return WorkflowStepExecutionFromJSONTyped(json, false);
2802
+ }
2803
+ function WorkflowStepExecutionFromJSONTyped(json, ignoreDiscriminator) {
2804
+ if (json == null) {
2805
+ return json;
2806
+ }
2807
+ return {
2808
+ "id": json["id"],
2809
+ "executionId": json["execution_id"],
2810
+ "stepId": json["step_id"],
2811
+ "status": WorkflowStepExecutionStatusFromJSON(json["status"]),
2812
+ "result": json["result"] == null ? void 0 : json["result"],
2813
+ "startedAt": json["started_at"] == null ? void 0 : new Date(json["started_at"]),
2814
+ "completedAt": json["completed_at"] == null ? void 0 : new Date(json["completed_at"]),
2815
+ "error": json["error"] == null ? void 0 : json["error"],
2816
+ "createdAt": new Date(json["created_at"]),
2817
+ "stepKey": json["step_key"] == null ? void 0 : json["step_key"],
2818
+ "stepName": json["step_name"] == null ? void 0 : json["step_name"],
2819
+ "stepType": json["step_type"] == null ? void 0 : json["step_type"]
2820
+ };
2821
+ }
2822
+ function WorkflowStepExecutionToJSON(json) {
2823
+ return WorkflowStepExecutionToJSONTyped(json, false);
2824
+ }
2825
+ function WorkflowStepExecutionToJSONTyped(value, ignoreDiscriminator = false) {
2826
+ if (value == null) {
2827
+ return value;
2828
+ }
2829
+ return {
2830
+ "id": value["id"],
2831
+ "execution_id": value["executionId"],
2832
+ "step_id": value["stepId"],
2833
+ "status": WorkflowStepExecutionStatusToJSON(value["status"]),
2834
+ "result": value["result"],
2835
+ "started_at": value["startedAt"] == null ? void 0 : value["startedAt"].toISOString(),
2836
+ "completed_at": value["completedAt"] == null ? void 0 : value["completedAt"].toISOString(),
2837
+ "error": value["error"],
2838
+ "created_at": value["createdAt"].toISOString(),
2839
+ "step_key": value["stepKey"],
2840
+ "step_name": value["stepName"],
2841
+ "step_type": value["stepType"]
2842
+ };
2843
+ }
2844
+
2845
+ // src/src/models/WorkflowExecution.ts
2846
+ function instanceOfWorkflowExecution(value) {
2847
+ if (!("id" in value) || value["id"] === void 0) return false;
2848
+ if (!("workflowId" in value) || value["workflowId"] === void 0) return false;
2849
+ if (!("accountId" in value) || value["accountId"] === void 0) return false;
2850
+ if (!("projectId" in value) || value["projectId"] === void 0) return false;
2851
+ if (!("subscriberId" in value) || value["subscriberId"] === void 0) return false;
2852
+ if (!("status" in value) || value["status"] === void 0) return false;
2853
+ if (!("createdAt" in value) || value["createdAt"] === void 0) return false;
2854
+ return true;
2855
+ }
2856
+ function WorkflowExecutionFromJSON(json) {
2857
+ return WorkflowExecutionFromJSONTyped(json, false);
2858
+ }
2859
+ function WorkflowExecutionFromJSONTyped(json, ignoreDiscriminator) {
2860
+ if (json == null) {
2861
+ return json;
2862
+ }
2863
+ return {
2864
+ "id": json["id"],
2865
+ "workflowId": json["workflow_id"],
2866
+ "accountId": json["account_id"],
2867
+ "projectId": json["project_id"],
2868
+ "subscriberId": json["subscriber_id"],
2869
+ "topicKey": json["topic_key"] == null ? void 0 : json["topic_key"],
2870
+ "triggerPayload": json["trigger_payload"] == null ? void 0 : json["trigger_payload"],
2871
+ "transactionId": json["transaction_id"] == null ? void 0 : json["transaction_id"],
2872
+ "senderFrom": json["sender_from"] == null ? void 0 : json["sender_from"],
2873
+ "status": WorkflowExecutionStatusFromJSON(json["status"]),
2874
+ "currentStepId": json["current_step_id"] == null ? void 0 : json["current_step_id"],
2875
+ "stepExecutions": json["step_executions"] == null ? void 0 : json["step_executions"].map(WorkflowStepExecutionFromJSON),
2876
+ "startedAt": json["started_at"] == null ? void 0 : new Date(json["started_at"]),
2877
+ "completedAt": json["completed_at"] == null ? void 0 : new Date(json["completed_at"]),
2878
+ "createdAt": new Date(json["created_at"])
2879
+ };
2880
+ }
2881
+ function WorkflowExecutionToJSON(json) {
2882
+ return WorkflowExecutionToJSONTyped(json, false);
2883
+ }
2884
+ function WorkflowExecutionToJSONTyped(value, ignoreDiscriminator = false) {
2885
+ if (value == null) {
2886
+ return value;
2887
+ }
2888
+ return {
2889
+ "id": value["id"],
2890
+ "workflow_id": value["workflowId"],
2891
+ "account_id": value["accountId"],
2892
+ "project_id": value["projectId"],
2893
+ "subscriber_id": value["subscriberId"],
2894
+ "topic_key": value["topicKey"],
2895
+ "trigger_payload": value["triggerPayload"],
2896
+ "transaction_id": value["transactionId"],
2897
+ "sender_from": value["senderFrom"],
2898
+ "status": WorkflowExecutionStatusToJSON(value["status"]),
2899
+ "current_step_id": value["currentStepId"],
2900
+ "step_executions": value["stepExecutions"] == null ? void 0 : value["stepExecutions"].map(WorkflowStepExecutionToJSON),
2901
+ "started_at": value["startedAt"] == null ? void 0 : value["startedAt"].toISOString(),
2902
+ "completed_at": value["completedAt"] == null ? void 0 : value["completedAt"].toISOString(),
2903
+ "created_at": value["createdAt"].toISOString()
2904
+ };
2905
+ }
2906
+
2907
+ // src/src/models/ExecutionResponse.ts
2908
+ function instanceOfExecutionResponse(value) {
2909
+ return true;
2910
+ }
2911
+ function ExecutionResponseFromJSON(json) {
2912
+ return ExecutionResponseFromJSONTyped(json, false);
2913
+ }
2914
+ function ExecutionResponseFromJSONTyped(json, ignoreDiscriminator) {
2915
+ if (json == null) {
2916
+ return json;
2917
+ }
2918
+ return {
2919
+ "data": json["data"] == null ? void 0 : WorkflowExecutionFromJSON(json["data"]),
2920
+ "meta": json["meta"] == null ? void 0 : RequestMetaFromJSON(json["meta"])
2921
+ };
2922
+ }
2923
+ function ExecutionResponseToJSON(json) {
2924
+ return ExecutionResponseToJSONTyped(json, false);
2925
+ }
2926
+ function ExecutionResponseToJSONTyped(value, ignoreDiscriminator = false) {
2927
+ if (value == null) {
2928
+ return value;
2929
+ }
2930
+ return {
2931
+ "data": WorkflowExecutionToJSON(value["data"]),
2932
+ "meta": RequestMetaToJSON(value["meta"])
2933
+ };
2934
+ }
2935
+
2936
+ // src/src/models/ExecutionRetryResponseData.ts
2937
+ var ExecutionRetryResponseDataStatusEnum = {
2938
+ PENDING: "pending"
2939
+ };
2940
+ function instanceOfExecutionRetryResponseData(value) {
2941
+ if (!("id" in value) || value["id"] === void 0) return false;
2942
+ if (!("originalExecutionId" in value) || value["originalExecutionId"] === void 0) return false;
2943
+ if (!("status" in value) || value["status"] === void 0) return false;
2944
+ return true;
2945
+ }
2946
+ function ExecutionRetryResponseDataFromJSON(json) {
2947
+ return ExecutionRetryResponseDataFromJSONTyped(json, false);
2948
+ }
2949
+ function ExecutionRetryResponseDataFromJSONTyped(json, ignoreDiscriminator) {
2950
+ if (json == null) {
2951
+ return json;
2952
+ }
2953
+ return {
2954
+ "id": json["id"],
2955
+ "originalExecutionId": json["original_execution_id"],
2956
+ "status": json["status"]
2957
+ };
2958
+ }
2959
+ function ExecutionRetryResponseDataToJSON(json) {
2960
+ return ExecutionRetryResponseDataToJSONTyped(json, false);
2961
+ }
2962
+ function ExecutionRetryResponseDataToJSONTyped(value, ignoreDiscriminator = false) {
2963
+ if (value == null) {
2964
+ return value;
2965
+ }
2966
+ return {
2967
+ "id": value["id"],
2968
+ "original_execution_id": value["originalExecutionId"],
2969
+ "status": value["status"]
2970
+ };
2971
+ }
2972
+
2973
+ // src/src/models/ExecutionRetryResponse.ts
2974
+ function instanceOfExecutionRetryResponse(value) {
2975
+ return true;
2976
+ }
2977
+ function ExecutionRetryResponseFromJSON(json) {
2978
+ return ExecutionRetryResponseFromJSONTyped(json, false);
2979
+ }
2980
+ function ExecutionRetryResponseFromJSONTyped(json, ignoreDiscriminator) {
2981
+ if (json == null) {
2982
+ return json;
2983
+ }
2984
+ return {
2985
+ "data": json["data"] == null ? void 0 : ExecutionRetryResponseDataFromJSON(json["data"]),
2986
+ "meta": json["meta"] == null ? void 0 : RequestMetaFromJSON(json["meta"])
2987
+ };
2988
+ }
2989
+ function ExecutionRetryResponseToJSON(json) {
2990
+ return ExecutionRetryResponseToJSONTyped(json, false);
2991
+ }
2992
+ function ExecutionRetryResponseToJSONTyped(value, ignoreDiscriminator = false) {
2993
+ if (value == null) {
2994
+ return value;
2995
+ }
2996
+ return {
2997
+ "data": ExecutionRetryResponseDataToJSON(value["data"]),
2998
+ "meta": RequestMetaToJSON(value["meta"])
2999
+ };
3000
+ }
3001
+
2656
3002
  // src/src/models/ForgotPasswordRequest.ts
2657
3003
  function instanceOfForgotPasswordRequest(value) {
2658
3004
  if (!("email" in value) || value["email"] === void 0) return false;
@@ -13354,6 +13700,106 @@ var ListEmailsStatusEnum = {
13354
13700
  REJECTED: "rejected"
13355
13701
  };
13356
13702
 
13703
+ // src/src/apis/ExecutionsApi.ts
13704
+ var ExecutionsApi = class extends BaseAPI {
13705
+ /**
13706
+ * Cancel a workflow execution that is still pending or running. Already-terminal executions cannot be cancelled.
13707
+ * Cancel a running execution
13708
+ */
13709
+ async cancelExecutionRaw(requestParameters, initOverrides) {
13710
+ if (requestParameters["id"] == null) {
13711
+ throw new RequiredError(
13712
+ "id",
13713
+ 'Required parameter "id" was null or undefined when calling cancelExecution().'
13714
+ );
13715
+ }
13716
+ const queryParameters = {};
13717
+ const headerParameters = {};
13718
+ if (this.configuration && this.configuration.apiKey) {
13719
+ headerParameters["X-API-Key"] = await this.configuration.apiKey("X-API-Key");
13720
+ }
13721
+ const response = await this.request({
13722
+ path: `/executions/{id}/cancel`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))),
13723
+ method: "POST",
13724
+ headers: headerParameters,
13725
+ query: queryParameters
13726
+ }, initOverrides);
13727
+ return new JSONApiResponse(response, (jsonValue) => ExecutionCancelResponseFromJSON(jsonValue));
13728
+ }
13729
+ /**
13730
+ * Cancel a workflow execution that is still pending or running. Already-terminal executions cannot be cancelled.
13731
+ * Cancel a running execution
13732
+ */
13733
+ async cancelExecution(id, initOverrides) {
13734
+ const response = await this.cancelExecutionRaw({ id }, initOverrides);
13735
+ return await response.value();
13736
+ }
13737
+ /**
13738
+ * Retrieve a workflow execution by ID, including its step execution details.
13739
+ * Get a workflow execution
13740
+ */
13741
+ async getExecutionRaw(requestParameters, initOverrides) {
13742
+ if (requestParameters["id"] == null) {
13743
+ throw new RequiredError(
13744
+ "id",
13745
+ 'Required parameter "id" was null or undefined when calling getExecution().'
13746
+ );
13747
+ }
13748
+ const queryParameters = {};
13749
+ const headerParameters = {};
13750
+ if (this.configuration && this.configuration.apiKey) {
13751
+ headerParameters["X-API-Key"] = await this.configuration.apiKey("X-API-Key");
13752
+ }
13753
+ const response = await this.request({
13754
+ path: `/executions/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))),
13755
+ method: "GET",
13756
+ headers: headerParameters,
13757
+ query: queryParameters
13758
+ }, initOverrides);
13759
+ return new JSONApiResponse(response, (jsonValue) => ExecutionResponseFromJSON(jsonValue));
13760
+ }
13761
+ /**
13762
+ * Retrieve a workflow execution by ID, including its step execution details.
13763
+ * Get a workflow execution
13764
+ */
13765
+ async getExecution(id, initOverrides) {
13766
+ const response = await this.getExecutionRaw({ id }, initOverrides);
13767
+ return await response.value();
13768
+ }
13769
+ /**
13770
+ * Create a new workflow execution that re-runs the same workflow with the original subscriber, payload, and sender. Only `failed` or `cancelled` executions can be retried.
13771
+ * Retry a failed or cancelled execution
13772
+ */
13773
+ async retryExecutionRaw(requestParameters, initOverrides) {
13774
+ if (requestParameters["id"] == null) {
13775
+ throw new RequiredError(
13776
+ "id",
13777
+ 'Required parameter "id" was null or undefined when calling retryExecution().'
13778
+ );
13779
+ }
13780
+ const queryParameters = {};
13781
+ const headerParameters = {};
13782
+ if (this.configuration && this.configuration.apiKey) {
13783
+ headerParameters["X-API-Key"] = await this.configuration.apiKey("X-API-Key");
13784
+ }
13785
+ const response = await this.request({
13786
+ path: `/executions/{id}/retry`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))),
13787
+ method: "POST",
13788
+ headers: headerParameters,
13789
+ query: queryParameters
13790
+ }, initOverrides);
13791
+ return new JSONApiResponse(response, (jsonValue) => ExecutionRetryResponseFromJSON(jsonValue));
13792
+ }
13793
+ /**
13794
+ * Create a new workflow execution that re-runs the same workflow with the original subscriber, payload, and sender. Only `failed` or `cancelled` executions can be retried.
13795
+ * Retry a failed or cancelled execution
13796
+ */
13797
+ async retryExecution(id, initOverrides) {
13798
+ const response = await this.retryExecutionRaw({ id }, initOverrides);
13799
+ return await response.value();
13800
+ }
13801
+ };
13802
+
13357
13803
  // src/src/apis/InboxApi.ts
13358
13804
  var InboxApi = class extends BaseAPI {
13359
13805
  /**
@@ -18285,6 +18731,29 @@ export {
18285
18731
  EndUserDeleteResponseFromJSONTyped,
18286
18732
  EndUserDeleteResponseToJSON,
18287
18733
  EndUserDeleteResponseToJSONTyped,
18734
+ ExecutionCancelResponseDataFromJSON,
18735
+ ExecutionCancelResponseDataFromJSONTyped,
18736
+ ExecutionCancelResponseDataStatusEnum,
18737
+ ExecutionCancelResponseDataToJSON,
18738
+ ExecutionCancelResponseDataToJSONTyped,
18739
+ ExecutionCancelResponseFromJSON,
18740
+ ExecutionCancelResponseFromJSONTyped,
18741
+ ExecutionCancelResponseToJSON,
18742
+ ExecutionCancelResponseToJSONTyped,
18743
+ ExecutionResponseFromJSON,
18744
+ ExecutionResponseFromJSONTyped,
18745
+ ExecutionResponseToJSON,
18746
+ ExecutionResponseToJSONTyped,
18747
+ ExecutionRetryResponseDataFromJSON,
18748
+ ExecutionRetryResponseDataFromJSONTyped,
18749
+ ExecutionRetryResponseDataStatusEnum,
18750
+ ExecutionRetryResponseDataToJSON,
18751
+ ExecutionRetryResponseDataToJSONTyped,
18752
+ ExecutionRetryResponseFromJSON,
18753
+ ExecutionRetryResponseFromJSONTyped,
18754
+ ExecutionRetryResponseToJSON,
18755
+ ExecutionRetryResponseToJSONTyped,
18756
+ ExecutionsApi,
18288
18757
  FetchError,
18289
18758
  ForgotPasswordRequestFromJSON,
18290
18759
  ForgotPasswordRequestFromJSONTyped,
@@ -19428,6 +19897,25 @@ export {
19428
19897
  WithdrawSubscriberConsentRequestFromJSONTyped,
19429
19898
  WithdrawSubscriberConsentRequestToJSON,
19430
19899
  WithdrawSubscriberConsentRequestToJSONTyped,
19900
+ WorkflowExecutionFromJSON,
19901
+ WorkflowExecutionFromJSONTyped,
19902
+ WorkflowExecutionStatus,
19903
+ WorkflowExecutionStatusFromJSON,
19904
+ WorkflowExecutionStatusFromJSONTyped,
19905
+ WorkflowExecutionStatusToJSON,
19906
+ WorkflowExecutionStatusToJSONTyped,
19907
+ WorkflowExecutionToJSON,
19908
+ WorkflowExecutionToJSONTyped,
19909
+ WorkflowStepExecutionFromJSON,
19910
+ WorkflowStepExecutionFromJSONTyped,
19911
+ WorkflowStepExecutionStatus,
19912
+ WorkflowStepExecutionStatusFromJSON,
19913
+ WorkflowStepExecutionStatusFromJSONTyped,
19914
+ WorkflowStepExecutionStatusToJSON,
19915
+ WorkflowStepExecutionStatusToJSONTyped,
19916
+ WorkflowStepExecutionStepTypeEnum,
19917
+ WorkflowStepExecutionToJSON,
19918
+ WorkflowStepExecutionToJSONTyped,
19431
19919
  Zyphr,
19432
19920
  ZyphrAuthenticationError,
19433
19921
  ZyphrError,
@@ -19501,6 +19989,11 @@ export {
19501
19989
  instanceOfEmailTrackingResponse,
19502
19990
  instanceOfEndUserDeleteResponse,
19503
19991
  instanceOfEndUserDeleteResponseData,
19992
+ instanceOfExecutionCancelResponse,
19993
+ instanceOfExecutionCancelResponseData,
19994
+ instanceOfExecutionResponse,
19995
+ instanceOfExecutionRetryResponse,
19996
+ instanceOfExecutionRetryResponseData,
19504
19997
  instanceOfForgotPasswordRequest,
19505
19998
  instanceOfGenerateSubscriberToken200Response,
19506
19999
  instanceOfGenerateSubscriberToken200ResponseData,
@@ -19771,6 +20264,10 @@ export {
19771
20264
  instanceOfWebhookVersionsResponse,
19772
20265
  instanceOfWebhookVersionsResponseData,
19773
20266
  instanceOfWithdrawSubscriberConsentRequest,
20267
+ instanceOfWorkflowExecution,
20268
+ instanceOfWorkflowExecutionStatus,
20269
+ instanceOfWorkflowStepExecution,
20270
+ instanceOfWorkflowStepExecutionStatus,
19774
20271
  mapValues,
19775
20272
  parseErrorResponse,
19776
20273
  querystring