@rodrigobeber/patoai-dtos 3.31.5 → 3.32.1

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.
@@ -33,4 +33,5 @@ export interface MessageDto {
33
33
  fileId?: string;
34
34
  text?: string;
35
35
  token?: string;
36
+ lid?: string;
36
37
  }
@@ -0,0 +1,4 @@
1
+ export * from './webchat-asset.dto';
2
+ export * from './webchat-create-asset.dto';
3
+ export * from './webchat-update-asset.dto';
4
+ export * from './webchat-asset-upload-url.dto';
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./webchat-asset.dto"), exports);
18
+ __exportStar(require("./webchat-create-asset.dto"), exports);
19
+ __exportStar(require("./webchat-update-asset.dto"), exports);
20
+ __exportStar(require("./webchat-asset-upload-url.dto"), exports);
@@ -0,0 +1,10 @@
1
+ import { MediaEnum } from "../../chat/media";
2
+ export interface WebChatGetAssetUploadUrlDto {
3
+ filename: string;
4
+ mimeType: string;
5
+ }
6
+ export interface WebChatAssetUploadUrlDto {
7
+ slug: string;
8
+ type: MediaEnum;
9
+ url: string;
10
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ import { MediaEnum } from "../../chat/media";
2
+ import { RunEnum } from "../../run/run.enum";
3
+ export interface WebChatAssetDto {
4
+ id: number;
5
+ slug: string;
6
+ type: MediaEnum;
7
+ caption: string | null;
8
+ description: string | null;
9
+ runType: RunEnum;
10
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ import { MediaEnum } from "../../chat/media";
2
+ import { RunEnum } from "../../run/run.enum";
3
+ export interface WebChatCreateAssetDto {
4
+ slug: string;
5
+ type: MediaEnum;
6
+ caption?: string | null;
7
+ description: string;
8
+ runType: RunEnum;
9
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ export interface WebChatUpdateAssetDto {
2
+ caption?: string | null;
3
+ description?: string;
4
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +1,5 @@
1
1
  export * from './agent';
2
+ export * from './asset';
2
3
  export * from './automation';
3
4
  export * from './broadcast';
4
5
  export * from './calendar';
@@ -15,6 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./agent"), exports);
18
+ __exportStar(require("./asset"), exports);
18
19
  __exportStar(require("./automation"), exports);
19
20
  __exportStar(require("./broadcast"), exports);
20
21
  __exportStar(require("./calendar"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rodrigobeber/patoai-dtos",
3
- "version": "3.31.5",
3
+ "version": "3.32.1",
4
4
  "description": "Data Transfer Objects for PatoAI",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",