@tec.pet/tecpet-sdk 0.0.188 → 0.0.190

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.
@@ -261,6 +261,11 @@ export interface InfoCollectionMenuJson {
261
261
  aiInstruction?: string;
262
262
  minCancelAdvanceHours?: number;
263
263
  };
264
+ allowShowBookingStatus?: {
265
+ enabled: boolean;
266
+ message?: string;
267
+ aiInstruction?: string;
268
+ };
264
269
  };
265
270
  guidance?: {
266
271
  guidanceMessage: {
@@ -23,6 +23,7 @@ export declare enum ChatbotInfoCollectionSubtypeEnum {
23
23
  'SCHEDULE_TO_ANOTHER_PET' = "SCHEDULE_TO_ANOTHER_PET",
24
24
  'ALLOW_CHANGE_DATE_AND_TIME' = "ALLOW_CHANGE_DATE_AND_TIME",
25
25
  'ALLOW_CANCEL' = "ALLOW_CANCEL",
26
+ 'ALLOW_SHOW_BOOKING_STATUS' = "ALLOW_SHOW_BOOKING_STATUS",
26
27
  'ALLOW_ADAPTION_SERVICE' = "ALLOW_ADAPTION_SERVICE",
27
28
  'ON_COMMERCIAL_TIME' = "ON_COMMERCIAL_TIME",
28
29
  'OUT_OF_COMMERCIAL_TIME' = "OUT_OF_COMMERCIAL_TIME",
@@ -27,6 +27,7 @@ var ChatbotInfoCollectionSubtypeEnum;
27
27
  ChatbotInfoCollectionSubtypeEnum["SCHEDULE_TO_ANOTHER_PET"] = "SCHEDULE_TO_ANOTHER_PET";
28
28
  ChatbotInfoCollectionSubtypeEnum["ALLOW_CHANGE_DATE_AND_TIME"] = "ALLOW_CHANGE_DATE_AND_TIME";
29
29
  ChatbotInfoCollectionSubtypeEnum["ALLOW_CANCEL"] = "ALLOW_CANCEL";
30
+ ChatbotInfoCollectionSubtypeEnum["ALLOW_SHOW_BOOKING_STATUS"] = "ALLOW_SHOW_BOOKING_STATUS";
30
31
  ChatbotInfoCollectionSubtypeEnum["ALLOW_ADAPTION_SERVICE"] = "ALLOW_ADAPTION_SERVICE";
31
32
  ChatbotInfoCollectionSubtypeEnum["ON_COMMERCIAL_TIME"] = "ON_COMMERCIAL_TIME";
32
33
  ChatbotInfoCollectionSubtypeEnum["OUT_OF_COMMERCIAL_TIME"] = "OUT_OF_COMMERCIAL_TIME";
@@ -1,4 +1,38 @@
1
1
  import { ApiIntegrationType } from './pa.get-integration-shop-by-login.dto';
2
+ export declare enum IntegrationInvoiceArchitecture {
3
+ SEGMENT_GROUPED = "SEGMENT_GROUPED",
4
+ BY_INVOICE_ITEM = "BY_INVOICE_ITEM"
5
+ }
6
+ export interface PaIntegrationShopFeatures {
7
+ bookingCreate?: boolean;
8
+ bookingUpdate?: boolean;
9
+ bookingRemove?: boolean;
10
+ clientCreate?: boolean;
11
+ clientUpdate?: boolean;
12
+ clientRemove?: boolean;
13
+ petCreate?: boolean;
14
+ petUpdate?: boolean;
15
+ petRemove?: boolean;
16
+ petPlanCreate?: boolean;
17
+ petPlanConsume?: boolean;
18
+ petPlanCancel?: boolean;
19
+ petPlanPay?: boolean;
20
+ invoiceCreate?: boolean;
21
+ invoiceUpdate?: boolean;
22
+ invoicePay?: boolean;
23
+ invoiceOverdue?: boolean;
24
+ invoiceCancel?: boolean;
25
+ serviceCreate?: boolean;
26
+ serviceUpdate?: boolean;
27
+ serviceRemove?: boolean;
28
+ fiscalInvoice?: boolean;
29
+ createFiscalInvoiceAutomatically?: boolean;
30
+ issueFiscalInvoiceAutomatically?: boolean;
31
+ createFiscalInvoiceNfAutomatically?: boolean;
32
+ issueFiscalInvoiceNfAutomatically?: boolean;
33
+ integrationInvoice?: boolean;
34
+ createIntegrationInvoiceAutomatically?: boolean;
35
+ }
2
36
  export interface PaEditIntegrationShopRequest {
3
37
  type: ApiIntegrationType;
4
38
  enabled?: boolean;
@@ -10,6 +44,8 @@ export interface PaEditIntegrationShopRequest {
10
44
  extraConfig?: any;
11
45
  configurable?: any;
12
46
  configurableChoices?: any;
47
+ features?: PaIntegrationShopFeatures;
48
+ invoiceArchitecture?: IntegrationInvoiceArchitecture;
13
49
  }
14
50
  export interface PaEditIntegrationShopResponse {
15
51
  id: number;
@@ -22,6 +58,8 @@ export interface PaEditIntegrationShopResponse {
22
58
  extraConfig?: any;
23
59
  configurable?: any;
24
60
  configurableChoices?: any;
61
+ features?: PaIntegrationShopFeatures;
62
+ invoiceArchitecture?: IntegrationInvoiceArchitecture;
25
63
  shop: {
26
64
  id: number;
27
65
  };
@@ -1,2 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.IntegrationInvoiceArchitecture = void 0;
4
+ var IntegrationInvoiceArchitecture;
5
+ (function (IntegrationInvoiceArchitecture) {
6
+ IntegrationInvoiceArchitecture["SEGMENT_GROUPED"] = "SEGMENT_GROUPED";
7
+ IntegrationInvoiceArchitecture["BY_INVOICE_ITEM"] = "BY_INVOICE_ITEM";
8
+ })(IntegrationInvoiceArchitecture || (exports.IntegrationInvoiceArchitecture = IntegrationInvoiceArchitecture = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tec.pet/tecpet-sdk",
3
- "version": "0.0.188",
3
+ "version": "0.0.190",
4
4
  "description": "TecPet SDK for integration with TecPet services",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",