@tec.pet/tecpet-sdk 0.0.208 → 0.0.210

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.
@@ -24,15 +24,26 @@ export interface PaGetBookingResponse {
24
24
  id: number;
25
25
  name: string;
26
26
  }>;
27
- services: Array<{
28
- id: number;
29
- name: string;
30
- categoryType?: ServiceCategoryType;
31
- }>;
27
+ services: Array<PaBookingServiceResponse>;
32
28
  petPlanId?: number;
33
29
  hasTakeAndBring?: boolean;
34
30
  period?: CapacityConfigurationType;
35
31
  }
32
+ export interface PaBookingServiceResponse {
33
+ id: number;
34
+ name: string;
35
+ categoryId?: number;
36
+ categoryName?: string;
37
+ categoryType?: ServiceCategoryType;
38
+ /** Profissional alocado na agenda para o serviço. */
39
+ employee?: PaBookingEmployeeResponse | null;
40
+ /** Profissional que executou o serviço. */
41
+ employeeDid?: PaBookingEmployeeResponse | null;
42
+ }
43
+ export interface PaBookingEmployeeResponse {
44
+ id: number;
45
+ name: string;
46
+ }
36
47
  export interface PaBookingInvoiceResponse {
37
48
  id: string;
38
49
  totalValue: number;
@@ -10,6 +10,7 @@ export declare enum NotificationStatus {
10
10
  }
11
11
  export declare enum NotificationFailReason {
12
12
  META_ACCOUNT_UNLINKED = "META_ACCOUNT_UNLINKED",
13
+ META_ACCOUNT_RESTRICTED = "META_ACCOUNT_RESTRICTED",
13
14
  META_BILLING_ISSUE = "META_BILLING_ISSUE",
14
15
  META_TEMPLATE_REJECTED = "META_TEMPLATE_REJECTED",
15
16
  META_WINDOW_CLOSED = "META_WINDOW_CLOSED",
@@ -15,6 +15,7 @@ var NotificationStatus;
15
15
  var NotificationFailReason;
16
16
  (function (NotificationFailReason) {
17
17
  NotificationFailReason["META_ACCOUNT_UNLINKED"] = "META_ACCOUNT_UNLINKED";
18
+ NotificationFailReason["META_ACCOUNT_RESTRICTED"] = "META_ACCOUNT_RESTRICTED";
18
19
  NotificationFailReason["META_BILLING_ISSUE"] = "META_BILLING_ISSUE";
19
20
  NotificationFailReason["META_TEMPLATE_REJECTED"] = "META_TEMPLATE_REJECTED";
20
21
  NotificationFailReason["META_WINDOW_CLOSED"] = "META_WINDOW_CLOSED";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tec.pet/tecpet-sdk",
3
- "version": "0.0.208",
3
+ "version": "0.0.210",
4
4
  "description": "TecPet SDK for integration with TecPet services",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",