@rodrigobeber/patoai-dtos 1.2.25 → 1.2.28

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.
@@ -2,13 +2,15 @@ export declare enum PlatformEnum {
2
2
  EVOLUTION = "evolution",
3
3
  WHATSAPP = "whatsapp",
4
4
  TELEGRAM = "telegram",
5
- MANYCHAT = "manychat"
5
+ MANYCHAT = "manychat",
6
+ HOTMART = "hotmart"
6
7
  }
7
8
  export declare enum MessageEnum {
8
9
  TEXT = "text",
9
10
  IMAGE = "image",
10
11
  VOICE = "voice",
11
- CONTACT = "contact"
12
+ CONTACT = "contact",
13
+ TRIGGER = "trigger"
12
14
  }
13
15
  export interface MediaDto {
14
16
  mimeType: string;
@@ -7,6 +7,7 @@ var PlatformEnum;
7
7
  PlatformEnum["WHATSAPP"] = "whatsapp";
8
8
  PlatformEnum["TELEGRAM"] = "telegram";
9
9
  PlatformEnum["MANYCHAT"] = "manychat";
10
+ PlatformEnum["HOTMART"] = "hotmart";
10
11
  })(PlatformEnum || (exports.PlatformEnum = PlatformEnum = {}));
11
12
  var MessageEnum;
12
13
  (function (MessageEnum) {
@@ -14,4 +15,5 @@ var MessageEnum;
14
15
  MessageEnum["IMAGE"] = "image";
15
16
  MessageEnum["VOICE"] = "voice";
16
17
  MessageEnum["CONTACT"] = "contact";
18
+ MessageEnum["TRIGGER"] = "trigger";
17
19
  })(MessageEnum || (exports.MessageEnum = MessageEnum = {}));
@@ -0,0 +1,7 @@
1
+ import { ChannelDto } from "./channel.dto";
2
+ export interface SendTemplateDto {
3
+ userId: string;
4
+ channel: ChannelDto;
5
+ template: string;
6
+ variables: any;
7
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rodrigobeber/patoai-dtos",
3
- "version": "1.2.25",
3
+ "version": "1.2.28",
4
4
  "description": "Data Transfer Objects for PatoAI",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",