@rodrigobeber/patoai-dtos 3.25.3 → 3.25.4
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.
- package/dist/webchat/broadcast/index.d.ts +7 -0
- package/dist/webchat/broadcast/index.js +23 -0
- package/dist/webchat/broadcast/webchat-broadcast-detail.dto.d.ts +22 -0
- package/dist/webchat/broadcast/webchat-broadcast-detail.dto.js +2 -0
- package/dist/webchat/broadcast/webchat-broadcast-list-item.dto.d.ts +20 -0
- package/dist/webchat/broadcast/webchat-broadcast-list-item.dto.js +2 -0
- package/dist/webchat/broadcast/webchat-broadcast-recipient.dto.d.ts +10 -0
- package/dist/webchat/broadcast/webchat-broadcast-recipient.dto.js +2 -0
- package/dist/webchat/broadcast/webchat-broadcast-statistics.dto.d.ts +7 -0
- package/dist/webchat/broadcast/webchat-broadcast-statistics.dto.js +2 -0
- package/dist/webchat/broadcast/webchat-broadcast-status.enum.d.ts +12 -0
- package/dist/webchat/broadcast/webchat-broadcast-status.enum.js +17 -0
- package/dist/webchat/broadcast/webchat-create-broadcast.dto.d.ts +8 -0
- package/dist/webchat/broadcast/webchat-create-broadcast.dto.js +2 -0
- package/dist/webchat/broadcast/webchat-update-broadcast.dto.d.ts +8 -0
- package/dist/webchat/broadcast/webchat-update-broadcast.dto.js +2 -0
- package/dist/webchat/index.d.ts +1 -0
- package/dist/webchat/index.js +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * from './webchat-broadcast-status.enum';
|
|
2
|
+
export * from './webchat-broadcast-recipient.dto';
|
|
3
|
+
export * from './webchat-broadcast-list-item.dto';
|
|
4
|
+
export * from './webchat-broadcast-detail.dto';
|
|
5
|
+
export * from './webchat-create-broadcast.dto';
|
|
6
|
+
export * from './webchat-update-broadcast.dto';
|
|
7
|
+
export * from './webchat-broadcast-statistics.dto';
|
|
@@ -0,0 +1,23 @@
|
|
|
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-broadcast-status.enum"), exports);
|
|
18
|
+
__exportStar(require("./webchat-broadcast-recipient.dto"), exports);
|
|
19
|
+
__exportStar(require("./webchat-broadcast-list-item.dto"), exports);
|
|
20
|
+
__exportStar(require("./webchat-broadcast-detail.dto"), exports);
|
|
21
|
+
__exportStar(require("./webchat-create-broadcast.dto"), exports);
|
|
22
|
+
__exportStar(require("./webchat-update-broadcast.dto"), exports);
|
|
23
|
+
__exportStar(require("./webchat-broadcast-statistics.dto"), exports);
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { WebChatBroadcastStatusEnum } from './webchat-broadcast-status.enum';
|
|
2
|
+
import { WebChatBroadcastRecipientDto } from './webchat-broadcast-recipient.dto';
|
|
3
|
+
export interface WebChatBroadcastDetailDto {
|
|
4
|
+
id: number;
|
|
5
|
+
idCrew: number;
|
|
6
|
+
idChannel: number;
|
|
7
|
+
channelName?: string;
|
|
8
|
+
name: string;
|
|
9
|
+
templateName: string;
|
|
10
|
+
delayMs: number | null;
|
|
11
|
+
status: WebChatBroadcastStatusEnum;
|
|
12
|
+
createdAt: Date;
|
|
13
|
+
startedAt: Date | null;
|
|
14
|
+
completedAt: Date | null;
|
|
15
|
+
canceledAt: Date | null;
|
|
16
|
+
totalRecipients: number;
|
|
17
|
+
sentCount: number;
|
|
18
|
+
failedCount: number;
|
|
19
|
+
canceledCount: number;
|
|
20
|
+
pendingCount: number;
|
|
21
|
+
recipients?: WebChatBroadcastRecipientDto[];
|
|
22
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { WebChatBroadcastStatusEnum } from './webchat-broadcast-status.enum';
|
|
2
|
+
export interface WebChatBroadcastListItemDto {
|
|
3
|
+
id: number;
|
|
4
|
+
idCrew: number;
|
|
5
|
+
idChannel: number;
|
|
6
|
+
channelName?: string;
|
|
7
|
+
name: string;
|
|
8
|
+
templateName: string;
|
|
9
|
+
delayMs: number | null;
|
|
10
|
+
status: WebChatBroadcastStatusEnum;
|
|
11
|
+
totalRecipients: number;
|
|
12
|
+
sentCount: number;
|
|
13
|
+
failedCount: number;
|
|
14
|
+
canceledCount: number;
|
|
15
|
+
pendingCount: number;
|
|
16
|
+
createdAt: Date;
|
|
17
|
+
startedAt: Date | null;
|
|
18
|
+
completedAt: Date | null;
|
|
19
|
+
canceledAt: Date | null;
|
|
20
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { WebChatBroadcastRecipientStatusEnum } from './webchat-broadcast-status.enum';
|
|
2
|
+
export interface WebChatBroadcastRecipientDto {
|
|
3
|
+
id?: number;
|
|
4
|
+
userId: string;
|
|
5
|
+
name: string;
|
|
6
|
+
status?: WebChatBroadcastRecipientStatusEnum;
|
|
7
|
+
sentAt?: Date;
|
|
8
|
+
failedAt?: Date;
|
|
9
|
+
canceledAt?: Date;
|
|
10
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare enum WebChatBroadcastStatusEnum {
|
|
2
|
+
NOT_STARTED = "NOT_STARTED",
|
|
3
|
+
IN_PROGRESS = "IN_PROGRESS",
|
|
4
|
+
COMPLETED = "COMPLETED",
|
|
5
|
+
CANCELED = "CANCELED"
|
|
6
|
+
}
|
|
7
|
+
export declare enum WebChatBroadcastRecipientStatusEnum {
|
|
8
|
+
PENDING = "PENDING",
|
|
9
|
+
SENT = "SENT",
|
|
10
|
+
FAILED = "FAILED",
|
|
11
|
+
CANCELED = "CANCELED"
|
|
12
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WebChatBroadcastRecipientStatusEnum = exports.WebChatBroadcastStatusEnum = void 0;
|
|
4
|
+
var WebChatBroadcastStatusEnum;
|
|
5
|
+
(function (WebChatBroadcastStatusEnum) {
|
|
6
|
+
WebChatBroadcastStatusEnum["NOT_STARTED"] = "NOT_STARTED";
|
|
7
|
+
WebChatBroadcastStatusEnum["IN_PROGRESS"] = "IN_PROGRESS";
|
|
8
|
+
WebChatBroadcastStatusEnum["COMPLETED"] = "COMPLETED";
|
|
9
|
+
WebChatBroadcastStatusEnum["CANCELED"] = "CANCELED";
|
|
10
|
+
})(WebChatBroadcastStatusEnum || (exports.WebChatBroadcastStatusEnum = WebChatBroadcastStatusEnum = {}));
|
|
11
|
+
var WebChatBroadcastRecipientStatusEnum;
|
|
12
|
+
(function (WebChatBroadcastRecipientStatusEnum) {
|
|
13
|
+
WebChatBroadcastRecipientStatusEnum["PENDING"] = "PENDING";
|
|
14
|
+
WebChatBroadcastRecipientStatusEnum["SENT"] = "SENT";
|
|
15
|
+
WebChatBroadcastRecipientStatusEnum["FAILED"] = "FAILED";
|
|
16
|
+
WebChatBroadcastRecipientStatusEnum["CANCELED"] = "CANCELED";
|
|
17
|
+
})(WebChatBroadcastRecipientStatusEnum || (exports.WebChatBroadcastRecipientStatusEnum = WebChatBroadcastRecipientStatusEnum = {}));
|
package/dist/webchat/index.d.ts
CHANGED
package/dist/webchat/index.js
CHANGED
|
@@ -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("./broadcast"), exports);
|
|
18
19
|
__exportStar(require("./calendar"), exports);
|
|
19
20
|
__exportStar(require("./crew"), exports);
|
|
20
21
|
__exportStar(require("./crm"), exports);
|