@escapenavigator/types 1.10.145 → 1.10.147

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.
Files changed (29) hide show
  1. package/dist/openapi/profiles/openapi-cancel-booking.dto.d.ts +9 -0
  2. package/dist/openapi/profiles/openapi-cancel-booking.dto.js +80 -0
  3. package/dist/openapi/profiles/openapi-create-booking.dto.d.ts +16 -0
  4. package/dist/openapi/profiles/openapi-create-booking.dto.js +128 -0
  5. package/dist/openapi/profiles/openapi-profile-booking-details.ro.d.ts +43 -0
  6. package/dist/openapi/profiles/openapi-profile-booking-details.ro.js +191 -0
  7. package/dist/openapi/profiles/openapi-profile-booking-list-item.ro.d.ts +15 -0
  8. package/dist/openapi/profiles/openapi-profile-booking-list-item.ro.js +87 -10
  9. package/dist/openapi/questrooms/openapi-questroom.ro.d.ts +21 -0
  10. package/dist/openapi/questrooms/openapi-questroom.ro.js +110 -0
  11. package/dist/openapi/shared/openapi-error.ro.d.ts +3 -0
  12. package/dist/openapi/shared/openapi-error.ro.js +23 -0
  13. package/dist/openapi/slots/openapi-day-schedule.dto.d.ts +1 -1
  14. package/dist/openapi/slots/openapi-day-schedule.dto.js +21 -4
  15. package/dist/openapi/slots/openapi-slot-tariff.ro.d.ts +6 -0
  16. package/dist/openapi/slots/openapi-slot-tariff.ro.js +34 -0
  17. package/dist/openapi/slots/openapi-week-schedule.dto.js +6 -6
  18. package/dist/openapi/slots/openapi-widget-slot.ro.d.ts +2 -2
  19. package/dist/openapi/slots/openapi-widget-slot.ro.js +39 -2
  20. package/dist/shared/source.enum.d.ts +1 -0
  21. package/dist/shared/source.enum.js +1 -0
  22. package/dist/tsconfig.build.tsbuildinfo +1 -1
  23. package/dist/widget-chat/enum/widget-chat-message-author.enum.d.ts +2 -1
  24. package/dist/widget-chat/enum/widget-chat-message-author.enum.js +1 -0
  25. package/dist/widget-chat/widget-chat-ai-settings.ro.d.ts +10 -0
  26. package/dist/widget-chat/widget-chat-ai-settings.ro.js +2 -0
  27. package/dist/widget-chat/widget-chat-conversation.ro.d.ts +4 -0
  28. package/dist/widget-chat/widget-chat-message.ro.d.ts +11 -0
  29. package/package.json +2 -2
@@ -1,4 +1,5 @@
1
1
  export declare enum WidgetChatMessageAuthorEnum {
2
2
  VISITOR = "visitor",
3
- STAFF = "staff"
3
+ STAFF = "staff",
4
+ AI = "ai"
4
5
  }
@@ -5,4 +5,5 @@ var WidgetChatMessageAuthorEnum;
5
5
  (function (WidgetChatMessageAuthorEnum) {
6
6
  WidgetChatMessageAuthorEnum["VISITOR"] = "visitor";
7
7
  WidgetChatMessageAuthorEnum["STAFF"] = "staff";
8
+ WidgetChatMessageAuthorEnum["AI"] = "ai";
8
9
  })(WidgetChatMessageAuthorEnum || (exports.WidgetChatMessageAuthorEnum = WidgetChatMessageAuthorEnum = {}));
@@ -0,0 +1,10 @@
1
+ export type WidgetChatAiSettingsRO = {
2
+ enabled: boolean;
3
+ tone?: string | null;
4
+ greeting?: string | null;
5
+ handoffMessage?: string | null;
6
+ workingHoursEnabled: boolean;
7
+ workingHoursStart?: number | null;
8
+ workingHoursEnd?: number | null;
9
+ timezone?: string | null;
10
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -11,6 +11,10 @@ export type WidgetChatConversationRO = {
11
11
  lastMessageText?: string;
12
12
  lastMessageAt?: Date;
13
13
  unreadCount: number;
14
+ aiEnabled: boolean;
15
+ aiPaused: boolean;
16
+ aiSummary?: string;
17
+ escalationReason?: string;
14
18
  createdAt: Date;
15
19
  updatedAt: Date;
16
20
  };
@@ -1,4 +1,14 @@
1
1
  import { WidgetChatMessageAuthorEnum } from './enum/widget-chat-message-author.enum';
2
+ export type WidgetChatSlotSuggestion = {
3
+ questroomId: number;
4
+ questroomTitle?: string;
5
+ date: string;
6
+ players?: number;
7
+ };
8
+ export type WidgetChatMessageMeta = {
9
+ kind: 'slot_suggestions';
10
+ items: WidgetChatSlotSuggestion[];
11
+ };
2
12
  export type WidgetChatMessageRO = {
3
13
  id: number;
4
14
  conversationId: number;
@@ -7,5 +17,6 @@ export type WidgetChatMessageRO = {
7
17
  senderName?: string;
8
18
  senderPhoto?: string;
9
19
  text: string;
20
+ meta?: WidgetChatMessageMeta | null;
10
21
  createdAt: Date;
11
22
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@escapenavigator/types",
3
- "version": "1.10.145",
3
+ "version": "1.10.147",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -23,7 +23,7 @@
23
23
  "reflect-metadata": "^0.1.13",
24
24
  "rxjs": "^7.5.5"
25
25
  },
26
- "gitHead": "4d5f85778c81f86f50c14fba7055dda83e1aafdd",
26
+ "gitHead": "ad97abd6bd58ad005be9ec0951a78db2c83a97f3",
27
27
  "devDependencies": {
28
28
  "@types/validator": "13.0.0",
29
29
  "typescript": "^5.6"