@rodrigobeber/patoai-dtos 4.7.8 → 4.7.10

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.
@@ -5,4 +5,5 @@ export interface AccountDto {
5
5
  name: string;
6
6
  role: AccountRoleEnum;
7
7
  email: string;
8
+ emailVerified?: boolean;
8
9
  }
@@ -9,4 +9,5 @@ export interface CreateAccountForCrewDto {
9
9
  export interface CreateAccountForCrewResponseDto {
10
10
  account: AccountDto;
11
11
  generatedPassword: string;
12
+ verificationEmailSent: boolean;
12
13
  }
@@ -11,4 +11,5 @@ export * from './password-reset.dto';
11
11
  export * from './password-reset-request.dto';
12
12
  export * from './reset-password-for-crew.dto';
13
13
  export * from './signup.dto';
14
+ export * from './resend-verification-for-crew.dto';
14
15
  export * from './update-account-for-crew.dto';
@@ -27,4 +27,5 @@ __exportStar(require("./password-reset.dto"), exports);
27
27
  __exportStar(require("./password-reset-request.dto"), exports);
28
28
  __exportStar(require("./reset-password-for-crew.dto"), exports);
29
29
  __exportStar(require("./signup.dto"), exports);
30
+ __exportStar(require("./resend-verification-for-crew.dto"), exports);
30
31
  __exportStar(require("./update-account-for-crew.dto"), exports);
@@ -0,0 +1,4 @@
1
+ export interface ResendVerificationForCrewDto {
2
+ idAccount: number;
3
+ requestedByAccountId: number;
4
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +1,4 @@
1
+ import type { SdrSubType, WizardStageNamesDto } from '../wizard/wizard.dto';
1
2
  export type ProvisionAgentType = 'sdr' | 'support';
2
3
  export interface ProvisionCrewDto {
3
4
  companyName: string;
@@ -8,6 +9,11 @@ export interface ProvisionCrewDto {
8
9
  audience: string;
9
10
  behavior: string;
10
11
  domains?: ProvisionDomainDto[];
12
+ sdrSubType?: SdrSubType;
13
+ actionPhrase?: string;
14
+ dealPhrase?: string;
15
+ spinYaml?: string;
16
+ stageNames?: WizardStageNamesDto;
11
17
  }
12
18
  export interface ProvisionDomainDto {
13
19
  title: string;
@@ -2,4 +2,5 @@ import { MemberWithAccountDto } from "./member-with-account.dto";
2
2
  export interface CreateMemberResponseDto {
3
3
  member: MemberWithAccountDto;
4
4
  generatedPassword: string;
5
+ verificationEmailSent: boolean;
5
6
  }
@@ -15,6 +15,12 @@ export interface WizardChatResponseDto {
15
15
  export interface WizardGenerateRequestDto {
16
16
  sessionId: string;
17
17
  }
18
+ export type SdrSubType = 'link' | 'agenda' | 'scalate';
19
+ export interface WizardStageNamesDto {
20
+ calledByUser: string;
21
+ action: string;
22
+ actionDone: string;
23
+ }
18
24
  export interface WizardGenerateResponseDto {
19
25
  companyName: string;
20
26
  agentName: string;
@@ -24,6 +30,11 @@ export interface WizardGenerateResponseDto {
24
30
  audience: string;
25
31
  behavior: string;
26
32
  domains: WizardDomainDto[];
33
+ sdrSubType?: SdrSubType;
34
+ actionPhrase?: string;
35
+ dealPhrase?: string;
36
+ spinYaml?: string;
37
+ stageNames?: WizardStageNamesDto;
27
38
  }
28
39
  export interface WizardDomainDto {
29
40
  title: string;
@@ -31,7 +42,7 @@ export interface WizardDomainDto {
31
42
  }
32
43
  export interface WizardRefineRequestDto {
33
44
  sessionId: string;
34
- field: 'about' | 'role' | 'audience' | 'behavior';
45
+ field: 'about' | 'role' | 'audience' | 'behavior' | 'spinYaml';
35
46
  currentValue: string;
36
47
  instruction: string;
37
48
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rodrigobeber/patoai-dtos",
3
- "version": "4.7.8",
3
+ "version": "4.7.10",
4
4
  "description": "Data Transfer Objects for PatoAI",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",