@voyantjs/customer-portal 0.31.1 → 0.31.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -60,7 +60,7 @@ export declare function createPublicCustomerPortalRoutes(options?: PublicCustome
60
60
  phone: string | null;
61
61
  billingAddress: {
62
62
  id: string;
63
- label: "service" | "primary" | "other" | "billing" | "shipping" | "mailing" | "meeting" | "legal";
63
+ label: "service" | "primary" | "other" | "legal" | "billing" | "shipping" | "mailing" | "meeting";
64
64
  fullText: string | null;
65
65
  line1: string | null;
66
66
  line2: string | null;
@@ -167,7 +167,7 @@ export declare function createPublicCustomerPortalRoutes(options?: PublicCustome
167
167
  phone: string | null;
168
168
  billingAddress: {
169
169
  id: string;
170
- label: "service" | "primary" | "other" | "billing" | "shipping" | "mailing" | "meeting" | "legal";
170
+ label: "service" | "primary" | "other" | "legal" | "billing" | "shipping" | "mailing" | "meeting";
171
171
  fullText: string | null;
172
172
  line1: string | null;
173
173
  line2: string | null;
@@ -257,7 +257,7 @@ export declare function createPublicCustomerPortalRoutes(options?: PublicCustome
257
257
  phone: string | null;
258
258
  billingAddress: {
259
259
  id: string;
260
- label: "service" | "primary" | "other" | "billing" | "shipping" | "mailing" | "meeting" | "legal";
260
+ label: "service" | "primary" | "other" | "legal" | "billing" | "shipping" | "mailing" | "meeting";
261
261
  fullText: string | null;
262
262
  line1: string | null;
263
263
  line2: string | null;
@@ -501,7 +501,7 @@ export declare function createPublicCustomerPortalRoutes(options?: PublicCustome
501
501
  phone: string | null;
502
502
  billingAddress: {
503
503
  id: string;
504
- label: "service" | "primary" | "other" | "billing" | "shipping" | "mailing" | "meeting" | "legal";
504
+ label: "service" | "primary" | "other" | "legal" | "billing" | "shipping" | "mailing" | "meeting";
505
505
  fullText: string | null;
506
506
  line1: string | null;
507
507
  line2: string | null;
@@ -527,7 +527,7 @@ export declare function createPublicCustomerPortalRoutes(options?: PublicCustome
527
527
  phone: string | null;
528
528
  billingAddress: {
529
529
  id: string;
530
- label: "service" | "primary" | "other" | "billing" | "shipping" | "mailing" | "meeting" | "legal";
530
+ label: "service" | "primary" | "other" | "legal" | "billing" | "shipping" | "mailing" | "meeting";
531
531
  fullText: string | null;
532
532
  line1: string | null;
533
533
  line2: string | null;
@@ -841,7 +841,7 @@ export declare function createPublicCustomerPortalRoutes(options?: PublicCustome
841
841
  } | null;
842
842
  documents: {
843
843
  id: string;
844
- source: "legal" | "finance" | "booking_document";
844
+ source: "finance" | "legal" | "booking_document";
845
845
  travelerId: string | null;
846
846
  type: "visa" | "other" | "insurance" | "health" | "passport_copy" | "invoice" | "proforma" | "credit_note" | "contract";
847
847
  fileName: string;
@@ -917,7 +917,7 @@ export declare function createPublicCustomerPortalRoutes(options?: PublicCustome
917
917
  output: {
918
918
  data: {
919
919
  id: string;
920
- source: "legal" | "finance" | "booking_document";
920
+ source: "finance" | "legal" | "booking_document";
921
921
  travelerId: string | null;
922
922
  type: "visa" | "other" | "insurance" | "health" | "passport_copy" | "invoice" | "proforma" | "credit_note" | "contract";
923
923
  fileName: string;
@@ -1016,7 +1016,7 @@ export declare const publicCustomerPortalRoutes: import("hono/hono-base").HonoBa
1016
1016
  phone: string | null;
1017
1017
  billingAddress: {
1018
1018
  id: string;
1019
- label: "service" | "primary" | "other" | "billing" | "shipping" | "mailing" | "meeting" | "legal";
1019
+ label: "service" | "primary" | "other" | "legal" | "billing" | "shipping" | "mailing" | "meeting";
1020
1020
  fullText: string | null;
1021
1021
  line1: string | null;
1022
1022
  line2: string | null;
@@ -1123,7 +1123,7 @@ export declare const publicCustomerPortalRoutes: import("hono/hono-base").HonoBa
1123
1123
  phone: string | null;
1124
1124
  billingAddress: {
1125
1125
  id: string;
1126
- label: "service" | "primary" | "other" | "billing" | "shipping" | "mailing" | "meeting" | "legal";
1126
+ label: "service" | "primary" | "other" | "legal" | "billing" | "shipping" | "mailing" | "meeting";
1127
1127
  fullText: string | null;
1128
1128
  line1: string | null;
1129
1129
  line2: string | null;
@@ -1213,7 +1213,7 @@ export declare const publicCustomerPortalRoutes: import("hono/hono-base").HonoBa
1213
1213
  phone: string | null;
1214
1214
  billingAddress: {
1215
1215
  id: string;
1216
- label: "service" | "primary" | "other" | "billing" | "shipping" | "mailing" | "meeting" | "legal";
1216
+ label: "service" | "primary" | "other" | "legal" | "billing" | "shipping" | "mailing" | "meeting";
1217
1217
  fullText: string | null;
1218
1218
  line1: string | null;
1219
1219
  line2: string | null;
@@ -1457,7 +1457,7 @@ export declare const publicCustomerPortalRoutes: import("hono/hono-base").HonoBa
1457
1457
  phone: string | null;
1458
1458
  billingAddress: {
1459
1459
  id: string;
1460
- label: "service" | "primary" | "other" | "billing" | "shipping" | "mailing" | "meeting" | "legal";
1460
+ label: "service" | "primary" | "other" | "legal" | "billing" | "shipping" | "mailing" | "meeting";
1461
1461
  fullText: string | null;
1462
1462
  line1: string | null;
1463
1463
  line2: string | null;
@@ -1483,7 +1483,7 @@ export declare const publicCustomerPortalRoutes: import("hono/hono-base").HonoBa
1483
1483
  phone: string | null;
1484
1484
  billingAddress: {
1485
1485
  id: string;
1486
- label: "service" | "primary" | "other" | "billing" | "shipping" | "mailing" | "meeting" | "legal";
1486
+ label: "service" | "primary" | "other" | "legal" | "billing" | "shipping" | "mailing" | "meeting";
1487
1487
  fullText: string | null;
1488
1488
  line1: string | null;
1489
1489
  line2: string | null;
@@ -1797,7 +1797,7 @@ export declare const publicCustomerPortalRoutes: import("hono/hono-base").HonoBa
1797
1797
  } | null;
1798
1798
  documents: {
1799
1799
  id: string;
1800
- source: "legal" | "finance" | "booking_document";
1800
+ source: "finance" | "legal" | "booking_document";
1801
1801
  travelerId: string | null;
1802
1802
  type: "visa" | "other" | "insurance" | "health" | "passport_copy" | "invoice" | "proforma" | "credit_note" | "contract";
1803
1803
  fileName: string;
@@ -1873,7 +1873,7 @@ export declare const publicCustomerPortalRoutes: import("hono/hono-base").HonoBa
1873
1873
  output: {
1874
1874
  data: {
1875
1875
  id: string;
1876
- source: "legal" | "finance" | "booking_document";
1876
+ source: "finance" | "legal" | "booking_document";
1877
1877
  travelerId: string | null;
1878
1878
  type: "visa" | "other" | "insurance" | "health" | "passport_copy" | "invoice" | "proforma" | "credit_note" | "contract";
1879
1879
  fileName: string;
@@ -34,7 +34,7 @@ export declare const publicCustomerPortalService: {
34
34
  getBooking(db: PostgresJsDatabase, userId: string, bookingId: string, options?: CustomerPortalServiceOptions): Promise<CustomerPortalBookingDetail | null>;
35
35
  listBookingDocuments(db: PostgresJsDatabase, userId: string, bookingId: string, options?: CustomerPortalServiceOptions): Promise<{
36
36
  id: string;
37
- source: "legal" | "finance" | "booking_document";
37
+ source: "finance" | "legal" | "booking_document";
38
38
  travelerId: string | null;
39
39
  type: "visa" | "other" | "insurance" | "health" | "passport_copy" | "invoice" | "proforma" | "credit_note" | "contract";
40
40
  fileName: string;
@@ -5,11 +5,11 @@ export declare const customerPortalAddressSchema: z.ZodObject<{
5
5
  service: "service";
6
6
  primary: "primary";
7
7
  other: "other";
8
+ legal: "legal";
8
9
  billing: "billing";
9
10
  shipping: "shipping";
10
11
  mailing: "mailing";
11
12
  meeting: "meeting";
12
- legal: "legal";
13
13
  }>;
14
14
  fullText: z.ZodNullable<z.ZodString>;
15
15
  line1: z.ZodNullable<z.ZodString>;
@@ -25,11 +25,11 @@ export declare const updateCustomerPortalAddressSchema: z.ZodObject<{
25
25
  service: "service";
26
26
  primary: "primary";
27
27
  other: "other";
28
+ legal: "legal";
28
29
  billing: "billing";
29
30
  shipping: "shipping";
30
31
  mailing: "mailing";
31
32
  meeting: "meeting";
32
- legal: "legal";
33
33
  }>>;
34
34
  fullText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
35
  line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -55,11 +55,11 @@ export declare const customerPortalRecordSchema: z.ZodObject<{
55
55
  service: "service";
56
56
  primary: "primary";
57
57
  other: "other";
58
+ legal: "legal";
58
59
  billing: "billing";
59
60
  shipping: "shipping";
60
61
  mailing: "mailing";
61
62
  meeting: "meeting";
62
- legal: "legal";
63
63
  }>;
64
64
  fullText: z.ZodNullable<z.ZodString>;
65
65
  line1: z.ZodNullable<z.ZodString>;
@@ -88,11 +88,11 @@ export declare const customerPortalBootstrapCandidateSchema: z.ZodObject<{
88
88
  service: "service";
89
89
  primary: "primary";
90
90
  other: "other";
91
+ legal: "legal";
91
92
  billing: "billing";
92
93
  shipping: "shipping";
93
94
  mailing: "mailing";
94
95
  meeting: "meeting";
95
- legal: "legal";
96
96
  }>;
97
97
  fullText: z.ZodNullable<z.ZodString>;
98
98
  line1: z.ZodNullable<z.ZodString>;
@@ -158,11 +158,11 @@ export declare const customerPortalProfileSchema: z.ZodObject<{
158
158
  service: "service";
159
159
  primary: "primary";
160
160
  other: "other";
161
+ legal: "legal";
161
162
  billing: "billing";
162
163
  shipping: "shipping";
163
164
  mailing: "mailing";
164
165
  meeting: "meeting";
165
- legal: "legal";
166
166
  }>;
167
167
  fullText: z.ZodNullable<z.ZodString>;
168
168
  line1: z.ZodNullable<z.ZodString>;
@@ -187,11 +187,11 @@ export declare const updateCustomerPortalRecordSchema: z.ZodObject<{
187
187
  service: "service";
188
188
  primary: "primary";
189
189
  other: "other";
190
+ legal: "legal";
190
191
  billing: "billing";
191
192
  shipping: "shipping";
192
193
  mailing: "mailing";
193
194
  meeting: "meeting";
194
- legal: "legal";
195
195
  }>>;
196
196
  fullText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
197
197
  line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -243,11 +243,11 @@ export declare const updateCustomerPortalProfileSchema: z.ZodObject<{
243
243
  service: "service";
244
244
  primary: "primary";
245
245
  other: "other";
246
+ legal: "legal";
246
247
  billing: "billing";
247
248
  shipping: "shipping";
248
249
  mailing: "mailing";
249
250
  meeting: "meeting";
250
- legal: "legal";
251
251
  }>>;
252
252
  fullText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
253
253
  line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -352,11 +352,11 @@ export declare const bootstrapCustomerPortalSchema: z.ZodObject<{
352
352
  service: "service";
353
353
  primary: "primary";
354
354
  other: "other";
355
+ legal: "legal";
355
356
  billing: "billing";
356
357
  shipping: "shipping";
357
358
  mailing: "mailing";
358
359
  meeting: "meeting";
359
- legal: "legal";
360
360
  }>>;
361
361
  fullText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
362
362
  line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -426,11 +426,11 @@ export declare const bootstrapCustomerPortalResultSchema: z.ZodObject<{
426
426
  service: "service";
427
427
  primary: "primary";
428
428
  other: "other";
429
+ legal: "legal";
429
430
  billing: "billing";
430
431
  shipping: "shipping";
431
432
  mailing: "mailing";
432
433
  meeting: "meeting";
433
- legal: "legal";
434
434
  }>;
435
435
  fullText: z.ZodNullable<z.ZodString>;
436
436
  line1: z.ZodNullable<z.ZodString>;
@@ -460,11 +460,11 @@ export declare const bootstrapCustomerPortalResultSchema: z.ZodObject<{
460
460
  service: "service";
461
461
  primary: "primary";
462
462
  other: "other";
463
+ legal: "legal";
463
464
  billing: "billing";
464
465
  shipping: "shipping";
465
466
  mailing: "mailing";
466
467
  meeting: "meeting";
467
- legal: "legal";
468
468
  }>;
469
469
  fullText: z.ZodNullable<z.ZodString>;
470
470
  line1: z.ZodNullable<z.ZodString>;
@@ -855,8 +855,8 @@ export declare const customerPortalBookingBillingContactSchema: z.ZodObject<{
855
855
  export declare const customerPortalBookingDocumentSchema: z.ZodObject<{
856
856
  id: z.ZodString;
857
857
  source: z.ZodEnum<{
858
- legal: "legal";
859
858
  finance: "finance";
859
+ legal: "legal";
860
860
  booking_document: "booking_document";
861
861
  }>;
862
862
  travelerId: z.ZodNullable<z.ZodString>;
@@ -1137,8 +1137,8 @@ export declare const customerPortalBookingDetailSchema: z.ZodObject<{
1137
1137
  documents: z.ZodArray<z.ZodObject<{
1138
1138
  id: z.ZodString;
1139
1139
  source: z.ZodEnum<{
1140
- legal: "legal";
1141
1140
  finance: "finance";
1141
+ legal: "legal";
1142
1142
  booking_document: "booking_document";
1143
1143
  }>;
1144
1144
  travelerId: z.ZodNullable<z.ZodString>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voyantjs/customer-portal",
3
- "version": "0.31.1",
3
+ "version": "0.31.2",
4
4
  "license": "Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",
@@ -34,15 +34,15 @@
34
34
  "drizzle-orm": "^0.45.2",
35
35
  "hono": "^4.12.10",
36
36
  "zod": "^4.3.6",
37
- "@voyantjs/bookings": "0.31.1",
38
- "@voyantjs/core": "0.31.1",
39
- "@voyantjs/crm": "0.31.1",
40
- "@voyantjs/db": "0.31.1",
41
- "@voyantjs/finance": "0.31.1",
42
- "@voyantjs/hono": "0.31.1",
43
- "@voyantjs/identity": "0.31.1",
44
- "@voyantjs/legal": "0.31.1",
45
- "@voyantjs/utils": "0.31.1"
37
+ "@voyantjs/bookings": "0.31.2",
38
+ "@voyantjs/core": "0.31.2",
39
+ "@voyantjs/crm": "0.31.2",
40
+ "@voyantjs/db": "0.31.2",
41
+ "@voyantjs/finance": "0.31.2",
42
+ "@voyantjs/hono": "0.31.2",
43
+ "@voyantjs/identity": "0.31.2",
44
+ "@voyantjs/legal": "0.31.2",
45
+ "@voyantjs/utils": "0.31.2"
46
46
  },
47
47
  "devDependencies": {
48
48
  "typescript": "^6.0.2",