@tec.pet/tecpet-sdk 0.0.64 → 0.0.66

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.
@@ -32,6 +32,7 @@ export interface PaChatbotSettingsResponse {
32
32
  mode: ChatbotModeEnum;
33
33
  aiEnabled: boolean;
34
34
  aiPersonality: ChatbotSettingsAIPersonalityEnum;
35
+ aiPersonalityInstruction?: string;
35
36
  voiceResponseEnabled: boolean;
36
37
  aiVoice: ChatbotAIVoiceEnum;
37
38
  platformType: ChatbotPlatformTypeEnum;
@@ -3,6 +3,7 @@ import { PaPetResponse } from "../../pet";
3
3
  import { PaGetBookingResponse } from "../../booking/dto/pa.get-booking.dto";
4
4
  import { PaGetPetActivityResponse } from "../../pet/dto/pa.get-pet-activity.dto";
5
5
  import { ShopSegment } from "../../segment/enum/segment.enum";
6
+ import { PaPetPlanResponse } from "../../petPlan";
6
7
  export interface PaClientSummaryResponse {
7
8
  client: PaClientResponse;
8
9
  pets: Array<PaPetResponse>;
@@ -10,4 +11,5 @@ export interface PaClientSummaryResponse {
10
11
  activities: Array<PaGetPetActivityResponse>;
11
12
  segmentsWithBooking: ShopSegment[];
12
13
  hasAnyBooking: boolean;
14
+ petPlans?: Array<PaPetPlanResponse>;
13
15
  }
@@ -0,0 +1,53 @@
1
+ import { ShopSegment } from '../../segment/enum/segment.enum';
2
+ export interface PaPetPlanPlanResponse {
3
+ id: number;
4
+ name: string;
5
+ planType: string;
6
+ }
7
+ export interface PaPetPlanPetResponse {
8
+ id: number;
9
+ name: string;
10
+ }
11
+ export interface PaPetPlanInvoiceControlResponse {
12
+ id: number;
13
+ quantity: number;
14
+ used: number;
15
+ serviceId: number;
16
+ serviceName: string;
17
+ segmentType: ShopSegment;
18
+ }
19
+ export declare enum InvoiceStatusType {
20
+ UNPAID = "UNPAID",
21
+ PAID = "PAID",
22
+ OVERDUE = "OVERDUE",
23
+ CANCELED = "CANCELED"
24
+ }
25
+ export interface PaPetPlanInvoiceResponse {
26
+ id: number;
27
+ status: InvoiceStatusType;
28
+ dueDate: Date | string;
29
+ current?: boolean;
30
+ control: Array<PaPetPlanInvoiceControlResponse>;
31
+ }
32
+ export declare enum PetPlanStatus {
33
+ ACTIVE = "ACTIVE",
34
+ PENDING = "PENDING",
35
+ OVERDUE = "OVERDUE",
36
+ SOLD_OFF = "SOLD_OFF",
37
+ CANCELED = "CANCELED"
38
+ }
39
+ export interface PaPetPlanResponse {
40
+ id: number;
41
+ status: PetPlanStatus;
42
+ startDate: Date | string;
43
+ endDate: Date | string;
44
+ plan: PaPetPlanPlanResponse;
45
+ pet: PaPetPlanPetResponse;
46
+ price: number;
47
+ partialPrice: number;
48
+ invoices?: Array<PaPetPlanInvoiceResponse>;
49
+ }
50
+ export interface PaGetPetPlansResponse {
51
+ list: Array<PaPetPlanResponse>;
52
+ count: number;
53
+ }
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PetPlanStatus = exports.InvoiceStatusType = void 0;
4
+ var InvoiceStatusType;
5
+ (function (InvoiceStatusType) {
6
+ InvoiceStatusType["UNPAID"] = "UNPAID";
7
+ InvoiceStatusType["PAID"] = "PAID";
8
+ InvoiceStatusType["OVERDUE"] = "OVERDUE";
9
+ InvoiceStatusType["CANCELED"] = "CANCELED";
10
+ })(InvoiceStatusType || (exports.InvoiceStatusType = InvoiceStatusType = {}));
11
+ var PetPlanStatus;
12
+ (function (PetPlanStatus) {
13
+ PetPlanStatus["ACTIVE"] = "ACTIVE";
14
+ PetPlanStatus["PENDING"] = "PENDING";
15
+ PetPlanStatus["OVERDUE"] = "OVERDUE";
16
+ PetPlanStatus["SOLD_OFF"] = "SOLD_OFF";
17
+ PetPlanStatus["CANCELED"] = "CANCELED";
18
+ })(PetPlanStatus || (exports.PetPlanStatus = PetPlanStatus = {}));
@@ -0,0 +1 @@
1
+ export * from './dto/pa.get-pet-plans.dto';
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./dto/pa.get-pet-plans.dto"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tec.pet/tecpet-sdk",
3
- "version": "0.0.64",
3
+ "version": "0.0.66",
4
4
  "description": "TecPet SDK for integration with TecPet services",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",