Commit b3be0eb
feat: remove workflows namespace, keeping automations
Remove the duplicate 'workflows' namespace from the SDK. The preview-workflows
branch had both 'workflows' and 'automations' namespaces pointing to the same
/automations API endpoints. This commit removes:
- src/workflows/ (Workflows class, interfaces, specs)
- src/workflow-runs/ (WorkflowRuns class, interfaces, specs)
- src/workflow-run-steps/ (WorkflowRunSteps class, interfaces, specs)
- workflows property from Resend client
- workflow-related exports from index.ts
The 'automations' namespace (automations, automation-runs, automation-run-steps)
is preserved as the canonical SDK interface for these endpoints.
Also fixes a stale test describe name and test data in
parse-automation-to-api-options.spec.ts.
Co-authored-by: Vitor Capretz <capretzvitor@gmail.com>1 parent 84f40da commit b3be0eb
File tree
25 files changed
+4
-1282
lines changed- src
- common/utils
- workflow-run-steps
- interfaces
- workflow-runs
- interfaces
- workflows
- interfaces
25 files changed
+4
-1282
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
157 | | - | |
| 157 | + | |
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
171 | | - | |
| 171 | + | |
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
185 | | - | |
| 185 | + | |
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
25 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | 19 | | |
21 | 20 | | |
22 | 21 | | |
| |||
49 | 48 | | |
50 | 49 | | |
51 | 50 | | |
52 | | - | |
53 | 51 | | |
54 | 52 | | |
55 | 53 | | |
| |||
Lines changed: 0 additions & 13 deletions
This file was deleted.
This file was deleted.
Lines changed: 0 additions & 18 deletions
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Lines changed: 0 additions & 11 deletions
This file was deleted.
0 commit comments