@voyant-travel/quotes 0.122.11 → 0.123.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.
@@ -336,8 +336,8 @@ export declare const quotesRoutes: import("hono/hono-base").HonoBase<Env, import
336
336
  output: {
337
337
  data: {
338
338
  source: string | null;
339
- id: string;
340
339
  status: "open" | "won" | "lost" | "archived";
340
+ id: string;
341
341
  createdAt: string;
342
342
  tags: string[];
343
343
  description: string | null;
@@ -822,8 +822,8 @@ export declare const quotesRoutes: import("hono/hono-base").HonoBase<Env, import
822
822
  output: {
823
823
  data: {
824
824
  currency: string;
825
- id: string;
826
825
  status: "expired" | "draft" | "sent" | "accepted" | "declined" | "superseded";
826
+ id: string;
827
827
  createdAt: string;
828
828
  updatedAt: string;
829
829
  notes: string | null;
@@ -923,8 +923,8 @@ export declare const quotesRoutes: import("hono/hono-base").HonoBase<Env, import
923
923
  output: {
924
924
  data: {
925
925
  currency: string;
926
- id: string;
927
926
  status: "expired" | "draft" | "sent" | "accepted" | "declined" | "superseded";
927
+ id: string;
928
928
  createdAt: string;
929
929
  updatedAt: string;
930
930
  notes: string | null;
@@ -1309,8 +1309,8 @@ export declare const quotesRoutes: import("hono/hono-base").HonoBase<Env, import
1309
1309
  data: {
1310
1310
  quote: {
1311
1311
  source: string | null;
1312
- id: string;
1313
1312
  status: "open" | "won" | "lost" | "archived";
1313
+ id: string;
1314
1314
  createdAt: string;
1315
1315
  tags: string[];
1316
1316
  description: string | null;
@@ -1338,8 +1338,8 @@ export declare const quotesRoutes: import("hono/hono-base").HonoBase<Env, import
1338
1338
  };
1339
1339
  quoteVersion: {
1340
1340
  currency: string;
1341
- id: string;
1342
1341
  status: "expired" | "draft" | "sent" | "accepted" | "declined" | "superseded";
1342
+ id: string;
1343
1343
  createdAt: string;
1344
1344
  updatedAt: string;
1345
1345
  notes: string | null;
@@ -1358,8 +1358,8 @@ export declare const quotesRoutes: import("hono/hono-base").HonoBase<Env, import
1358
1358
  };
1359
1359
  closedQuoteVersions: {
1360
1360
  currency: string;
1361
- id: string;
1362
1361
  status: "expired" | "draft" | "sent" | "accepted" | "declined" | "superseded";
1362
+ id: string;
1363
1363
  createdAt: string;
1364
1364
  updatedAt: string;
1365
1365
  notes: string | null;
@@ -49,8 +49,8 @@ export declare const quoteVersionRoutes: import("hono/hono-base").HonoBase<Env,
49
49
  output: {
50
50
  data: {
51
51
  currency: string;
52
- id: string;
53
52
  status: "expired" | "draft" | "sent" | "accepted" | "declined" | "superseded";
53
+ id: string;
54
54
  createdAt: string;
55
55
  updatedAt: string;
56
56
  notes: string | null;
@@ -150,8 +150,8 @@ export declare const quoteVersionRoutes: import("hono/hono-base").HonoBase<Env,
150
150
  output: {
151
151
  data: {
152
152
  currency: string;
153
- id: string;
154
153
  status: "expired" | "draft" | "sent" | "accepted" | "declined" | "superseded";
154
+ id: string;
155
155
  createdAt: string;
156
156
  updatedAt: string;
157
157
  notes: string | null;
@@ -536,8 +536,8 @@ export declare const quoteVersionRoutes: import("hono/hono-base").HonoBase<Env,
536
536
  data: {
537
537
  quote: {
538
538
  source: string | null;
539
- id: string;
540
539
  status: "open" | "won" | "lost" | "archived";
540
+ id: string;
541
541
  createdAt: string;
542
542
  tags: string[];
543
543
  description: string | null;
@@ -565,8 +565,8 @@ export declare const quoteVersionRoutes: import("hono/hono-base").HonoBase<Env,
565
565
  };
566
566
  quoteVersion: {
567
567
  currency: string;
568
- id: string;
569
568
  status: "expired" | "draft" | "sent" | "accepted" | "declined" | "superseded";
569
+ id: string;
570
570
  createdAt: string;
571
571
  updatedAt: string;
572
572
  notes: string | null;
@@ -585,8 +585,8 @@ export declare const quoteVersionRoutes: import("hono/hono-base").HonoBase<Env,
585
585
  };
586
586
  closedQuoteVersions: {
587
587
  currency: string;
588
- id: string;
589
588
  status: "expired" | "draft" | "sent" | "accepted" | "declined" | "superseded";
589
+ id: string;
590
590
  createdAt: string;
591
591
  updatedAt: string;
592
592
  notes: string | null;
@@ -1,8 +1,10 @@
1
+ import type { EventBus } from "@voyant-travel/core";
1
2
  import type { PostgresJsDatabase } from "drizzle-orm/postgres-js";
2
3
  type Env = {
3
4
  Variables: {
4
5
  db: PostgresJsDatabase;
5
6
  userId?: string;
7
+ eventBus?: EventBus;
6
8
  };
7
9
  };
8
10
  export declare const quoteRoutes: import("hono/hono-base").HonoBase<Env, {
@@ -54,8 +56,8 @@ export declare const quoteRoutes: import("hono/hono-base").HonoBase<Env, {
54
56
  output: {
55
57
  data: {
56
58
  source: string | null;
57
- id: string;
58
59
  status: "open" | "won" | "lost" | "archived";
60
+ id: string;
59
61
  createdAt: string;
60
62
  tags: string[];
61
63
  description: 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;AAcjE,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAqHpB,CAAA"}
1
+ {"version":3,"file":"quotes.d.ts","sourceRoot":"","sources":["../../src/routes/quotes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAA;AAEnD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AAcjE,KAAK,GAAG,GAAG;IACT,SAAS,EAAE;QACT,EAAE,EAAE,kBAAkB,CAAA;QACtB,MAAM,CAAC,EAAE,MAAM,CAAA;QACf,QAAQ,CAAC,EAAE,QAAQ,CAAA;KACpB,CAAA;CACF,CAAA;AAED,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAoHpB,CAAA"}
@@ -8,9 +8,10 @@ export const quoteRoutes = new Hono()
8
8
  return c.json(await quotesService.listQuotes(c.get("db"), query));
9
9
  })
10
10
  .post("/quotes", async (c) => {
11
- return c.json({
12
- data: await quotesService.createQuote(c.get("db"), await parseJsonBody(c, insertQuoteSchema), c.get("userId") ?? null),
13
- }, 201);
11
+ const row = await quotesService.createQuote(c.get("db"), await parseJsonBody(c, insertQuoteSchema), c.get("userId") ?? null);
12
+ if (row)
13
+ await c.get("eventBus")?.emit("quote.created", { id: row.id });
14
+ return c.json({ data: row }, 201);
14
15
  })
15
16
  .get("/quotes/:id", async (c) => {
16
17
  const row = await quotesService.getQuoteById(c.get("db"), c.req.param("id"));
@@ -22,12 +23,14 @@ export const quoteRoutes = new Hono()
22
23
  const row = await quotesService.updateQuote(c.get("db"), c.req.param("id"), await parseJsonBody(c, updateQuoteSchema), c.get("userId") ?? null);
23
24
  if (!row)
24
25
  return c.json({ error: "Quote not found" }, 404);
26
+ await c.get("eventBus")?.emit("quote.updated", { id: row.id });
25
27
  return c.json({ data: row });
26
28
  })
27
29
  .delete("/quotes/:id", async (c) => {
28
30
  const row = await quotesService.deleteQuote(c.get("db"), c.req.param("id"));
29
31
  if (!row)
30
32
  return c.json({ error: "Quote not found" }, 404);
33
+ await c.get("eventBus")?.emit("quote.deleted", { id: row.id });
31
34
  return c.json({ success: true });
32
35
  })
33
36
  .get("/quotes/:id/participants", async (c) => {
@@ -1,11 +1,6 @@
1
1
  export declare function paginate<T extends object>(rowsQuery: Promise<T[]>, countQuery: Promise<Array<{
2
2
  count: number;
3
- }>>, limit: number, offset: number): Promise<{
4
- data: T[];
5
- total: number;
6
- limit: number;
7
- offset: number;
8
- }>;
3
+ }>>, limit: number, offset: number): Promise<import("@voyant-travel/types").ListResponse<T>>;
9
4
  export declare function toDateOrNull(value: string | null | undefined): Date | null;
10
5
  export declare function normalizeContactValue(kind: "email" | "phone" | "website", value: string): string;
11
6
  export declare function isManagedBySource(metadata: Record<string, unknown> | null | undefined, source: string): boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../src/service/helpers.ts"],"names":[],"mappings":"AAAA,wBAAsB,QAAQ,CAAC,CAAC,SAAS,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,EAAE,MAAM,2DAKf;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,eAE5D;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,OAAO,GAAG,OAAO,GAAG,SAAS,EAAE,KAAK,EAAE,MAAM,UAKvF;AAED,wBAAgB,iBAAiB,CAC/B,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,GAAG,SAAS,EACpD,MAAM,EAAE,MAAM,WAGf;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,iBAGjE;AAED,wBAAgB,aAAa,CAAC,OAAO,EAAE;IACrC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAA;IACvB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;IACpB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;IACpB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;IACnB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;CACvB,iBAaA"}
@@ -1,11 +1,7 @@
1
+ import { listResponse } from "@voyant-travel/types";
1
2
  export async function paginate(rowsQuery, countQuery, limit, offset) {
2
3
  const [data, countResult] = await Promise.all([rowsQuery, countQuery]);
3
- return {
4
- data,
5
- total: countResult[0]?.count ?? 0,
6
- limit,
7
- offset,
8
- };
4
+ return listResponse(data, { total: countResult[0]?.count ?? 0, limit, offset });
9
5
  }
10
6
  export function toDateOrNull(value) {
11
7
  return value ? new Date(value) : null;
@@ -4,31 +4,26 @@ export declare const quotesService: {
4
4
  offset: number;
5
5
  quoteId?: string | undefined;
6
6
  status?: "expired" | "draft" | "sent" | "accepted" | "declined" | "superseded" | undefined;
7
- }): Promise<{
8
- data: {
9
- id: string;
10
- quoteId: string;
11
- label: string | null;
12
- status: "expired" | "draft" | "sent" | "accepted" | "declined" | "superseded";
13
- supersedesId: string | null;
14
- tripSnapshotId: string | null;
15
- validUntil: string | null;
16
- currency: string;
17
- subtotalAmountCents: number;
18
- taxAmountCents: number;
19
- totalAmountCents: number;
20
- notes: string | null;
21
- sentAt: Date | null;
22
- viewedAt: Date | null;
23
- decidedAt: Date | null;
24
- createdAt: Date;
25
- updatedAt: Date;
26
- archivedAt: Date | null;
27
- }[];
28
- total: number;
29
- limit: number;
30
- offset: number;
31
- }>;
7
+ }): Promise<import("@voyant-travel/types").ListResponse<{
8
+ id: string;
9
+ quoteId: string;
10
+ label: string | null;
11
+ status: "expired" | "draft" | "sent" | "accepted" | "declined" | "superseded";
12
+ supersedesId: string | null;
13
+ tripSnapshotId: string | null;
14
+ validUntil: string | null;
15
+ currency: string;
16
+ subtotalAmountCents: number;
17
+ taxAmountCents: number;
18
+ totalAmountCents: number;
19
+ notes: string | null;
20
+ sentAt: Date | null;
21
+ viewedAt: Date | null;
22
+ decidedAt: Date | null;
23
+ createdAt: Date;
24
+ updatedAt: Date;
25
+ archivedAt: Date | null;
26
+ }>>;
32
27
  getQuoteVersionById(db: import("drizzle-orm/postgres-js").PostgresJsDatabase, id: string): Promise<{
33
28
  id: string;
34
29
  quoteId: string;
@@ -67,8 +62,8 @@ export declare const quotesService: {
67
62
  decidedAt?: string | null | undefined;
68
63
  }): Promise<{
69
64
  currency: string;
70
- id: string;
71
65
  status: "expired" | "draft" | "sent" | "accepted" | "declined" | "superseded";
66
+ id: string;
72
67
  createdAt: Date;
73
68
  updatedAt: Date;
74
69
  notes: string | null;
@@ -87,8 +82,8 @@ export declare const quotesService: {
87
82
  } | undefined>;
88
83
  createVersionSnapshotFromQuote(db: import("drizzle-orm/postgres-js").PostgresJsDatabase, quoteId: string): Promise<{
89
84
  currency: string;
90
- id: string;
91
85
  status: "expired" | "draft" | "sent" | "accepted" | "declined" | "superseded";
86
+ id: string;
92
87
  createdAt: Date;
93
88
  updatedAt: Date;
94
89
  notes: string | null;
@@ -763,38 +758,33 @@ export declare const quotesService: {
763
758
  ownerId?: string | undefined;
764
759
  status?: "open" | "won" | "lost" | "archived" | undefined;
765
760
  search?: string | undefined;
766
- }): Promise<{
767
- data: {
768
- id: string;
769
- title: string;
770
- personId: string | null;
771
- organizationId: string | null;
772
- pipelineId: string;
773
- stageId: string;
774
- ownerId: string | null;
775
- status: "open" | "won" | "lost" | "archived";
776
- acceptedVersionId: string | null;
777
- valueAmountCents: number | null;
778
- valueCurrency: string | null;
779
- paxCount: number | null;
780
- expectedCloseDate: string | null;
781
- source: string | null;
782
- sourceRef: string | null;
783
- lostReason: string | null;
784
- tags: string[];
785
- customFields: Record<string, unknown>;
786
- description: string | null;
787
- createdBy: string | null;
788
- updatedBy: string | null;
789
- createdAt: Date;
790
- updatedAt: Date;
791
- stageChangedAt: Date;
792
- closedAt: Date | null;
793
- }[];
794
- total: number;
795
- limit: number;
796
- offset: number;
797
- }>;
761
+ }): Promise<import("@voyant-travel/types").ListResponse<{
762
+ id: string;
763
+ title: string;
764
+ personId: string | null;
765
+ organizationId: string | null;
766
+ pipelineId: string;
767
+ stageId: string;
768
+ ownerId: string | null;
769
+ status: "open" | "won" | "lost" | "archived";
770
+ acceptedVersionId: string | null;
771
+ valueAmountCents: number | null;
772
+ valueCurrency: string | null;
773
+ paxCount: number | null;
774
+ expectedCloseDate: string | null;
775
+ source: string | null;
776
+ sourceRef: string | null;
777
+ lostReason: string | null;
778
+ tags: string[];
779
+ customFields: Record<string, unknown>;
780
+ description: string | null;
781
+ createdBy: string | null;
782
+ updatedBy: string | null;
783
+ createdAt: Date;
784
+ updatedAt: Date;
785
+ stageChangedAt: Date;
786
+ closedAt: Date | null;
787
+ }>>;
798
788
  getQuoteById(db: import("drizzle-orm/postgres-js").PostgresJsDatabase, id: string): Promise<{
799
789
  id: string;
800
790
  title: string;
@@ -842,8 +832,8 @@ export declare const quotesService: {
842
832
  lostReason?: string | null | undefined;
843
833
  }, actorId?: string | null): Promise<{
844
834
  source: string | null;
845
- id: string;
846
835
  status: "open" | "won" | "lost" | "archived";
836
+ id: string;
847
837
  createdAt: Date;
848
838
  tags: string[];
849
839
  description: string | null;
@@ -2111,20 +2101,15 @@ export declare const quotesService: {
2111
2101
  limit: number;
2112
2102
  offset: number;
2113
2103
  entityType?: "organization" | "person" | "quote" | "activity" | undefined;
2114
- }): Promise<{
2115
- data: {
2116
- id: string;
2117
- entityType: "organization" | "person" | "quote" | "activity";
2118
- name: string;
2119
- isDefault: boolean;
2120
- sortOrder: number;
2121
- createdAt: Date;
2122
- updatedAt: Date;
2123
- }[];
2124
- total: number;
2125
- limit: number;
2126
- offset: number;
2127
- }>;
2104
+ }): Promise<import("@voyant-travel/types").ListResponse<{
2105
+ id: string;
2106
+ entityType: "organization" | "person" | "quote" | "activity";
2107
+ name: string;
2108
+ isDefault: boolean;
2109
+ sortOrder: number;
2110
+ createdAt: Date;
2111
+ updatedAt: Date;
2112
+ }>>;
2128
2113
  getPipelineById(db: import("drizzle-orm/postgres-js").PostgresJsDatabase, id: string): Promise<{
2129
2114
  id: string;
2130
2115
  entityType: "organization" | "person" | "quote" | "activity";
@@ -2169,23 +2154,18 @@ export declare const quotesService: {
2169
2154
  limit: number;
2170
2155
  offset: number;
2171
2156
  pipelineId?: string | undefined;
2172
- }): Promise<{
2173
- data: {
2174
- id: string;
2175
- pipelineId: string;
2176
- name: string;
2177
- sortOrder: number;
2178
- probability: number | null;
2179
- isClosed: boolean;
2180
- isWon: boolean;
2181
- isLost: boolean;
2182
- createdAt: Date;
2183
- updatedAt: Date;
2184
- }[];
2185
- total: number;
2186
- limit: number;
2187
- offset: number;
2188
- }>;
2157
+ }): Promise<import("@voyant-travel/types").ListResponse<{
2158
+ id: string;
2159
+ pipelineId: string;
2160
+ name: string;
2161
+ sortOrder: number;
2162
+ probability: number | null;
2163
+ isClosed: boolean;
2164
+ isWon: boolean;
2165
+ isLost: boolean;
2166
+ createdAt: Date;
2167
+ updatedAt: Date;
2168
+ }>>;
2189
2169
  getStageById(db: import("drizzle-orm/postgres-js").PostgresJsDatabase, id: string): Promise<{
2190
2170
  id: string;
2191
2171
  pipelineId: string;
@@ -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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AAa,CAAA"}
@@ -8,20 +8,15 @@ type StageListQuery = z.infer<typeof stageListQuerySchema>;
8
8
  type CreateStageInput = z.infer<typeof insertStageSchema>;
9
9
  type UpdateStageInput = z.infer<typeof updateStageSchema>;
10
10
  export declare const pipelinesService: {
11
- listPipelines(db: PostgresJsDatabase, query: PipelineListQuery): Promise<{
12
- data: {
13
- id: string;
14
- entityType: "organization" | "person" | "quote" | "activity";
15
- name: string;
16
- isDefault: boolean;
17
- sortOrder: number;
18
- createdAt: Date;
19
- updatedAt: Date;
20
- }[];
21
- total: number;
22
- limit: number;
23
- offset: number;
24
- }>;
11
+ listPipelines(db: PostgresJsDatabase, query: PipelineListQuery): Promise<import("@voyant-travel/types").ListResponse<{
12
+ id: string;
13
+ entityType: "organization" | "person" | "quote" | "activity";
14
+ name: string;
15
+ isDefault: boolean;
16
+ sortOrder: number;
17
+ createdAt: Date;
18
+ updatedAt: Date;
19
+ }>>;
25
20
  getPipelineById(db: PostgresJsDatabase, id: string): Promise<{
26
21
  id: string;
27
22
  entityType: "organization" | "person" | "quote" | "activity";
@@ -52,23 +47,18 @@ export declare const pipelinesService: {
52
47
  deletePipeline(db: PostgresJsDatabase, id: string): Promise<{
53
48
  id: string;
54
49
  } | null>;
55
- listStages(db: PostgresJsDatabase, query: StageListQuery): Promise<{
56
- data: {
57
- id: string;
58
- pipelineId: string;
59
- name: string;
60
- sortOrder: number;
61
- probability: number | null;
62
- isClosed: boolean;
63
- isWon: boolean;
64
- isLost: boolean;
65
- createdAt: Date;
66
- updatedAt: Date;
67
- }[];
68
- total: number;
69
- limit: number;
70
- offset: number;
71
- }>;
50
+ listStages(db: PostgresJsDatabase, query: StageListQuery): Promise<import("@voyant-travel/types").ListResponse<{
51
+ id: string;
52
+ pipelineId: string;
53
+ name: string;
54
+ sortOrder: number;
55
+ probability: number | null;
56
+ isClosed: boolean;
57
+ isWon: boolean;
58
+ isLost: boolean;
59
+ createdAt: Date;
60
+ updatedAt: Date;
61
+ }>>;
72
62
  getStageById(db: PostgresJsDatabase, id: string): Promise<{
73
63
  id: string;
74
64
  pipelineId: string;
@@ -1 +1 @@
1
- {"version":3,"file":"pipelines.d.ts","sourceRoot":"","sources":["../../src/service/pipelines.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,oBAAoB,EACpB,iBAAiB,EACjB,uBAAuB,EACvB,oBAAoB,EACpB,oBAAoB,EACpB,iBAAiB,EAClB,MAAM,kBAAkB,CAAA;AAGzB,KAAK,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAChE,KAAK,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAC/D,KAAK,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAC/D,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;AAEzD,eAAO,MAAM,gBAAgB;sBACH,kBAAkB,SAAS,iBAAiB;;;;;;;;;;;;;;wBAgB1C,kBAAkB,MAAM,MAAM;;;;;;;;;uBAK/B,kBAAkB,QAAQ,mBAAmB;;;;;;;;;uBAK7C,kBAAkB,MAAM,MAAM,QAAQ,mBAAmB;;;;;;;;;uBASzD,kBAAkB,MAAM,MAAM;;;mBAQlC,kBAAkB,SAAS,cAAc;;;;;;;;;;;;;;;;;qBAgBvC,kBAAkB,MAAM,MAAM;;;;;;;;;;;;oBAK/B,kBAAkB,QAAQ,gBAAgB;;;;;;;;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,gBAAgB;;;;;;;;;;;;oBAK1C,kBAAkB,MAAM,MAAM,QAAQ,gBAAgB;;;;;;;;;;;;oBAStD,kBAAkB,MAAM,MAAM;;;CAIrD,CAAA"}
@@ -26,31 +26,26 @@ export declare class QuoteVersionConflictError extends Error {
26
26
  constructor(message: string);
27
27
  }
28
28
  export declare const quoteVersionsService: {
29
- listQuoteVersions(db: PostgresJsDatabase, query: QuoteVersionListQuery): Promise<{
30
- data: {
31
- id: string;
32
- quoteId: string;
33
- label: string | null;
34
- status: "expired" | "draft" | "sent" | "accepted" | "declined" | "superseded";
35
- supersedesId: string | null;
36
- tripSnapshotId: string | null;
37
- validUntil: string | null;
38
- currency: string;
39
- subtotalAmountCents: number;
40
- taxAmountCents: number;
41
- totalAmountCents: number;
42
- notes: string | null;
43
- sentAt: Date | null;
44
- viewedAt: Date | null;
45
- decidedAt: Date | null;
46
- createdAt: Date;
47
- updatedAt: Date;
48
- archivedAt: Date | null;
49
- }[];
50
- total: number;
51
- limit: number;
52
- offset: number;
53
- }>;
29
+ listQuoteVersions(db: PostgresJsDatabase, query: QuoteVersionListQuery): Promise<import("@voyant-travel/types").ListResponse<{
30
+ id: string;
31
+ quoteId: string;
32
+ label: string | null;
33
+ status: "expired" | "draft" | "sent" | "accepted" | "declined" | "superseded";
34
+ supersedesId: string | null;
35
+ tripSnapshotId: string | null;
36
+ validUntil: string | null;
37
+ currency: string;
38
+ subtotalAmountCents: number;
39
+ taxAmountCents: number;
40
+ totalAmountCents: number;
41
+ notes: string | null;
42
+ sentAt: Date | null;
43
+ viewedAt: Date | null;
44
+ decidedAt: Date | null;
45
+ createdAt: Date;
46
+ updatedAt: Date;
47
+ archivedAt: Date | null;
48
+ }>>;
54
49
  getQuoteVersionById(db: PostgresJsDatabase, id: string): Promise<{
55
50
  id: string;
56
51
  quoteId: string;
@@ -74,8 +69,8 @@ export declare const quoteVersionsService: {
74
69
  getQuoteVersionProposal(db: PostgresJsDatabase, id: string): Promise<QuoteVersionProposalReadModel | null>;
75
70
  createQuoteVersion(db: PostgresJsDatabase, data: CreateQuoteVersionInput): Promise<{
76
71
  currency: string;
77
- id: string;
78
72
  status: "expired" | "draft" | "sent" | "accepted" | "declined" | "superseded";
73
+ id: string;
79
74
  createdAt: Date;
80
75
  updatedAt: Date;
81
76
  notes: string | null;
@@ -101,8 +96,8 @@ export declare const quoteVersionsService: {
101
96
  */
102
97
  createVersionSnapshotFromQuote(db: PostgresJsDatabase, quoteId: string): Promise<{
103
98
  currency: string;
104
- id: string;
105
99
  status: "expired" | "draft" | "sent" | "accepted" | "declined" | "superseded";
100
+ id: string;
106
101
  createdAt: Date;
107
102
  updatedAt: Date;
108
103
  notes: string | null;
@@ -1 +1 @@
1
- {"version":3,"file":"quote-versions.d.ts","sourceRoot":"","sources":["../../src/service/quote-versions.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AACjE,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAE5B,OAAO,EACL,KAAK,KAAK,EACV,KAAK,YAAY,EACjB,KAAK,gBAAgB,EAKtB,MAAM,cAAc,CAAA;AACrB,OAAO,KAAK,EACV,wBAAwB,EACxB,qCAAqC,EACrC,yBAAyB,EACzB,yBAAyB,EACzB,4BAA4B,EAC5B,wBAAwB,EACxB,2BAA2B,EAC3B,sBAAsB,EACtB,4BAA4B,EAC5B,wBAAwB,EACzB,MAAM,kBAAkB,CAAA;AAGzB,KAAK,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAA;AACxE,KAAK,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAA;AACvE,KAAK,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAA;AACvE,KAAK,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAA;AAC/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;;;;;;;;;;;;;;2CAyB3B,kBAAkB,MAClB,MAAM,aACC,IAAI,GAAG,MAAM;;;;;;;;;;;;;;;;;;;;4BAuBI,kBAAkB,SAAQ,wBAAwB;;;;;;;;;;;;;;;;;;;;8BAqBtD,kBAAkB,kBAAkB,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+BAS9D,kBAAkB,kBACN,MAAM,QAChB,2BAA2B;;;;;;;;;;;;;+BAqB7B,kBAAkB,MAClB,MAAM,QACJ,2BAA2B;;;;;;;;;;;;;+BAwBF,kBAAkB,MAAM,MAAM;;;CAqBhE,CAAA"}
@@ -9,38 +9,33 @@ type CreateQuoteProductInput = z.infer<typeof insertQuoteProductSchema>;
9
9
  type UpdateQuoteProductInput = z.infer<typeof updateQuoteProductSchema>;
10
10
  type CreateQuoteMediaInput = z.infer<typeof insertQuoteMediaSchema>;
11
11
  export declare const quotesService: {
12
- listQuotes(db: PostgresJsDatabase, query: QuoteListQuery): Promise<{
13
- data: {
14
- id: string;
15
- title: string;
16
- personId: string | null;
17
- organizationId: string | null;
18
- pipelineId: string;
19
- stageId: string;
20
- ownerId: string | null;
21
- status: "open" | "won" | "lost" | "archived";
22
- acceptedVersionId: string | null;
23
- valueAmountCents: number | null;
24
- valueCurrency: string | null;
25
- paxCount: number | null;
26
- expectedCloseDate: string | null;
27
- source: string | null;
28
- sourceRef: string | null;
29
- lostReason: string | null;
30
- tags: string[];
31
- customFields: Record<string, unknown>;
32
- description: string | null;
33
- createdBy: string | null;
34
- updatedBy: string | null;
35
- createdAt: Date;
36
- updatedAt: Date;
37
- stageChangedAt: Date;
38
- closedAt: Date | null;
39
- }[];
40
- total: number;
41
- limit: number;
42
- offset: number;
43
- }>;
12
+ listQuotes(db: PostgresJsDatabase, query: QuoteListQuery): Promise<import("@voyant-travel/types").ListResponse<{
13
+ id: string;
14
+ title: string;
15
+ personId: string | null;
16
+ organizationId: string | null;
17
+ pipelineId: string;
18
+ stageId: string;
19
+ ownerId: string | null;
20
+ status: "open" | "won" | "lost" | "archived";
21
+ acceptedVersionId: string | null;
22
+ valueAmountCents: number | null;
23
+ valueCurrency: string | null;
24
+ paxCount: number | null;
25
+ expectedCloseDate: string | null;
26
+ source: string | null;
27
+ sourceRef: string | null;
28
+ lostReason: string | null;
29
+ tags: string[];
30
+ customFields: Record<string, unknown>;
31
+ description: string | null;
32
+ createdBy: string | null;
33
+ updatedBy: string | null;
34
+ createdAt: Date;
35
+ updatedAt: Date;
36
+ stageChangedAt: Date;
37
+ closedAt: Date | null;
38
+ }>>;
44
39
  getQuoteById(db: PostgresJsDatabase, id: string): Promise<{
45
40
  id: string;
46
41
  title: string;
@@ -70,8 +65,8 @@ export declare const quotesService: {
70
65
  } | null>;
71
66
  createQuote(db: PostgresJsDatabase, data: CreateQuoteInput, actorId?: string | null): Promise<{
72
67
  source: string | null;
73
- id: string;
74
68
  status: "open" | "won" | "lost" | "archived";
69
+ id: string;
75
70
  createdAt: Date;
76
71
  tags: string[];
77
72
  description: 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,E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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BASnD,kBAAkB,WACb,MAAM,QACT,uBAAuB,YACnB,MAAM,GAAG,IAAI;;;;;;;;;;;;;;;2BAWnB,kBAAkB,MAClB,MAAM,QACJ,uBAAuB,YACnB,MAAM,GAAG,IAAI;;;;;;;;;;;;;;;2BAWI,kBAAkB,MAAM,MAAM,YAAY,MAAM,GAAG,IAAI;;;;uBASjE,kBAAkB,WAAW,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAQ3B,kBAAkB,WAAW,MAAM,QAAQ,qBAAqB;;;;;;;;;;;;;;yBAQhE,kBAAkB,MAAM,MAAM;;;CAO1D,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voyant-travel/quotes",
3
- "version": "0.122.11",
3
+ "version": "0.123.1",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "exports": {
@@ -42,8 +42,9 @@
42
42
  "@voyant-travel/core": "^0.111.0",
43
43
  "@voyant-travel/quotes-contracts": "^0.108.0",
44
44
  "@voyant-travel/db": "^0.109.0",
45
- "@voyant-travel/hono": "^0.114.0",
46
- "@voyant-travel/trips": "^0.124.0"
45
+ "@voyant-travel/types": "^0.106.0",
46
+ "@voyant-travel/hono": "^0.116.0",
47
+ "@voyant-travel/trips": "^0.125.1"
47
48
  },
48
49
  "devDependencies": {
49
50
  "drizzle-kit": "^0.31.10",