@otters.ai/common-backend 1.0.113 → 1.0.115

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.
@@ -2,6 +2,6 @@ import { Subjects } from "../../enum";
2
2
  export interface PartnerLeadDeletedStruct {
3
3
  subject: Subjects.PartnerLeadDeleted;
4
4
  data: {
5
- partnerLeadid: string;
5
+ partnerLeadId: string;
6
6
  };
7
7
  }
@@ -1,4 +1,55 @@
1
+ import { CurrencyEnum } from "../../enum";
1
2
  export interface PartnerLeadStruct {
2
- id: string;
3
+ id?: string;
4
+ firstName: string;
5
+ lastName: string;
6
+ stage: number;
7
+ currency: CurrencyEnum;
8
+ companySize: string;
9
+ headQuarters: string;
10
+ industry: string;
11
+ overview: string;
12
+ closeDate: string;
13
+ specialities: string;
3
14
  mapId: string;
15
+ ownerId: string;
16
+ status: PartnerStatus;
17
+ contact: ContactModelStruct[];
18
+ type: PartnerType;
19
+ tier: PartnerTier;
20
+ createdAt?: Date;
21
+ updatedAt?: Date;
22
+ }
23
+ export interface ContactModelStruct {
24
+ id: string;
25
+ name: string;
26
+ }
27
+ export declare enum PartnerStatus {
28
+ WON = "Won",
29
+ LOST = "Lost",
30
+ DEVELOP = "Develop",
31
+ INDENTIFIED = "Identified",
32
+ IN_ACTIVE = "Inactive",
33
+ ACTIVE = "Active"
34
+ }
35
+ export declare enum PartnerType {
36
+ Reseller = "Reseller",
37
+ VAR = "Value-Added Reseller (VAR)",
38
+ Distributor = "Distributor",
39
+ MSP = "Managed Service Provider (MSP)",
40
+ ReferralPartner = "Referral Partner",
41
+ SystemIntegrator = "System Integrator (SI)",
42
+ TechnologyAlliancePartner = "Technology Alliance Partner",
43
+ ConsultingPartner = "Consulting Partner",
44
+ OEM = "Original Equipment Manufacturer (OEM)",
45
+ ISV = "Independent Software Vendor (ISV)",
46
+ TrainingCertificationPartner = "Training/Certification Partner",
47
+ StrategicAlliancePartner = "Strategic Alliance Partner",
48
+ AffiliatePartner = "Affiliate Partner",
49
+ CSP = "Cloud Service Provider (CSP)"
50
+ }
51
+ export declare enum PartnerTier {
52
+ GOLD = "Gold",
53
+ SILEVR = "Silver",
54
+ BRONZE = "Bronze"
4
55
  }
@@ -1,2 +1,35 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PartnerTier = exports.PartnerType = exports.PartnerStatus = void 0;
4
+ var PartnerStatus;
5
+ (function (PartnerStatus) {
6
+ PartnerStatus["WON"] = "Won";
7
+ PartnerStatus["LOST"] = "Lost";
8
+ PartnerStatus["DEVELOP"] = "Develop";
9
+ PartnerStatus["INDENTIFIED"] = "Identified";
10
+ PartnerStatus["IN_ACTIVE"] = "Inactive";
11
+ PartnerStatus["ACTIVE"] = "Active";
12
+ })(PartnerStatus || (exports.PartnerStatus = PartnerStatus = {}));
13
+ var PartnerType;
14
+ (function (PartnerType) {
15
+ PartnerType["Reseller"] = "Reseller";
16
+ PartnerType["VAR"] = "Value-Added Reseller (VAR)";
17
+ PartnerType["Distributor"] = "Distributor";
18
+ PartnerType["MSP"] = "Managed Service Provider (MSP)";
19
+ PartnerType["ReferralPartner"] = "Referral Partner";
20
+ PartnerType["SystemIntegrator"] = "System Integrator (SI)";
21
+ PartnerType["TechnologyAlliancePartner"] = "Technology Alliance Partner";
22
+ PartnerType["ConsultingPartner"] = "Consulting Partner";
23
+ PartnerType["OEM"] = "Original Equipment Manufacturer (OEM)";
24
+ PartnerType["ISV"] = "Independent Software Vendor (ISV)";
25
+ PartnerType["TrainingCertificationPartner"] = "Training/Certification Partner";
26
+ PartnerType["StrategicAlliancePartner"] = "Strategic Alliance Partner";
27
+ PartnerType["AffiliatePartner"] = "Affiliate Partner";
28
+ PartnerType["CSP"] = "Cloud Service Provider (CSP)";
29
+ })(PartnerType || (exports.PartnerType = PartnerType = {}));
30
+ var PartnerTier;
31
+ (function (PartnerTier) {
32
+ PartnerTier["GOLD"] = "Gold";
33
+ PartnerTier["SILEVR"] = "Silver";
34
+ PartnerTier["BRONZE"] = "Bronze";
35
+ })(PartnerTier || (exports.PartnerTier = PartnerTier = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@otters.ai/common-backend",
3
- "version": "1.0.113",
3
+ "version": "1.0.115",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",