@voyant-travel/quotes 0.120.1 → 0.121.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.
@@ -309,6 +309,9 @@ export declare const quotesRoutes: import("hono/hono-base").HonoBase<Env, import
309
309
  sourceRef: string | null;
310
310
  lostReason: string | null;
311
311
  tags: string[];
312
+ customFields: {
313
+ [x: string]: import("hono/utils/types").JSONValue;
314
+ };
312
315
  createdAt: string;
313
316
  updatedAt: string;
314
317
  stageChangedAt: string;
@@ -346,6 +349,9 @@ export declare const quotesRoutes: import("hono/hono-base").HonoBase<Env, import
346
349
  expectedCloseDate: string | null;
347
350
  sourceRef: string | null;
348
351
  lostReason: string | null;
352
+ customFields: {
353
+ [x: string]: import("hono/utils/types").JSONValue;
354
+ };
349
355
  stageChangedAt: string;
350
356
  closedAt: string | null;
351
357
  } | undefined;
@@ -391,6 +397,9 @@ export declare const quotesRoutes: import("hono/hono-base").HonoBase<Env, import
391
397
  sourceRef: string | null;
392
398
  lostReason: string | null;
393
399
  tags: string[];
400
+ customFields: {
401
+ [x: string]: import("hono/utils/types").JSONValue;
402
+ };
394
403
  createdAt: string;
395
404
  updatedAt: string;
396
405
  stageChangedAt: string;
@@ -438,6 +447,9 @@ export declare const quotesRoutes: import("hono/hono-base").HonoBase<Env, import
438
447
  sourceRef: string | null;
439
448
  lostReason: string | null;
440
449
  tags: string[];
450
+ customFields: {
451
+ [x: string]: import("hono/utils/types").JSONValue;
452
+ };
441
453
  createdAt: string;
442
454
  updatedAt: string;
443
455
  stageChangedAt: string;
@@ -583,11 +595,11 @@ export declare const quotesRoutes: import("hono/hono-base").HonoBase<Env, import
583
595
  };
