@opens/gateways 1.17.4 → 1.17.6

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.mjs CHANGED
@@ -587,6 +587,15 @@ var ChatConfigGateway = class {
587
587
  });
588
588
  return data;
589
589
  }
590
+ /**
591
+ * Retrieves the rules and edges for a workflow.
592
+ * @param workflowId - The unique identifier of the workflow.
593
+ * @returns The workflow data.
594
+ */
595
+ async getWorkflowData(workflowId) {
596
+ const { data } = await this.httpClient.get(`${this.baseUrl}/workflow/${workflowId}`);
597
+ return data;
598
+ }
590
599
  };
591
600
 
592
601
  // src/campaigns/index.ts