@otters.ai/common-backend 1.0.145 → 1.0.147

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.
@@ -13,3 +13,4 @@ export * from './partner/index';
13
13
  export * from './contentType';
14
14
  export * from './userType';
15
15
  export * from './fileType';
16
+ export * from './mapTemplate/category';
@@ -29,3 +29,4 @@ __exportStar(require("./partner/index"), exports);
29
29
  __exportStar(require("./contentType"), exports);
30
30
  __exportStar(require("./userType"), exports);
31
31
  __exportStar(require("./fileType"), exports);
32
+ __exportStar(require("./mapTemplate/category"), exports);
@@ -0,0 +1,7 @@
1
+ export declare enum MapTemplateCategory {
2
+ Enablement = "Enablement",
3
+ Strategic_Account_Plan = "Strategic Account Plan",
4
+ On_Boarding = "On Boarding",
5
+ Sales_Enablement = "Sales Enablement",
6
+ Technical_Enablement = "Technical Enablement"
7
+ }
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MapTemplateCategory = void 0;
4
+ var MapTemplateCategory;
5
+ (function (MapTemplateCategory) {
6
+ MapTemplateCategory["Enablement"] = "Enablement";
7
+ MapTemplateCategory["Strategic_Account_Plan"] = "Strategic Account Plan";
8
+ MapTemplateCategory["On_Boarding"] = "On Boarding";
9
+ MapTemplateCategory["Sales_Enablement"] = "Sales Enablement";
10
+ MapTemplateCategory["Technical_Enablement"] = "Technical Enablement";
11
+ })(MapTemplateCategory || (exports.MapTemplateCategory = MapTemplateCategory = {}));
@@ -9,7 +9,7 @@ class Listener {
9
9
  subscriptionOptions() {
10
10
  return this.client
11
11
  .subscriptionOptions()
12
- .setDeliverAllAvailable()
12
+ // .setDeliverAllAvailable()
13
13
  .setManualAckMode(true)
14
14
  .setAckWait(this.ackWait)
15
15
  .setDurableName(this.queueGroupName);
@@ -31,4 +31,7 @@ export * from './partnerLeadContact/contactStruct';
31
31
  export * from './partnerLeadContact/partnerLeadContactCreatedStruct';
32
32
  export * from './partnerLeadContact/partnerLeadContactUpdatedStruct';
33
33
  export * from './saleLead/saleLeadStruct';
34
+ export * from './mapTemplates/mapTemplate';
35
+ export * from './mapTemplates/goals';
36
+ export * from './mapTemplates/activity';
34
37
  export * from './email/inviteEmailStruct';
@@ -55,5 +55,9 @@ __exportStar(require("./partnerLeadContact/partnerLeadContactCreatedStruct"), ex
55
55
  __exportStar(require("./partnerLeadContact/partnerLeadContactUpdatedStruct"), exports);
56
56
  // sale...
57
57
  __exportStar(require("./saleLead/saleLeadStruct"), exports);
58
+ // Map Template...
59
+ __exportStar(require("./mapTemplates/mapTemplate"), exports);
60
+ __exportStar(require("./mapTemplates/goals"), exports);
61
+ __exportStar(require("./mapTemplates/activity"), exports);
58
62
  // email...
59
63
  __exportStar(require("./email/inviteEmailStruct"), exports);
@@ -0,0 +1,10 @@
1
+ import { ActivitiesEnum } from "../../enum";
2
+ export interface MapTemplateActivityStruct {
3
+ if?: string;
4
+ title: string;
5
+ description: string;
6
+ type: ActivitiesEnum;
7
+ attachments: string[];
8
+ createdAt?: string;
9
+ updatedAt?: string;
10
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ import { GoalCategory } from "../../enum";
2
+ export interface MapTemplateGoalStruct {
3
+ if?: string;
4
+ title: string;
5
+ description: string;
6
+ category: GoalCategory;
7
+ attachments: string[];
8
+ createdAt?: string;
9
+ updatedAt?: string;
10
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ import { PartnerType } from "../../enum";
2
+ import { MapTemplateCategory } from "../../enum/mapTemplate/category";
3
+ export interface MapTemplateStruct {
4
+ if?: string;
5
+ title: string;
6
+ description: string;
7
+ partnerType: PartnerType;
8
+ category: MapTemplateCategory;
9
+ createdAt?: string;
10
+ updatedAt?: string;
11
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@otters.ai/common-backend",
3
- "version": "1.0.145",
3
+ "version": "1.0.147",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",