@voyantjs/crm 0.31.1 → 0.31.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.
@@ -261,7 +261,7 @@ export declare const accountRoutes: import("hono/hono-base").HonoBase<Env, {
261
261
  id: string;
262
262
  entityType: string;
263
263
  entityId: string;
264
- label: "service" | "primary" | "other" | "billing" | "shipping" | "mailing" | "meeting" | "legal";
264
+ label: "service" | "primary" | "other" | "legal" | "billing" | "shipping" | "mailing" | "meeting";
265
265
  fullText: string | null;
266
266
  line1: string | null;
267
267
  line2: string | null;
@@ -306,7 +306,7 @@ export declare const accountRoutes: import("hono/hono-base").HonoBase<Env, {
306
306
  region: string | null;
307
307
  entityType: string;
308
308
  entityId: string;
309
- label: "service" | "primary" | "other" | "billing" | "shipping" | "mailing" | "meeting" | "legal";
309
+ label: "service" | "primary" | "other" | "legal" | "billing" | "shipping" | "mailing" | "meeting";
310
310
  isPrimary: boolean;
311
311
  fullText: string | null;
312
312
  line1: string | null;
@@ -753,7 +753,7 @@ export declare const accountRoutes: import("hono/hono-base").HonoBase<Env, {
753
753
  id: string;
754
754
  entityType: string;
755
755
  entityId: string;
756
- label: "service" | "primary" | "other" | "billing" | "shipping" | "mailing" | "meeting" | "legal";
756
+ label: "service" | "primary" | "other" | "legal" | "billing" | "shipping" | "mailing" | "meeting";
757
757
  fullText: string | null;
758
758
  line1: string | null;
759
759
  line2: string | null;
@@ -798,7 +798,7 @@ export declare const accountRoutes: import("hono/hono-base").HonoBase<Env, {
798
798
  region: string | null;
799
799
  entityType: string;
800
800
  entityId: string;
801
- label: "service" | "primary" | "other" | "billing" | "shipping" | "mailing" | "meeting" | "legal";
801
+ label: "service" | "primary" | "other" | "legal" | "billing" | "shipping" | "mailing" | "meeting";
802
802
  isPrimary: boolean;
803
803
  fullText: string | null;
804
804
  line1: string | null;
@@ -1300,7 +1300,7 @@ export declare const accountRoutes: import("hono/hono-base").HonoBase<Env, {
1300
1300
  id: string;
1301
1301
  entityType: string;
1302
1302
  entityId: string;
1303
- label: "service" | "primary" | "other" | "billing" | "shipping" | "mailing" | "meeting" | "legal";
1303
+ label: "service" | "primary" | "other" | "legal" | "billing" | "shipping" | "mailing" | "meeting";
1304
1304
  fullText: string | null;
1305
1305
  line1: string | null;
1306
1306
  line2: string | null;
@@ -261,7 +261,7 @@ export declare const crmRoutes: import("hono/hono-base").HonoBase<Env, import("h
261
261
  id: string;
262
262
  entityType: string;
263
263
  entityId: string;
264
- label: "service" | "primary" | "other" | "billing" | "shipping" | "mailing" | "meeting" | "legal";
264
+ label: "service" | "primary" | "other" | "legal" | "billing" | "shipping" | "mailing" | "meeting";
265
265
  fullText: string | null;
266
266
  line1: string | null;
267
267
  line2: string | null;
@@ -306,7 +306,7 @@ export declare const crmRoutes: import("hono/hono-base").HonoBase<Env, import("h
306
306
  region: string | null;
307
307
  entityType: string;
308
308
  entityId: string;
309
- label: "service" | "primary" | "other" | "billing" | "shipping" | "mailing" | "meeting" | "legal";
309
+ label: "service" | "primary" | "other" | "legal" | "billing" | "shipping" | "mailing" | "meeting";
310
310
  isPrimary: boolean;
311
311
  fullText: string | null;
312
312
  line1: string | null;
@@ -753,7 +753,7 @@ export declare const crmRoutes: import("hono/hono-base").HonoBase<Env, import("h
753
753
  id: string;
754
754
  entityType: string;
755
755
  entityId: string;
756
- label: "service" | "primary" | "other" | "billing" | "shipping" | "mailing" | "meeting" | "legal";
756
+ label: "service" | "primary" | "other" | "legal" | "billing" | "shipping" | "mailing" | "meeting";
757
757
  fullText: string | null;
758
758
  line1: string | null;
759
759
  line2: string | null;
@@ -798,7 +798,7 @@ export declare const crmRoutes: import("hono/hono-base").HonoBase<Env, import("h
798
798
  region: string | null;
799
799
  entityType: string;
800
800
  entityId: string;
801
- label: "service" | "primary" | "other" | "billing" | "shipping" | "mailing" | "meeting" | "legal";
801
+ label: "service" | "primary" | "other" | "legal" | "billing" | "shipping" | "mailing" | "meeting";
802
802
  isPrimary: boolean;
803
803
  fullText: string | null;
804
804
  line1: string | null;
@@ -1300,7 +1300,7 @@ export declare const crmRoutes: import("hono/hono-base").HonoBase<Env, import("h
1300
1300
  id: string;
1301
1301
  entityType: string;
1302
1302
  entityId: string;
1303
- label: "service" | "primary" | "other" | "billing" | "shipping" | "mailing" | "meeting" | "legal";
1303
+ label: "service" | "primary" | "other" | "legal" | "billing" | "shipping" | "mailing" | "meeting";
1304
1304
  fullText: string | null;
1305
1305
  line1: string | null;
1306
1306
  line2: string | null;
@@ -2724,7 +2724,7 @@ export declare const crmRoutes: import("hono/hono-base").HonoBase<Env, import("h
2724
2724
  id: string;
2725
2725
  opportunityId: string;
2726
2726
  personId: string;
2727
- role: "other" | "traveler" | "booker" | "decision_maker" | "finance";
2727
+ role: "other" | "finance" | "traveler" | "booker" | "decision_maker";
2728
2728
  isPrimary: boolean;
2729
2729
  createdAt: string;
2730
2730
  }[];
@@ -2745,7 +2745,7 @@ export declare const crmRoutes: import("hono/hono-base").HonoBase<Env, import("h
2745
2745
  data: {
2746
2746
  id: string;
2747
2747
  createdAt: string;
2748
- role: "other" | "traveler" | "booker" | "decision_maker" | "finance";
2748
+ role: "other" | "finance" | "traveler" | "booker" | "decision_maker";
2749
2749
  opportunityId: string;
2750
2750
  isPrimary: boolean;
2751
2751
  personId: string;
@@ -201,7 +201,7 @@ export declare const opportunityRoutes: import("hono/hono-base").HonoBase<Env, {
201
201
  id: string;
202
202
  opportunityId: string;
203
203
  personId: string;
204
- role: "other" | "traveler" | "booker" | "decision_maker" | "finance";
204
+ role: "other" | "finance" | "traveler" | "booker" | "decision_maker";
205
205
  isPrimary: boolean;
206
206
  createdAt: string;
207
207
  }[];
@@ -222,7 +222,7 @@ export declare const opportunityRoutes: import("hono/hono-base").HonoBase<Env, {
222
222
  data: {
223
223
  id: string;
224
224
  createdAt: string;
225
- role: "other" | "traveler" | "booker" | "decision_maker" | "finance";
225
+ role: "other" | "finance" | "traveler" | "booker" | "decision_maker";
226
226
  opportunityId: string;
227
227
  isPrimary: boolean;
228
228
  personId: string;
@@ -693,7 +693,7 @@ export declare const opportunityParticipants: import("drizzle-orm/pg-core").PgTa
693
693
  tableName: "opportunity_participants";
694
694
  dataType: "string";
695
695
  columnType: "PgEnumColumn";
696
- data: "other" | "traveler" | "booker" | "decision_maker" | "finance";
696
+ data: "other" | "finance" | "traveler" | "booker" | "decision_maker";
697
697
  driverParam: string;
698
698
  notNull: true;
699
699
  hasDefault: true;
@@ -195,7 +195,7 @@ export declare const peopleAccountsService: {
195
195
  id: string;
196
196
  entityType: string;
197
197
  entityId: string;
198
- label: "service" | "primary" | "other" | "billing" | "shipping" | "mailing" | "meeting" | "legal";
198
+ label: "service" | "primary" | "other" | "legal" | "billing" | "shipping" | "mailing" | "meeting";
199
199
  fullText: string | null;
200
200
  line1: string | null;
201
201
  line2: string | null;
@@ -222,7 +222,7 @@ export declare const peopleAccountsService: {
222
222
  region: string | null;
223
223
  entityType: string;
224
224
  entityId: string;
225
- label: "service" | "primary" | "other" | "billing" | "shipping" | "mailing" | "meeting" | "legal";
225
+ label: "service" | "primary" | "other" | "legal" | "billing" | "shipping" | "mailing" | "meeting";
226
226
  isPrimary: boolean;
227
227
  fullText: string | null;
228
228
  line1: string | null;
@@ -237,7 +237,7 @@ export declare const peopleAccountsService: {
237
237
  id: string;
238
238
  entityType: string;
239
239
  entityId: string;
240
- label: "service" | "primary" | "other" | "billing" | "shipping" | "mailing" | "meeting" | "legal";
240
+ label: "service" | "primary" | "other" | "legal" | "billing" | "shipping" | "mailing" | "meeting";
241
241
  fullText: string | null;
242
242
  line1: string | null;
243
243
  line2: string | null;
@@ -192,7 +192,7 @@ export declare const accountsService: {
192
192
  id: string;
193
193
  entityType: string;
194
194
  entityId: string;
195
- label: "service" | "primary" | "other" | "billing" | "shipping" | "mailing" | "meeting" | "legal";
195
+ label: "service" | "primary" | "other" | "legal" | "billing" | "shipping" | "mailing" | "meeting";
196
196
  fullText: string | null;
197
197
  line1: string | null;
198
198
  line2: string | null;
@@ -219,7 +219,7 @@ export declare const accountsService: {
219
219
  region: string | null;
220
220
  entityType: string;
221
221
  entityId: string;
222
- label: "service" | "primary" | "other" | "billing" | "shipping" | "mailing" | "meeting" | "legal";
222
+ label: "service" | "primary" | "other" | "legal" | "billing" | "shipping" | "mailing" | "meeting";
223
223
  isPrimary: boolean;
224
224
  fullText: string | null;
225
225
  line1: string | null;
@@ -234,7 +234,7 @@ export declare const accountsService: {
234
234
  id: string;
235
235
  entityType: string;
236
236
  entityId: string;
237
- label: "service" | "primary" | "other" | "billing" | "shipping" | "mailing" | "meeting" | "legal";
237
+ label: "service" | "primary" | "other" | "legal" | "billing" | "shipping" | "mailing" | "meeting";
238
238
  fullText: string | null;
239
239
  line1: string | null;
240
240
  line2: string | null;
@@ -3669,7 +3669,7 @@ export declare const crmService: {
3669
3669
  tableName: "opportunity_participants";
3670
3670
  dataType: "string";
3671
3671
  columnType: "PgEnumColumn";
3672
- data: "other" | "traveler" | "booker" | "decision_maker" | "finance";
3672
+ data: "other" | "finance" | "traveler" | "booker" | "decision_maker";
3673
3673
  driverParam: string;
3674
3674
  notNull: true;
3675
3675
  hasDefault: true;
@@ -3719,7 +3719,7 @@ export declare const crmService: {
3719
3719
  id: string;
3720
3720
  opportunityId: string;
3721
3721
  personId: string;
3722
- role: "other" | "traveler" | "booker" | "decision_maker" | "finance";
3722
+ role: "other" | "finance" | "traveler" | "booker" | "decision_maker";
3723
3723
  isPrimary: boolean;
3724
3724
  createdAt: Date;
3725
3725
  }[], {
@@ -3779,7 +3779,7 @@ export declare const crmService: {
3779
3779
  tableName: "opportunity_participants";
3780
3780
  dataType: "string";
3781
3781
  columnType: "PgEnumColumn";
3782
- data: "other" | "traveler" | "booker" | "decision_maker" | "finance";
3782
+ data: "other" | "finance" | "traveler" | "booker" | "decision_maker";
3783
3783
  driverParam: string;
3784
3784
  notNull: true;
3785
3785
  hasDefault: true;
@@ -3828,12 +3828,12 @@ export declare const crmService: {
3828
3828
  }>, "where" | "orderBy">;
3829
3829
  createOpportunityParticipant(db: import("drizzle-orm/postgres-js").PostgresJsDatabase, opportunityId: string, data: {
3830
3830
  personId: string;
3831
- role: "other" | "traveler" | "booker" | "decision_maker" | "finance";
3831
+ role: "other" | "finance" | "traveler" | "booker" | "decision_maker";
3832
3832
  isPrimary: boolean;
3833
3833
  }): Promise<{
3834
3834
  id: string;
3835
3835
  createdAt: Date;
3836
- role: "other" | "traveler" | "booker" | "decision_maker" | "finance";
3836
+ role: "other" | "finance" | "traveler" | "booker" | "decision_maker";
3837
3837
  opportunityId: string;
3838
3838
  isPrimary: boolean;
3839
3839
  personId: string;
@@ -4680,7 +4680,7 @@ export declare const crmService: {
4680
4680
  id: string;
4681
4681
  entityType: string;
4682
4682
  entityId: string;
4683
- label: "service" | "primary" | "other" | "billing" | "shipping" | "mailing" | "meeting" | "legal";
4683
+ label: "service" | "primary" | "other" | "legal" | "billing" | "shipping" | "mailing" | "meeting";
4684
4684
  fullText: string | null;
4685
4685
  line1: string | null;
4686
4686
  line2: string | null;
@@ -4707,7 +4707,7 @@ export declare const crmService: {
4707
4707
  region: string | null;
4708
4708
  entityType: string;
4709
4709
  entityId: string;
4710
- label: "service" | "primary" | "other" | "billing" | "shipping" | "mailing" | "meeting" | "legal";
4710
+ label: "service" | "primary" | "other" | "legal" | "billing" | "shipping" | "mailing" | "meeting";
4711
4711
  isPrimary: boolean;
4712
4712
  fullText: string | null;
4713
4713
  line1: string | null;
@@ -4722,7 +4722,7 @@ export declare const crmService: {
4722
4722
  id: string;
4723
4723
  entityType: string;
4724
4724
  entityId: string;
4725
- label: "service" | "primary" | "other" | "billing" | "shipping" | "mailing" | "meeting" | "legal";
4725
+ label: "service" | "primary" | "other" | "legal" | "billing" | "shipping" | "mailing" | "meeting";
4726
4726
  fullText: string | null;
4727
4727
  line1: string | null;
4728
4728
  line2: string | null;
@@ -157,7 +157,7 @@ export declare const opportunitiesService: {
157
157
  tableName: "opportunity_participants";
158
158
  dataType: "string";
159
159
  columnType: "PgEnumColumn";
160
- data: "other" | "traveler" | "booker" | "decision_maker" | "finance";
160
+ data: "other" | "finance" | "traveler" | "booker" | "decision_maker";
161
161
  driverParam: string;
162
162
  notNull: true;
163
163
  hasDefault: true;
@@ -207,7 +207,7 @@ export declare const opportunitiesService: {
207
207
  id: string;
208
208
  opportunityId: string;
209
209
  personId: string;
210
- role: "other" | "traveler" | "booker" | "decision_maker" | "finance";
210
+ role: "other" | "finance" | "traveler" | "booker" | "decision_maker";
211
211
  isPrimary: boolean;
212
212
  createdAt: Date;
213
213
  }[], {
@@ -267,7 +267,7 @@ export declare const opportunitiesService: {
267
267
  tableName: "opportunity_participants";
268
268
  dataType: "string";
269
269
  columnType: "PgEnumColumn";
270
- data: "other" | "traveler" | "booker" | "decision_maker" | "finance";
270
+ data: "other" | "finance" | "traveler" | "booker" | "decision_maker";
271
271
  driverParam: string;
272
272
  notNull: true;
273
273
  hasDefault: true;
@@ -317,7 +317,7 @@ export declare const opportunitiesService: {
317
317
  createOpportunityParticipant(db: PostgresJsDatabase, opportunityId: string, data: CreateOpportunityParticipantInput): Promise<{
318
318
  id: string;
319
319
  createdAt: Date;
320
- role: "other" | "traveler" | "booker" | "decision_maker" | "finance";
320
+ role: "other" | "finance" | "traveler" | "booker" | "decision_maker";
321
321
  opportunityId: string;
322
322
  isPrimary: boolean;
323
323
  personId: string;
@@ -58,10 +58,10 @@ export declare const activityStatusSchema: z.ZodEnum<{
58
58
  }>;
59
59
  export declare const participantRoleSchema: z.ZodEnum<{
60
60
  other: "other";
61
+ finance: "finance";
61
62
  traveler: "traveler";
62
63
  booker: "booker";
63
64
  decision_maker: "decision_maker";
64
- finance: "finance";
65
65
  }>;
66
66
  export declare const activityLinkRoleSchema: z.ZodEnum<{
67
67
  primary: "primary";
@@ -539,10 +539,10 @@ export declare const insertOpportunityParticipantSchema: z.ZodObject<{
539
539
  personId: z.ZodString;
540
540
  role: z.ZodDefault<z.ZodEnum<{
541
541
  other: "other";
542
+ finance: "finance";
542
543
  traveler: "traveler";
543
544
  booker: "booker";
544
545
  decision_maker: "decision_maker";
545
- finance: "finance";
546
546
  }>>;
547
547
  isPrimary: z.ZodDefault<z.ZodBoolean>;
548
548
  }, z.core.$strip>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voyantjs/crm",
3
- "version": "0.31.1",
3
+ "version": "0.31.3",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "exports": {
@@ -34,11 +34,11 @@
34
34
  "drizzle-orm": "^0.45.2",
35
35
  "hono": "^4.12.10",
36
36
  "zod": "^4.3.6",
37
- "@voyantjs/core": "0.31.1",
38
- "@voyantjs/db": "0.31.1",
39
- "@voyantjs/hono": "0.31.1",
40
- "@voyantjs/identity": "0.31.1",
41
- "@voyantjs/utils": "0.31.1"
37
+ "@voyantjs/core": "0.31.3",
38
+ "@voyantjs/db": "0.31.3",
39
+ "@voyantjs/hono": "0.31.3",
40
+ "@voyantjs/identity": "0.31.3",
41
+ "@voyantjs/utils": "0.31.3"
42
42
  },
43
43
  "devDependencies": {
44
44
  "typescript": "^6.0.2",