@tec.pet/tecpet-sdk 0.0.89 → 0.0.91
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/domain/chatbot/dto/chatbot-settings.json.d.ts +7 -6
- package/dist/domain/chatbot/dto/pa.handle-button-action.dto.d.ts +2 -2
- package/dist/domain/chatbot/enum/chatbotGuidanceEnums/{chatbot-action-button-type.enum.d.ts → chatbot-guidance-option-type.enum.d.ts} +1 -1
- package/dist/domain/chatbot/enum/chatbotGuidanceEnums/chatbot-guidance-option-type.enum.js +18 -0
- package/dist/domain/chatbot/index.d.ts +8 -8
- package/dist/domain/chatbot/index.js +8 -8
- package/dist/domain/shop/dto/pa.get-shop-configurations.dto.d.ts +1 -0
- package/package.json +1 -1
- package/dist/domain/chatbot/enum/chatbotGuidanceEnums/chatbot-action-button-type.enum.js +0 -18
|
@@ -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 {
|
|
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:
|
|
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
|
|
128
|
+
export interface ChatbotGuidanceOptionDto {
|
|
129
129
|
id: string;
|
|
130
130
|
buttonTitle: string;
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
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 {
|
|
1
|
+
import { ChatbotGuidanceOptionTypeEnum } from "../enum/chatbotGuidanceEnums/chatbot-guidance-option-type.enum";
|
|
2
2
|
export interface PaHandleButtonActionInput {
|
|
3
|
-
type:
|
|
3
|
+
type: ChatbotGuidanceOptionTypeEnum;
|
|
4
4
|
phone?: string;
|
|
5
5
|
clientName?: string;
|
|
6
6
|
invoiceId?: string;
|
|
@@ -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-
|
|
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/
|
|
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-
|
|
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/
|
|
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);
|
|
@@ -82,6 +82,7 @@ export interface PaShopConfigurationsResponse {
|
|
|
82
82
|
name: string;
|
|
83
83
|
advancedConfig: AdvancedConfigResponseDto;
|
|
84
84
|
address: AddressDto;
|
|
85
|
+
phoneNumber: string;
|
|
85
86
|
segments: Array<PaShopConfigurationsSegment>;
|
|
86
87
|
species: Array<PaShopConfigurationsSpecie>;
|
|
87
88
|
billing: PaBillingResponse[];
|
package/package.json
CHANGED
|
@@ -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 = {}));
|