@voyant-travel/identity 0.119.1 → 0.120.1
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.
- package/dist/routes.d.ts +62 -62
- package/dist/schema.d.ts +3 -3
- package/dist/service.d.ts +20 -20
- package/package.json +4 -4
package/dist/routes.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ export declare const identityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
14
14
|
id: string;
|
|
15
15
|
entityType: string;
|
|
16
16
|
entityId: string;
|
|
17
|
-
role: "
|
|
17
|
+
role: "primary" | "other" | "legal" | "operations" | "general" | "reservations" | "front_desk" | "sales" | "emergency" | "accounting";
|
|
18
18
|
name: string;
|
|
19
19
|
title: string | null;
|
|
20
20
|
email: string | null;
|
|
@@ -41,21 +41,21 @@ export declare const identityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
41
41
|
input: {};
|
|
42
42
|
output: {
|
|
43
43
|
data: {
|
|
44
|
-
entityType: string;
|
|
45
|
-
entityId: string;
|
|
46
|
-
email: string | null;
|
|
47
|
-
phone: string | null;
|
|
48
|
-
isPrimary: boolean;
|
|
49
|
-
notes: string | null;
|
|
50
44
|
metadata: {
|
|
51
45
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
52
46
|
} | null;
|
|
53
|
-
role: "other" | "primary" | "legal" | "general" | "reservations" | "operations" | "front_desk" | "sales" | "emergency" | "accounting";
|
|
54
|
-
name: string;
|
|
55
|
-
title: string | null;
|
|
56
47
|
id: string;
|
|
48
|
+
name: string;
|
|
57
49
|
createdAt: string;
|
|
58
50
|
updatedAt: string;
|
|
51
|
+
email: string | null;
|
|
52
|
+
role: "primary" | "other" | "legal" | "operations" | "general" | "reservations" | "front_desk" | "sales" | "emergency" | "accounting";
|
|
53
|
+
notes: string | null;
|
|
54
|
+
phone: string | null;
|
|
55
|
+
entityType: string;
|
|
56
|
+
entityId: string;
|
|
57
|
+
isPrimary: boolean;
|
|
58
|
+
title: string | null;
|
|
59
59
|
} | null;
|
|
60
60
|
};
|
|
61
61
|
outputFormat: "json";
|
|
@@ -86,7 +86,7 @@ export declare const identityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
86
86
|
id: string;
|
|
87
87
|
entityType: string;
|
|
88
88
|
entityId: string;
|
|
89
|
-
role: "
|
|
89
|
+
role: "primary" | "other" | "legal" | "operations" | "general" | "reservations" | "front_desk" | "sales" | "emergency" | "accounting";
|
|
90
90
|
name: string;
|
|
91
91
|
title: string | null;
|
|
92
92
|
email: string | null;
|
|
@@ -128,7 +128,7 @@ export declare const identityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
128
128
|
id: string;
|
|
129
129
|
entityType: string;
|
|
130
130
|
entityId: string;
|
|
131
|
-
role: "
|
|
131
|
+
role: "primary" | "other" | "legal" | "operations" | "general" | "reservations" | "front_desk" | "sales" | "emergency" | "accounting";
|
|
132
132
|
name: string;
|
|
133
133
|
title: string | null;
|
|
134
134
|
email: string | null;
|
|
@@ -181,7 +181,7 @@ export declare const identityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
181
181
|
id: string;
|
|
182
182
|
entityType: string;
|
|
183
183
|
entityId: string;
|
|
184
|
-
kind: "email" | "phone" | "mobile" | "whatsapp" | "website" | "sms" | "fax" | "social"
|
|
184
|
+
kind: "email" | "other" | "phone" | "mobile" | "whatsapp" | "website" | "sms" | "fax" | "social";
|
|
185
185
|
label: string | null;
|
|
186
186
|
value: string;
|
|
187
187
|
normalizedValue: string | null;
|
|
@@ -208,19 +208,19 @@ export declare const identityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
208
208
|
output: {
|
|
209
209
|
data: {
|
|
210
210
|
value: string;
|
|
211
|
-
entityType: string;
|
|
212
|
-
entityId: string;
|
|
213
|
-
kind: "email" | "phone" | "mobile" | "whatsapp" | "website" | "sms" | "fax" | "social" | "other";
|
|
214
|
-
isPrimary: boolean;
|
|
215
|
-
label: string | null;
|
|
216
|
-
normalizedValue: string | null;
|
|
217
|
-
notes: string | null;
|
|
218
211
|
metadata: {
|
|
219
212
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
220
213
|
} | null;
|
|
221
214
|
id: string;
|
|
222
215
|
createdAt: string;
|
|
223
216
|
updatedAt: string;
|
|
217
|
+
notes: string | null;
|
|
218
|
+
kind: "email" | "other" | "phone" | "mobile" | "whatsapp" | "website" | "sms" | "fax" | "social";
|
|
219
|
+
entityType: string;
|
|
220
|
+
entityId: string;
|
|
221
|
+
label: string | null;
|
|
222
|
+
normalizedValue: string | null;
|
|
223
|
+
isPrimary: boolean;
|
|
224
224
|
} | null;
|
|
225
225
|
};
|
|
226
226
|
outputFormat: "json";
|
|
@@ -251,7 +251,7 @@ export declare const identityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
251
251
|
id: string;
|
|
252
252
|
entityType: string;
|
|
253
253
|
entityId: string;
|
|
254
|
-
kind: "email" | "phone" | "mobile" | "whatsapp" | "website" | "sms" | "fax" | "social"
|
|
254
|
+
kind: "email" | "other" | "phone" | "mobile" | "whatsapp" | "website" | "sms" | "fax" | "social";
|
|
255
255
|
label: string | null;
|
|
256
256
|
value: string;
|
|
257
257
|
normalizedValue: string | null;
|
|
@@ -292,7 +292,7 @@ export declare const identityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
292
292
|
id: string;
|
|
293
293
|
entityType: string;
|
|
294
294
|
entityId: string;
|
|
295
|
-
kind: "email" | "phone" | "mobile" | "whatsapp" | "website" | "sms" | "fax" | "social"
|
|
295
|
+
kind: "email" | "other" | "phone" | "mobile" | "whatsapp" | "website" | "sms" | "fax" | "social";
|
|
296
296
|
label: string | null;
|
|
297
297
|
value: string;
|
|
298
298
|
normalizedValue: string | null;
|
|
@@ -344,7 +344,7 @@ export declare const identityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
344
344
|
id: string;
|
|
345
345
|
entityType: string;
|
|
346
346
|
entityId: string;
|
|
347
|
-
label: "
|
|
347
|
+
label: "service" | "primary" | "other" | "legal" | "billing" | "shipping" | "mailing" | "meeting";
|
|
348
348
|
fullText: string | null;
|
|
349
349
|
line1: string | null;
|
|
350
350
|
line2: string | null;
|
|
@@ -377,14 +377,18 @@ export declare const identityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
377
377
|
input: {};
|
|
378
378
|
output: {
|
|
379
379
|
data: {
|
|
380
|
-
entityType: string;
|
|
381
|
-
entityId: string;
|
|
382
|
-
isPrimary: boolean;
|
|
383
|
-
label: "other" | "primary" | "billing" | "shipping" | "mailing" | "meeting" | "service" | "legal";
|
|
384
|
-
notes: string | null;
|
|
385
380
|
metadata: {
|
|
386
381
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
387
382
|
} | null;
|
|
383
|
+
id: string;
|
|
384
|
+
createdAt: string;
|
|
385
|
+
updatedAt: string;
|
|
386
|
+
notes: string | null;
|
|
387
|
+
timezone: string | null;
|
|
388
|
+
entityType: string;
|
|
389
|
+
entityId: string;
|
|
390
|
+
label: "service" | "primary" | "other" | "legal" | "billing" | "shipping" | "mailing" | "meeting";
|
|
391
|
+
isPrimary: boolean;
|
|
388
392
|
fullText: string | null;
|
|
389
393
|
line1: string | null;
|
|
390
394
|
line2: string | null;
|
|
@@ -394,10 +398,6 @@ export declare const identityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
394
398
|
country: string | null;
|
|
395
399
|
latitude: number | null;
|
|
396
400
|
longitude: number | null;
|
|
397
|
-
timezone: string | null;
|
|
398
|
-
id: string;
|
|
399
|
-
createdAt: string;
|
|
400
|
-
updatedAt: string;
|
|
401
401
|
} | null;
|
|
402
402
|
};
|
|
403
403
|
outputFormat: "json";
|
|
@@ -428,7 +428,7 @@ export declare const identityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
428
428
|
id: string;
|
|
429
429
|
entityType: string;
|
|
430
430
|
entityId: string;
|
|
431
|
-
label: "
|
|
431
|
+
label: "service" | "primary" | "other" | "legal" | "billing" | "shipping" | "mailing" | "meeting";
|
|
432
432
|
fullText: string | null;
|
|
433
433
|
line1: string | null;
|
|
434
434
|
line2: string | null;
|
|
@@ -476,7 +476,7 @@ export declare const identityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
476
476
|
id: string;
|
|
477
477
|
entityType: string;
|
|
478
478
|
entityId: string;
|
|
479
|
-
label: "
|
|
479
|
+
label: "service" | "primary" | "other" | "legal" | "billing" | "shipping" | "mailing" | "meeting";
|
|
480
480
|
fullText: string | null;
|
|
481
481
|
line1: string | null;
|
|
482
482
|
line2: string | null;
|
|
@@ -541,7 +541,7 @@ export declare const identityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
541
541
|
id: string;
|
|
542
542
|
entityType: string;
|
|
543
543
|
entityId: string;
|
|
544
|
-
kind: "email" | "phone" | "mobile" | "whatsapp" | "website" | "sms" | "fax" | "social"
|
|
544
|
+
kind: "email" | "other" | "phone" | "mobile" | "whatsapp" | "website" | "sms" | "fax" | "social";
|
|
545
545
|
label: string | null;
|
|
546
546
|
value: string;
|
|
547
547
|
normalizedValue: string | null;
|
|
@@ -571,19 +571,19 @@ export declare const identityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
571
571
|
output: {
|
|
572
572
|
data: {
|
|
573
573
|
value: string;
|
|
574
|
-
entityType: string;
|
|
575
|
-
entityId: string;
|
|
576
|
-
kind: "email" | "phone" | "mobile" | "whatsapp" | "website" | "sms" | "fax" | "social" | "other";
|
|
577
|
-
isPrimary: boolean;
|
|
578
|
-
label: string | null;
|
|
579
|
-
normalizedValue: string | null;
|
|
580
|
-
notes: string | null;
|
|
581
574
|
metadata: {
|
|
582
575
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
583
576
|
} | null;
|
|
584
577
|
id: string;
|
|
585
578
|
createdAt: string;
|
|
586
579
|
updatedAt: string;
|
|
580
|
+
notes: string | null;
|
|
581
|
+
kind: "email" | "other" | "phone" | "mobile" | "whatsapp" | "website" | "sms" | "fax" | "social";
|
|
582
|
+
entityType: string;
|
|
583
|
+
entityId: string;
|
|
584
|
+
label: string | null;
|
|
585
|
+
normalizedValue: string | null;
|
|
586
|
+
isPrimary: boolean;
|
|
587
587
|
} | null;
|
|
588
588
|
};
|
|
589
589
|
outputFormat: "json";
|
|
@@ -605,7 +605,7 @@ export declare const identityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
605
605
|
id: string;
|
|
606
606
|
entityType: string;
|
|
607
607
|
entityId: string;
|
|
608
|
-
label: "
|
|
608
|
+
label: "service" | "primary" | "other" | "legal" | "billing" | "shipping" | "mailing" | "meeting";
|
|
609
609
|
fullText: string | null;
|
|
610
610
|
line1: string | null;
|
|
611
611
|
line2: string | null;
|
|
@@ -641,14 +641,18 @@ export declare const identityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
641
641
|
};
|
|
642
642
|
output: {
|
|
643
643
|
data: {
|
|
644
|
-
entityType: string;
|
|
645
|
-
entityId: string;
|
|
646
|
-
isPrimary: boolean;
|
|
647
|
-
label: "other" | "primary" | "billing" | "shipping" | "mailing" | "meeting" | "service" | "legal";
|
|
648
|
-
notes: string | null;
|
|
649
644
|
metadata: {
|
|
650
645
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
651
646
|
} | null;
|
|
647
|
+
id: string;
|
|
648
|
+
createdAt: string;
|
|
649
|
+
updatedAt: string;
|
|
650
|
+
notes: string | null;
|
|
651
|
+
timezone: string | null;
|
|
652
|
+
entityType: string;
|
|
653
|
+
entityId: string;
|
|
654
|
+
label: "service" | "primary" | "other" | "legal" | "billing" | "shipping" | "mailing" | "meeting";
|
|
655
|
+
isPrimary: boolean;
|
|
652
656
|
fullText: string | null;
|
|
653
657
|
line1: string | null;
|
|
654
658
|
line2: string | null;
|
|
@@ -658,10 +662,6 @@ export declare const identityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
658
662
|
country: string | null;
|
|
659
663
|
latitude: number | null;
|
|
660
664
|
longitude: number | null;
|
|
661
|
-
timezone: string | null;
|
|
662
|
-
id: string;
|
|
663
|
-
createdAt: string;
|
|
664
|
-
updatedAt: string;
|
|
665
665
|
} | null;
|
|
666
666
|
};
|
|
667
667
|
outputFormat: "json";
|
|
@@ -683,7 +683,7 @@ export declare const identityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
683
683
|
id: string;
|
|
684
684
|
entityType: string;
|
|
685
685
|
entityId: string;
|
|
686
|
-
role: "
|
|
686
|
+
role: "primary" | "other" | "legal" | "operations" | "general" | "reservations" | "front_desk" | "sales" | "emergency" | "accounting";
|
|
687
687
|
name: string;
|
|
688
688
|
title: string | null;
|
|
689
689
|
email: string | null;
|
|
@@ -713,21 +713,21 @@ export declare const identityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
713
713
|
};
|
|
714
714
|
output: {
|
|
715
715
|
data: {
|
|
716
|
-
entityType: string;
|
|
717
|
-
entityId: string;
|
|
718
|
-
email: string | null;
|
|
719
|
-
phone: string | null;
|
|
720
|
-
isPrimary: boolean;
|
|
721
|
-
notes: string | null;
|
|
722
716
|
metadata: {
|
|
723
717
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
724
718
|
} | null;
|
|
725
|
-
role: "other" | "primary" | "legal" | "general" | "reservations" | "operations" | "front_desk" | "sales" | "emergency" | "accounting";
|
|
726
|
-
name: string;
|
|
727
|
-
title: string | null;
|
|
728
719
|
id: string;
|
|
720
|
+
name: string;
|
|
729
721
|
createdAt: string;
|
|
730
722
|
updatedAt: string;
|
|
723
|
+
email: string | null;
|
|
724
|
+
role: "primary" | "other" | "legal" | "operations" | "general" | "reservations" | "front_desk" | "sales" | "emergency" | "accounting";
|
|
725
|
+
notes: string | null;
|
|
726
|
+
phone: string | null;
|
|
727
|
+
entityType: string;
|
|
728
|
+
entityId: string;
|
|
729
|
+
isPrimary: boolean;
|
|
730
|
+
title: string | null;
|
|
731
731
|
} | null;
|
|
732
732
|
};
|
|
733
733
|
outputFormat: "json";
|
package/dist/schema.d.ts
CHANGED
|
@@ -61,7 +61,7 @@ export declare const identityContactPoints: import("drizzle-orm/pg-core").PgTabl
|
|
|
61
61
|
tableName: "identity_contact_points";
|
|
62
62
|
dataType: "string";
|
|
63
63
|
columnType: "PgEnumColumn";
|
|
64
|
-
data: "
|
|
64
|
+
data: "email" | "other" | "phone" | "mobile" | "whatsapp" | "website" | "sms" | "fax" | "social";
|
|
65
65
|
driverParam: string;
|
|
66
66
|
notNull: true;
|
|
67
67
|
hasDefault: false;
|
|
@@ -274,7 +274,7 @@ export declare const identityAddresses: import("drizzle-orm/pg-core").PgTableWit
|
|
|
274
274
|
tableName: "identity_addresses";
|
|
275
275
|
dataType: "string";
|
|
276
276
|
columnType: "PgEnumColumn";
|
|
277
|
-
data: "service" | "primary" | "other" | "
|
|
277
|
+
data: "service" | "primary" | "other" | "legal" | "billing" | "shipping" | "mailing" | "meeting";
|
|
278
278
|
driverParam: string;
|
|
279
279
|
notNull: true;
|
|
280
280
|
hasDefault: true;
|
|
@@ -606,7 +606,7 @@ export declare const identityNamedContacts: import("drizzle-orm/pg-core").PgTabl
|
|
|
606
606
|
tableName: "identity_named_contacts";
|
|
607
607
|
dataType: "string";
|
|
608
608
|
columnType: "PgEnumColumn";
|
|
609
|
-
data: "primary" | "other" | "
|
|
609
|
+
data: "primary" | "other" | "legal" | "operations" | "general" | "reservations" | "front_desk" | "sales" | "emergency" | "accounting";
|
|
610
610
|
driverParam: string;
|
|
611
611
|
notNull: true;
|
|
612
612
|
hasDefault: true;
|
package/dist/service.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ export declare const identityService: {
|
|
|
16
16
|
id: string;
|
|
17
17
|
entityType: string;
|
|
18
18
|
entityId: string;
|
|
19
|
-
kind: "
|
|
19
|
+
kind: "email" | "other" | "phone" | "mobile" | "whatsapp" | "website" | "sms" | "fax" | "social";
|
|
20
20
|
label: string | null;
|
|
21
21
|
value: string;
|
|
22
22
|
normalizedValue: string | null;
|
|
@@ -34,7 +34,7 @@ export declare const identityService: {
|
|
|
34
34
|
id: string;
|
|
35
35
|
entityType: string;
|
|
36
36
|
entityId: string;
|
|
37
|
-
kind: "
|
|
37
|
+
kind: "email" | "other" | "phone" | "mobile" | "whatsapp" | "website" | "sms" | "fax" | "social";
|
|
38
38
|
label: string | null;
|
|
39
39
|
value: string;
|
|
40
40
|
normalizedValue: string | null;
|
|
@@ -48,7 +48,7 @@ export declare const identityService: {
|
|
|
48
48
|
id: string;
|
|
49
49
|
entityType: string;
|
|
50
50
|
entityId: string;
|
|
51
|
-
kind: "
|
|
51
|
+
kind: "email" | "other" | "phone" | "mobile" | "whatsapp" | "website" | "sms" | "fax" | "social";
|
|
52
52
|
label: string | null;
|
|
53
53
|
value: string;
|
|
54
54
|
normalizedValue: string | null;
|
|
@@ -63,11 +63,11 @@ export declare const identityService: {
|
|
|
63
63
|
metadata: Record<string, unknown> | null;
|
|
64
64
|
id: string;
|
|
65
65
|
createdAt: Date;
|
|
66
|
-
notes: string | null;
|
|
67
66
|
updatedAt: Date;
|
|
67
|
+
notes: string | null;
|
|
68
|
+
kind: "email" | "other" | "phone" | "mobile" | "whatsapp" | "website" | "sms" | "fax" | "social";
|
|
68
69
|
entityType: string;
|
|
69
70
|
entityId: string;
|
|
70
|
-
kind: "other" | "email" | "phone" | "mobile" | "whatsapp" | "website" | "sms" | "fax" | "social";
|
|
71
71
|
label: string | null;
|
|
72
72
|
normalizedValue: string | null;
|
|
73
73
|
isPrimary: boolean;
|
|
@@ -76,7 +76,7 @@ export declare const identityService: {
|
|
|
76
76
|
id: string;
|
|
77
77
|
entityType: string;
|
|
78
78
|
entityId: string;
|
|
79
|
-
kind: "
|
|
79
|
+
kind: "email" | "other" | "phone" | "mobile" | "whatsapp" | "website" | "sms" | "fax" | "social";
|
|
80
80
|
label: string | null;
|
|
81
81
|
value: string;
|
|
82
82
|
normalizedValue: string | null;
|
|
@@ -94,7 +94,7 @@ export declare const identityService: {
|
|
|
94
94
|
id: string;
|
|
95
95
|
entityType: string;
|
|
96
96
|
entityId: string;
|
|
97
|
-
label: "service" | "primary" | "other" | "
|
|
97
|
+
label: "service" | "primary" | "other" | "legal" | "billing" | "shipping" | "mailing" | "meeting";
|
|
98
98
|
fullText: string | null;
|
|
99
99
|
line1: string | null;
|
|
100
100
|
line2: string | null;
|
|
@@ -119,7 +119,7 @@ export declare const identityService: {
|
|
|
119
119
|
id: string;
|
|
120
120
|
entityType: string;
|
|
121
121
|
entityId: string;
|
|
122
|
-
label: "service" | "primary" | "other" | "
|
|
122
|
+
label: "service" | "primary" | "other" | "legal" | "billing" | "shipping" | "mailing" | "meeting";
|
|
123
123
|
fullText: string | null;
|
|
124
124
|
line1: string | null;
|
|
125
125
|
line2: string | null;
|
|
@@ -140,7 +140,7 @@ export declare const identityService: {
|
|
|
140
140
|
id: string;
|
|
141
141
|
entityType: string;
|
|
142
142
|
entityId: string;
|
|
143
|
-
label: "service" | "primary" | "other" | "
|
|
143
|
+
label: "service" | "primary" | "other" | "legal" | "billing" | "shipping" | "mailing" | "meeting";
|
|
144
144
|
fullText: string | null;
|
|
145
145
|
line1: string | null;
|
|
146
146
|
line2: string | null;
|
|
@@ -161,11 +161,12 @@ export declare const identityService: {
|
|
|
161
161
|
metadata: Record<string, unknown> | null;
|
|
162
162
|
id: string;
|
|
163
163
|
createdAt: Date;
|
|
164
|
-
notes: string | null;
|
|
165
164
|
updatedAt: Date;
|
|
165
|
+
notes: string | null;
|
|
166
|
+
timezone: string | null;
|
|
166
167
|
entityType: string;
|
|
167
168
|
entityId: string;
|
|
168
|
-
label: "service" | "primary" | "other" | "
|
|
169
|
+
label: "service" | "primary" | "other" | "legal" | "billing" | "shipping" | "mailing" | "meeting";
|
|
169
170
|
isPrimary: boolean;
|
|
170
171
|
fullText: string | null;
|
|
171
172
|
line1: string | null;
|
|
@@ -176,13 +177,12 @@ export declare const identityService: {
|
|
|
176
177
|
country: string | null;
|
|
177
178
|
latitude: number | null;
|
|
178
179
|
longitude: number | null;
|
|
179
|
-
timezone: string | null;
|
|
180
180
|
} | null>;
|
|
181
181
|
updateAddress(db: PostgresJsDatabase, id: string, data: UpdateAddressInput): Promise<{
|
|
182
182
|
id: string;
|
|
183
183
|
entityType: string;
|
|
184
184
|
entityId: string;
|
|
185
|
-
label: "service" | "primary" | "other" | "
|
|
185
|
+
label: "service" | "primary" | "other" | "legal" | "billing" | "shipping" | "mailing" | "meeting";
|
|
186
186
|
fullText: string | null;
|
|
187
187
|
line1: string | null;
|
|
188
188
|
line2: string | null;
|
|
@@ -207,7 +207,7 @@ export declare const identityService: {
|
|
|
207
207
|
id: string;
|
|
208
208
|
entityType: string;
|
|
209
209
|
entityId: string;
|
|
210
|
-
role: "primary" | "other" | "
|
|
210
|
+
role: "primary" | "other" | "legal" | "operations" | "general" | "reservations" | "front_desk" | "sales" | "emergency" | "accounting";
|
|
211
211
|
name: string;
|
|
212
212
|
title: string | null;
|
|
213
213
|
email: string | null;
|
|
@@ -226,7 +226,7 @@ export declare const identityService: {
|
|
|
226
226
|
id: string;
|
|
227
227
|
entityType: string;
|
|
228
228
|
entityId: string;
|
|
229
|
-
role: "primary" | "other" | "
|
|
229
|
+
role: "primary" | "other" | "legal" | "operations" | "general" | "reservations" | "front_desk" | "sales" | "emergency" | "accounting";
|
|
230
230
|
name: string;
|
|
231
231
|
title: string | null;
|
|
232
232
|
email: string | null;
|
|
@@ -241,7 +241,7 @@ export declare const identityService: {
|
|
|
241
241
|
id: string;
|
|
242
242
|
entityType: string;
|
|
243
243
|
entityId: string;
|
|
244
|
-
role: "primary" | "other" | "
|
|
244
|
+
role: "primary" | "other" | "legal" | "operations" | "general" | "reservations" | "front_desk" | "sales" | "emergency" | "accounting";
|
|
245
245
|
name: string;
|
|
246
246
|
title: string | null;
|
|
247
247
|
email: string | null;
|
|
@@ -257,21 +257,21 @@ export declare const identityService: {
|
|
|
257
257
|
id: string;
|
|
258
258
|
name: string;
|
|
259
259
|
createdAt: Date;
|
|
260
|
-
notes: string | null;
|
|
261
|
-
email: string | null;
|
|
262
260
|
updatedAt: Date;
|
|
261
|
+
email: string | null;
|
|
262
|
+
role: "primary" | "other" | "legal" | "operations" | "general" | "reservations" | "front_desk" | "sales" | "emergency" | "accounting";
|
|
263
|
+
notes: string | null;
|
|
263
264
|
phone: string | null;
|
|
264
265
|
entityType: string;
|
|
265
266
|
entityId: string;
|
|
266
267
|
isPrimary: boolean;
|
|
267
|
-
role: "primary" | "other" | "operations" | "legal" | "general" | "reservations" | "front_desk" | "sales" | "emergency" | "accounting";
|
|
268
268
|
title: string | null;
|
|
269
269
|
} | null>;
|
|
270
270
|
updateNamedContact(db: PostgresJsDatabase, id: string, data: UpdateNamedContactInput): Promise<{
|
|
271
271
|
id: string;
|
|
272
272
|
entityType: string;
|
|
273
273
|
entityId: string;
|
|
274
|
-
role: "primary" | "other" | "
|
|
274
|
+
role: "primary" | "other" | "legal" | "operations" | "general" | "reservations" | "front_desk" | "sales" | "emergency" | "accounting";
|
|
275
275
|
name: string;
|
|
276
276
|
title: string | null;
|
|
277
277
|
email: string | null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyant-travel/identity",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.120.1",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -35,9 +35,9 @@
|
|
|
35
35
|
"hono": "^4.12.10",
|
|
36
36
|
"zod": "^4.3.6",
|
|
37
37
|
"@voyant-travel/core": "^0.109.0",
|
|
38
|
-
"@voyant-travel/
|
|
39
|
-
"@voyant-travel/
|
|
40
|
-
"@voyant-travel/
|
|
38
|
+
"@voyant-travel/db": "^0.108.1",
|
|
39
|
+
"@voyant-travel/identity-contracts": "^0.104.2",
|
|
40
|
+
"@voyant-travel/hono": "^0.110.2"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"typescript": "^6.0.2",
|