@tec.pet/tecpet-sdk 0.0.136 → 0.0.138

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,4 +1,5 @@
1
1
  import { ChatbotActionModeTypeEnum } from "../enum/chatbotActionEnums/chatbot-action-mode-type.enum";
2
+ import { ChatbotPostSchedulingBehaviorEnum } from "../enum/chatbotActionEnums/chatbot-post-scheduling-behavior.enum";
2
3
  import { ChatBotActionSchedulePermissionEnum } from "../enum/chatbotActionEnums/chatbot-action-schedule-permission.enum";
3
4
  import { ChatBotActionShowSendingInfoEnum } from "../enum/chatbotActionEnums/chatbot-action-show-sending-info.enum";
4
5
  import { ChatbotActionTypeEnum } from "../enum/chatbotActionEnums/chatbot-action-type.enum";
@@ -124,6 +125,8 @@ export interface ChatbotActionJson {
124
125
  conclusionMessage?: string;
125
126
  aiInstruction?: string;
126
127
  chatTagInstruction?: string;
128
+ postSchedulingBehavior?: ChatbotPostSchedulingBehaviorEnum;
129
+ postSchedulingInstruction?: string;
127
130
  operationsDays: OperationDaysJson[];
128
131
  chatbotFlux: ChatbotFluxJson;
129
132
  }
@@ -0,0 +1,5 @@
1
+ export declare enum ChatbotPostSchedulingBehaviorEnum {
2
+ END_SESSION = "END_SESSION",
3
+ KEEP_OPEN = "KEEP_OPEN",
4
+ TRANSFER_TO_HUMAN = "TRANSFER_TO_HUMAN"
5
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ChatbotPostSchedulingBehaviorEnum = void 0;
4
+ var ChatbotPostSchedulingBehaviorEnum;
5
+ (function (ChatbotPostSchedulingBehaviorEnum) {
6
+ ChatbotPostSchedulingBehaviorEnum["END_SESSION"] = "END_SESSION";
7
+ ChatbotPostSchedulingBehaviorEnum["KEEP_OPEN"] = "KEEP_OPEN";
8
+ ChatbotPostSchedulingBehaviorEnum["TRANSFER_TO_HUMAN"] = "TRANSFER_TO_HUMAN";
9
+ })(ChatbotPostSchedulingBehaviorEnum || (exports.ChatbotPostSchedulingBehaviorEnum = ChatbotPostSchedulingBehaviorEnum = {}));
@@ -23,6 +23,7 @@ export * from './enum/chatbotSettingsEnums/chatbot-platform-type.enum';
23
23
  export * from './enum/chatbotSettingsEnums/chatbot-settings-ai-personality.enum';
24
24
  export * from './enum/chatbotTriggerEnums/chatbot-trigger-pattern-type.enum';
25
25
  export * from './enum/chatbotActionEnums/chatbot-action-show-sending-info.enum';
26
+ export * from './enum/chatbotActionEnums/chatbot-post-scheduling-behavior.enum';
26
27
  export * from './enum/chatbotActionEnums/media-type.enum';
27
28
  export * from './enum/aiInteractionEnums/ai-interaction-consumption-source.enum';
28
29
  export * from './enum/aiInteractionEnums/ai-interaction-validation-reason.enum';
@@ -39,6 +39,7 @@ __exportStar(require("./enum/chatbotSettingsEnums/chatbot-platform-type.enum"),
39
39
  __exportStar(require("./enum/chatbotSettingsEnums/chatbot-settings-ai-personality.enum"), exports);
40
40
  __exportStar(require("./enum/chatbotTriggerEnums/chatbot-trigger-pattern-type.enum"), exports);
41
41
  __exportStar(require("./enum/chatbotActionEnums/chatbot-action-show-sending-info.enum"), exports);
42
+ __exportStar(require("./enum/chatbotActionEnums/chatbot-post-scheduling-behavior.enum"), exports);
42
43
  __exportStar(require("./enum/chatbotActionEnums/media-type.enum"), exports);
43
44
  __exportStar(require("./enum/aiInteractionEnums/ai-interaction-consumption-source.enum"), exports);
44
45
  __exportStar(require("./enum/aiInteractionEnums/ai-interaction-validation-reason.enum"), exports);
@@ -10,12 +10,14 @@ export interface PaEditIntegrationClientRequest {
10
10
  externId: string;
11
11
  status?: IntegrationClientStatusType;
12
12
  integrationShopId?: number;
13
+ errorMessage?: string;
13
14
  }
14
15
  export interface PaEditIntegrationClientResponse {
15
16
  id: number;
16
17
  type: ApiIntegrationType;
17
18
  externId: string;
18
19
  status: IntegrationClientStatusType;
20
+ errorMessage?: string;
19
21
  client: {
20
22
  id: number;
21
23
  };
@@ -8,6 +8,7 @@ export interface PaGetIntegrationClientByExternIdResponse {
8
8
  type: ApiIntegrationType;
9
9
  externId: string;
10
10
  status: string;
11
+ errorMessage?: string;
11
12
  client: {
12
13
  id: number;
13
14
  };
@@ -9,6 +9,7 @@ export interface PaGetIntegrationClientResponse {
9
9
  type: ApiIntegrationType;
10
10
  externId: string;
11
11
  status: string;
12
+ errorMessage?: string;
12
13
  client: {
13
14
  id: number;
14
15
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tec.pet/tecpet-sdk",
3
- "version": "0.0.136",
3
+ "version": "0.0.138",
4
4
  "description": "TecPet SDK for integration with TecPet services",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",