@hed-hog/contact 0.0.314 → 0.0.315

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.
@@ -40,7 +40,7 @@ export declare class PersonController {
40
40
  total: number;
41
41
  }>;
42
42
  source: Array<{
43
- key: "other" | "social" | "website" | "inbound" | "outbound" | "referral";
43
+ key: "other" | "website" | "referral" | "social" | "inbound" | "outbound";
44
44
  total: number;
45
45
  }>;
46
46
  owner_performance: {
@@ -60,7 +60,7 @@ export declare class PersonController {
60
60
  id: number;
61
61
  name: string;
62
62
  } | null;
63
- source: "other" | "social" | "website" | "inbound" | "outbound" | "referral";
63
+ source: "other" | "website" | "referral" | "social" | "inbound" | "outbound";
64
64
  lifecycle_stage: "new" | "contacted" | "qualified" | "proposal" | "negotiation" | "customer" | "lost";
65
65
  next_action_at?: string;
66
66
  created_at?: string;
@@ -73,7 +73,7 @@ export declare class PersonController {
73
73
  id: number;
74
74
  name: string;
75
75
  } | null;
76
- source: "other" | "social" | "website" | "inbound" | "outbound" | "referral";
76
+ source: "other" | "website" | "referral" | "social" | "inbound" | "outbound";
77
77
  lifecycle_stage: "new" | "contacted" | "qualified" | "proposal" | "negotiation" | "customer" | "lost";
78
78
  next_action_at?: string;
79
79
  created_at?: string;
@@ -104,7 +104,7 @@ export declare class PersonController {
104
104
  })[];
105
105
  breakdowns: {
106
106
  source: Array<{
107
- key: "other" | "social" | "website" | "inbound" | "outbound" | "referral";
107
+ key: "other" | "website" | "referral" | "social" | "inbound" | "outbound";
108
108
  total: number;
109
109
  }>;
110
110
  current_stage: Array<{
@@ -112,7 +112,7 @@ export declare class PersonController {
112
112
  total: number;
113
113
  }>;
114
114
  activity_type: Array<{
115
- key: "email" | "note" | "whatsapp" | "call" | "meeting" | "task";
115
+ key: "call" | "email" | "meeting" | "whatsapp" | "task" | "note";
116
116
  total: number;
117
117
  }>;
118
118
  };
@@ -151,7 +151,7 @@ export declare class PersonController {
151
151
  matches: {
152
152
  id: number;
153
153
  name: string;
154
- reasons: ("email" | "phone" | "document")[];
154
+ reasons: ("email" | "document" | "phone")[];
155
155
  }[];
156
156
  }>;
157
157
  list(paginationParams: any, filters: any, user: any): Promise<{
@@ -8,7 +8,7 @@ export declare class PersonRelationTypeController {
8
8
  list(locale: any, paginationParams: any): Promise<{
9
9
  data: {
10
10
  id: number;
11
- code: "other" | "partner" | "parent" | "child" | "spouse" | "sibling" | "guardian" | "dependent" | "responsible" | "emergency_contact";
11
+ code: "other" | "parent" | "child" | "spouse" | "sibling" | "guardian" | "dependent" | "partner" | "responsible" | "emergency_contact";
12
12
  }[];
13
13
  total: number;
14
14
  page: number;
@@ -17,7 +17,7 @@ export declare class PersonRelationTypeController {
17
17
  }>;
18
18
  get(id: number): Promise<{
19
19
  id: number;
20
- code: "other" | "partner" | "parent" | "child" | "spouse" | "sibling" | "guardian" | "dependent" | "responsible" | "emergency_contact";
20
+ code: "other" | "parent" | "child" | "spouse" | "sibling" | "guardian" | "dependent" | "partner" | "responsible" | "emergency_contact";
21
21
  }>;
22
22
  create(data: CreateDTO): Promise<void>;
23
23
  update(id: number, data: UpdateDTO): Promise<void>;
@@ -6,7 +6,7 @@ export declare class PersonRelationTypeService {
6
6
  list(_locale: string, paginationParams: PaginationDTO): Promise<{
7
7
  data: {
8
8
  id: number;
9
- code: "other" | "partner" | "parent" | "child" | "spouse" | "sibling" | "guardian" | "dependent" | "responsible" | "emergency_contact";
9
+ code: "other" | "parent" | "child" | "spouse" | "sibling" | "guardian" | "dependent" | "partner" | "responsible" | "emergency_contact";
10
10
  }[];
11
11
  total: number;
12
12
  page: number;
@@ -15,7 +15,7 @@ export declare class PersonRelationTypeService {
15
15
  }>;
16
16
  get(id: number, locale?: string): Promise<{
17
17
  id: number;
18
- code: "other" | "partner" | "parent" | "child" | "spouse" | "sibling" | "guardian" | "dependent" | "responsible" | "emergency_contact";
18
+ code: "other" | "parent" | "child" | "spouse" | "sibling" | "guardian" | "dependent" | "partner" | "responsible" | "emergency_contact";
19
19
  }>;
20
20
  create(_data: CreateDTO): Promise<void>;
21
21
  update(_args: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hed-hog/contact",
3
- "version": "0.0.314",
3
+ "version": "0.0.315",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "dependencies": {
@@ -9,13 +9,13 @@
9
9
  "@nestjs/core": "^11",
10
10
  "@nestjs/jwt": "^11",
11
11
  "@nestjs/mapped-types": "*",
12
- "@hed-hog/core": "0.0.314",
13
- "@hed-hog/address": "0.0.314",
14
- "@hed-hog/api-mail": "0.0.9",
15
12
  "@hed-hog/api": "0.0.6",
13
+ "@hed-hog/core": "0.0.315",
14
+ "@hed-hog/api-mail": "0.0.9",
15
+ "@hed-hog/address": "0.0.315",
16
+ "@hed-hog/api-pagination": "0.0.7",
16
17
  "@hed-hog/api-prisma": "0.0.6",
17
- "@hed-hog/api-locale": "0.0.14",
18
- "@hed-hog/api-pagination": "0.0.7"
18
+ "@hed-hog/api-locale": "0.0.14"
19
19
  },
20
20
  "exports": {
21
21
  ".": {