@tec.pet/tecpet-sdk 0.0.189 → 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.
@@ -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.189",
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",