Skip to content

Commit

Permalink
fix after success hook
Browse files Browse the repository at this point in the history
  • Loading branch information
tatarco committed Dec 9, 2024
1 parent 9b5ef1b commit d7dea34
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docs/models/components/channeltypeenum.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# ChannelTypeEnum

## Example Usage

```typescript
import { ChannelTypeEnum } from "@novu/api/models/components";

let value: ChannelTypeEnum = "email";
```

## Values

```typescript
"in_app" | "email" | "sms" | "chat" | "push"
```
36 changes: 36 additions & 0 deletions src/models/components/channeltypeenum.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
/*
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
*/

import * as z from "zod";
import { ClosedEnum } from "../../types/enums.js";

export const ChannelTypeEnum = {
InApp: "in_app",
Email: "email",
Sms: "sms",
Chat: "chat",
Push: "push",
} as const;
export type ChannelTypeEnum = ClosedEnum<typeof ChannelTypeEnum>;

/** @internal */
export const ChannelTypeEnum$inboundSchema: z.ZodNativeEnum<
typeof ChannelTypeEnum
> = z.nativeEnum(ChannelTypeEnum);

/** @internal */
export const ChannelTypeEnum$outboundSchema: z.ZodNativeEnum<
typeof ChannelTypeEnum
> = ChannelTypeEnum$inboundSchema;

/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export namespace ChannelTypeEnum$ {
/** @deprecated use `ChannelTypeEnum$inboundSchema` instead. */
export const inboundSchema = ChannelTypeEnum$inboundSchema;
/** @deprecated use `ChannelTypeEnum$outboundSchema` instead. */
export const outboundSchema = ChannelTypeEnum$outboundSchema;
}

0 comments on commit d7dea34

Please sign in to comment.