@voyantjs/customer-portal 0.5.0 → 0.6.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.
@@ -2,9 +2,9 @@ import { z } from "zod";
2
2
  export declare const customerPortalAddressSchema: z.ZodObject<{
3
3
  id: z.ZodString;
4
4
  label: z.ZodEnum<{
5
- other: "other";
6
5
  service: "service";
7
6
  primary: "primary";
7
+ other: "other";
8
8
  billing: "billing";
9
9
  shipping: "shipping";
10
10
  mailing: "mailing";
@@ -22,9 +22,9 @@ export declare const customerPortalAddressSchema: z.ZodObject<{
22
22
  }, z.core.$strip>;
23
23
  export declare const updateCustomerPortalAddressSchema: z.ZodObject<{
24
24
  label: z.ZodOptional<z.ZodEnum<{
25
- other: "other";
26
25
  service: "service";
27
26
  primary: "primary";
27
+ other: "other";
28
28
  billing: "billing";
29
29
  shipping: "shipping";
30
30
  mailing: "mailing";
@@ -55,9 +55,9 @@ export declare const customerPortalRecordSchema: z.ZodObject<{
55
55
  billingAddress: z.ZodNullable<z.ZodObject<{
56
56
  id: z.ZodString;
57
57
  label: z.ZodEnum<{
58
- other: "other";
59
58
  service: "service";
60
59
  primary: "primary";
60
+ other: "other";
61
61
  billing: "billing";
62
62
  shipping: "shipping";
63
63
  mailing: "mailing";
@@ -91,9 +91,9 @@ export declare const customerPortalBootstrapCandidateSchema: z.ZodObject<{
91
91
  billingAddress: z.ZodNullable<z.ZodObject<{
92
92
  id: z.ZodString;
93
93
  label: z.ZodEnum<{
94
- other: "other";
95
94
  service: "service";
96
95
  primary: "primary";
96
+ other: "other";
97
97
  billing: "billing";
98
98
  shipping: "shipping";
99
99
  mailing: "mailing";
@@ -141,10 +141,10 @@ export declare const customerPortalProfileSchema: z.ZodObject<{
141
141
  }, z.core.$strip>>;
142
142
  documents: z.ZodArray<z.ZodObject<{
143
143
  type: z.ZodEnum<{
144
- visa: "visa";
145
- other: "other";
146
144
  passport: "passport";
145
+ visa: "visa";
147
146
  drivers_license: "drivers_license";
147
+ other: "other";
148
148
  id_card: "id_card";
149
149
  }>;
150
150
  number: z.ZodString;
@@ -174,9 +174,9 @@ export declare const customerPortalProfileSchema: z.ZodObject<{
174
174
  billingAddress: z.ZodNullable<z.ZodObject<{
175
175
  id: z.ZodString;
176
176
  label: z.ZodEnum<{
177
- other: "other";
178
177
  service: "service";
179
178
  primary: "primary";
179
+ other: "other";
180
180
  billing: "billing";
181
181
  shipping: "shipping";
182
182
  mailing: "mailing";
@@ -206,9 +206,9 @@ export declare const updateCustomerPortalRecordSchema: z.ZodObject<{
206
206
  country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
207
207
  billingAddress: z.ZodOptional<z.ZodObject<{
208
208
  label: z.ZodOptional<z.ZodEnum<{
209
- other: "other";
210
209
  service: "service";
211
210
  primary: "primary";
211
+ other: "other";
212
212
  billing: "billing";
213
213
  shipping: "shipping";
214
214
  mailing: "mailing";
@@ -249,10 +249,10 @@ export declare const updateCustomerPortalProfileSchema: z.ZodObject<{
249
249
  }, z.core.$strip>>;
250
250
  documents: z.ZodOptional<z.ZodArray<z.ZodObject<{
251
251
  type: z.ZodEnum<{
252
- visa: "visa";
253
- other: "other";
254
252
  passport: "passport";
253
+ visa: "visa";
255
254
  drivers_license: "drivers_license";
255
+ other: "other";
256
256
  id_card: "id_card";
257
257
  }>;
258
258
  number: z.ZodString;
@@ -276,9 +276,9 @@ export declare const updateCustomerPortalProfileSchema: z.ZodObject<{
276
276
  country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
277
277
  billingAddress: z.ZodOptional<z.ZodObject<{
278
278
  label: z.ZodOptional<z.ZodEnum<{
279
- other: "other";
280
279
  service: "service";
281
280
  primary: "primary";
281
+ other: "other";
282
282
  billing: "billing";
283
283
  shipping: "shipping";
284
284
  mailing: "mailing";
@@ -330,9 +330,9 @@ export declare const bootstrapCustomerPortalSchema: z.ZodObject<{
330
330
  country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
331
331
  billingAddress: z.ZodOptional<z.ZodObject<{
332
332
  label: z.ZodOptional<z.ZodEnum<{
333
- other: "other";
334
333
  service: "service";
335
334
  primary: "primary";
335
+ other: "other";
336
336
  billing: "billing";
337
337
  shipping: "shipping";
338
338
  mailing: "mailing";
@@ -384,10 +384,10 @@ export declare const bootstrapCustomerPortalResultSchema: z.ZodObject<{
384
384
  }, z.core.$strip>>;
385
385
  documents: z.ZodArray<z.ZodObject<{
386
386
  type: z.ZodEnum<{
387
- visa: "visa";
388
- other: "other";
389
387
  passport: "passport";
388
+ visa: "visa";
390
389
  drivers_license: "drivers_license";
390
+ other: "other";
391
391
  id_card: "id_card";
392
392
  }>;
393
393
  number: z.ZodString;
@@ -417,9 +417,9 @@ export declare const bootstrapCustomerPortalResultSchema: z.ZodObject<{
417
417
  billingAddress: z.ZodNullable<z.ZodObject<{
418
418
  id: z.ZodString;
419
419
  label: z.ZodEnum<{
420
- other: "other";
421
420
  service: "service";
422
421
  primary: "primary";
422
+ other: "other";
423
423
  billing: "billing";
424
424
  shipping: "shipping";
425
425
  mailing: "mailing";
@@ -454,9 +454,9 @@ export declare const bootstrapCustomerPortalResultSchema: z.ZodObject<{
454
454
  billingAddress: z.ZodNullable<z.ZodObject<{
455
455
  id: z.ZodString;
456
456
  label: z.ZodEnum<{
457
- other: "other";
458
457
  service: "service";
459
458
  primary: "primary";
459
+ other: "other";
460
460
  billing: "billing";
461
461
  shipping: "shipping";
462
462
  mailing: "mailing";
@@ -505,10 +505,10 @@ export declare const customerPortalCompanionSchema: z.ZodObject<{
505
505
  }, z.core.$strip>>;
506
506
  documents: z.ZodArray<z.ZodObject<{
507
507
  type: z.ZodEnum<{
508
- visa: "visa";
509
- other: "other";
510
508
  passport: "passport";
509
+ visa: "visa";
511
510
  drivers_license: "drivers_license";
511
+ other: "other";
512
512
  id_card: "id_card";
513
513
  }>;
514
514
  number: z.ZodNullable<z.ZodString>;
@@ -522,8 +522,8 @@ export declare const customerPortalCompanionSchema: z.ZodObject<{
522
522
  }, z.core.$strip>;
523
523
  export declare const createCustomerPortalCompanionSchema: z.ZodObject<{
524
524
  role: z.ZodDefault<z.ZodEnum<{
525
- other: "other";
526
525
  primary: "primary";
526
+ other: "other";
527
527
  legal: "legal";
528
528
  general: "general";
529
529
  reservations: "reservations";
@@ -557,10 +557,10 @@ export declare const createCustomerPortalCompanionSchema: z.ZodObject<{
557
557
  }, z.core.$strip>>>;
558
558
  documents: z.ZodOptional<z.ZodArray<z.ZodObject<{
559
559
  type: z.ZodEnum<{
560
- visa: "visa";
561
- other: "other";
562
560
  passport: "passport";
561
+ visa: "visa";
563
562
  drivers_license: "drivers_license";
563
+ other: "other";
564
564
  id_card: "id_card";
565
565
  }>;
566
566
  number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -574,8 +574,8 @@ export declare const createCustomerPortalCompanionSchema: z.ZodObject<{
574
574
  }, z.core.$strip>;
575
575
  export declare const updateCustomerPortalCompanionSchema: z.ZodObject<{
576
576
  role: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
577
- other: "other";
578
577
  primary: "primary";
578
+ other: "other";
579
579
  legal: "legal";
580
580
  general: "general";
581
581
  reservations: "reservations";
@@ -609,10 +609,10 @@ export declare const updateCustomerPortalCompanionSchema: z.ZodObject<{
609
609
  }, z.core.$strip>>>;
610
610
  documents: z.ZodOptional<z.ZodArray<z.ZodObject<{
611
611
  type: z.ZodEnum<{
612
- visa: "visa";
613
- other: "other";
614
612
  passport: "passport";
613
+ visa: "visa";
615
614
  drivers_license: "drivers_license";
615
+ other: "other";
616
616
  id_card: "id_card";
617
617
  }>;
618
618
  number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -655,10 +655,10 @@ export declare const importCustomerPortalBookingParticipantsResultSchema: z.ZodO
655
655
  }, z.core.$strip>>;
656
656
  documents: z.ZodArray<z.ZodObject<{
657
657
  type: z.ZodEnum<{
658
- visa: "visa";
659
- other: "other";
660
658
  passport: "passport";
659
+ visa: "visa";
661
660
  drivers_license: "drivers_license";
661
+ other: "other";
662
662
  id_card: "id_card";
663
663
  }>;
664
664
  number: z.ZodNullable<z.ZodString>;
@@ -719,10 +719,10 @@ export declare const customerPortalBookingItemSchema: z.ZodObject<{
719
719
  title: z.ZodString;
720
720
  description: z.ZodNullable<z.ZodString>;
721
721
  itemType: z.ZodEnum<{
722
+ service: "service";
722
723
  other: "other";
723
724
  unit: "unit";
724
725
  extra: "extra";
725
- service: "service";
726
726
  fee: "fee";
727
727
  tax: "tax";
728
728
  discount: "discount";
@@ -795,10 +795,10 @@ export declare const customerPortalBookingDocumentSchema: z.ZodObject<{
795
795
  participantId: z.ZodNullable<z.ZodString>;
796
796
  type: z.ZodEnum<{
797
797
  visa: "visa";
798
+ other: "other";
798
799
  insurance: "insurance";
799
800
  health: "health";
800
801
  passport_copy: "passport_copy";
801
- other: "other";
802
802
  invoice: "invoice";
803
803
  proforma: "proforma";
804
804
  credit_note: "credit_note";
@@ -818,8 +818,8 @@ export declare const customerPortalBookingFinancialDocumentSchema: z.ZodObject<{
818
818
  credit_note: "credit_note";
819
819
  }>;
820
820
  invoiceStatus: z.ZodEnum<{
821
- draft: "draft";
822
821
  void: "void";
822
+ draft: "draft";
823
823
  sent: "sent";
824
824
  partially_paid: "partially_paid";
825
825
  paid: "paid";
@@ -839,9 +839,9 @@ export declare const customerPortalBookingFinancialDocumentSchema: z.ZodObject<{
839
839
  missing: "missing";
840
840
  }>;
841
841
  format: z.ZodNullable<z.ZodEnum<{
842
- pdf: "pdf";
843
- json: "json";
844
842
  html: "html";
843
+ json: "json";
844
+ pdf: "pdf";
845
845
  xml: "xml";
846
846
  }>>;
847
847
  generatedAt: z.ZodNullable<z.ZodString>;
@@ -857,8 +857,8 @@ export declare const customerPortalBookingPaymentSchema: z.ZodObject<{
857
857
  credit_note: "credit_note";
858
858
  }>;
859
859
  status: z.ZodEnum<{
860
- completed: "completed";
861
860
  pending: "pending";
861
+ completed: "completed";
862
862
  failed: "failed";
863
863
  refunded: "refunded";
864
864
  }>;
@@ -889,8 +889,8 @@ export declare const customerPortalBookingFinancialsSchema: z.ZodObject<{
889
889
  credit_note: "credit_note";
890
890
  }>;
891
891
  invoiceStatus: z.ZodEnum<{
892
- draft: "draft";
893
892
  void: "void";
893
+ draft: "draft";
894
894
  sent: "sent";
895
895
  partially_paid: "partially_paid";
896
896
  paid: "paid";
@@ -910,9 +910,9 @@ export declare const customerPortalBookingFinancialsSchema: z.ZodObject<{
910
910
  missing: "missing";
911
911
  }>;
912
912
  format: z.ZodNullable<z.ZodEnum<{
913
- pdf: "pdf";
914
- json: "json";
915
913
  html: "html";
914
+ json: "json";
915
+ pdf: "pdf";
916
916
  xml: "xml";
917
917
  }>>;
918
918
  generatedAt: z.ZodNullable<z.ZodString>;
@@ -928,8 +928,8 @@ export declare const customerPortalBookingFinancialsSchema: z.ZodObject<{
928
928
  credit_note: "credit_note";
929
929
  }>;
930
930
  status: z.ZodEnum<{
931
- completed: "completed";
932
931
  pending: "pending";
932
+ completed: "completed";
933
933
  failed: "failed";
934
934
  refunded: "refunded";
935
935
  }>;
@@ -965,9 +965,9 @@ export declare const customerPortalBookingFulfillmentSchema: z.ZodObject<{
965
965
  mobile: "mobile";
966
966
  }>;
967
967
  deliveryChannel: z.ZodEnum<{
968
+ email: "email";
968
969
  other: "other";
969
970
  download: "download";
970
- email: "email";
971
971
  api: "api";
972
972
  wallet: "wallet";
973
973
  }>;
@@ -1019,10 +1019,10 @@ export declare const customerPortalBookingDetailSchema: z.ZodObject<{
1019
1019
  title: z.ZodString;
1020
1020
  description: z.ZodNullable<z.ZodString>;
1021
1021
  itemType: z.ZodEnum<{
1022
+ service: "service";
1022
1023
  other: "other";
1023
1024
  unit: "unit";
1024
1025
  extra: "extra";
1025
- service: "service";
1026
1026
  fee: "fee";
1027
1027
  tax: "tax";
1028
1028
  discount: "discount";
@@ -1081,10 +1081,10 @@ export declare const customerPortalBookingDetailSchema: z.ZodObject<{
1081
1081
  participantId: z.ZodNullable<z.ZodString>;
1082
1082
  type: z.ZodEnum<{
1083
1083
  visa: "visa";
1084
+ other: "other";
1084
1085
  insurance: "insurance";
1085
1086
  health: "health";
1086
1087
  passport_copy: "passport_copy";
1087
- other: "other";
1088
1088
  invoice: "invoice";
1089
1089
  proforma: "proforma";
1090
1090
  credit_note: "credit_note";
@@ -1105,8 +1105,8 @@ export declare const customerPortalBookingDetailSchema: z.ZodObject<{
1105
1105
  credit_note: "credit_note";
1106
1106
  }>;
1107
1107
  invoiceStatus: z.ZodEnum<{
1108
- draft: "draft";
1109
1108
  void: "void";
1109
+ draft: "draft";
1110
1110
  sent: "sent";
1111
1111
  partially_paid: "partially_paid";
1112
1112
  paid: "paid";
@@ -1126,9 +1126,9 @@ export declare const customerPortalBookingDetailSchema: z.ZodObject<{
1126
1126
  missing: "missing";
1127
1127
  }>;
1128
1128
  format: z.ZodNullable<z.ZodEnum<{
1129
- pdf: "pdf";
1130
- json: "json";
1131
1129
  html: "html";
1130
+ json: "json";
1131
+ pdf: "pdf";
1132
1132
  xml: "xml";
1133
1133
  }>>;
1134
1134
  generatedAt: z.ZodNullable<z.ZodString>;
@@ -1144,8 +1144,8 @@ export declare const customerPortalBookingDetailSchema: z.ZodObject<{
1144
1144
  credit_note: "credit_note";
1145
1145
  }>;
1146
1146
  status: z.ZodEnum<{
1147
- completed: "completed";
1148
1147
  pending: "pending";
1148
+ completed: "completed";
1149
1149
  failed: "failed";
1150
1150
  refunded: "refunded";
1151
1151
  }>;
@@ -1181,9 +1181,9 @@ export declare const customerPortalBookingDetailSchema: z.ZodObject<{
1181
1181
  mobile: "mobile";
1182
1182
  }>;
1183
1183
  deliveryChannel: z.ZodEnum<{
1184
+ email: "email";
1184
1185
  other: "other";
1185
1186
  download: "download";
1186
- email: "email";
1187
1187
  api: "api";
1188
1188
  wallet: "wallet";
1189
1189
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voyantjs/customer-portal",
3
- "version": "0.5.0",
3
+ "version": "0.6.2",
4
4
  "license": "FSL-1.1-Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",
@@ -30,15 +30,15 @@
30
30
  "drizzle-orm": "^0.45.2",
31
31
  "hono": "^4.12.10",
32
32
  "zod": "^4.3.6",
33
- "@voyantjs/bookings": "0.5.0",
34
- "@voyantjs/core": "0.5.0",
35
- "@voyantjs/crm": "0.5.0",
36
- "@voyantjs/db": "0.5.0",
37
- "@voyantjs/finance": "0.5.0",
38
- "@voyantjs/hono": "0.5.0",
39
- "@voyantjs/identity": "0.5.0",
40
- "@voyantjs/legal": "0.5.0",
41
- "@voyantjs/utils": "0.5.0"
33
+ "@voyantjs/bookings": "0.6.2",
34
+ "@voyantjs/core": "0.6.2",
35
+ "@voyantjs/crm": "0.6.2",
36
+ "@voyantjs/db": "0.6.2",
37
+ "@voyantjs/finance": "0.6.2",
38
+ "@voyantjs/hono": "0.6.2",
39
+ "@voyantjs/identity": "0.6.2",
40
+ "@voyantjs/legal": "0.6.2",
41
+ "@voyantjs/utils": "0.6.2"
42
42
  },
43
43
  "devDependencies": {
44
44
  "typescript": "^6.0.2",