@rodrigobeber/patoai-dtos 3.7.7 → 3.8.2

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.
@@ -1,6 +1,6 @@
1
- import { StageEnum } from "../../webchat";
1
+ import { StageTypeEnum } from "../../crm/stage-type.enum";
2
2
  export interface StopFollowUpDto {
3
3
  idThread: string;
4
4
  idCrew: number;
5
- stageType: StageEnum;
5
+ stageType: StageTypeEnum;
6
6
  }
@@ -1 +1,2 @@
1
1
  export * from './set-lead-stage.dto';
2
+ export * from './stage-type.enum';
package/dist/crm/index.js CHANGED
@@ -15,3 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./set-lead-stage.dto"), exports);
18
+ __exportStar(require("./stage-type.enum"), exports);
@@ -1,4 +1,4 @@
1
- import { StageEnum } from "../webchat";
1
+ import { StageTypeEnum } from "./stage-type.enum";
2
2
  export interface SetLeadStageDto {
3
3
  idLead: string;
4
4
  idStage: number;
@@ -7,5 +7,5 @@ export interface SetLeadStageDto {
7
7
  export interface SetLeadStageByTypeDto {
8
8
  idLead: string;
9
9
  idCrew: number;
10
- stageType: StageEnum;
10
+ stageType: StageTypeEnum;
11
11
  }
@@ -0,0 +1,15 @@
1
+ export declare enum StageTypeEnum {
2
+ NEW = "new",
3
+ NO_ANSWER = "no-answer",
4
+ GAVE_UP = "gave-up",
5
+ SPIN_S = "spin-s",
6
+ SPIN_P = "spin-p",
7
+ SPIN_I = "spin-i",
8
+ SPIN_N = "spin-n",
9
+ SPIN_CTA_CHECKLIST = "spin-cta-checklist",
10
+ SPIN_CTA_CALL = "spin-cta-call",
11
+ SPIN_CTA_ACTION = "spin-cta-action",
12
+ SPIN_CTA_DONE = "spin-cta-done",
13
+ SCHEDULED = "scheduled",
14
+ CUSTOM = "custom"
15
+ }
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.StageTypeEnum = void 0;
4
+ var StageTypeEnum;
5
+ (function (StageTypeEnum) {
6
+ StageTypeEnum["NEW"] = "new";
7
+ StageTypeEnum["NO_ANSWER"] = "no-answer";
8
+ StageTypeEnum["GAVE_UP"] = "gave-up";
9
+ StageTypeEnum["SPIN_S"] = "spin-s";
10
+ StageTypeEnum["SPIN_P"] = "spin-p";
11
+ StageTypeEnum["SPIN_I"] = "spin-i";
12
+ StageTypeEnum["SPIN_N"] = "spin-n";
13
+ StageTypeEnum["SPIN_CTA_CHECKLIST"] = "spin-cta-checklist";
14
+ StageTypeEnum["SPIN_CTA_CALL"] = "spin-cta-call";
15
+ StageTypeEnum["SPIN_CTA_ACTION"] = "spin-cta-action";
16
+ StageTypeEnum["SPIN_CTA_DONE"] = "spin-cta-done";
17
+ StageTypeEnum["SCHEDULED"] = "scheduled";
18
+ StageTypeEnum["CUSTOM"] = "custom";
19
+ })(StageTypeEnum || (exports.StageTypeEnum = StageTypeEnum = {}));
@@ -1,14 +1,8 @@
1
- export declare enum StageEnum {
2
- GAVE_UP = 2,
3
- NO_ANSWER = 3,
4
- NEW = 4,
5
- SCHEDULED = 5,
6
- CUSTOM = 10
7
- }
1
+ import { StageTypeEnum } from "../../crm/stage-type.enum";
8
2
  export interface WebChatStageDto {
9
3
  id: number;
10
4
  order: number;
11
- type: StageEnum;
5
+ type: StageTypeEnum;
12
6
  name: string;
13
7
  when: string | null;
14
8
  isActive: boolean;
@@ -1,11 +1,2 @@
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["GAVE_UP"] = 2] = "GAVE_UP";
7
- StageEnum[StageEnum["NO_ANSWER"] = 3] = "NO_ANSWER";
8
- StageEnum[StageEnum["NEW"] = 4] = "NEW";
9
- StageEnum[StageEnum["SCHEDULED"] = 5] = "SCHEDULED";
10
- StageEnum[StageEnum["CUSTOM"] = 10] = "CUSTOM";
11
- })(StageEnum || (exports.StageEnum = StageEnum = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rodrigobeber/patoai-dtos",
3
- "version": "3.7.7",
3
+ "version": "3.8.2",
4
4
  "description": "Data Transfer Objects for PatoAI",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",