@voyantjs/crm 0.26.2 → 0.26.3

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,477 @@
1
1
  export declare const crmService: {
2
+ listPersonRelationships(db: import("drizzle-orm/postgres-js").PostgresJsDatabase, personId: string, query?: import("./person-relationships.js").PersonRelationshipListQuery): Omit<import("drizzle-orm/pg-core").PgSelectBase<"person_relationships", {
3
+ id: import("drizzle-orm/pg-core").PgColumn<{
4
+ name: string;
5
+ tableName: "person_relationships";
6
+ dataType: "string";
7
+ columnType: "PgText";
8
+ data: string;
9
+ driverParam: string;
10
+ notNull: true;
11
+ hasDefault: true;
12
+ isPrimaryKey: true;
13
+ isAutoincrement: false;
14
+ hasRuntimeDefault: true;
15
+ enumValues: [string, ...string[]];
16
+ baseColumn: never;
17
+ identity: undefined;
18
+ generated: undefined;
19
+ }, {}, {}>;
20
+ fromPersonId: import("drizzle-orm/pg-core").PgColumn<{
21
+ name: string;
22
+ tableName: "person_relationships";
23
+ dataType: "string";
24
+ columnType: "PgText";
25
+ data: string;
26
+ driverParam: string;
27
+ notNull: true;
28
+ hasDefault: false;
29
+ isPrimaryKey: false;
30
+ isAutoincrement: false;
31
+ hasRuntimeDefault: false;
32
+ enumValues: [string, ...string[]];
33
+ baseColumn: never;
34
+ identity: undefined;
35
+ generated: undefined;
36
+ }, {}, {}>;
37
+ toPersonId: import("drizzle-orm/pg-core").PgColumn<{
38
+ name: string;
39
+ tableName: "person_relationships";
40
+ dataType: "string";
41
+ columnType: "PgText";
42
+ data: string;
43
+ driverParam: string;
44
+ notNull: true;
45
+ hasDefault: false;
46
+ isPrimaryKey: false;
47
+ isAutoincrement: false;
48
+ hasRuntimeDefault: false;
49
+ enumValues: [string, ...string[]];
50
+ baseColumn: never;
51
+ identity: undefined;
52
+ generated: undefined;
53
+ }, {}, {}>;
54
+ kind: import("drizzle-orm/pg-core").PgColumn<{
55
+ name: "kind";
56
+ tableName: "person_relationships";
57
+ dataType: "string";
58
+ columnType: "PgEnumColumn";
59
+ data: "partner" | "other" | "spouse" | "parent" | "child" | "sibling" | "guardian" | "ward" | "emergency_contact" | "friend" | "travel_companion";
60
+ driverParam: string;
61
+ notNull: true;
62
+ hasDefault: false;
63
+ isPrimaryKey: false;
64
+ isAutoincrement: false;
65
+ hasRuntimeDefault: false;
66
+ enumValues: ["spouse", "partner", "parent", "child", "sibling", "guardian", "ward", "emergency_contact", "friend", "travel_companion", "other"];
67
+ baseColumn: never;
68
+ identity: undefined;
69
+ generated: undefined;
70
+ }, {}, {}>;
71
+ inverseKind: import("drizzle-orm/pg-core").PgColumn<{
72
+ name: "inverse_kind";
73
+ tableName: "person_relationships";
74
+ dataType: "string";
75
+ columnType: "PgEnumColumn";
76
+ data: "partner" | "other" | "spouse" | "parent" | "child" | "sibling" | "guardian" | "ward" | "emergency_contact" | "friend" | "travel_companion";
77
+ driverParam: string;
78
+ notNull: false;
79
+ hasDefault: false;
80
+ isPrimaryKey: false;
81
+ isAutoincrement: false;
82
+ hasRuntimeDefault: false;
83
+ enumValues: ["spouse", "partner", "parent", "child", "sibling", "guardian", "ward", "emergency_contact", "friend", "travel_companion", "other"];
84
+ baseColumn: never;
85
+ identity: undefined;
86
+ generated: undefined;
87
+ }, {}, {}>;
88
+ startDate: import("drizzle-orm/pg-core").PgColumn<{
89
+ name: "start_date";
90
+ tableName: "person_relationships";
91
+ dataType: "string";
92
+ columnType: "PgDateString";
93
+ data: string;
94
+ driverParam: string;
95
+ notNull: false;
96
+ hasDefault: false;
97
+ isPrimaryKey: false;
98
+ isAutoincrement: false;
99
+ hasRuntimeDefault: false;
100
+ enumValues: undefined;
101
+ baseColumn: never;
102
+ identity: undefined;
103
+ generated: undefined;
104
+ }, {}, {}>;
105
+ endDate: import("drizzle-orm/pg-core").PgColumn<{
106
+ name: "end_date";
107
+ tableName: "person_relationships";
108
+ dataType: "string";
109
+ columnType: "PgDateString";
110
+ data: string;
111
+ driverParam: string;
112
+ notNull: false;
113
+ hasDefault: false;
114
+ isPrimaryKey: false;
115
+ isAutoincrement: false;
116
+ hasRuntimeDefault: false;
117
+ enumValues: undefined;
118
+ baseColumn: never;
119
+ identity: undefined;
120
+ generated: undefined;
121
+ }, {}, {}>;
122
+ isPrimary: import("drizzle-orm/pg-core").PgColumn<{
123
+ name: "is_primary";
124
+ tableName: "person_relationships";
125
+ dataType: "boolean";
126
+ columnType: "PgBoolean";
127
+ data: boolean;
128
+ driverParam: boolean;
129
+ notNull: true;
130
+ hasDefault: true;
131
+ isPrimaryKey: false;
132
+ isAutoincrement: false;
133
+ hasRuntimeDefault: false;
134
+ enumValues: undefined;
135
+ baseColumn: never;
136
+ identity: undefined;
137
+ generated: undefined;
138
+ }, {}, {}>;
139
+ notes: import("drizzle-orm/pg-core").PgColumn<{
140
+ name: "notes";
141
+ tableName: "person_relationships";
142
+ dataType: "string";
143
+ columnType: "PgText";
144
+ data: string;
145
+ driverParam: string;
146
+ notNull: false;
147
+ hasDefault: false;
148
+ isPrimaryKey: false;
149
+ isAutoincrement: false;
150
+ hasRuntimeDefault: false;
151
+ enumValues: [string, ...string[]];
152
+ baseColumn: never;
153
+ identity: undefined;
154
+ generated: undefined;
155
+ }, {}, {}>;
156
+ metadata: import("drizzle-orm/pg-core").PgColumn<{
157
+ name: "metadata";
158
+ tableName: "person_relationships";
159
+ dataType: "json";
160
+ columnType: "PgJsonb";
161
+ data: Record<string, unknown>;
162
+ driverParam: unknown;
163
+ notNull: false;
164
+ hasDefault: false;
165
+ isPrimaryKey: false;
166
+ isAutoincrement: false;
167
+ hasRuntimeDefault: false;
168
+ enumValues: undefined;
169
+ baseColumn: never;
170
+ identity: undefined;
171
+ generated: undefined;
172
+ }, {}, {
173
+ $type: Record<string, unknown>;
174
+ }>;
175
+ createdAt: import("drizzle-orm/pg-core").PgColumn<{
176
+ name: "created_at";
177
+ tableName: "person_relationships";
178
+ dataType: "date";
179
+ columnType: "PgTimestamp";
180
+ data: Date;
181
+ driverParam: string;
182
+ notNull: true;
183
+ hasDefault: true;
184
+ isPrimaryKey: false;
185
+ isAutoincrement: false;
186
+ hasRuntimeDefault: false;
187
+ enumValues: undefined;
188
+ baseColumn: never;
189
+ identity: undefined;
190
+ generated: undefined;
191
+ }, {}, {}>;
192
+ updatedAt: import("drizzle-orm/pg-core").PgColumn<{
193
+ name: "updated_at";
194
+ tableName: "person_relationships";
195
+ dataType: "date";
196
+ columnType: "PgTimestamp";
197
+ data: Date;
198
+ driverParam: string;
199
+ notNull: true;
200
+ hasDefault: true;
201
+ isPrimaryKey: false;
202
+ isAutoincrement: false;
203
+ hasRuntimeDefault: false;
204
+ enumValues: undefined;
205
+ baseColumn: never;
206
+ identity: undefined;
207
+ generated: undefined;
208
+ }, {}, {}>;
209
+ }, "single", Record<"person_relationships", "not-null">, false, "where" | "orderBy" | "limit" | "offset", {
210
+ id: string;
211
+ fromPersonId: string;
212
+ toPersonId: string;
213
+ kind: "partner" | "other" | "spouse" | "parent" | "child" | "sibling" | "guardian" | "ward" | "emergency_contact" | "friend" | "travel_companion";
214
+ inverseKind: "partner" | "other" | "spouse" | "parent" | "child" | "sibling" | "guardian" | "ward" | "emergency_contact" | "friend" | "travel_companion" | null;
215
+ startDate: string | null;
216
+ endDate: string | null;
217
+ isPrimary: boolean;
218
+ notes: string | null;
219
+ metadata: Record<string, unknown> | null;
220
+ createdAt: Date;
221
+ updatedAt: Date;
222
+ }[], {
223
+ id: import("drizzle-orm/pg-core").PgColumn<{
224
+ name: string;
225
+ tableName: "person_relationships";
226
+ dataType: "string";
227
+ columnType: "PgText";
228
+ data: string;
229
+ driverParam: string;
230
+ notNull: true;
231
+ hasDefault: true;
232
+ isPrimaryKey: true;
233
+ isAutoincrement: false;
234
+ hasRuntimeDefault: true;
235
+ enumValues: [string, ...string[]];
236
+ baseColumn: never;
237
+ identity: undefined;
238
+ generated: undefined;
239
+ }, {}, {}>;
240
+ fromPersonId: import("drizzle-orm/pg-core").PgColumn<{
241
+ name: string;
242
+ tableName: "person_relationships";
243
+ dataType: "string";
244
+ columnType: "PgText";
245
+ data: string;
246
+ driverParam: string;
247
+ notNull: true;
248
+ hasDefault: false;
249
+ isPrimaryKey: false;
250
+ isAutoincrement: false;
251
+ hasRuntimeDefault: false;
252
+ enumValues: [string, ...string[]];
253
+ baseColumn: never;
254
+ identity: undefined;
255
+ generated: undefined;
256
+ }, {}, {}>;
257
+ toPersonId: import("drizzle-orm/pg-core").PgColumn<{
258
+ name: string;
259
+ tableName: "person_relationships";
260
+ dataType: "string";
261
+ columnType: "PgText";
262
+ data: string;
263
+ driverParam: string;
264
+ notNull: true;
265
+ hasDefault: false;
266
+ isPrimaryKey: false;
267
+ isAutoincrement: false;
268
+ hasRuntimeDefault: false;
269
+ enumValues: [string, ...string[]];
270
+ baseColumn: never;
271
+ identity: undefined;
272
+ generated: undefined;
273
+ }, {}, {}>;
274
+ kind: import("drizzle-orm/pg-core").PgColumn<{
275
+ name: "kind";
276
+ tableName: "person_relationships";
277
+ dataType: "string";
278
+ columnType: "PgEnumColumn";
279
+ data: "partner" | "other" | "spouse" | "parent" | "child" | "sibling" | "guardian" | "ward" | "emergency_contact" | "friend" | "travel_companion";
280
+ driverParam: string;
281
+ notNull: true;
282
+ hasDefault: false;
283
+ isPrimaryKey: false;
284
+ isAutoincrement: false;
285
+ hasRuntimeDefault: false;
286
+ enumValues: ["spouse", "partner", "parent", "child", "sibling", "guardian", "ward", "emergency_contact", "friend", "travel_companion", "other"];
287
+ baseColumn: never;
288
+ identity: undefined;
289
+ generated: undefined;
290
+ }, {}, {}>;
291
+ inverseKind: import("drizzle-orm/pg-core").PgColumn<{
292
+ name: "inverse_kind";
293
+ tableName: "person_relationships";
294
+ dataType: "string";
295
+ columnType: "PgEnumColumn";
296
+ data: "partner" | "other" | "spouse" | "parent" | "child" | "sibling" | "guardian" | "ward" | "emergency_contact" | "friend" | "travel_companion";
297
+ driverParam: string;
298
+ notNull: false;
299
+ hasDefault: false;
300
+ isPrimaryKey: false;
301
+ isAutoincrement: false;
302
+ hasRuntimeDefault: false;
303
+ enumValues: ["spouse", "partner", "parent", "child", "sibling", "guardian", "ward", "emergency_contact", "friend", "travel_companion", "other"];
304
+ baseColumn: never;
305
+ identity: undefined;
306
+ generated: undefined;
307
+ }, {}, {}>;
308
+ startDate: import("drizzle-orm/pg-core").PgColumn<{
309
+ name: "start_date";
310
+ tableName: "person_relationships";
311
+ dataType: "string";
312
+ columnType: "PgDateString";
313
+ data: string;
314
+ driverParam: string;
315
+ notNull: false;
316
+ hasDefault: false;
317
+ isPrimaryKey: false;
318
+ isAutoincrement: false;
319
+ hasRuntimeDefault: false;
320
+ enumValues: undefined;
321
+ baseColumn: never;
322
+ identity: undefined;
323
+ generated: undefined;
324
+ }, {}, {}>;
325
+ endDate: import("drizzle-orm/pg-core").PgColumn<{
326
+ name: "end_date";
327
+ tableName: "person_relationships";
328
+ dataType: "string";
329
+ columnType: "PgDateString";
330
+ data: string;
331
+ driverParam: string;
332
+ notNull: false;
333
+ hasDefault: false;
334
+ isPrimaryKey: false;
335
+ isAutoincrement: false;
336
+ hasRuntimeDefault: false;
337
+ enumValues: undefined;
338
+ baseColumn: never;
339
+ identity: undefined;
340
+ generated: undefined;
341
+ }, {}, {}>;
342
+ isPrimary: import("drizzle-orm/pg-core").PgColumn<{
343
+ name: "is_primary";
344
+ tableName: "person_relationships";
345
+ dataType: "boolean";
346
+ columnType: "PgBoolean";
347
+ data: boolean;
348
+ driverParam: boolean;
349
+ notNull: true;
350
+ hasDefault: true;
351
+ isPrimaryKey: false;
352
+ isAutoincrement: false;
353
+ hasRuntimeDefault: false;
354
+ enumValues: undefined;
355
+ baseColumn: never;
356
+ identity: undefined;
357
+ generated: undefined;
358
+ }, {}, {}>;
359
+ notes: import("drizzle-orm/pg-core").PgColumn<{
360
+ name: "notes";
361
+ tableName: "person_relationships";
362
+ dataType: "string";
363
+ columnType: "PgText";
364
+ data: string;
365
+ driverParam: string;
366
+ notNull: false;
367
+ hasDefault: false;
368
+ isPrimaryKey: false;
369
+ isAutoincrement: false;
370
+ hasRuntimeDefault: false;
371
+ enumValues: [string, ...string[]];
372
+ baseColumn: never;
373
+ identity: undefined;
374
+ generated: undefined;
375
+ }, {}, {}>;
376
+ metadata: import("drizzle-orm/pg-core").PgColumn<{
377
+ name: "metadata";
378
+ tableName: "person_relationships";
379
+ dataType: "json";
380
+ columnType: "PgJsonb";
381
+ data: Record<string, unknown>;
382
+ driverParam: unknown;
383
+ notNull: false;
384
+ hasDefault: false;
385
+ isPrimaryKey: false;
386
+ isAutoincrement: false;
387
+ hasRuntimeDefault: false;
388
+ enumValues: undefined;
389
+ baseColumn: never;
390
+ identity: undefined;
391
+ generated: undefined;
392
+ }, {}, {
393
+ $type: Record<string, unknown>;
394
+ }>;
395
+ createdAt: import("drizzle-orm/pg-core").PgColumn<{
396
+ name: "created_at";
397
+ tableName: "person_relationships";
398
+ dataType: "date";
399
+ columnType: "PgTimestamp";
400
+ data: Date;
401
+ driverParam: string;
402
+ notNull: true;
403
+ hasDefault: true;
404
+ isPrimaryKey: false;
405
+ isAutoincrement: false;
406
+ hasRuntimeDefault: false;
407
+ enumValues: undefined;
408
+ baseColumn: never;
409
+ identity: undefined;
410
+ generated: undefined;
411
+ }, {}, {}>;
412
+ updatedAt: import("drizzle-orm/pg-core").PgColumn<{
413
+ name: "updated_at";
414
+ tableName: "person_relationships";
415
+ dataType: "date";
416
+ columnType: "PgTimestamp";
417
+ data: Date;
418
+ driverParam: string;
419
+ notNull: true;
420
+ hasDefault: true;
421
+ isPrimaryKey: false;
422
+ isAutoincrement: false;
423
+ hasRuntimeDefault: false;
424
+ enumValues: undefined;
425
+ baseColumn: never;
426
+ identity: undefined;
427
+ generated: undefined;
428
+ }, {}, {}>;
429
+ }>, "where" | "orderBy" | "limit" | "offset">;
430
+ getPersonRelationship(db: import("drizzle-orm/postgres-js").PostgresJsDatabase, id: string): Promise<{
431
+ id: string;
432
+ fromPersonId: string;
433
+ toPersonId: string;
434
+ kind: "partner" | "other" | "spouse" | "parent" | "child" | "sibling" | "guardian" | "ward" | "emergency_contact" | "friend" | "travel_companion";
435
+ inverseKind: "partner" | "other" | "spouse" | "parent" | "child" | "sibling" | "guardian" | "ward" | "emergency_contact" | "friend" | "travel_companion" | null;
436
+ startDate: string | null;
437
+ endDate: string | null;
438
+ isPrimary: boolean;
439
+ notes: string | null;
440
+ metadata: Record<string, unknown> | null;
441
+ createdAt: Date;
442
+ updatedAt: Date;
443
+ } | null>;
444
+ createPersonRelationship(db: import("drizzle-orm/postgres-js").PostgresJsDatabase, fromPersonId: string, data: import("./person-relationships.js").CreatePersonRelationshipInput): Promise<{
445
+ metadata: Record<string, unknown> | null;
446
+ id: string;
447
+ createdAt: Date;
448
+ updatedAt: Date;
449
+ startDate: string | null;
450
+ endDate: string | null;
451
+ notes: string | null;
452
+ kind: "partner" | "other" | "spouse" | "parent" | "child" | "sibling" | "guardian" | "ward" | "emergency_contact" | "friend" | "travel_companion";
453
+ isPrimary: boolean;
454
+ fromPersonId: string;
455
+ toPersonId: string;
456
+ inverseKind: "partner" | "other" | "spouse" | "parent" | "child" | "sibling" | "guardian" | "ward" | "emergency_contact" | "friend" | "travel_companion" | null;
457
+ } | null>;
458
+ updatePersonRelationship(db: import("drizzle-orm/postgres-js").PostgresJsDatabase, id: string, data: import("./person-relationships.js").UpdatePersonRelationshipInput): Promise<{
459
+ id: string;
460
+ fromPersonId: string;
461
+ toPersonId: string;
462
+ kind: "partner" | "other" | "spouse" | "parent" | "child" | "sibling" | "guardian" | "ward" | "emergency_contact" | "friend" | "travel_companion";
463
+ inverseKind: "partner" | "other" | "spouse" | "parent" | "child" | "sibling" | "guardian" | "ward" | "emergency_contact" | "friend" | "travel_companion" | null;
464
+ startDate: string | null;
465
+ endDate: string | null;
466
+ isPrimary: boolean;
467
+ notes: string | null;
468
+ metadata: Record<string, unknown> | null;
469
+ createdAt: Date;
470
+ updatedAt: Date;
471
+ } | null>;
472
+ deletePersonRelationship(db: import("drizzle-orm/postgres-js").PostgresJsDatabase, id: string): Promise<{
473
+ id: string;
474
+ } | null>;
2
475
  listPersonDocuments(db: import("drizzle-orm/postgres-js").PostgresJsDatabase, personId: string, query?: import("./person-documents.js").PersonDocumentListQuery): Omit<import("drizzle-orm/pg-core").PgSelectBase<"person_documents", {
3
476
  id: import("drizzle-orm/pg-core").PgColumn<{
4
477
  name: string;
@@ -4708,4 +5181,6 @@ export declare const crmService: {
4708
5181
  };
4709
5182
  export type { CreatePersonDocumentInput, PersonDocumentListQuery, PersonDocumentType, PersonTravelSnapshot, UpdatePersonDocumentInput, } from "./person-documents.js";
4710
5183
  export { personDocumentNumberPlaintextSchema, personDocumentsService, personPiiBlobPlaintextSchema, } from "./person-documents.js";
5184
+ export type { CreatePersonRelationshipInput, PersonRelationshipKind, PersonRelationshipListQuery, UpdatePersonRelationshipInput, } from "./person-relationships.js";
5185
+ export { personRelationshipsService } from "./person-relationships.js";
4711
5186
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/service/index.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CArB7zM,CAAA;AAED,YAAY,EACV,yBAAyB,EACzB,uBAAuB,EACvB,kBAAkB,EAClB,oBAAoB,EACpB,yBAAyB,GAC1B,MAAM,uBAAuB,CAAA;AAC9B,OAAO,EACL,mCAAmC,EACnC,sBAAsB,EACtB,4BAA4B,GAC7B,MAAM,uBAAuB,CAAA;AAC9B,YAAY,EACV,6BAA6B,EAC7B,sBAAsB,EACtB,2BAA2B,EAC3B,6BAA6B,GAC9B,MAAM,2BAA2B,CAAA;AAClC,OAAO,EAAE,0BAA0B,EAAE,MAAM,2BAA2B,CAAA"}
@@ -3,6 +3,7 @@ import { activitiesService } from "./activities.js";
3
3
  import { customFieldsService } from "./custom-fields.js";
4
4
  import { opportunitiesService } from "./opportunities.js";
5
5
  import { personDocumentsService } from "./person-documents.js";
6
+ import { personRelationshipsService } from "./person-relationships.js";
6
7
  import { pipelinesService } from "./pipelines.js";
7
8
  import { quotesService } from "./quotes.js";
8
9
  export const crmService = {
@@ -13,5 +14,7 @@ export const crmService = {
13
14
  ...activitiesService,
14
15
  ...customFieldsService,
15
16
  ...personDocumentsService,
17
+ ...personRelationshipsService,
16
18
  };
17
19
  export { personDocumentNumberPlaintextSchema, personDocumentsService, personPiiBlobPlaintextSchema, } from "./person-documents.js";
20
+ export { personRelationshipsService } from "./person-relationships.js";