584
596
  output: {
585
597
  data: {
598
+ currency: string | null;
586
599
  id: string;
587
600
  createdAt: string;
588
601
  description: string | null;
589
602
  updatedAt: string;
590
- currency: string | null;
591
603
  quoteId: string;
592
604
  productId: string | null;
593
605
  supplierServiceId: string | null;
@@ -711,11 +723,11 @@ export declare const quotesRoutes: import("hono/hono-base").HonoBase<Env, import
711
723
  };
712
724
  output: {
713
725
  data: {
726
+ currency: string;
714
727
  id: string;
715
728
  status: "expired" | "draft" | "sent" | "accepted" | "declined" | "superseded";
716
729
  createdAt: string;
717
730
  updatedAt: string;
718
- currency: string;
719
731
  notes: string | null;
720
732
  quoteId: string;
721
733
  label: string | null;
@@ -956,11 +968,11 @@ export declare const quotesRoutes: import("hono/hono-base").HonoBase<Env, import
956
968
  archivedAt: string | null;
957
969
  };
958
970
  lines: {
971
+ currency: string;
959
972
  id: string;
960
973
  createdAt: string;
961
974
  description: string;
962
975
  updatedAt: string;
963
- currency: string;
964
976
  quoteVersionId: string;
965
977
  productId: string | null;
966
978
  supplierServiceId: string | null;
@@ -1126,15 +1138,18 @@ export declare const quotesRoutes: import("hono/hono-base").HonoBase<Env, import
1126
1138
  expectedCloseDate: string | null;
1127
1139
  sourceRef: string | null;
1128
1140
  lostReason: string | null;
1141
+ customFields: {
1142
+ [x: string]: import("hono/utils/types").JSONValue;
1143
+ };
1129
1144
  stageChangedAt: string;
1130
1145
  closedAt: string | null;
1131
1146
  };
1132
1147
  quoteVersion: {
1148
+ currency: string;
1133
1149
  id: string;
1134
1150
  status: "expired" | "draft" | "sent" | "accepted" | "declined" | "superseded";
1135
1151
  createdAt: string;
1136
1152
  updatedAt: string;
1137
- currency: string;
1138
1153
  notes: string | null;
1139
1154
  quoteId: string;
1140
1155
  label: string | null;
@@ -1150,11 +1165,11 @@ export declare const quotesRoutes: import("hono/hono-base").HonoBase<Env, import
1150
1165
  archivedAt: string | null;
1151
1166
  };
1152
1167
  closedQuoteVersions: {
1168
+ currency: string;
1153
1169
  id: string;
1154
1170
  status: "expired" | "draft" | "sent" | "accepted" | "declined" | "superseded";
1155
1171
  createdAt: string;
1156
1172
  updatedAt: string;
1157
- currency: string;
1158
1173
  notes: string | null;
1159
1174
  quoteId: string;
1160
1175
  label: string | null;
@@ -1290,11 +1305,11 @@ export declare const quotesRoutes: import("hono/hono-base").HonoBase<Env, import
1290
1305
  };
1291
1306
  output: {
1292
1307
  data: {
1308
+ currency: string;
1293
1309
  id: string;
1294
1310
  createdAt: string;
1295
1311
  description: string;
1296
1312
  updatedAt: string;
1297
- currency: string;
1298
1313
  quoteVersionId: string;
1299
1314
  productId: string | null;
1300
1315
  supplierServiceId: string | null;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/routes/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AAOjE,KAAK,GAAG,GAAG;IACT,SAAS,EAAE;QACT,EAAE,EAAE,kBAAkB,CAAA;QACtB,MAAM,CAAC,EAAE,MAAM,CAAA;KAChB,CAAA;CACF,CAAA;AAED,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAGQ,CAAA;AAEjC,MAAM,MAAM,YAAY,GAAG,OAAO,YAAY,CAAA"}
@@ -48,11 +48,11 @@ export declare const quoteVersionRoutes: import("hono/hono-base").HonoBase<Env,
48
48
  };
49
49
  output: {
50
50
  data: {
51
+ currency: string;
51
52
  id: string;
52
53
  status: "expired" | "draft" | "sent" | "accepted" | "declined" | "superseded";
53
54
  createdAt: string;
54
55
  updatedAt: string;
55
- currency: string;
56
56
  notes: string | null;
57
57
  quoteId: string;
58
58
  label: string | null;
@@ -293,11 +293,11 @@ export declare const quoteVersionRoutes: import("hono/hono-base").HonoBase<Env,
293
293
  archivedAt: string | null;
294
294
  };
295
295
  lines: {
296
+ currency: string;
296
297
  id: string;
297
298
  createdAt: string;
298
299
  description: string;
299
300
  updatedAt: string;
300
- currency: string;
301
301
  quoteVersionId: string;
302
302
  productId: string | null;
303
303
  supplierServiceId: string | null;
@@ -463,15 +463,18 @@ export declare const quoteVersionRoutes: import("hono/hono-base").HonoBase<Env,
463
463
  expectedCloseDate: string | null;
464
464
  sourceRef: string | null;
465
465
  lostReason: string | null;
466
+ customFields: {
467
+ [x: string]: import("hono/utils/types").JSONValue;
468
+ };
466
469
  stageChangedAt: string;
467
470
  closedAt: string | null;
468
471
  };
469
472
  quoteVersion: {
473
+ currency: string;
470
474
  id: string;
471
475
  status: "expired" | "draft" | "sent" | "accepted" | "declined" | "superseded";
472
476
  createdAt: string;
473
477
  updatedAt: string;
474
- currency: string;
475
478
  notes: string | null;
476
479
  quoteId: string;
477
480
  label: string | null;
@@ -487,11 +490,11 @@ export declare const quoteVersionRoutes: import("hono/hono-base").HonoBase<Env,
487
490
  archivedAt: string | null;
488
491
  };
489
492
  closedQuoteVersions: {
493
+ currency: string;
490
494
  id: string;
491
495
  status: "expired" | "draft" | "sent" | "accepted" | "declined" | "superseded";
492
496
  createdAt: string;
493
497
  updatedAt: string;
494
- currency: string;
495
498
  notes: string | null;
496
499
  quoteId: string;
497
500
  label: string | null;
@@ -627,11 +630,11 @@ export declare const quoteVersionRoutes: import("hono/hono-base").HonoBase<Env,
627
630
  };
628
631
  output: {
629
632
  data: {
633
+ currency: string;
630
634
  id: string;
631
635
  createdAt: string;
632
636
  description: string;
633
637
  updatedAt: string;
634
- currency: string;
635
638
  quoteVersionId: string;
636
639
  productId: string | null;
637
640
  supplierServiceId: string | null;
@@ -1 +1 @@
1
- {"version":3,"file":"quote-versions.d.ts","sourceRoot":"","sources":["../../src/routes/quote-versions.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AAiBjE,KAAK,GAAG,GAAG;IACT,SAAS,EAAE;QACT,EAAE,EAAE,kBAAkB,CAAA;QACtB,MAAM,CAAC,EAAE,MAAM,CAAA;KAChB,CAAA;CACF,CAAA;AAED,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mCAsL3B,CAAA"}
@@ -27,6 +27,9 @@ export declare const quoteRoutes: import("hono/hono-base").HonoBase<Env, {
27
27
  sourceRef: string | null;
28
28
  lostReason: string | null;
29
29
  tags: string[];
30
+ customFields: {
31
+ [x: string]: import("hono/utils/types").JSONValue;
32
+ };
30
33
  createdAt: string;
31
34
  updatedAt: string;
32
35
  stageChangedAt: string;
@@ -64,6 +67,9 @@ export declare const quoteRoutes: import("hono/hono-base").HonoBase<Env, {
64
67
  expectedCloseDate: string | null;
65
68
  sourceRef: string | null;
66
69
  lostReason: string | null;
70
+ customFields: {
71
+ [x: string]: import("hono/utils/types").JSONValue;
72
+ };
67
73
  stageChangedAt: string;
68
74
  closedAt: string | null;
69
75
  } | undefined;
@@ -109,6 +115,9 @@ export declare const quoteRoutes: import("hono/hono-base").HonoBase<Env, {
109
115
  sourceRef: string | null;
110
116
  lostReason: string | null;
111
117
  tags: string[];
118
+ customFields: {
119
+ [x: string]: import("hono/utils/types").JSONValue;
120
+ };
112
121
  createdAt: string;
113
122
  updatedAt: string;
114
123
  stageChangedAt: string;
@@ -156,6 +165,9 @@ export declare const quoteRoutes: import("hono/hono-base").HonoBase<Env, {
156
165
  sourceRef: string | null;
157
166
  lostReason: string | null;
158
167
  tags: string[];
168
+ customFields: {
169
+ [x: string]: import("hono/utils/types").JSONValue;
170
+ };
159
171
  createdAt: string;
160
172
  updatedAt: string;
161
173
  stageChangedAt: string;
@@ -301,11 +313,11 @@ export declare const quoteRoutes: import("hono/hono-base").HonoBase<Env, {
301
313
  };
302
314
  output: {
303
315
  data: {
316
+ currency: string | null;
304
317
  id: string;
305
318
  createdAt: string;
306
319
  description: string | null;
307
320
  updatedAt: string;
308
- currency: string | null;
309
321
  quoteId: string;
310
322
  productId: string | null;
311
323
  supplierServiceId: string | null;
@@ -1 +1 @@
1
- {"version":3,"file":"quotes.d.ts","sourceRoot":"","sources":["../../src/routes/quotes.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AAajE,KAAK,GAAG,GAAG;IACT,SAAS,EAAE;QACT,EAAE,EAAE,kBAAkB,CAAA;QACtB,MAAM,CAAC,EAAE,MAAM,CAAA;KAChB,CAAA;CACF,CAAA;AAED,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8BAuFpB,CAAA"}
1
+ {"version":3,"file":"quotes.d.ts","sourceRoot":"","sources":["../../src/routes/quotes.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AAajE,KAAK,GAAG,GAAG;IACT,SAAS,EAAE;QACT,EAAE,EAAE,kBAAkB,CAAA;QACtB,MAAM,CAAC,EAAE,MAAM,CAAA;KAChB,CAAA;CACF,CAAA;AAED,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8BAuFpB,CAAA"}
@@ -579,6 +579,25 @@ export declare const quotes: import("drizzle-orm/pg-core").PgTableWithColumns<{
579
579
  }, {}, {
580
580
  $type: string[];
581
581
  }>;
582
+ customFields: import("drizzle-orm/pg-core").PgColumn<{
583
+ name: "custom_fields";
584
+ tableName: "quotes";
585
+ dataType: "json";
586
+ columnType: "PgJsonb";
587
+ data: Record<string, unknown>;
588
+ driverParam: unknown;
589
+ notNull: true;
590
+ hasDefault: true;
591
+ isPrimaryKey: false;
592
+ isAutoincrement: false;
593
+ hasRuntimeDefault: false;
594
+ enumValues: undefined;
595
+ baseColumn: never;
596
+ identity: undefined;
597
+ generated: undefined;
598
+ }, {}, {
599
+ $type: Record<string, unknown>;
600
+ }>;
582
601
  createdAt: import("drizzle-orm/pg-core").PgColumn<{
583
602
  name: "created_at";
584
603
  tableName: "quotes";
@@ -1 +1 @@
1
- {"version":3,"file":"schema-sales.d.ts","sourceRoot":"","sources":["../src/schema-sales.ts"],"names":[],"mappings":"AAqBA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiBrB,CAAA;AAED,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsBlB,CAAA;AAED,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2ClB,CAAA;AAED,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AmB,GAAG,OAAO,iBAAiB,CAAC,YAAY,CAAA"}
@@ -55,6 +55,8 @@ export const quotes = pgTable("quotes", {
55
55
  sourceRef: text("source_ref"),
56
56
  lostReason: text("lost_reason"),
57
57
  tags: jsonb("tags").$type().notNull().default([]),
58
+ /** Unified custom fields — see the custom-fields unification ADR. */
59
+ customFields: jsonb("custom_fields").$type().notNull().default({}),
58
60
  createdAt: timestamp("created_at", { withTimezone: true }).notNull().defaultNow(),
59
61
  updatedAt: timestamp("updated_at", { withTimezone: true }).notNull().defaultNow(),
60
62
  stageChangedAt: timestamp("stage_changed_at", { withTimezone: true }).notNull().defaultNow(),
@@ -66,11 +66,11 @@ export declare const quotesService: {
66
66
  viewedAt?: string | null | undefined;
67
67
  decidedAt?: string | null | undefined;
68
68
  }): Promise<{
69
+ currency: string;
69
70
  id: string;
70
71
  status: "expired" | "draft" | "sent" | "accepted" | "declined" | "superseded";
71
72
  createdAt: Date;
72
73
  updatedAt: Date;
73
- currency: string;
74
74
  notes: string | null;
75
75
  quoteId: string;
76
76
  label: string | null;
@@ -161,11 +161,11 @@ export declare const quotesService: {
161
161
  archivedAt: Date | null;
162
162
  };
163
163
  lines: {
164
+ currency: string;
164
165
  id: string;
165
166
  createdAt: Date;
166
167
  description: string;
167
168
  updatedAt: Date;
168
- currency: string;
169
169
  quoteVersionId: string;
170
170
  productId: string | null;
171
171
  supplierServiceId: string | null;
@@ -677,11 +677,11 @@ export declare const quotesService: {
677
677
  productId?: string | null | undefined;
678
678
  supplierServiceId?: string | null | undefined;
679
679
  }): Promise<{
680
+ currency: string;
680
681
  id: string;
681
682
  createdAt: Date;
682
683
  description: string;
683
684
  updatedAt: Date;
684
- currency: string;
685
685
  quoteVersionId: string;
686
686
  productId: string | null;
687
687
  supplierServiceId: string | null;
@@ -741,6 +741,7 @@ export declare const quotesService: {
741
741
  sourceRef: string | null;
742
742
  lostReason: string | null;
743
743
  tags: string[];
744
+ customFields: Record<string, unknown>;
744
745
  createdAt: Date;
745
746
  updatedAt: Date;
746
747
  stageChangedAt: Date;
@@ -767,6 +768,7 @@ export declare const quotesService: {
767
768
  sourceRef: string | null;
768
769
  lostReason: string | null;
769
770
  tags: string[];
771
+ customFields: Record<string, unknown>;
770
772
  createdAt: Date;
771
773
  updatedAt: Date;
772
774
  stageChangedAt: Date;
@@ -807,6 +809,7 @@ export declare const quotesService: {
807
809
  expectedCloseDate: string | null;
808
810
  sourceRef: string | null;
809
811
  lostReason: string | null;
812
+ customFields: Record<string, unknown>;
810
813
  stageChangedAt: Date;
811
814
  closedAt: Date | null;
812
815
  } | undefined>;
@@ -843,6 +846,7 @@ export declare const quotesService: {
843
846
  sourceRef: string | null;
844
847
  lostReason: string | null;
845
848
  tags: string[];
849
+ customFields: Record<string, unknown>;
846
850
  createdAt: Date;
847
851
  updatedAt: Date;
848
852
  stageChangedAt: Date;
@@ -1550,11 +1554,11 @@ export declare const quotesService: {
1550
1554
  currency?: string | null | undefined;
1551
1555
  discountAmountCents?: number | null | undefined;
1552
1556
  }): Promise<{
1557
+ currency: string | null;
1553
1558
  id: string;
1554
1559
  createdAt: Date;
1555
1560
  description: string | null;
1556
1561
  updatedAt: Date;
1557
- currency: string | null;
1558
1562
  quoteId: string;
1559
1563
  productId: string | null;
1560
1564
  supplierServiceId: string | null;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/service/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIzB,CAAA;AAED,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AACjD,YAAY,EAAE,wBAAwB,EAAE,MAAM,qBAAqB,CAAA;AACnE,OAAO,EAAE,yBAAyB,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAA;AACrF,OAAO,EAAE,aAAa,IAAI,mBAAmB,EAAE,MAAM,aAAa,CAAA"}
@@ -73,11 +73,11 @@ export declare const quoteVersionsService: {
73
73
  } | null>;
74
74
  getQuoteVersionProposal(db: PostgresJsDatabase, id: string): Promise<QuoteVersionProposalReadModel | null>;
75
75
  createQuoteVersion(db: PostgresJsDatabase, data: CreateQuoteVersionInput): Promise<{
76
+ currency: string;
76
77
  id: string;
77
78
  status: "expired" | "draft" | "sent" | "accepted" | "declined" | "superseded";
78
79
  createdAt: Date;
79
80
  updatedAt: Date;
80
- currency: string;
81
81
  notes: string | null;
82
82
  quoteId: string;
83
83
  label: string | null;
@@ -137,11 +137,11 @@ export declare const quoteVersionsService: {
137
137
  archivedAt: Date | null;
138
138
  };
139
139
  lines: {
140
+ currency: string;
140
141
  id: string;
141
142
  createdAt: Date;
142
143
  description: string;
143
144
  updatedAt: Date;
144
- currency: string;
145
145
  quoteVersionId: string;
146
146
  productId: string | null;
147
147
  supplierServiceId: string | null;
@@ -641,11 +641,11 @@ export declare const quoteVersionsService: {
641
641
  }, {}, {}>;
642
642
  }>, "where" | "orderBy">;
643
643
  createQuoteVersionLine(db: PostgresJsDatabase, quoteVersionId: string, data: CreateQuoteVersionLineInput): Promise<{
644
+ currency: string;
644
645
  id: string;
645
646
  createdAt: Date;
646
647
  description: string;
647
648
  updatedAt: Date;
648
- currency: string;
649
649
  quoteVersionId: string;
650
650
  productId: string | null;
651
651
  supplierServiceId: string | null;
@@ -26,6 +26,7 @@ export declare const quotesService: {
26
26
  sourceRef: string | null;
27
27
  lostReason: string | null;
28
28
  tags: string[];
29
+ customFields: Record<string, unknown>;
29
30
  createdAt: Date;
30
31
  updatedAt: Date;
31
32
  stageChangedAt: Date;
@@ -52,6 +53,7 @@ export declare const quotesService: {
52
53
  sourceRef: string | null;
53
54
  lostReason: string | null;
54
55
  tags: string[];
56
+ customFields: Record<string, unknown>;
55
57
  createdAt: Date;
56
58
  updatedAt: Date;
57
59
  stageChangedAt: Date;
@@ -76,6 +78,7 @@ export declare const quotesService: {
76
78
  expectedCloseDate: string | null;
77
79
  sourceRef: string | null;
78
80
  lostReason: string | null;
81
+ customFields: Record<string, unknown>;
79
82
  stageChangedAt: Date;
80
83
  closedAt: Date | null;
81
84
  } | undefined>;
@@ -96,6 +99,7 @@ export declare const quotesService: {
96
99
  sourceRef: string | null;
97
100
  lostReason: string | null;
98
101
  tags: string[];
102
+ customFields: Record<string, unknown>;
99
103
  createdAt: Date;
100
104
  updatedAt: Date;
101
105
  stageChangedAt: Date;
@@ -789,11 +793,11 @@ export declare const quotesService: {
789
793
  }, {}, {}>;
790
794
  }>, "where" | "orderBy">;
791
795
  createQuoteProduct(db: PostgresJsDatabase, quoteId: string, data: CreateQuoteProductInput): Promise<{
796
+ currency: string | null;
792
797
  id: string;
793
798
  createdAt: Date;
794
799
  description: string | null;
795
800
  updatedAt: Date;
796
- currency: string | null;
797
801
  quoteId: string;
798
802
  productId: string | null;
799
803
  supplierServiceId: string | null;
@@ -1 +1 @@
1
- {"version":3,"file":"quotes.d.ts","sourceRoot":"","sources":["../../src/service/quotes.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AACjE,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAG5B,OAAO,KAAK,EACV,4BAA4B,EAC5B,wBAAwB,EACxB,iBAAiB,EACjB,oBAAoB,EACpB,wBAAwB,EACxB,iBAAiB,EAClB,MAAM,kBAAkB,CAAA;AAGzB,KAAK,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAC1D,KAAK,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAA;AACzD,KAAK,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAA;AACzD,KAAK,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAA;AAC/E,KAAK,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAA;AACvE,KAAK,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAA;AAEvE,eAAO,MAAM,aAAa;mBACH,kBAAkB,SAAS,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;qBA+BvC,kBAAkB,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;oBAK/B,kBAAkB,QAAQ,gBAAgB;;;;;;;;;;;;;;;;;;;;;;oBAK1C,kBAAkB,MAAM,MAAM,QAAQ,gBAAgB;;;;;;;;;;;;;;;;;;;;;;oBAsBtD,kBAAkB,MAAM,MAAM;;;8BAK1B,kBAAkB,WAAW,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AM,MAAM;;;0BAQzC,kBAAkB,WAAW,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAQ5B,kBAAkB,WAAW,MAAM,QAAQ,uBAAuB;;;;;;;;;;;;;;;2BAQlE,kBAAkB,MAAM,MAAM,QAAQ,uBAAuB;;;;;;;;;;;;;;;2BAS7D,kBAAkB,MAAM,MAAM;;;CAO5D,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voyant-travel/quotes",
3
- "version": "0.120.1",
3
+ "version": "0.121.1",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "exports": {
@@ -39,11 +39,11 @@
39
39
  "drizzle-orm": "^0.45.2",
40
40
  "hono": "^4.12.10",
41
41
  "zod": "^4.3.6",
42
- "@voyant-travel/core": "^0.109.0",
42
+ "@voyant-travel/core": "^0.110.0",
43
43
  "@voyant-travel/quotes-contracts": "^0.107.0",
44
- "@voyant-travel/db": "^0.108.1",
45
- "@voyant-travel/hono": "^0.111.0",
46
- "@voyant-travel/trips": "^0.113.0"
44
+ "@voyant-travel/db": "^0.108.2",
45
+ "@voyant-travel/hono": "^0.112.1",
46
+ "@voyant-travel/trips": "^0.115.0"
47
47
  },
48
48
  "devDependencies": {
49
49
  "typescript": "^6.0.2",