@tec.pet/tecpet-sdk 0.0.117 → 0.0.119

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.
@@ -0,0 +1,4 @@
1
+ export declare enum ChainWhatsappModeEnum {
2
+ SHARED = "SHARED",
3
+ INDIVIDUAL = "INDIVIDUAL"
4
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ChainWhatsappModeEnum = void 0;
4
+ var ChainWhatsappModeEnum;
5
+ (function (ChainWhatsappModeEnum) {
6
+ ChainWhatsappModeEnum["SHARED"] = "SHARED";
7
+ ChainWhatsappModeEnum["INDIVIDUAL"] = "INDIVIDUAL";
8
+ })(ChainWhatsappModeEnum || (exports.ChainWhatsappModeEnum = ChainWhatsappModeEnum = {}));
@@ -0,0 +1 @@
1
+ export * from './enum/chain-whatsapp-mode.enum';
@@ -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("./enum/chain-whatsapp-mode.enum"), exports);
@@ -19,6 +19,7 @@ import { ChatbotModeEnum } from "../enum/chatbotSettingsEnums/chatbot-mode.enum"
19
19
  import { ChatbotPlatformTypeEnum } from "../enum/chatbotSettingsEnums/chatbot-platform-type.enum";
20
20
  import { ChatbotSettingsAIPersonalityEnum } from "../enum/chatbotSettingsEnums/chatbot-settings-ai-personality.enum";
21
21
  import { ChatbotTriggerPatternTypeEnum } from "../enum/chatbotTriggerEnums/chatbot-trigger-pattern-type.enum";
22
+ import { ChainWhatsappModeEnum } from "../../chain";
22
23
  export interface Service {
23
24
  id: number;
24
25
  }
@@ -50,6 +51,7 @@ export interface PaChatbotSettingsResponse {
50
51
  chain?: {
51
52
  id: string;
52
53
  name: string;
54
+ whatsappMode: ChainWhatsappModeEnum;
53
55
  };
54
56
  };
55
57
  }
@@ -3,6 +3,7 @@ import { AddressDto } from "../../client";
3
3
  import { SpecieTypeEnum } from "../../specie";
4
4
  import { PaBillingResponse } from "../../billingMethod";
5
5
  import { PaShopResponse } from "./pa.get-shop.dto";
6
+ import { ChainWhatsappModeEnum } from "../../chain";
6
7
  interface AdvancedConfigSegment {
7
8
  id: number;
8
9
  segmentType: ShopSegment;
@@ -90,6 +91,7 @@ export interface PaShopConfigurationsResponse {
90
91
  chain?: {
91
92
  id: string;
92
93
  name: string;
94
+ whatsappMode: ChainWhatsappModeEnum;
93
95
  shops: PaShopResponse[];
94
96
  };
95
97
  }
package/dist/index.d.ts CHANGED
@@ -58,3 +58,4 @@ export * from './domain/fiscalInvoice';
58
58
  export * from './domain/invoice';
59
59
  export * from './utils/index';
60
60
  export * from './domain/petPlan';
61
+ export * from './domain/chain';
package/dist/index.js CHANGED
@@ -97,3 +97,4 @@ __exportStar(require("./domain/fiscalInvoice"), exports);
97
97
  __exportStar(require("./domain/invoice"), exports);
98
98
  __exportStar(require("./utils/index"), exports);
99
99
  __exportStar(require("./domain/petPlan"), exports);
100
+ __exportStar(require("./domain/chain"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tec.pet/tecpet-sdk",
3
- "version": "0.0.117",
3
+ "version": "0.0.119",
4
4
  "description": "TecPet SDK for integration with TecPet services",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",