Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/common/utils/parse-automation-to-api-options.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ describe('parseAutomationToApiOptions', () => {
const apiOptions = parseAutomationToApiOptions(automation);

expect(apiOptions).toEqual({
name: 'Welcome Series',
name: 'Welcome Automation',
status: 'enabled',
steps: [
{
Expand Down Expand Up @@ -154,7 +154,7 @@ describe('parseAutomationToApiOptions', () => {

it('handles minimal payload with only required fields', () => {
const automation: CreateAutomationOptions = {
name: 'Minimal Workflow',
name: 'Minimal Automation',
steps: [
{
ref: 'trigger_1',
Expand All @@ -168,7 +168,7 @@ describe('parseAutomationToApiOptions', () => {
const apiOptions = parseAutomationToApiOptions(automation);

expect(apiOptions).toEqual({
name: 'Minimal Workflow',
name: 'Minimal Automation',
status: undefined,
steps: [
{
Expand All @@ -182,7 +182,7 @@ describe('parseAutomationToApiOptions', () => {
});
});

describe('parseWorkflowEventToApiOptions', () => {
describe('parseEventToApiOptions', () => {
it('converts contactId to contact_id', () => {
const event: SendEventOptions = {
event: 'user.signed_up',
Expand Down
3 changes: 0 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,3 @@ export * from './segments/interfaces';
export * from './templates/interfaces';
export * from './topics/interfaces';
export * from './webhooks/interfaces';
export * from './workflow-run-steps/interfaces';
export * from './workflow-runs/interfaces';
export * from './workflows/interfaces';
2 changes: 0 additions & 2 deletions src/resend.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import { Segments } from './segments/segments';
import { Templates } from './templates/templates';
import { Topics } from './topics/topics';
import { Webhooks } from './webhooks/webhooks';
import { Workflows } from './workflows/workflows';

const defaultBaseUrl = 'https://api.resend.com';
const defaultUserAgent = `resend-node:${version}`;
Expand Down Expand Up @@ -49,7 +48,6 @@ export class Resend {
readonly webhooks = new Webhooks(this);
readonly templates = new Templates(this);
readonly topics = new Topics(this);
readonly workflows = new Workflows(this);

constructor(readonly key?: string) {
if (!key) {
Expand Down

This file was deleted.

3 changes: 0 additions & 3 deletions src/workflow-run-steps/interfaces/index.ts

This file was deleted.

This file was deleted.

32 changes: 0 additions & 32 deletions src/workflow-run-steps/interfaces/workflow-run-step.ts

This file was deleted.

209 changes: 0 additions & 209 deletions src/workflow-run-steps/workflow-run-steps.spec.ts

This file was deleted.

38 changes: 0 additions & 38 deletions src/workflow-run-steps/workflow-run-steps.ts

This file was deleted.

11 changes: 0 additions & 11 deletions src/workflow-runs/interfaces/get-workflow-run.interface.ts

This file was deleted.

3 changes: 0 additions & 3 deletions src/workflow-runs/interfaces/index.ts

This file was deleted.

Loading
Loading