@voyantjs/crm 0.47.0 → 0.49.0

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.
@@ -16,8 +16,8 @@ export declare const customerSignalsService: {
16
16
  productId: string | null;
17
17
  optionUnitId: string | null;
18
18
  kind: "wishlist" | "notify" | "inquiry" | "request_offer" | "referral";
19
- source: "admin" | "form" | "phone" | "website" | "abandoned_cart" | "booking";
20
- status: "lost" | "expired" | "new" | "contacted" | "qualified" | "converted";
19
+ source: "admin" | "form" | "phone" | "abandoned_cart" | "website" | "booking";
20
+ status: "new" | "contacted" | "qualified" | "converted" | "lost" | "expired";
21
21
  priority: string;
22
22
  notes: string | null;
23
23
  tags: string[];
@@ -129,7 +129,7 @@ export declare const customerSignalsService: {
129
129
  tableName: "customer_signals";
130
130
  dataType: "string";
131
131
  columnType: "PgEnumColumn";
132
- data: "admin" | "form" | "phone" | "website" | "abandoned_cart" | "booking";
132
+ data: "admin" | "form" | "phone" | "abandoned_cart" | "website" | "booking";
133
133
  driverParam: string;
134
134
  notNull: true;
135
135
  hasDefault: false;
@@ -146,7 +146,7 @@ export declare const customerSignalsService: {
146
146
  tableName: "customer_signals";
147
147
  dataType: "string";
148
148
  columnType: "PgEnumColumn";
149
- data: "lost" | "expired" | "new" | "contacted" | "qualified" | "converted";
149
+ data: "new" | "contacted" | "qualified" | "converted" | "lost" | "expired";
150
150
  driverParam: string;
151
151
  notNull: true;
152
152
  hasDefault: true;
@@ -338,8 +338,8 @@ export declare const customerSignalsService: {
338
338
  productId: string | null;
339
339
  optionUnitId: string | null;
340
340
  kind: "wishlist" | "notify" | "inquiry" | "request_offer" | "referral";
341
- source: "admin" | "form" | "phone" | "website" | "abandoned_cart" | "booking";
342
- status: "lost" | "expired" | "new" | "contacted" | "qualified" | "converted";
341
+ source: "admin" | "form" | "phone" | "abandoned_cart" | "website" | "booking";
342
+ status: "new" | "contacted" | "qualified" | "converted" | "lost" | "expired";
343
343
  priority: string;
344
344
  notes: string | null;
345
345
  tags: string[];
@@ -441,7 +441,7 @@ export declare const customerSignalsService: {
441
441
  tableName: "customer_signals";
442
442
  dataType: "string";
443
443
  columnType: "PgEnumColumn";
444
- data: "admin" | "form" | "phone" | "website" | "abandoned_cart" | "booking";
444
+ data: "admin" | "form" | "phone" | "abandoned_cart" | "website" | "booking";
445
445
  driverParam: string;
446
446
  notNull: true;
447
447
  hasDefault: false;
@@ -458,7 +458,7 @@ export declare const customerSignalsService: {
458
458
  tableName: "customer_signals";
459
459
  dataType: "string";
460
460
  columnType: "PgEnumColumn";
461
- data: "lost" | "expired" | "new" | "contacted" | "qualified" | "converted";
461
+ data: "new" | "contacted" | "qualified" | "converted" | "lost" | "expired";
462
462
  driverParam: string;
463
463
  notNull: true;
464
464
  hasDefault: true;
@@ -651,8 +651,8 @@ export declare const customerSignalsService: {
651
651
  productId: string | null;
652
652
  optionUnitId: string | null;
653
653
  kind: "wishlist" | "notify" | "inquiry" | "request_offer" | "referral";
654
- source: "admin" | "form" | "phone" | "website" | "abandoned_cart" | "booking";
655
- status: "lost" | "expired" | "new" | "contacted" | "qualified" | "converted";
654
+ source: "admin" | "form" | "phone" | "abandoned_cart" | "website" | "booking";
655
+ status: "new" | "contacted" | "qualified" | "converted" | "lost" | "expired";
656
656
  priority: string;
657
657
  notes: string | null;
658
658
  tags: string[];
@@ -665,12 +665,12 @@ export declare const customerSignalsService: {
665
665
  updatedAt: Date;
666
666
  } | null>;
667
667
  createCustomerSignal(db: PostgresJsDatabase, data: CreateCustomerSignalInput): Promise<{
668
- source: "admin" | "form" | "phone" | "website" | "abandoned_cart" | "booking";
668
+ source: "admin" | "form" | "phone" | "abandoned_cart" | "website" | "booking";
669
669
  metadata: Record<string, unknown> | null;
670
670
  id: string;
671
671
  createdAt: Date;
672
672
  updatedAt: Date;
673
- status: "lost" | "expired" | "new" | "contacted" | "qualified" | "converted";
673
+ status: "new" | "contacted" | "qualified" | "converted" | "lost" | "expired";
674
674
  notes: string | null;
675
675
  kind: "wishlist" | "notify" | "inquiry" | "request_offer" | "referral";
676
676
  tags: string[];
@@ -689,8 +689,8 @@ export declare const customerSignalsService: {
689
689
  productId: string | null;
690
690
  optionUnitId: string | null;
691
691
  kind: "wishlist" | "notify" | "inquiry" | "request_offer" | "referral";
692
- source: "admin" | "form" | "phone" | "website" | "abandoned_cart" | "booking";
693
- status: "lost" | "expired" | "new" | "contacted" | "qualified" | "converted";
692
+ source: "admin" | "form" | "phone" | "abandoned_cart" | "website" | "booking";
693
+ status: "new" | "contacted" | "qualified" | "converted" | "lost" | "expired";
694
694
  priority: string;
695
695
  notes: string | null;
696
696
  tags: string[];
@@ -716,8 +716,8 @@ export declare const customerSignalsService: {
716
716
  productId: string | null;
717
717
  optionUnitId: string | null;
718
718
  kind: "wishlist" | "notify" | "inquiry" | "request_offer" | "referral";
719
- source: "admin" | "form" | "phone" | "website" | "abandoned_cart" | "booking";
720
- status: "lost" | "expired" | "new" | "contacted" | "qualified" | "converted";
719
+ source: "admin" | "form" | "phone" | "abandoned_cart" | "website" | "booking";
720
+ status: "new" | "contacted" | "qualified" | "converted" | "lost" | "expired";
721
721
  priority: string;
722
722
  notes: string | null;
723
723
  tags: string[];
@@ -6,8 +6,8 @@ export declare const crmService: {
6
6
  productId: string | null;
7
7
  optionUnitId: string | null;
8
8
  kind: "wishlist" | "notify" | "inquiry" | "request_offer" | "referral";
9
- source: "admin" | "form" | "phone" | "website" | "abandoned_cart" | "booking";
10
- status: "lost" | "expired" | "new" | "contacted" | "qualified" | "converted";
9
+ source: "admin" | "form" | "phone" | "abandoned_cart" | "website" | "booking";
10
+ status: "new" | "contacted" | "qualified" | "converted" | "lost" | "expired";
11
11
  priority: string;
12
12
  notes: string | null;
13
13
  tags: string[];
@@ -114,7 +114,7 @@ export declare const crmService: {
114
114
  tableName: "customer_signals";
115
115
  dataType: "string";
116
116
  columnType: "PgEnumColumn";
117
- data: "admin" | "form" | "phone" | "website" | "abandoned_cart" | "booking";
117
+ data: "admin" | "form" | "phone" | "abandoned_cart" | "website" | "booking";
118
118
  driverParam: string;
119
119
  notNull: true;
120
120
  hasDefault: false;
@@ -131,7 +131,7 @@ export declare const crmService: {
131
131
  tableName: "customer_signals";
132
132
  dataType: "string";
133
133
  columnType: "PgEnumColumn";
134
- data: "lost" | "expired" | "new" | "contacted" | "qualified" | "converted";
134
+ data: "new" | "contacted" | "qualified" | "converted" | "lost" | "expired";
135
135
  driverParam: string;
136
136
  notNull: true;
137
137
  hasDefault: true;
@@ -323,8 +323,8 @@ export declare const crmService: {
323
323
  productId: string | null;
324
324
  optionUnitId: string | null;
325
325
  kind: "wishlist" | "notify" | "inquiry" | "request_offer" | "referral";
326
- source: "admin" | "form" | "phone" | "website" | "abandoned_cart" | "booking";
327
- status: "lost" | "expired" | "new" | "contacted" | "qualified" | "converted";
326
+ source: "admin" | "form" | "phone" | "abandoned_cart" | "website" | "booking";
327
+ status: "new" | "contacted" | "qualified" | "converted" | "lost" | "expired";
328
328
  priority: string;
329
329
  notes: string | null;
330
330
  tags: string[];
@@ -426,7 +426,7 @@ export declare const crmService: {
426
426
  tableName: "customer_signals";
427
427
  dataType: "string";
428
428
  columnType: "PgEnumColumn";
429
- data: "admin" | "form" | "phone" | "website" | "abandoned_cart" | "booking";
429
+ data: "admin" | "form" | "phone" | "abandoned_cart" | "website" | "booking";
430
430
  driverParam: string;
431
431
  notNull: true;
432
432
  hasDefault: false;
@@ -443,7 +443,7 @@ export declare const crmService: {
443
443
  tableName: "customer_signals";
444
444
  dataType: "string";
445
445
  columnType: "PgEnumColumn";
446
- data: "lost" | "expired" | "new" | "contacted" | "qualified" | "converted";
446
+ data: "new" | "contacted" | "qualified" | "converted" | "lost" | "expired";
447
447
  driverParam: string;
448
448
  notNull: true;
449
449
  hasDefault: true;
@@ -636,8 +636,8 @@ export declare const crmService: {
636
636
  productId: string | null;
637
637
  optionUnitId: string | null;
638
638
  kind: "wishlist" | "notify" | "inquiry" | "request_offer" | "referral";
639
- source: "admin" | "form" | "phone" | "website" | "abandoned_cart" | "booking";
640
- status: "lost" | "expired" | "new" | "contacted" | "qualified" | "converted";
639
+ source: "admin" | "form" | "phone" | "abandoned_cart" | "website" | "booking";
640
+ status: "new" | "contacted" | "qualified" | "converted" | "lost" | "expired";
641
641
  priority: string;
642
642
  notes: string | null;
643
643
  tags: string[];
@@ -650,12 +650,12 @@ export declare const crmService: {
650
650
  updatedAt: Date;
651
651
  } | null>;
652
652
  createCustomerSignal(db: import("drizzle-orm/postgres-js").PostgresJsDatabase, data: import("./customer-signals.js").CreateCustomerSignalInput): Promise<{
653
- source: "admin" | "form" | "phone" | "website" | "abandoned_cart" | "booking";
653
+ source: "admin" | "form" | "phone" | "abandoned_cart" | "website" | "booking";
654
654
  metadata: Record<string, unknown> | null;
655
655
  id: string;
656
656
  createdAt: Date;
657
657
  updatedAt: Date;
658
- status: "lost" | "expired" | "new" | "contacted" | "qualified" | "converted";
658
+ status: "new" | "contacted" | "qualified" | "converted" | "lost" | "expired";
659
659
  notes: string | null;
660
660
  kind: "wishlist" | "notify" | "inquiry" | "request_offer" | "referral";
661
661
  tags: string[];
@@ -674,8 +674,8 @@ export declare const crmService: {
674
674
  productId: string | null;
675
675
  optionUnitId: string | null;
676
676
  kind: "wishlist" | "notify" | "inquiry" | "request_offer" | "referral";
677
- source: "admin" | "form" | "phone" | "website" | "abandoned_cart" | "booking";
678
- status: "lost" | "expired" | "new" | "contacted" | "qualified" | "converted";
677
+ source: "admin" | "form" | "phone" | "abandoned_cart" | "website" | "booking";
678
+ status: "new" | "contacted" | "qualified" | "converted" | "lost" | "expired";
679
679
  priority: string;
680
680
  notes: string | null;
681
681
  tags: string[];
@@ -696,8 +696,8 @@ export declare const crmService: {
696
696
  productId: string | null;
697
697
  optionUnitId: string | null;
698
698
  kind: "wishlist" | "notify" | "inquiry" | "request_offer" | "referral";
699
- source: "admin" | "form" | "phone" | "website" | "abandoned_cart" | "booking";
700
- status: "lost" | "expired" | "new" | "contacted" | "qualified" | "converted";
699
+ source: "admin" | "form" | "phone" | "abandoned_cart" | "website" | "booking";
700
+ status: "new" | "contacted" | "qualified" | "converted" | "lost" | "expired";
701
701
  priority: string;
702
702
  notes: string | null;
703
703
  tags: string[];
@@ -2963,12 +2963,12 @@ export declare const crmService: {
2963
2963
  limit: number;
2964
2964
  offset: number;
2965
2965
  opportunityId?: string | undefined;
2966
- status?: "archived" | "draft" | "sent" | "accepted" | "expired" | "rejected" | undefined;
2966
+ status?: "expired" | "archived" | "draft" | "sent" | "accepted" | "rejected" | undefined;
2967
2967
  }): Promise<{
2968
2968
  data: {
2969
2969
  id: string;
2970
2970
  opportunityId: string;
2971
- status: "archived" | "draft" | "sent" | "accepted" | "expired" | "rejected";
2971
+ status: "expired" | "archived" | "draft" | "sent" | "accepted" | "rejected";
2972
2972
  validUntil: string | null;
2973
2973
  currency: string;
2974
2974
  subtotalAmountCents: number;
@@ -2986,7 +2986,7 @@ export declare const crmService: {
2986
2986
  getQuoteById(db: import("drizzle-orm/postgres-js").PostgresJsDatabase, id: string): Promise<{
2987
2987
  id: string;
2988
2988
  opportunityId: string;
2989
- status: "archived" | "draft" | "sent" | "accepted" | "expired" | "rejected";
2989
+ status: "expired" | "archived" | "draft" | "sent" | "accepted" | "rejected";
2990
2990
  validUntil: string | null;
2991
2991
  currency: string;
2992
2992
  subtotalAmountCents: number;
@@ -2999,7 +2999,7 @@ export declare const crmService: {
2999
2999
  } | null>;
3000
3000
  createQuote(db: import("drizzle-orm/postgres-js").PostgresJsDatabase, data: {
3001
3001
  opportunityId: string;
3002
- status: "archived" | "draft" | "sent" | "accepted" | "expired" | "rejected";
3002
+ status: "expired" | "archived" | "draft" | "sent" | "accepted" | "rejected";
3003
3003
  currency: string;
3004
3004
  subtotalAmountCents: number;
3005
3005
  taxAmountCents: number;
@@ -3010,7 +3010,7 @@ export declare const crmService: {
3010
3010
  id: string;
3011
3011
  createdAt: Date;
3012
3012
  updatedAt: Date;
3013
- status: "archived" | "draft" | "sent" | "accepted" | "expired" | "rejected";
3013
+ status: "expired" | "archived" | "draft" | "sent" | "accepted" | "rejected";
3014
3014
  currency: string;
3015
3015
  notes: string | null;
3016
3016
  opportunityId: string;
@@ -3022,7 +3022,7 @@ export declare const crmService: {
3022
3022
  } | undefined>;
3023
3023
  updateQuote(db: import("drizzle-orm/postgres-js").PostgresJsDatabase, id: string, data: {
3024
3024
  opportunityId?: string | undefined;
3025
- status?: "archived" | "draft" | "sent" | "accepted" | "expired" | "rejected" | undefined;
3025
+ status?: "expired" | "archived" | "draft" | "sent" | "accepted" | "rejected" | undefined;
3026
3026
  validUntil?: string | null | undefined;
3027
3027
  currency?: string | undefined;
3028
3028
  subtotalAmountCents?: number | undefined;
@@ -3032,7 +3032,7 @@ export declare const crmService: {
3032
3032
  }): Promise<{
3033
3033
  id: string;
3034
3034
  opportunityId: string;
3035
- status: "archived" | "draft" | "sent" | "accepted" | "expired" | "rejected";
3035
+ status: "expired" | "archived" | "draft" | "sent" | "accepted" | "rejected";
3036
3036
  validUntil: string | null;
3037
3037
  currency: string;
3038
3038
  subtotalAmountCents: number;
@@ -3488,7 +3488,7 @@ export declare const crmService: {
3488
3488
  pipelineId?: string | undefined;
3489
3489
  stageId?: string | undefined;
3490
3490
  ownerId?: string | undefined;
3491
- status?: "archived" | "open" | "won" | "lost" | undefined;
3491
+ status?: "lost" | "archived" | "open" | "won" | undefined;
3492
3492
  search?: string | undefined;
3493
3493
  }): Promise<{
3494
3494
  data: {
@@ -3499,7 +3499,7 @@ export declare const crmService: {
3499
3499
  pipelineId: string;
3500
3500
  stageId: string;
3501
3501
  ownerId: string | null;
3502
- status: "archived" | "open" | "won" | "lost";
3502
+ status: "lost" | "archived" | "open" | "won";
3503
3503
  valueAmountCents: number | null;
3504
3504
  valueCurrency: string | null;
3505
3505
  expectedCloseDate: string | null;
@@ -3524,7 +3524,7 @@ export declare const crmService: {
3524
3524
  pipelineId: string;
3525
3525
  stageId: string;
3526
3526
  ownerId: string | null;
3527
- status: "archived" | "open" | "won" | "lost";
3527
+ status: "lost" | "archived" | "open" | "won";
3528
3528
  valueAmountCents: number | null;
3529
3529
  valueCurrency: string | null;
3530
3530
  expectedCloseDate: string | null;
@@ -3541,7 +3541,7 @@ export declare const crmService: {
3541
3541
  title: string;
3542
3542
  pipelineId: string;
3543
3543
  stageId: string;
3544
- status: "archived" | "open" | "won" | "lost";
3544
+ status: "lost" | "archived" | "open" | "won";
3545
3545
  tags: string[];
3546
3546
  personId?: string | null | undefined;
3547
3547
  organizationId?: string | null | undefined;
@@ -3558,7 +3558,7 @@ export declare const crmService: {
3558
3558
  createdAt: Date;
3559
3559
  updatedAt: Date;
3560
3560
  organizationId: string | null;
3561
- status: "archived" | "open" | "won" | "lost";
3561
+ status: "lost" | "archived" | "open" | "won";
3562
3562
  title: string;
3563
3563
  ownerId: string | null;
3564
3564
  sourceRef: string | null;
@@ -3580,7 +3580,7 @@ export declare const crmService: {
3580
3580
  pipelineId?: string | undefined;
3581
3581
  stageId?: string | undefined;
3582
3582
  ownerId?: string | null | undefined;
3583
- status?: "archived" | "open" | "won" | "lost" | undefined;
3583
+ status?: "lost" | "archived" | "open" | "won" | undefined;
3584
3584
  valueAmountCents?: number | null | undefined;
3585
3585
  valueCurrency?: string | null | undefined;
3586
3586
  expectedCloseDate?: string | null | undefined;
@@ -3596,7 +3596,7 @@ export declare const crmService: {
3596
3596
  pipelineId: string;
3597
3597
  stageId: string;
3598
3598
  ownerId: string | null;
3599
- status: "archived" | "open" | "won" | "lost";
3599
+ status: "lost" | "archived" | "open" | "won";
3600
3600
  valueAmountCents: number | null;
3601
3601
  valueCurrency: string | null;
3602
3602
  expectedCloseDate: string | null;
@@ -4635,7 +4635,7 @@ export declare const crmService: {
4635
4635
  id: string;
4636
4636
  entityType: string;
4637
4637
  entityId: string;
4638
- kind: "email" | "other" | "phone" | "mobile" | "whatsapp" | "website" | "sms" | "fax" | "social";
4638
+ kind: "email" | "other" | "phone" | "website" | "mobile" | "whatsapp" | "sms" | "fax" | "social";
4639
4639
  label: string | null;
4640
4640
  value: string;
4641
4641
  normalizedValue: string | null;
@@ -4652,7 +4652,7 @@ export declare const crmService: {
4652
4652
  createdAt: Date;
4653
4653
  updatedAt: Date;
4654
4654
  notes: string | null;
4655
- kind: "email" | "other" | "phone" | "mobile" | "whatsapp" | "website" | "sms" | "fax" | "social";
4655
+ kind: "email" | "other" | "phone" | "website" | "mobile" | "whatsapp" | "sms" | "fax" | "social";
4656
4656
  entityType: string;
4657
4657
  entityId: string;
4658
4658
  label: string | null;
@@ -4663,7 +4663,7 @@ export declare const crmService: {
4663
4663
  id: string;
4664
4664
  entityType: string;
4665
4665
  entityId: string;
4666
- kind: "email" | "other" | "phone" | "mobile" | "whatsapp" | "website" | "sms" | "fax" | "social";
4666
+ kind: "email" | "other" | "phone" | "website" | "mobile" | "whatsapp" | "sms" | "fax" | "social";
4667
4667
  label: string | null;
4668
4668
  value: string;
4669
4669
  normalizedValue: string | null;
@@ -17,7 +17,7 @@ export declare const opportunitiesService: {
17
17
  pipelineId: string;
18
18
  stageId: string;
19
19
  ownerId: string | null;
20
- status: "archived" | "open" | "won" | "lost";
20
+ status: "lost" | "archived" | "open" | "won";
21
21
  valueAmountCents: number | null;
22
22
  valueCurrency: string | null;
23
23
  expectedCloseDate: string | null;
@@ -42,7 +42,7 @@ export declare const opportunitiesService: {
42
42
  pipelineId: string;
43
43
  stageId: string;
44
44
  ownerId: string | null;
45
- status: "archived" | "open" | "won" | "lost";
45
+ status: "lost" | "archived" | "open" | "won";
46
46
  valueAmountCents: number | null;
47
47
  valueCurrency: string | null;
48
48
  expectedCloseDate: string | null;
@@ -61,7 +61,7 @@ export declare const opportunitiesService: {
61
61
  createdAt: Date;
62
62
  updatedAt: Date;
63
63
  organizationId: string | null;
64
- status: "archived" | "open" | "won" | "lost";
64
+ status: "lost" | "archived" | "open" | "won";
65
65
  title: string;
66
66
  ownerId: string | null;
67
67
  sourceRef: string | null;
@@ -84,7 +84,7 @@ export declare const opportunitiesService: {
84
84
  pipelineId: string;
85
85
  stageId: string;
86
86
  ownerId: string | null;
87
- status: "archived" | "open" | "won" | "lost";
87
+ status: "lost" | "archived" | "open" | "won";
88
88
  valueAmountCents: number | null;
89
89
  valueCurrency: string | null;
90
90
  expectedCloseDate: string | null;
@@ -11,7 +11,7 @@ export declare const quotesService: {
11
11
  data: {
12
12
  id: string;
13
13
  opportunityId: string;
14
- status: "archived" | "draft" | "sent" | "accepted" | "expired" | "rejected";
14
+ status: "expired" | "archived" | "draft" | "sent" | "accepted" | "rejected";
15
15
  validUntil: string | null;
16
16
  currency: string;
17
17
  subtotalAmountCents: number;
@@ -29,7 +29,7 @@ export declare const quotesService: {
29
29
  getQuoteById(db: PostgresJsDatabase, id: string): Promise<{
30
30
  id: string;
31
31
  opportunityId: string;
32
- status: "archived" | "draft" | "sent" | "accepted" | "expired" | "rejected";
32
+ status: "expired" | "archived" | "draft" | "sent" | "accepted" | "rejected";
33
33
  validUntil: string | null;
34
34
  currency: string;
35
35
  subtotalAmountCents: number;
@@ -44,7 +44,7 @@ export declare const quotesService: {
44
44
  id: string;
45
45
  createdAt: Date;
46
46
  updatedAt: Date;
47
- status: "archived" | "draft" | "sent" | "accepted" | "expired" | "rejected";
47
+ status: "expired" | "archived" | "draft" | "sent" | "accepted" | "rejected";
48
48
  currency: string;
49
49
  notes: string | null;
50
50
  opportunityId: string;
@@ -57,7 +57,7 @@ export declare const quotesService: {
57
57
  updateQuote(db: PostgresJsDatabase, id: string, data: UpdateQuoteInput): Promise<{
58
58
  id: string;
59
59
  opportunityId: string;
60
- status: "archived" | "draft" | "sent" | "accepted" | "expired" | "rejected";
60
+ status: "expired" | "archived" | "draft" | "sent" | "accepted" | "rejected";
61
61
  validUntil: string | null;
62
62
  currency: string;
63
63
  subtotalAmountCents: number;
@@ -30,17 +30,17 @@ export declare const communicationDirectionSchema: z.ZodEnum<{
30
30
  outbound: "outbound";
31
31
  }>;
32
32
  export declare const opportunityStatusSchema: z.ZodEnum<{
33
+ lost: "lost";
33
34
  archived: "archived";
34
35
  open: "open";
35
36
  won: "won";
36
- lost: "lost";
37
37
  }>;
38
38
  export declare const quoteStatusSchema: z.ZodEnum<{
39
+ expired: "expired";
39
40
  archived: "archived";
40
41
  draft: "draft";
41
42
  sent: "sent";
42
43
  accepted: "accepted";
43
- expired: "expired";
44
44
  rejected: "rejected";
45
45
  }>;
46
46
  export declare const activityTypeSchema: z.ZodEnum<{
@@ -464,10 +464,10 @@ export declare const opportunityCoreSchema: z.ZodObject<{
464
464
  stageId: z.ZodString;
465
465
  ownerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
466
466
  status: z.ZodDefault<z.ZodEnum<{
467
+ lost: "lost";
467
468
  archived: "archived";
468
469
  open: "open";
469
470
  won: "won";
470
- lost: "lost";
471
471
  }>>;
472
472
  valueAmountCents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
473
473
  valueCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -485,10 +485,10 @@ export declare const insertOpportunitySchema: z.ZodObject<{
485
485
  stageId: z.ZodString;
486
486
  ownerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
487
487
  status: z.ZodDefault<z.ZodEnum<{
488
+ lost: "lost";
488
489
  archived: "archived";
489
490
  open: "open";
490
491
  won: "won";
491
- lost: "lost";
492
492
  }>>;
493
493
  valueAmountCents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
494
494
  valueCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -506,10 +506,10 @@ export declare const updateOpportunitySchema: z.ZodObject<{
506
506
  stageId: z.ZodOptional<z.ZodString>;
507
507
  ownerId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
508
508
  status: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
509
+ lost: "lost";
509
510
  archived: "archived";
510
511
  open: "open";
511
512
  won: "won";
512
- lost: "lost";
513
513
  }>>>;
514
514
  valueAmountCents: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
515
515
  valueCurrency: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -528,10 +528,10 @@ export declare const opportunityListQuerySchema: z.ZodObject<{
528
528
  stageId: z.ZodOptional<z.ZodString>;
529
529
  ownerId: z.ZodOptional<z.ZodString>;
530
530
  status: z.ZodOptional<z.ZodEnum<{
531
+ lost: "lost";
531
532
  archived: "archived";
532
533
  open: "open";
533
534
  won: "won";
534
- lost: "lost";
535
535
  }>>;
536
536
  search: z.ZodOptional<z.ZodString>;
537
537
  }, z.core.$strip>;
@@ -571,11 +571,11 @@ export declare const updateOpportunityProductSchema: z.ZodObject<{
571
571
  export declare const quoteCoreSchema: z.ZodObject<{
572
572
  opportunityId: z.ZodString;
573
573
  status: z.ZodDefault<z.ZodEnum<{
574
+ expired: "expired";
574
575
  archived: "archived";
575
576
  draft: "draft";
576
577
  sent: "sent";
577
578
  accepted: "accepted";
578
- expired: "expired";
579
579
  rejected: "rejected";
580
580
  }>>;
581
581
  validUntil: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -588,11 +588,11 @@ export declare const quoteCoreSchema: z.ZodObject<{
588
588
  export declare const insertQuoteSchema: z.ZodObject<{
589
589
  opportunityId: z.ZodString;
590
590
  status: z.ZodDefault<z.ZodEnum<{
591
+ expired: "expired";
591
592
  archived: "archived";
592
593
  draft: "draft";
593
594
  sent: "sent";
594
595
  accepted: "accepted";
595
- expired: "expired";
596
596
  rejected: "rejected";
597
597
  }>>;
598
598
  validUntil: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -605,11 +605,11 @@ export declare const insertQuoteSchema: z.ZodObject<{
605
605
  export declare const updateQuoteSchema: z.ZodObject<{
606
606
  opportunityId: z.ZodOptional<z.ZodString>;
607
607
  status: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
608
+ expired: "expired";
608
609
  archived: "archived";
609
610
  draft: "draft";
610
611
  sent: "sent";
611
612
  accepted: "accepted";
612
- expired: "expired";
613
613
  rejected: "rejected";
614
614
  }>>>;
615
615
  validUntil: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -624,11 +624,11 @@ export declare const quoteListQuerySchema: z.ZodObject<{
624
624
  offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
625
625
  opportunityId: z.ZodOptional<z.ZodString>;
626
626
  status: z.ZodOptional<z.ZodEnum<{
627
+ expired: "expired";
627
628
  archived: "archived";
628
629
  draft: "draft";
629
630
  sent: "sent";
630
631
  accepted: "accepted";
631
- expired: "expired";
632
632
  rejected: "rejected";
633
633
  }>>;
634
634
  }, z.core.$strip>;
@@ -1041,17 +1041,17 @@ export declare const customerSignalSourceSchema: z.ZodEnum<{
1041
1041
  admin: "admin";
1042
1042
  form: "form";
1043
1043
  phone: "phone";
1044
- website: "website";
1045
1044
  abandoned_cart: "abandoned_cart";
1045
+ website: "website";
1046
1046
  booking: "booking";
1047
1047
  }>;
1048
1048
  export declare const customerSignalStatusSchema: z.ZodEnum<{
1049
- lost: "lost";
1050
- expired: "expired";
1051
1049
  new: "new";
1052
1050
  contacted: "contacted";
1053
1051
  qualified: "qualified";
1054
1052
  converted: "converted";
1053
+ lost: "lost";
1054
+ expired: "expired";
1055
1055
  }>;
1056
1056
  export declare const customerSignalPrioritySchema: z.ZodEnum<{
1057
1057
  normal: "normal";
@@ -1074,17 +1074,17 @@ export declare const insertCustomerSignalSchema: z.ZodObject<{
1074
1074
  admin: "admin";
1075
1075
  form: "form";
1076
1076
  phone: "phone";
1077
- website: "website";
1078
1077
  abandoned_cart: "abandoned_cart";
1078
+ website: "website";
1079
1079
  booking: "booking";
1080
1080
  }>;
1081
1081
  status: z.ZodDefault<z.ZodEnum<{
1082
- lost: "lost";
1083
- expired: "expired";
1084
1082
  new: "new";
1085
1083
  contacted: "contacted";
1086
1084
  qualified: "qualified";
1087
1085
  converted: "converted";
1086
+ lost: "lost";
1087
+ expired: "expired";
1088
1088
  }>>;
1089
1089
  priority: z.ZodDefault<z.ZodEnum<{
1090
1090
  normal: "normal";
@@ -1105,18 +1105,18 @@ export declare const updateCustomerSignalSchema: z.ZodObject<{
1105
1105
  admin: "admin";
1106
1106
  form: "form";
1107
1107
  phone: "phone";
1108
- website: "website";
1109
1108
  abandoned_cart: "abandoned_cart";
1109
+ website: "website";
1110
1110
  booking: "booking";
1111
1111
  }>>;
1112
1112
  metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
1113
1113
  status: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
1114
- lost: "lost";
1115
- expired: "expired";
1116
1114
  new: "new";
1117
1115
  contacted: "contacted";
1118
1116
  qualified: "qualified";
1119
1117
  converted: "converted";
1118
+ lost: "lost";
1119
+ expired: "expired";
1120
1120
  }>>>;
1121
1121
  notes: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1122
1122
  kind: z.ZodOptional<z.ZodEnum<{
@@ -1146,12 +1146,12 @@ export declare const customerSignalListQuerySchema: z.ZodObject<{
1146
1146
  personId: z.ZodOptional<z.ZodString>;
1147
1147
  assignedToUserId: z.ZodOptional<z.ZodString>;
1148
1148
  status: z.ZodOptional<z.ZodEnum<{
1149
- lost: "lost";
1150
- expired: "expired";
1151
1149
  new: "new";
1152
1150
  contacted: "contacted";
1153
1151
  qualified: "qualified";
1154
1152
  converted: "converted";
1153
+ lost: "lost";
1154
+ expired: "expired";
1155
1155
  }>>;
1156
1156
  kind: z.ZodOptional<z.ZodEnum<{
1157
1157
  wishlist: "wishlist";