@voyantjs/identity 0.31.1 → 0.31.2
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 +6 -6
- package/dist/schema.d.ts +1 -1
- package/dist/service.d.ts +5 -5
- package/dist/validation.d.ts +6 -6
- package/package.json +4 -4
package/dist/routes.d.ts
CHANGED
|
@@ -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: "service" | "primary" | "other" | "
|
|
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;
|
|
@@ -387,7 +387,7 @@ export declare const identityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
387
387
|
timezone: string | null;
|
|
388
388
|
entityType: string;
|
|
389
389
|
entityId: string;
|
|
390
|
-
label: "service" | "primary" | "other" | "
|
|
390
|
+
label: "service" | "primary" | "other" | "legal" | "billing" | "shipping" | "mailing" | "meeting";
|
|
391
391
|
isPrimary: boolean;
|
|
392
392
|
fullText: string | null;
|
|
393
393
|
line1: string | null;
|
|
@@ -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: "service" | "primary" | "other" | "
|
|
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: "service" | "primary" | "other" | "
|
|
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;
|
|
@@ -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: "service" | "primary" | "other" | "
|
|
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;
|
|
@@ -651,7 +651,7 @@ export declare const identityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
651
651
|
timezone: string | null;
|
|
652
652
|
entityType: string;
|
|
653
653
|
entityId: string;
|
|
654
|
-
label: "service" | "primary" | "other" | "
|
|
654
|
+
label: "service" | "primary" | "other" | "legal" | "billing" | "shipping" | "mailing" | "meeting";
|
|
655
655
|
isPrimary: boolean;
|
|
656
656
|
fullText: string | null;
|
|
657
657
|
line1: string | null;
|
package/dist/schema.d.ts
CHANGED
|
@@ -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;
|
package/dist/service.d.ts
CHANGED
|
@@ -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;
|
|
@@ -166,7 +166,7 @@ export declare const identityService: {
|
|
|
166
166
|
timezone: string | null;
|
|
167
167
|
entityType: string;
|
|
168
168
|
entityId: string;
|
|
169
|
-
label: "service" | "primary" | "other" | "
|
|
169
|
+
label: "service" | "primary" | "other" | "legal" | "billing" | "shipping" | "mailing" | "meeting";
|
|
170
170
|
isPrimary: boolean;
|
|
171
171
|
fullText: string | null;
|
|
172
172
|
line1: string | null;
|
|
@@ -182,7 +182,7 @@ export declare const identityService: {
|
|
|
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;
|
package/dist/validation.d.ts
CHANGED
|
@@ -14,11 +14,11 @@ export declare const addressLabelSchema: z.ZodEnum<{
|
|
|
14
14
|
service: "service";
|
|
15
15
|
primary: "primary";
|
|
16
16
|
other: "other";
|
|
17
|
+
legal: "legal";
|
|
17
18
|
billing: "billing";
|
|
18
19
|
shipping: "shipping";
|
|
19
20
|
mailing: "mailing";
|
|
20
21
|
meeting: "meeting";
|
|
21
|
-
legal: "legal";
|
|
22
22
|
}>;
|
|
23
23
|
export declare const namedContactRoleSchema: z.ZodEnum<{
|
|
24
24
|
primary: "primary";
|
|
@@ -152,11 +152,11 @@ export declare const insertAddressSchema: z.ZodObject<{
|
|
|
152
152
|
service: "service";
|
|
153
153
|
primary: "primary";
|
|
154
154
|
other: "other";
|
|
155
|
+
legal: "legal";
|
|
155
156
|
billing: "billing";
|
|
156
157
|
shipping: "shipping";
|
|
157
158
|
mailing: "mailing";
|
|
158
159
|
meeting: "meeting";
|
|
159
|
-
legal: "legal";
|
|
160
160
|
}>>;
|
|
161
161
|
fullText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
162
162
|
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -179,11 +179,11 @@ export declare const updateAddressSchema: z.ZodObject<{
|
|
|
179
179
|
service: "service";
|
|
180
180
|
primary: "primary";
|
|
181
181
|
other: "other";
|
|
182
|
+
legal: "legal";
|
|
182
183
|
billing: "billing";
|
|
183
184
|
shipping: "shipping";
|
|
184
185
|
mailing: "mailing";
|
|
185
186
|
meeting: "meeting";
|
|
186
|
-
legal: "legal";
|
|
187
187
|
}>>>;
|
|
188
188
|
fullText: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
189
189
|
line1: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -207,11 +207,11 @@ export declare const insertAddressForEntitySchema: z.ZodObject<{
|
|
|
207
207
|
service: "service";
|
|
208
208
|
primary: "primary";
|
|
209
209
|
other: "other";
|
|
210
|
+
legal: "legal";
|
|
210
211
|
billing: "billing";
|
|
211
212
|
shipping: "shipping";
|
|
212
213
|
mailing: "mailing";
|
|
213
214
|
meeting: "meeting";
|
|
214
|
-
legal: "legal";
|
|
215
215
|
}>>;
|
|
216
216
|
isPrimary: z.ZodDefault<z.ZodBoolean>;
|
|
217
217
|
fullText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -233,11 +233,11 @@ export declare const addressListQuerySchema: z.ZodObject<{
|
|
|
233
233
|
service: "service";
|
|
234
234
|
primary: "primary";
|
|
235
235
|
other: "other";
|
|
236
|
+
legal: "legal";
|
|
236
237
|
billing: "billing";
|
|
237
238
|
shipping: "shipping";
|
|
238
239
|
mailing: "mailing";
|
|
239
240
|
meeting: "meeting";
|
|
240
|
-
legal: "legal";
|
|
241
241
|
}>>;
|
|
242
242
|
isPrimary: z.ZodOptional<z.ZodPipe<z.ZodEnum<{
|
|
243
243
|
0: "0";
|
|
@@ -254,11 +254,11 @@ export declare const selectAddressSchema: z.ZodObject<{
|
|
|
254
254
|
service: "service";
|
|
255
255
|
primary: "primary";
|
|
256
256
|
other: "other";
|
|
257
|
+
legal: "legal";
|
|
257
258
|
billing: "billing";
|
|
258
259
|
shipping: "shipping";
|
|
259
260
|
mailing: "mailing";
|
|
260
261
|
meeting: "meeting";
|
|
261
|
-
legal: "legal";
|
|
262
262
|
}>>;
|
|
263
263
|
fullText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
264
264
|
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyantjs/identity",
|
|
3
|
-
"version": "0.31.
|
|
3
|
+
"version": "0.31.2",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -34,9 +34,9 @@
|
|
|
34
34
|
"drizzle-orm": "^0.45.2",
|
|
35
35
|
"hono": "^4.12.10",
|
|
36
36
|
"zod": "^4.3.6",
|
|
37
|
-
"@voyantjs/core": "0.31.
|
|
38
|
-
"@voyantjs/db": "0.31.
|
|
39
|
-
"@voyantjs/hono": "0.31.
|
|
37
|
+
"@voyantjs/core": "0.31.2",
|
|
38
|
+
"@voyantjs/db": "0.31.2",
|
|
39
|
+
"@voyantjs/hono": "0.31.2"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"typescript": "^6.0.2",
|