@tec.pet/tecpet-sdk 0.0.89 → 0.0.90

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.
@@ -7,7 +7,7 @@ import { ChatbotBehaviorTypeEnum } from "../enum/chatbotBehaviorEnums/chatbot-be
7
7
  import { ChatbotInactiveEmployeeActionEnum } from "../enum/chatbotBehaviorEnums/chatbot-inactive-employee-action.enum";
8
8
  import { ChatbotTimeoutActionEnum } from "../enum/chatbotBehaviorEnums/chatbot-timeout-action.enum";
9
9
  import { ChatbotFluxTypeEnum } from "../enum/chatbotFluxEnums/chatbot-flux-type.enum";
10
- import { ChatbotActionButtonTypeEnum } from "../enum/chatbotGuidanceEnums/chatbot-action-button-type.enum";
10
+ import { ChatbotGuidanceOptionTypeEnum } from "../enum/chatbotGuidanceEnums/chatbot-guidance-option-type.enum";
11
11
  import { ChatbotPriceDisplayModeEnum } from "../enum/chatbotInfoCollectionEnums/chatbot-price-display-mode.enum";
12
12
  import { ChatbotSizeDisplayModeEnum } from "../enum/chatbotInfoCollectionEnums/chatbot-size_display-mode.enum";
13
13
  import { ChatbotTimeDisplayModeEnum } from "../enum/chatbotInfoCollectionEnums/chatbot-time-display-mode.enum";
