@rodrigobeber/patoai-dtos 3.0.10 → 3.2.0
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/index.d.ts +0 -1
- package/dist/index.js +0 -1
- package/dist/webchat/crm/index.d.ts +8 -0
- package/dist/webchat/crm/index.js +8 -0
- package/dist/webchat/crm/webchat-create-tag.dto.d.ts +8 -0
- package/dist/webchat/crm/webchat-create-tag.dto.js +2 -0
- package/dist/webchat/crm/webchat-crm.dto.d.ts +6 -3
- package/dist/webchat/crm/webchat-delete-tag.dto.d.ts +3 -0
- package/dist/webchat/crm/webchat-delete-tag.dto.js +2 -0
- package/dist/webchat/crm/webchat-get-lead-history.dto.d.ts +3 -0
- package/dist/webchat/crm/webchat-get-lead-history.dto.js +2 -0
- package/dist/webchat/crm/webchat-lead.dto.d.ts +1 -0
- package/dist/webchat/crm/webchat-set-lead-observation.dto.d.ts +4 -0
- package/dist/webchat/crm/webchat-set-lead-observation.dto.js +2 -0
- package/dist/webchat/crm/webchat-set-lead-stage.dto.d.ts +4 -0
- package/dist/webchat/crm/webchat-set-lead-stage.dto.js +2 -0
- package/dist/webchat/crm/webchat-set-tag.dto.d.ts +5 -0
- package/dist/webchat/crm/webchat-set-tag.dto.js +2 -0
- package/dist/webchat/crm/webchat-stage-history.dto.d.ts +7 -0
- package/dist/webchat/crm/webchat-stage-history.dto.js +2 -0
- package/dist/webchat/crm/webchat-stage.dto.d.ts +9 -2
- package/dist/webchat/crm/webchat-stage.dto.js +10 -0
- package/dist/webchat/crm/webchat-tag.dto.d.ts +8 -0
- package/dist/webchat/crm/webchat-tag.dto.js +2 -0
- package/dist/webchat/crm/webchat-temperature.dto.d.ts +2 -1
- package/dist/webchat/thread/webchat-id-thread.dto.d.ts +3 -0
- package/dist/webchat/thread/webchat-last-message.dto.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -18,7 +18,6 @@ __exportStar(require("./ai"), exports);
|
|
|
18
18
|
__exportStar(require("./auth"), exports);
|
|
19
19
|
__exportStar(require("./chat"), exports);
|
|
20
20
|
__exportStar(require("./crew"), exports);
|
|
21
|
-
__exportStar(require("./crm"), exports);
|
|
22
21
|
__exportStar(require("./organization"), exports);
|
|
23
22
|
__exportStar(require("./run"), exports);
|
|
24
23
|
__exportStar(require("./tool"), exports);
|
|
@@ -1,4 +1,12 @@
|
|
|
1
|
+
export * from './webchat-create-tag.dto';
|
|
1
2
|
export * from './webchat-crm.dto';
|
|
3
|
+
export * from './webchat-delete-tag.dto';
|
|
4
|
+
export * from './webchat-get-lead-history.dto';
|
|
2
5
|
export * from './webchat-lead.dto';
|
|
6
|
+
export * from './webchat-set-lead-observation.dto';
|
|
7
|
+
export * from './webchat-set-lead-stage.dto';
|
|
8
|
+
export * from './webchat-set-tag.dto';
|
|
9
|
+
export * from './webchat-stage-history.dto';
|
|
3
10
|
export * from './webchat-stage.dto';
|
|
11
|
+
export * from './webchat-tag.dto';
|
|
4
12
|
export * from './webchat-temperature.dto';
|
|
@@ -14,7 +14,15 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./webchat-create-tag.dto"), exports);
|
|
17
18
|
__exportStar(require("./webchat-crm.dto"), exports);
|
|
19
|
+
__exportStar(require("./webchat-delete-tag.dto"), exports);
|
|
20
|
+
__exportStar(require("./webchat-get-lead-history.dto"), exports);
|
|
18
21
|
__exportStar(require("./webchat-lead.dto"), exports);
|
|
22
|
+
__exportStar(require("./webchat-set-lead-observation.dto"), exports);
|
|
23
|
+
__exportStar(require("./webchat-set-lead-stage.dto"), exports);
|
|
24
|
+
__exportStar(require("./webchat-set-tag.dto"), exports);
|
|
25
|
+
__exportStar(require("./webchat-stage-history.dto"), exports);
|
|
19
26
|
__exportStar(require("./webchat-stage.dto"), exports);
|
|
27
|
+
__exportStar(require("./webchat-tag.dto"), exports);
|
|
20
28
|
__exportStar(require("./webchat-temperature.dto"), exports);
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { WebChatStageDto } from "./webchat-stage.dto";
|
|
2
|
+
import { WebChatTagDto } from "./webchat-tag.dto";
|
|
2
3
|
import { WebChatTemperatureDto } from "./webchat-temperature.dto";
|
|
3
4
|
export interface WebChatCrmDto {
|
|
4
|
-
|
|
5
|
-
|
|
5
|
+
hasSummarization: boolean;
|
|
6
|
+
thermometer: WebChatTemperatureDto[] | null;
|
|
7
|
+
pipeline: WebChatStageDto[] | null;
|
|
8
|
+
tags: WebChatTagDto[] | null;
|
|
6
9
|
}
|
|
@@ -1,5 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
export declare enum StageEnum {
|
|
2
|
+
INACTIVE = 1,// Inactive thread
|
|
3
|
+
GAVE_UP = 2,// StopFollowUpTool
|
|
4
|
+
NO_ANSWER = 3,// Reached follow up limit without answer
|
|
5
|
+
NEW = 4,// New thread, no sumary yet
|
|
6
|
+
MEETING_SCHEDULED = 5,// Meeting scheduled
|
|
7
|
+
CUSTOM = 100
|
|
8
|
+
}
|
|
9
|
+
export interface WebChatStageDto {
|
|
3
10
|
id: number;
|
|
4
11
|
order: number;
|
|
5
12
|
type: StageEnum;
|
|
@@ -1,2 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StageEnum = void 0;
|
|
4
|
+
var StageEnum;
|
|
5
|
+
(function (StageEnum) {
|
|
6
|
+
StageEnum[StageEnum["INACTIVE"] = 1] = "INACTIVE";
|
|
7
|
+
StageEnum[StageEnum["GAVE_UP"] = 2] = "GAVE_UP";
|
|
8
|
+
StageEnum[StageEnum["NO_ANSWER"] = 3] = "NO_ANSWER";
|
|
9
|
+
StageEnum[StageEnum["NEW"] = 4] = "NEW";
|
|
10
|
+
StageEnum[StageEnum["MEETING_SCHEDULED"] = 5] = "MEETING_SCHEDULED";
|
|
11
|
+
StageEnum[StageEnum["CUSTOM"] = 100] = "CUSTOM";
|
|
12
|
+
})(StageEnum || (exports.StageEnum = StageEnum = {}));
|