@@ -96,7 +96,7 @@ export interface ChatbotActionJson {
96
96
  description: string;
97
97
  showSendingInfo?: ChatBotActionShowSendingInfoEnum;
98
98
  schedulePermission?: ChatBotActionSchedulePermissionEnum;
99
- guidanceOptions: ChatbotActionButtonDto[];
99
+ guidanceOptions: ChatbotGuidanceOptionDto[];
100
100
  sendingInfoItems: ChatbotSendingInfoItemDto[];
101
101
  infoCollectionMenus: InfoCollectionMenuJson;
102
102
  mode: ChatbotActionModeTypeEnum;
@@ -125,12 +125,13 @@ export interface ChatbotTriggerJson {
125
125
  limit?: Date;
126
126
  patternType: ChatbotTriggerPatternTypeEnum;
127
127
  }
128
- export interface ChatbotActionButtonDto {
128
+ export interface ChatbotGuidanceOptionDto {
129
129
  id: string;
130
130
  buttonTitle: string;
131
- actionButtonType: ChatbotActionButtonTypeEnum;
132
- phone: string;
133
- url: string;
131
+ enabled: boolean;
132
+ guidanceType: ChatbotGuidanceOptionTypeEnum;
133
+ phone: null;
134
+ url: null;
134
135
  }
135
136
  export interface InfoCollectionMenuJson {
136
137
  petInfo?: {
@@ -1,6 +1,6 @@
1
- import { ChatbotActionButtonTypeEnum } from "../enum/chatbotGuidanceEnums/chatbot-action-button-type.enum";
1
+ import { ChatbotGuidanceOptionTypeEnum } from "../enum/chatbotGuidanceEnums/chatbot-guidance-option-type.enum";
2
2
  export interface PaHandleButtonActionInput {
3
- type: ChatbotActionButtonTypeEnum;
3
+ type: ChatbotGuidanceOptionTypeEnum;
4
4
  phone?: string;
5
5
  clientName?: string;
6
6
  invoiceId?: string;
@@ -1,4 +1,4 @@
1
- export declare enum ChatbotActionButtonTypeEnum {
1
+ export declare enum ChatbotGuidanceOptionTypeEnum {
2
2
  NONE = "NONE",
3
3
  BACK_TO_HOME = "BACK_TO_HOME",
4
4
  BOOKING_CONFIRM = "BOOKING_CONFIRM",
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ChatbotGuidanceOptionTypeEnum = void 0;
4
+ var ChatbotGuidanceOptionTypeEnum;
5
+ (function (ChatbotGuidanceOptionTypeEnum) {
6
+ ChatbotGuidanceOptionTypeEnum["NONE"] = "NONE";
7
+ ChatbotGuidanceOptionTypeEnum["BACK_TO_HOME"] = "BACK_TO_HOME";
8
+ ChatbotGuidanceOptionTypeEnum["BOOKING_CONFIRM"] = "BOOKING_CONFIRM";
9
+ ChatbotGuidanceOptionTypeEnum["BOOKING_CANCEL"] = "BOOKING_CANCEL";
10
+ ChatbotGuidanceOptionTypeEnum["BOOKING_RESCHEDULE"] = "BOOKING_RESCHEDULE";
11
+ ChatbotGuidanceOptionTypeEnum["BOOKING_CREATE"] = "BOOKING_CREATE";
12
+ ChatbotGuidanceOptionTypeEnum["REMEMBER_ME_LATER"] = "REMEMBER_ME_LATER";
13
+ ChatbotGuidanceOptionTypeEnum["TRANSFER_TO_HUMAN"] = "TRANSFER_TO_HUMAN";
14
+ ChatbotGuidanceOptionTypeEnum["PAY_INVOICE_WITH_VOUCHER"] = "PAY_INVOICE_WITH_VOUCHER";
15
+ ChatbotGuidanceOptionTypeEnum["CALL"] = "CALL";
16
+ ChatbotGuidanceOptionTypeEnum["URL"] = "URL";
17
+ ChatbotGuidanceOptionTypeEnum["END"] = "END";
18
+ })(ChatbotGuidanceOptionTypeEnum || (exports.ChatbotGuidanceOptionTypeEnum = ChatbotGuidanceOptionTypeEnum = {}));
@@ -3,20 +3,20 @@ export * from './dto/get-chatbot-formatted-messages.dto';
3
3
  export * from './dto/pa.change-notification-status.dto';
4
4
  export * from './dto/pa.start-ai-interaction.dto';
5
5
  export * from './dto/pa.stop-ai-interaction.dto';
6
+ export * from './enum/chatbotActionEnums/chatbot-action-schedule-permission.enum';
6
7
  export * from './enum/chatbotActionEnums/chatbot-action-type.enum';
7
8
  export * from './enum/chatbotBehaviorEnums/chatbot-inactive-employee-action.enum';
8
9
  export * from './enum/chatbotBehaviorEnums/chatbot-timeout-action.enum';
9
- export * from './enum/chatbotGuidanceEnums/chatbot-action-button-type.enum';
10
- export * from './enum/chatbotSettingsEnums/chatbot-platform-type.enum';
11
- export * from './enum/chatbotSettingsEnums/chatbot-settings-ai-personality.enum';
12
- export * from './enum/chatbotSettingsEnums/chatbot-mode.enum';
13
- export * from './enum/chatbotSendingInfoItemEnums/chatbot-sending-info-item-type.enum';
14
- export * from './enum/chatbotTriggerEnums/chatbot-trigger-pattern-type.enum';
15
- export * from './enum/chatbotSettingsEnums/chatbot-ai-voice.enum';
10
+ export * from './enum/chatbotGuidanceEnums/chatbot-guidance-option-type.enum';
16
11
  export * from './enum/chatbotInfoCollectionEnums/chatbot-info-collection-subtype.enum';
17
12
  export * from './enum/chatbotInfoCollectionEnums/chatbot-info-collection-type.enum';
18
13
  export * from './enum/chatbotInfoCollectionEnums/chatbot-price-display-mode.enum';
19
14
  export * from './enum/chatbotInfoCollectionEnums/chatbot-size_display-mode.enum';
20
15
  export * from './enum/chatbotInfoCollectionEnums/chatbot-time-display-mode.enum';
21
16
  export * from './enum/chatbotInfoCollectionEnums/chatbot-time-selection-behavior.enum';
22
- export * from './enum/chatbotActionEnums/chatbot-action-schedule-permission.enum';
17
+ export * from './enum/chatbotSendingInfoItemEnums/chatbot-sending-info-item-type.enum';
18
+ export * from './enum/chatbotSettingsEnums/chatbot-ai-voice.enum';
19
+ export * from './enum/chatbotSettingsEnums/chatbot-mode.enum';
20
+ export * from './enum/chatbotSettingsEnums/chatbot-platform-type.enum';
21
+ export * from './enum/chatbotSettingsEnums/chatbot-settings-ai-personality.enum';
22
+ export * from './enum/chatbotTriggerEnums/chatbot-trigger-pattern-type.enum';
@@ -19,20 +19,20 @@ __exportStar(require("./dto/get-chatbot-formatted-messages.dto"), exports);
19
19
  __exportStar(require("./dto/pa.change-notification-status.dto"), exports);
20
20
  __exportStar(require("./dto/pa.start-ai-interaction.dto"), exports);
21
21
  __exportStar(require("./dto/pa.stop-ai-interaction.dto"), exports);
22
+ __exportStar(require("./enum/chatbotActionEnums/chatbot-action-schedule-permission.enum"), exports);
22
23
  __exportStar(require("./enum/chatbotActionEnums/chatbot-action-type.enum"), exports);
23
24
  __exportStar(require("./enum/chatbotBehaviorEnums/chatbot-inactive-employee-action.enum"), exports);
24
25
  __exportStar(require("./enum/chatbotBehaviorEnums/chatbot-timeout-action.enum"), exports);
25
- __exportStar(require("./enum/chatbotGuidanceEnums/chatbot-action-button-type.enum"), exports);
26
- __exportStar(require("./enum/chatbotSettingsEnums/chatbot-platform-type.enum"), exports);
27
- __exportStar(require("./enum/chatbotSettingsEnums/chatbot-settings-ai-personality.enum"), exports);
28
- __exportStar(require("./enum/chatbotSettingsEnums/chatbot-mode.enum"), exports);
29
- __exportStar(require("./enum/chatbotSendingInfoItemEnums/chatbot-sending-info-item-type.enum"), exports);
30
- __exportStar(require("./enum/chatbotTriggerEnums/chatbot-trigger-pattern-type.enum"), exports);
31
- __exportStar(require("./enum/chatbotSettingsEnums/chatbot-ai-voice.enum"), exports);
26
+ __exportStar(require("./enum/chatbotGuidanceEnums/chatbot-guidance-option-type.enum"), exports);
32
27
  __exportStar(require("./enum/chatbotInfoCollectionEnums/chatbot-info-collection-subtype.enum"), exports);
33
28
  __exportStar(require("./enum/chatbotInfoCollectionEnums/chatbot-info-collection-type.enum"), exports);
34
29
  __exportStar(require("./enum/chatbotInfoCollectionEnums/chatbot-price-display-mode.enum"), exports);
35
30
  __exportStar(require("./enum/chatbotInfoCollectionEnums/chatbot-size_display-mode.enum"), exports);
36
31
  __exportStar(require("./enum/chatbotInfoCollectionEnums/chatbot-time-display-mode.enum"), exports);
37
32
  __exportStar(require("./enum/chatbotInfoCollectionEnums/chatbot-time-selection-behavior.enum"), exports);
38
- __exportStar(require("./enum/chatbotActionEnums/chatbot-action-schedule-permission.enum"), exports);
33
+ __exportStar(require("./enum/chatbotSendingInfoItemEnums/chatbot-sending-info-item-type.enum"), exports);
34
+ __exportStar(require("./enum/chatbotSettingsEnums/chatbot-ai-voice.enum"), exports);
35
+ __exportStar(require("./enum/chatbotSettingsEnums/chatbot-mode.enum"), exports);
36
+ __exportStar(require("./enum/chatbotSettingsEnums/chatbot-platform-type.enum"), exports);
37
+ __exportStar(require("./enum/chatbotSettingsEnums/chatbot-settings-ai-personality.enum"), exports);
38
+ __exportStar(require("./enum/chatbotTriggerEnums/chatbot-trigger-pattern-type.enum"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tec.pet/tecpet-sdk",
3
- "version": "0.0.89",
3
+ "version": "0.0.90",
4
4
  "description": "TecPet SDK for integration with TecPet services",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,18 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ChatbotActionButtonTypeEnum = void 0;
4
- var ChatbotActionButtonTypeEnum;
5
- (function (ChatbotActionButtonTypeEnum) {
6
- ChatbotActionButtonTypeEnum["NONE"] = "NONE";
7
- ChatbotActionButtonTypeEnum["BACK_TO_HOME"] = "BACK_TO_HOME";
8
- ChatbotActionButtonTypeEnum["BOOKING_CONFIRM"] = "BOOKING_CONFIRM";
9
- ChatbotActionButtonTypeEnum["BOOKING_CANCEL"] = "BOOKING_CANCEL";
10
- ChatbotActionButtonTypeEnum["BOOKING_RESCHEDULE"] = "BOOKING_RESCHEDULE";
11
- ChatbotActionButtonTypeEnum["BOOKING_CREATE"] = "BOOKING_CREATE";
12
- ChatbotActionButtonTypeEnum["REMEMBER_ME_LATER"] = "REMEMBER_ME_LATER";
13
- ChatbotActionButtonTypeEnum["TRANSFER_TO_HUMAN"] = "TRANSFER_TO_HUMAN";
14
- ChatbotActionButtonTypeEnum["PAY_INVOICE_WITH_VOUCHER"] = "PAY_INVOICE_WITH_VOUCHER";
15
- ChatbotActionButtonTypeEnum["CALL"] = "CALL";
16
- ChatbotActionButtonTypeEnum["URL"] = "URL";
17
- ChatbotActionButtonTypeEnum["END"] = "END";
18
- })(ChatbotActionButtonTypeEnum || (exports.ChatbotActionButtonTypeEnum = ChatbotActionButtonTypeEnum = {}));