@voyantjs/customer-portal-react 0.5.0 → 0.6.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.
@@ -6,7 +6,7 @@ export declare function useCustomerPortalBookingDocuments(bookingId: string | nu
6
6
  id: string;
7
7
  source: "legal" | "finance" | "booking_document";
8
8
  participantId: string | null;
9
- type: "visa" | "insurance" | "health" | "passport_copy" | "other" | "invoice" | "proforma" | "credit_note" | "contract";
9
+ type: "visa" | "other" | "insurance" | "health" | "passport_copy" | "invoice" | "proforma" | "credit_note" | "contract";
10
10
  fileName: string;
11
11
  fileUrl: string;
12
12
  mimeType: string | null;
@@ -25,7 +25,7 @@ export declare function useCustomerPortalBooking(bookingId: string | null | unde
25
25
  id: string;
26
26
  title: string;
27
27
  description: string | null;
28
- itemType: "other" | "unit" | "extra" | "service" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
28
+ itemType: "service" | "other" | "unit" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
29
29
  status: "draft" | "on_hold" | "confirmed" | "expired" | "cancelled" | "fulfilled";
30
30
  serviceDate: string | null;
31
31
  startsAt: string | null;
@@ -57,7 +57,7 @@ export declare function useCustomerPortalBooking(bookingId: string | null | unde
57
57
  id: string;
58
58
  source: "legal" | "finance" | "booking_document";
59
59
  participantId: string | null;
60
- type: "visa" | "insurance" | "health" | "passport_copy" | "other" | "invoice" | "proforma" | "credit_note" | "contract";
60
+ type: "visa" | "other" | "insurance" | "health" | "passport_copy" | "invoice" | "proforma" | "credit_note" | "contract";
61
61
  fileName: string;
62
62
  fileUrl: string;
63
63
  mimeType: string | null;
@@ -68,7 +68,7 @@ export declare function useCustomerPortalBooking(bookingId: string | null | unde
68
68
  invoiceId: string;
69
69
  invoiceNumber: string;
70
70
  invoiceType: "invoice" | "proforma" | "credit_note";
71
- invoiceStatus: "draft" | "void" | "sent" | "partially_paid" | "paid" | "overdue";
71
+ invoiceStatus: "void" | "draft" | "sent" | "partially_paid" | "paid" | "overdue";
72
72
  currency: string;
73
73
  totalCents: number;
74
74
  paidCents: number;
@@ -76,7 +76,7 @@ export declare function useCustomerPortalBooking(bookingId: string | null | unde
76
76
  issueDate: string;
77
77
  dueDate: string;
78
78
  documentStatus: "pending" | "failed" | "ready" | "stale" | "missing";
79
- format: "pdf" | "json" | "html" | "xml" | null;
79
+ format: "html" | "json" | "pdf" | "xml" | null;
80
80
  generatedAt: string | null;
81
81
  downloadUrl: string | null;
82
82
  }[];
@@ -85,7 +85,7 @@ export declare function useCustomerPortalBooking(bookingId: string | null | unde
85
85
  invoiceId: string;
86
86
  invoiceNumber: string;
87
87
  invoiceType: "invoice" | "proforma" | "credit_note";
88
- status: "completed" | "pending" | "failed" | "refunded";
88
+ status: "pending" | "completed" | "failed" | "refunded";
89
89
  paymentMethod: "other" | "voucher" | "wallet" | "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "direct_bill";
90
90
  amountCents: number;
91
91
  currency: string;
@@ -99,7 +99,7 @@ export declare function useCustomerPortalBooking(bookingId: string | null | unde
99
99
  bookingItemId: string | null;
100
100
  participantId: string | null;
101
101
  fulfillmentType: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
102
- deliveryChannel: "other" | "download" | "email" | "api" | "wallet";
102
+ deliveryChannel: "email" | "other" | "download" | "api" | "wallet";
103
103
  status: "pending" | "issued" | "reissued" | "revoked" | "failed";
104
104
  artifactUrl: string | null;
105
105
  }[];
@@ -28,7 +28,7 @@ export declare function useCustomerPortalCompanions(options?: UseCustomerPortalC
28
28
  isDefault: boolean;
29
29
  }[];
30
30
  documents: {
31
- type: "visa" | "other" | "passport" | "drivers_license" | "id_card";
31
+ type: "passport" | "visa" | "drivers_license" | "other" | "id_card";
32
32
  number: string | null;
33
33
  issuingAuthority: string | null;
34
34
  country: string | null;
@@ -31,7 +31,7 @@ export declare function useCustomerPortalMutation(): {
31
31
  addressLine2: string | null;
32
32
  } | null;
33
33
  documents: {
34
- type: "visa" | "other" | "passport" | "drivers_license" | "id_card";
34
+ type: "passport" | "visa" | "drivers_license" | "other" | "id_card";
35
35
  number: string;
36
36
  issuingAuthority: string | null;
37
37
  issuingCountry: string;
@@ -58,7 +58,7 @@ export declare function useCustomerPortalMutation(): {
58
58
  country: string | null;
59
59
  billingAddress: {
60
60
  id: string;
61
- label: "other" | "service" | "primary" | "billing" | "shipping" | "mailing" | "meeting" | "legal";
61
+ label: "service" | "primary" | "other" | "billing" | "shipping" | "mailing" | "meeting" | "legal";
62
62
  fullText: string | null;
63
63
  line1: string | null;
64
64
  line2: string | null;
@@ -86,7 +86,7 @@ export declare function useCustomerPortalMutation(): {
86
86
  country: string | null;
87
87
  billingAddress: {
88
88
  id: string;
89
- label: "other" | "service" | "primary" | "billing" | "shipping" | "mailing" | "meeting" | "legal";
89
+ label: "service" | "primary" | "other" | "billing" | "shipping" | "mailing" | "meeting" | "legal";
90
90
  fullText: string | null;
91
91
  line1: string | null;
92
92
  line2: string | null;
@@ -118,7 +118,7 @@ export declare function useCustomerPortalMutation(): {
118
118
  city?: string | null | undefined;
119
119
  country?: string | null | undefined;
120
120
  billingAddress?: {
121
- label?: "other" | "service" | "primary" | "billing" | "shipping" | "mailing" | "meeting" | "legal" | undefined;
121
+ label?: "service" | "primary" | "other" | "billing" | "shipping" | "mailing" | "meeting" | "legal" | undefined;
122
122
  fullText?: string | null | undefined;
123
123
  line1?: string | null | undefined;
124
124
  line2?: string | null | undefined;
@@ -152,7 +152,7 @@ export declare function useCustomerPortalMutation(): {
152
152
  addressLine2: string | null;
153
153
  } | null;
154
154
  documents: {
155
- type: "visa" | "other" | "passport" | "drivers_license" | "id_card";
155
+ type: "passport" | "visa" | "drivers_license" | "other" | "id_card";
156
156
  number: string;
157
157
  issuingAuthority: string | null;
158
158
  issuingCountry: string;
@@ -179,7 +179,7 @@ export declare function useCustomerPortalMutation(): {
179
179
  country: string | null;
180
180
  billingAddress: {
181
181
  id: string;
182
- label: "other" | "service" | "primary" | "billing" | "shipping" | "mailing" | "meeting" | "legal";
182
+ label: "service" | "primary" | "other" | "billing" | "shipping" | "mailing" | "meeting" | "legal";
183
183
  fullText: string | null;
184
184
  line1: string | null;
185
185
  line2: string | null;
@@ -211,7 +211,7 @@ export declare function useCustomerPortalMutation(): {
211
211
  addressLine2?: string | null | undefined;
212
212
  } | undefined;
213
213
  documents?: {
214
- type: "visa" | "other" | "passport" | "drivers_license" | "id_card";
214
+ type: "passport" | "visa" | "drivers_license" | "other" | "id_card";
215
215
  number: string;
216
216
  issuingCountry: string;
217
217
  expiryDate: string;
@@ -232,7 +232,7 @@ export declare function useCustomerPortalMutation(): {
232
232
  city?: string | null | undefined;
233
233
  country?: string | null | undefined;
234
234
  billingAddress?: {
235
- label?: "other" | "service" | "primary" | "billing" | "shipping" | "mailing" | "meeting" | "legal" | undefined;
235
+ label?: "service" | "primary" | "other" | "billing" | "shipping" | "mailing" | "meeting" | "legal" | undefined;
236
236
  fullText?: string | null | undefined;
237
237
  line1?: string | null | undefined;
238
238
  line2?: string | null | undefined;
@@ -271,7 +271,7 @@ export declare function useCustomerPortalMutation(): {
271
271
  isDefault: boolean;
272
272
  }[];
273
273
  documents: {
274
- type: "visa" | "other" | "passport" | "drivers_license" | "id_card";
274
+ type: "passport" | "visa" | "drivers_license" | "other" | "id_card";
275
275
  number: string | null;
276
276
  issuingAuthority: string | null;
277
277
  country: string | null;
@@ -283,7 +283,7 @@ export declare function useCustomerPortalMutation(): {
283
283
  };
284
284
  }, Error, {
285
285
  name: string;
286
- role?: "other" | "primary" | "legal" | "general" | "reservations" | "operations" | "front_desk" | "sales" | "emergency" | "accounting" | undefined;
286
+ role?: "primary" | "other" | "legal" | "general" | "reservations" | "operations" | "front_desk" | "sales" | "emergency" | "accounting" | undefined;
287
287
  title?: string | null | undefined;
288
288
  email?: string | null | undefined;
289
289
  phone?: string | null | undefined;
@@ -306,7 +306,7 @@ export declare function useCustomerPortalMutation(): {
306
306
  isDefault?: boolean | undefined;
307
307
  }[] | undefined;
308
308
  documents?: {
309
- type: "visa" | "other" | "passport" | "drivers_license" | "id_card";
309
+ type: "passport" | "visa" | "drivers_license" | "other" | "id_card";
310
310
  number?: string | null | undefined;
311
311
  issuingAuthority?: string | null | undefined;
312
312
  country?: string | null | undefined;
@@ -344,7 +344,7 @@ export declare function useCustomerPortalMutation(): {
344
344
  isDefault: boolean;
345
345
  }[];
346
346
  documents: {
347
- type: "visa" | "other" | "passport" | "drivers_license" | "id_card";
347
+ type: "passport" | "visa" | "drivers_license" | "other" | "id_card";
348
348
  number: string | null;
349
349
  issuingAuthority: string | null;
350
350
  country: string | null;
@@ -386,7 +386,7 @@ export declare function useCustomerPortalMutation(): {
386
386
  isDefault: boolean;
387
387
  }[];
388
388
  documents: {
389
- type: "visa" | "other" | "passport" | "drivers_license" | "id_card";
389
+ type: "passport" | "visa" | "drivers_license" | "other" | "id_card";
390
390
  number: string | null;
391
391
  issuingAuthority: string | null;
392
392
  country: string | null;
@@ -23,7 +23,7 @@ export declare function useCustomerPortalProfile(options?: UseCustomerPortalProf
23
23
  addressLine2: string | null;
24
24
  } | null;
25
25
  documents: {
26
- type: "visa" | "other" | "passport" | "drivers_license" | "id_card";
26
+ type: "passport" | "visa" | "drivers_license" | "other" | "id_card";
27
27
  number: string;
28
28
  issuingAuthority: string | null;
29
29
  issuingCountry: string;
@@ -50,7 +50,7 @@ export declare function useCustomerPortalProfile(options?: UseCustomerPortalProf
50
50
  country: string | null;
51
51
  billingAddress: {
52
52
  id: string;
53
- label: "other" | "service" | "primary" | "billing" | "shipping" | "mailing" | "meeting" | "legal";
53
+ label: "service" | "primary" | "other" | "billing" | "shipping" | "mailing" | "meeting" | "legal";
54
54
  fullText: string | null;
55
55
  line1: string | null;
56
56
  line2: string | null;
@@ -37,7 +37,7 @@ export declare function getCustomerPortalProfile(client: FetchWithValidationOpti
37
37
  addressLine2: string | null;
38
38
  } | null;
39
39
  documents: {
40
- type: "visa" | "other" | "passport" | "drivers_license" | "id_card";
40
+ type: "passport" | "visa" | "drivers_license" | "other" | "id_card";
41
41
  number: string;
42
42
  issuingAuthority: string | null;
43
43
  issuingCountry: string;
@@ -64,7 +64,7 @@ export declare function getCustomerPortalProfile(client: FetchWithValidationOpti
64
64
  country: string | null;
65
65
  billingAddress: {
66
66
  id: string;
67
- label: "other" | "service" | "primary" | "billing" | "shipping" | "mailing" | "meeting" | "legal";
67
+ label: "service" | "primary" | "other" | "billing" | "shipping" | "mailing" | "meeting" | "legal";
68
68
  fullText: string | null;
69
69
  line1: string | null;
70
70
  line2: string | null;
@@ -101,7 +101,7 @@ export declare function updateCustomerPortalProfile(client: FetchWithValidationO
101
101
  addressLine2: string | null;
102
102
  } | null;
103
103
  documents: {
104
- type: "visa" | "other" | "passport" | "drivers_license" | "id_card";
104
+ type: "passport" | "visa" | "drivers_license" | "other" | "id_card";
105
105
  number: string;
106
106
  issuingAuthority: string | null;
107
107
  issuingCountry: string;
@@ -128,7 +128,7 @@ export declare function updateCustomerPortalProfile(client: FetchWithValidationO
128
128
  country: string | null;
129
129
  billingAddress: {
130
130
  id: string;
131
- label: "other" | "service" | "primary" | "billing" | "shipping" | "mailing" | "meeting" | "legal";
131
+ label: "service" | "primary" | "other" | "billing" | "shipping" | "mailing" | "meeting" | "legal";
132
132
  fullText: string | null;
133
133
  line1: string | null;
134
134
  line2: string | null;
@@ -167,7 +167,7 @@ export declare function bootstrapCustomerPortal(client: FetchWithValidationOptio
167
167
  addressLine2: string | null;
168
168
  } | null;
169
169
  documents: {
170
- type: "visa" | "other" | "passport" | "drivers_license" | "id_card";
170
+ type: "passport" | "visa" | "drivers_license" | "other" | "id_card";
171
171
  number: string;
172
172
  issuingAuthority: string | null;
173
173
  issuingCountry: string;
@@ -194,7 +194,7 @@ export declare function bootstrapCustomerPortal(client: FetchWithValidationOptio
194
194
  country: string | null;
195
195
  billingAddress: {
196
196
  id: string;
197
- label: "other" | "service" | "primary" | "billing" | "shipping" | "mailing" | "meeting" | "legal";
197
+ label: "service" | "primary" | "other" | "billing" | "shipping" | "mailing" | "meeting" | "legal";
198
198
  fullText: string | null;
199
199
  line1: string | null;
200
200
  line2: string | null;
@@ -222,7 +222,7 @@ export declare function bootstrapCustomerPortal(client: FetchWithValidationOptio
222
222
  country: string | null;
223
223
  billingAddress: {
224
224
  id: string;
225
- label: "other" | "service" | "primary" | "billing" | "shipping" | "mailing" | "meeting" | "legal";
225
+ label: "service" | "primary" | "other" | "billing" | "shipping" | "mailing" | "meeting" | "legal";
226
226
  fullText: string | null;
227
227
  line1: string | null;
228
228
  line2: string | null;
@@ -266,7 +266,7 @@ export declare function listCustomerPortalCompanions(client: FetchWithValidation
266
266
  isDefault: boolean;
267
267
  }[];
268
268
  documents: {
269
- type: "visa" | "other" | "passport" | "drivers_license" | "id_card";
269
+ type: "passport" | "visa" | "drivers_license" | "other" | "id_card";
270
270
  number: string | null;
271
271
  issuingAuthority: string | null;
272
272
  country: string | null;
@@ -304,7 +304,7 @@ export declare function createCustomerPortalCompanion(client: FetchWithValidatio
304
304
  isDefault: boolean;
305
305
  }[];
306
306
  documents: {
307
- type: "visa" | "other" | "passport" | "drivers_license" | "id_card";
307
+ type: "passport" | "visa" | "drivers_license" | "other" | "id_card";
308
308
  number: string | null;
309
309
  issuingAuthority: string | null;
310
310
  country: string | null;
@@ -343,7 +343,7 @@ export declare function importCustomerPortalBookingParticipants(client: FetchWit
343
343
  isDefault: boolean;
344
344
  }[];
345
345
  documents: {
346
- type: "visa" | "other" | "passport" | "drivers_license" | "id_card";
346
+ type: "passport" | "visa" | "drivers_license" | "other" | "id_card";
347
347
  number: string | null;
348
348
  issuingAuthority: string | null;
349
349
  country: string | null;
@@ -383,7 +383,7 @@ export declare function updateCustomerPortalCompanion(client: FetchWithValidatio
383
383
  isDefault: boolean;
384
384
  }[];
385
385
  documents: {
386
- type: "visa" | "other" | "passport" | "drivers_license" | "id_card";
386
+ type: "passport" | "visa" | "drivers_license" | "other" | "id_card";
387
387
  number: string | null;
388
388
  issuingAuthority: string | null;
389
389
  country: string | null;
@@ -439,7 +439,7 @@ export declare function getCustomerPortalBooking(client: FetchWithValidationOpti
439
439
  id: string;
440
440
  title: string;
441
441
  description: string | null;
442
- itemType: "other" | "unit" | "extra" | "service" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
442
+ itemType: "service" | "other" | "unit" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
443
443
  status: "draft" | "on_hold" | "confirmed" | "expired" | "cancelled" | "fulfilled";
444
444
  serviceDate: string | null;
445
445
  startsAt: string | null;
@@ -471,7 +471,7 @@ export declare function getCustomerPortalBooking(client: FetchWithValidationOpti
471
471
  id: string;
472
472
  source: "legal" | "finance" | "booking_document";
473
473
  participantId: string | null;
474
- type: "visa" | "insurance" | "health" | "passport_copy" | "other" | "invoice" | "proforma" | "credit_note" | "contract";
474
+ type: "visa" | "other" | "insurance" | "health" | "passport_copy" | "invoice" | "proforma" | "credit_note" | "contract";
475
475
  fileName: string;
476
476
  fileUrl: string;
477
477
  mimeType: string | null;
@@ -482,7 +482,7 @@ export declare function getCustomerPortalBooking(client: FetchWithValidationOpti
482
482
  invoiceId: string;
483
483
  invoiceNumber: string;
484
484
  invoiceType: "invoice" | "proforma" | "credit_note";
485
- invoiceStatus: "draft" | "void" | "sent" | "partially_paid" | "paid" | "overdue";
485
+ invoiceStatus: "void" | "draft" | "sent" | "partially_paid" | "paid" | "overdue";
486
486
  currency: string;
487
487
  totalCents: number;
488
488
  paidCents: number;
@@ -490,7 +490,7 @@ export declare function getCustomerPortalBooking(client: FetchWithValidationOpti
490
490
  issueDate: string;
491
491
  dueDate: string;
492
492
  documentStatus: "pending" | "failed" | "ready" | "stale" | "missing";
493
- format: "pdf" | "json" | "html" | "xml" | null;
493
+ format: "html" | "json" | "pdf" | "xml" | null;
494
494
  generatedAt: string | null;
495
495
  downloadUrl: string | null;
496
496
  }[];
@@ -499,7 +499,7 @@ export declare function getCustomerPortalBooking(client: FetchWithValidationOpti
499
499
  invoiceId: string;
500
500
  invoiceNumber: string;
501
501
  invoiceType: "invoice" | "proforma" | "credit_note";
502
- status: "completed" | "pending" | "failed" | "refunded";
502
+ status: "pending" | "completed" | "failed" | "refunded";
503
503
  paymentMethod: "other" | "voucher" | "wallet" | "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "direct_bill";
504
504
  amountCents: number;
505
505
  currency: string;
@@ -513,7 +513,7 @@ export declare function getCustomerPortalBooking(client: FetchWithValidationOpti
513
513
  bookingItemId: string | null;
514
514
  participantId: string | null;
515
515
  fulfillmentType: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
516
- deliveryChannel: "other" | "download" | "email" | "api" | "wallet";
516
+ deliveryChannel: "email" | "other" | "download" | "api" | "wallet";
517
517
  status: "pending" | "issued" | "reissued" | "revoked" | "failed";
518
518
  artifactUrl: string | null;
519
519
  }[];
@@ -537,7 +537,7 @@ export declare function listCustomerPortalBookingDocuments(client: FetchWithVali
537
537
  id: string;
538
538
  source: "legal" | "finance" | "booking_document";
539
539
  participantId: string | null;
540
- type: "visa" | "insurance" | "health" | "passport_copy" | "other" | "invoice" | "proforma" | "credit_note" | "contract";
540
+ type: "visa" | "other" | "insurance" | "health" | "passport_copy" | "invoice" | "proforma" | "credit_note" | "contract";
541
541
  fileName: string;
542
542
  fileUrl: string;
543
543
  mimeType: string | null;
@@ -22,7 +22,7 @@ export declare function getCustomerPortalProfileQueryOptions(client: FetchWithVa
22
22
  addressLine2: string | null;
23
23
  } | null;
24
24
  documents: {
25
- type: "visa" | "other" | "passport" | "drivers_license" | "id_card";
25
+ type: "passport" | "visa" | "drivers_license" | "other" | "id_card";
26
26
  number: string;
27
27
  issuingAuthority: string | null;
28
28
  issuingCountry: string;
@@ -49,7 +49,7 @@ export declare function getCustomerPortalProfileQueryOptions(client: FetchWithVa
49
49
  country: string | null;
50
50
  billingAddress: {
51
51
  id: string;
52
- label: "other" | "service" | "primary" | "billing" | "shipping" | "mailing" | "meeting" | "legal";
52
+ label: "service" | "primary" | "other" | "billing" | "shipping" | "mailing" | "meeting" | "legal";
53
53
  fullText: string | null;
54
54
  line1: string | null;
55
55
  line2: string | null;
@@ -85,7 +85,7 @@ export declare function getCustomerPortalProfileQueryOptions(client: FetchWithVa
85
85
  addressLine2: string | null;
86
86
  } | null;
87
87
  documents: {
88
- type: "visa" | "other" | "passport" | "drivers_license" | "id_card";
88
+ type: "passport" | "visa" | "drivers_license" | "other" | "id_card";
89
89
  number: string;
90
90
  issuingAuthority: string | null;
91
91
  issuingCountry: string;
@@ -112,7 +112,7 @@ export declare function getCustomerPortalProfileQueryOptions(client: FetchWithVa
112
112
  country: string | null;
113
113
  billingAddress: {
114
114
  id: string;
115
- label: "other" | "service" | "primary" | "billing" | "shipping" | "mailing" | "meeting" | "legal";
115
+ label: "service" | "primary" | "other" | "billing" | "shipping" | "mailing" | "meeting" | "legal";
116
116
  fullText: string | null;
117
117
  line1: string | null;
118
118
  line2: string | null;
@@ -149,7 +149,7 @@ export declare function getCustomerPortalProfileQueryOptions(client: FetchWithVa
149
149
  addressLine2: string | null;
150
150
  } | null;
151
151
  documents: {
152
- type: "visa" | "other" | "passport" | "drivers_license" | "id_card";
152
+ type: "passport" | "visa" | "drivers_license" | "other" | "id_card";
153
153
  number: string;
154
154
  issuingAuthority: string | null;
155
155
  issuingCountry: string;
@@ -176,7 +176,7 @@ export declare function getCustomerPortalProfileQueryOptions(client: FetchWithVa
176
176
  country: string | null;
177
177
  billingAddress: {
178
178
  id: string;
179
- label: "other" | "service" | "primary" | "billing" | "shipping" | "mailing" | "meeting" | "legal";
179
+ label: "service" | "primary" | "other" | "billing" | "shipping" | "mailing" | "meeting" | "legal";
180
180
  fullText: string | null;
181
181
  line1: string | null;
182
182
  line2: string | null;
@@ -215,7 +215,7 @@ export declare function getCustomerPortalProfileQueryOptions(client: FetchWithVa
215
215
  addressLine2: string | null;
216
216
  } | null;
217
217
  documents: {
218
- type: "visa" | "other" | "passport" | "drivers_license" | "id_card";
218
+ type: "passport" | "visa" | "drivers_license" | "other" | "id_card";
219
219
  number: string;
220
220
  issuingAuthority: string | null;
221
221
  issuingCountry: string;
@@ -242,7 +242,7 @@ export declare function getCustomerPortalProfileQueryOptions(client: FetchWithVa
242
242
  country: string | null;
243
243
  billingAddress: {
244
244
  id: string;
245
- label: "other" | "service" | "primary" | "billing" | "shipping" | "mailing" | "meeting" | "legal";
245
+ label: "service" | "primary" | "other" | "billing" | "shipping" | "mailing" | "meeting" | "legal";
246
246
  fullText: string | null;
247
247
  line1: string | null;
248
248
  line2: string | null;
@@ -287,7 +287,7 @@ export declare function getCustomerPortalCompanionsQueryOptions(client: FetchWit
287
287
  isDefault: boolean;
288
288
  }[];
289
289
  documents: {
290
- type: "visa" | "other" | "passport" | "drivers_license" | "id_card";
290
+ type: "passport" | "visa" | "drivers_license" | "other" | "id_card";
291
291
  number: string | null;
292
292
  issuingAuthority: string | null;
293
293
  country: string | null;
@@ -324,7 +324,7 @@ export declare function getCustomerPortalCompanionsQueryOptions(client: FetchWit
324
324
  isDefault: boolean;
325
325
  }[];
326
326
  documents: {
327
- type: "visa" | "other" | "passport" | "drivers_license" | "id_card";
327
+ type: "passport" | "visa" | "drivers_license" | "other" | "id_card";
328
328
  number: string | null;
329
329
  issuingAuthority: string | null;
330
330
  country: string | null;
@@ -362,7 +362,7 @@ export declare function getCustomerPortalCompanionsQueryOptions(client: FetchWit
362
362
  isDefault: boolean;
363
363
  }[];
364
364
  documents: {
365
- type: "visa" | "other" | "passport" | "drivers_license" | "id_card";
365
+ type: "passport" | "visa" | "drivers_license" | "other" | "id_card";
366
366
  number: string | null;
367
367
  issuingAuthority: string | null;
368
368
  country: string | null;
@@ -402,7 +402,7 @@ export declare function getCustomerPortalCompanionsQueryOptions(client: FetchWit
402
402
  isDefault: boolean;
403
403
  }[];
404
404
  documents: {
405
- type: "visa" | "other" | "passport" | "drivers_license" | "id_card";
405
+ type: "passport" | "visa" | "drivers_license" | "other" | "id_card";
406
406
  number: string | null;
407
407
  issuingAuthority: string | null;
408
408
  country: string | null;
@@ -516,7 +516,7 @@ export declare function getCustomerPortalBookingQueryOptions(client: FetchWithVa
516
516
  id: string;
517
517
  title: string;
518
518
  description: string | null;
519
- itemType: "other" | "unit" | "extra" | "service" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
519
+ itemType: "service" | "other" | "unit" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
520
520
  status: "draft" | "on_hold" | "confirmed" | "expired" | "cancelled" | "fulfilled";
521
521
  serviceDate: string | null;
522
522
  startsAt: string | null;
@@ -548,7 +548,7 @@ export declare function getCustomerPortalBookingQueryOptions(client: FetchWithVa
548
548
  id: string;
549
549
  source: "legal" | "finance" | "booking_document";
550
550
  participantId: string | null;
551
- type: "visa" | "insurance" | "health" | "passport_copy" | "other" | "invoice" | "proforma" | "credit_note" | "contract";
551
+ type: "visa" | "other" | "insurance" | "health" | "passport_copy" | "invoice" | "proforma" | "credit_note" | "contract";
552
552
  fileName: string;
553
553
  fileUrl: string;
554
554
  mimeType: string | null;
@@ -559,7 +559,7 @@ export declare function getCustomerPortalBookingQueryOptions(client: FetchWithVa
559
559
  invoiceId: string;
560
560
  invoiceNumber: string;
561
561
  invoiceType: "invoice" | "proforma" | "credit_note";
562
- invoiceStatus: "draft" | "void" | "sent" | "partially_paid" | "paid" | "overdue";
562
+ invoiceStatus: "void" | "draft" | "sent" | "partially_paid" | "paid" | "overdue";
563
563
  currency: string;
564
564
  totalCents: number;
565
565
  paidCents: number;
@@ -567,7 +567,7 @@ export declare function getCustomerPortalBookingQueryOptions(client: FetchWithVa
567
567
  issueDate: string;
568
568
  dueDate: string;
569
569
  documentStatus: "pending" | "failed" | "ready" | "stale" | "missing";
570
- format: "pdf" | "json" | "html" | "xml" | null;
570
+ format: "html" | "json" | "pdf" | "xml" | null;
571
571
  generatedAt: string | null;
572
572
  downloadUrl: string | null;
573
573
  }[];
@@ -576,7 +576,7 @@ export declare function getCustomerPortalBookingQueryOptions(client: FetchWithVa
576
576
  invoiceId: string;
577
577
  invoiceNumber: string;
578
578
  invoiceType: "invoice" | "proforma" | "credit_note";
579
- status: "completed" | "pending" | "failed" | "refunded";
579
+ status: "pending" | "completed" | "failed" | "refunded";
580
580
  paymentMethod: "other" | "voucher" | "wallet" | "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "direct_bill";
581
581
  amountCents: number;
582
582
  currency: string;
@@ -590,7 +590,7 @@ export declare function getCustomerPortalBookingQueryOptions(client: FetchWithVa
590
590
  bookingItemId: string | null;
591
591
  participantId: string | null;
592
592
  fulfillmentType: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
593
- deliveryChannel: "other" | "download" | "email" | "api" | "wallet";
593
+ deliveryChannel: "email" | "other" | "download" | "api" | "wallet";
594
594
  status: "pending" | "issued" | "reissued" | "revoked" | "failed";
595
595
  artifactUrl: string | null;
596
596
  }[];
@@ -619,7 +619,7 @@ export declare function getCustomerPortalBookingQueryOptions(client: FetchWithVa
619
619
  id: string;
620
620
  title: string;
621
621
  description: string | null;
622
- itemType: "other" | "unit" | "extra" | "service" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
622
+ itemType: "service" | "other" | "unit" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
623
623
  status: "draft" | "on_hold" | "confirmed" | "expired" | "cancelled" | "fulfilled";
624
624
  serviceDate: string | null;
625
625
  startsAt: string | null;
@@ -651,7 +651,7 @@ export declare function getCustomerPortalBookingQueryOptions(client: FetchWithVa
651
651
  id: string;
652
652
  source: "legal" | "finance" | "booking_document";
653
653
  participantId: string | null;
654
- type: "visa" | "insurance" | "health" | "passport_copy" | "other" | "invoice" | "proforma" | "credit_note" | "contract";
654
+ type: "visa" | "other" | "insurance" | "health" | "passport_copy" | "invoice" | "proforma" | "credit_note" | "contract";
655
655
  fileName: string;
656
656
  fileUrl: string;
657
657
  mimeType: string | null;
@@ -662,7 +662,7 @@ export declare function getCustomerPortalBookingQueryOptions(client: FetchWithVa
662
662
  invoiceId: string;
663
663
  invoiceNumber: string;
664
664
  invoiceType: "invoice" | "proforma" | "credit_note";
665
- invoiceStatus: "draft" | "void" | "sent" | "partially_paid" | "paid" | "overdue";
665
+ invoiceStatus: "void" | "draft" | "sent" | "partially_paid" | "paid" | "overdue";
666
666
  currency: string;
667
667
  totalCents: number;
668
668
  paidCents: number;
@@ -670,7 +670,7 @@ export declare function getCustomerPortalBookingQueryOptions(client: FetchWithVa
670
670
  issueDate: string;
671
671
  dueDate: string;
672
672
  documentStatus: "pending" | "failed" | "ready" | "stale" | "missing";
673
- format: "pdf" | "json" | "html" | "xml" | null;
673
+ format: "html" | "json" | "pdf" | "xml" | null;
674
674
  generatedAt: string | null;
675
675
  downloadUrl: string | null;
676
676
  }[];
@@ -679,7 +679,7 @@ export declare function getCustomerPortalBookingQueryOptions(client: FetchWithVa
679
679
  invoiceId: string;
680
680
  invoiceNumber: string;
681
681
  invoiceType: "invoice" | "proforma" | "credit_note";
682
- status: "completed" | "pending" | "failed" | "refunded";
682
+ status: "pending" | "completed" | "failed" | "refunded";
683
683
  paymentMethod: "other" | "voucher" | "wallet" | "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "direct_bill";
684
684
  amountCents: number;
685
685
  currency: string;
@@ -693,7 +693,7 @@ export declare function getCustomerPortalBookingQueryOptions(client: FetchWithVa
693
693
  bookingItemId: string | null;
694
694
  participantId: string | null;
695
695
  fulfillmentType: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
696
- deliveryChannel: "other" | "download" | "email" | "api" | "wallet";
696
+ deliveryChannel: "email" | "other" | "download" | "api" | "wallet";
697
697
  status: "pending" | "issued" | "reissued" | "revoked" | "failed";
698
698
  artifactUrl: string | null;
699
699
  }[];
@@ -723,7 +723,7 @@ export declare function getCustomerPortalBookingQueryOptions(client: FetchWithVa
723
723
  id: string;
724
724
  title: string;
725
725
  description: string | null;
726
- itemType: "other" | "unit" | "extra" | "service" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
726
+ itemType: "service" | "other" | "unit" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
727
727
  status: "draft" | "on_hold" | "confirmed" | "expired" | "cancelled" | "fulfilled";
728
728
  serviceDate: string | null;
729
729
  startsAt: string | null;
@@ -755,7 +755,7 @@ export declare function getCustomerPortalBookingQueryOptions(client: FetchWithVa
755
755
  id: string;
756
756
  source: "legal" | "finance" | "booking_document";
757
757
  participantId: string | null;
758
- type: "visa" | "insurance" | "health" | "passport_copy" | "other" | "invoice" | "proforma" | "credit_note" | "contract";
758
+ type: "visa" | "other" | "insurance" | "health" | "passport_copy" | "invoice" | "proforma" | "credit_note" | "contract";
759
759
  fileName: string;
760
760
  fileUrl: string;
761
761
  mimeType: string | null;
@@ -766,7 +766,7 @@ export declare function getCustomerPortalBookingQueryOptions(client: FetchWithVa
766
766
  invoiceId: string;
767
767
  invoiceNumber: string;
768
768
  invoiceType: "invoice" | "proforma" | "credit_note";
769
- invoiceStatus: "draft" | "void" | "sent" | "partially_paid" | "paid" | "overdue";
769
+ invoiceStatus: "void" | "draft" | "sent" | "partially_paid" | "paid" | "overdue";
770
770
  currency: string;
771
771
  totalCents: number;
772
772
  paidCents: number;
@@ -774,7 +774,7 @@ export declare function getCustomerPortalBookingQueryOptions(client: FetchWithVa
774
774
  issueDate: string;
775
775
  dueDate: string;
776
776
  documentStatus: "pending" | "failed" | "ready" | "stale" | "missing";
777
- format: "pdf" | "json" | "html" | "xml" | null;
777
+ format: "html" | "json" | "pdf" | "xml" | null;
778
778
  generatedAt: string | null;
779
779
  downloadUrl: string | null;
780
780
  }[];
@@ -783,7 +783,7 @@ export declare function getCustomerPortalBookingQueryOptions(client: FetchWithVa
783
783
  invoiceId: string;
784
784
  invoiceNumber: string;
785
785
  invoiceType: "invoice" | "proforma" | "credit_note";
786
- status: "completed" | "pending" | "failed" | "refunded";
786
+ status: "pending" | "completed" | "failed" | "refunded";
787
787
  paymentMethod: "other" | "voucher" | "wallet" | "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "direct_bill";
788
788
  amountCents: number;
789
789
  currency: string;
@@ -797,7 +797,7 @@ export declare function getCustomerPortalBookingQueryOptions(client: FetchWithVa
797
797
  bookingItemId: string | null;
798
798
  participantId: string | null;
799
799
  fulfillmentType: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
800
- deliveryChannel: "other" | "download" | "email" | "api" | "wallet";
800
+ deliveryChannel: "email" | "other" | "download" | "api" | "wallet";
801
801
  status: "pending" | "issued" | "reissued" | "revoked" | "failed";
802
802
  artifactUrl: string | null;
803
803
  }[];
@@ -829,7 +829,7 @@ export declare function getCustomerPortalBookingQueryOptions(client: FetchWithVa
829
829
  id: string;
830
830
  title: string;
831
831
  description: string | null;
832
- itemType: "other" | "unit" | "extra" | "service" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
832
+ itemType: "service" | "other" | "unit" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
833
833
  status: "draft" | "on_hold" | "confirmed" | "expired" | "cancelled" | "fulfilled";
834
834
  serviceDate: string | null;
835
835
  startsAt: string | null;
@@ -861,7 +861,7 @@ export declare function getCustomerPortalBookingQueryOptions(client: FetchWithVa
861
861
  id: string;
862
862
  source: "legal" | "finance" | "booking_document";
863
863
  participantId: string | null;
864
- type: "visa" | "insurance" | "health" | "passport_copy" | "other" | "invoice" | "proforma" | "credit_note" | "contract";
864
+ type: "visa" | "other" | "insurance" | "health" | "passport_copy" | "invoice" | "proforma" | "credit_note" | "contract";
865
865
  fileName: string;
866
866
  fileUrl: string;
867
867
  mimeType: string | null;
@@ -872,7 +872,7 @@ export declare function getCustomerPortalBookingQueryOptions(client: FetchWithVa
872
872
  invoiceId: string;
873
873
  invoiceNumber: string;
874
874
  invoiceType: "invoice" | "proforma" | "credit_note";
875
- invoiceStatus: "draft" | "void" | "sent" | "partially_paid" | "paid" | "overdue";
875
+ invoiceStatus: "void" | "draft" | "sent" | "partially_paid" | "paid" | "overdue";
876
876
  currency: string;
877
877
  totalCents: number;
878
878
  paidCents: number;
@@ -880,7 +880,7 @@ export declare function getCustomerPortalBookingQueryOptions(client: FetchWithVa
880
880
  issueDate: string;
881
881
  dueDate: string;
882
882
  documentStatus: "pending" | "failed" | "ready" | "stale" | "missing";
883
- format: "pdf" | "json" | "html" | "xml" | null;
883
+ format: "html" | "json" | "pdf" | "xml" | null;
884
884
  generatedAt: string | null;
885
885
  downloadUrl: string | null;
886
886
  }[];
@@ -889,7 +889,7 @@ export declare function getCustomerPortalBookingQueryOptions(client: FetchWithVa
889
889
  invoiceId: string;
890
890
  invoiceNumber: string;
891
891
  invoiceType: "invoice" | "proforma" | "credit_note";
892
- status: "completed" | "pending" | "failed" | "refunded";
892
+ status: "pending" | "completed" | "failed" | "refunded";
893
893
  paymentMethod: "other" | "voucher" | "wallet" | "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "direct_bill";
894
894
  amountCents: number;
895
895
  currency: string;
@@ -903,7 +903,7 @@ export declare function getCustomerPortalBookingQueryOptions(client: FetchWithVa
903
903
  bookingItemId: string | null;
904
904
  participantId: string | null;
905
905
  fulfillmentType: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
906
- deliveryChannel: "other" | "download" | "email" | "api" | "wallet";
906
+ deliveryChannel: "email" | "other" | "download" | "api" | "wallet";
907
907
  status: "pending" | "issued" | "reissued" | "revoked" | "failed";
908
908
  artifactUrl: string | null;
909
909
  }[];
@@ -973,7 +973,7 @@ export declare function getCustomerPortalBookingDocumentsQueryOptions(client: Fe
973
973
  id: string;
974
974
  source: "legal" | "finance" | "booking_document";
975
975
  participantId: string | null;
976
- type: "visa" | "insurance" | "health" | "passport_copy" | "other" | "invoice" | "proforma" | "credit_note" | "contract";
976
+ type: "visa" | "other" | "insurance" | "health" | "passport_copy" | "invoice" | "proforma" | "credit_note" | "contract";
977
977
  fileName: string;
978
978
  fileUrl: string;
979
979
  mimeType: string | null;
@@ -984,7 +984,7 @@ export declare function getCustomerPortalBookingDocumentsQueryOptions(client: Fe
984
984
  id: string;
985
985
  source: "legal" | "finance" | "booking_document";
986
986
  participantId: string | null;
987
- type: "visa" | "insurance" | "health" | "passport_copy" | "other" | "invoice" | "proforma" | "credit_note" | "contract";
987
+ type: "visa" | "other" | "insurance" | "health" | "passport_copy" | "invoice" | "proforma" | "credit_note" | "contract";
988
988
  fileName: string;
989
989
  fileUrl: string;
990
990
  mimeType: string | null;
@@ -996,7 +996,7 @@ export declare function getCustomerPortalBookingDocumentsQueryOptions(client: Fe
996
996
  id: string;
997
997
  source: "legal" | "finance" | "booking_document";
998
998
  participantId: string | null;
999
- type: "visa" | "insurance" | "health" | "passport_copy" | "other" | "invoice" | "proforma" | "credit_note" | "contract";
999
+ type: "visa" | "other" | "insurance" | "health" | "passport_copy" | "invoice" | "proforma" | "credit_note" | "contract";
1000
1000
  fileName: string;
1001
1001
  fileUrl: string;
1002
1002
  mimeType: string | null;
@@ -1010,7 +1010,7 @@ export declare function getCustomerPortalBookingDocumentsQueryOptions(client: Fe
1010
1010
  id: string;
1011
1011
  source: "legal" | "finance" | "booking_document";
1012
1012
  participantId: string | null;
1013
- type: "visa" | "insurance" | "health" | "passport_copy" | "other" | "invoice" | "proforma" | "credit_note" | "contract";
1013
+ type: "visa" | "other" | "insurance" | "health" | "passport_copy" | "invoice" | "proforma" | "credit_note" | "contract";
1014
1014
  fileName: string;
1015
1015
  fileUrl: string;
1016
1016
  mimeType: string | null;
package/dist/schemas.d.ts CHANGED
@@ -38,10 +38,10 @@ export declare const customerPortalProfileResponseSchema: z.ZodObject<{
38
38
  }, z.core.$strip>>;
39
39
  documents: z.ZodArray<z.ZodObject<{
40
40
  type: z.ZodEnum<{
41
- visa: "visa";
42
- other: "other";
43
41
  passport: "passport";
42
+ visa: "visa";
44
43
  drivers_license: "drivers_license";
44
+ other: "other";
45
45
  id_card: "id_card";
46
46
  }>;
47
47
  number: z.ZodString;
@@ -71,9 +71,9 @@ export declare const customerPortalProfileResponseSchema: z.ZodObject<{
71
71
  billingAddress: z.ZodNullable<z.ZodObject<{
72
72
  id: z.ZodString;
73
73
  label: z.ZodEnum<{
74
- other: "other";
75
74
  service: "service";
76
75
  primary: "primary";
76
+ other: "other";
77
77
  billing: "billing";
78
78
  shipping: "shipping";
79
79
  mailing: "mailing";
@@ -129,10 +129,10 @@ export declare const customerPortalBootstrapResponseSchema: z.ZodObject<{
129
129
  }, z.core.$strip>>;
130
130
  documents: z.ZodArray<z.ZodObject<{
131
131
  type: z.ZodEnum<{
132
- visa: "visa";
133
- other: "other";
134
132
  passport: "passport";
133
+ visa: "visa";
135
134
  drivers_license: "drivers_license";
135
+ other: "other";
136
136
  id_card: "id_card";
137
137
  }>;
138
138
  number: z.ZodString;
@@ -162,9 +162,9 @@ export declare const customerPortalBootstrapResponseSchema: z.ZodObject<{
162
162
  billingAddress: z.ZodNullable<z.ZodObject<{
163
163
  id: z.ZodString;
164
164
  label: z.ZodEnum<{
165
- other: "other";
166
165
  service: "service";
167
166
  primary: "primary";
167
+ other: "other";
168
168
  billing: "billing";
169
169
  shipping: "shipping";
170
170
  mailing: "mailing";
@@ -199,9 +199,9 @@ export declare const customerPortalBootstrapResponseSchema: z.ZodObject<{
199
199
  billingAddress: z.ZodNullable<z.ZodObject<{
200
200
  id: z.ZodString;
201
201
  label: z.ZodEnum<{
202
- other: "other";
203
202
  service: "service";
204
203
  primary: "primary";
204
+ other: "other";
205
205
  billing: "billing";
206
206
  shipping: "shipping";
207
207
  mailing: "mailing";
@@ -252,10 +252,10 @@ export declare const customerPortalCompanionsResponseSchema: z.ZodObject<{
252
252
  }, z.core.$strip>>;
253
253
  documents: z.ZodArray<z.ZodObject<{
254
254
  type: z.ZodEnum<{
255
- visa: "visa";
256
- other: "other";
257
255
  passport: "passport";
256
+ visa: "visa";
258
257
  drivers_license: "drivers_license";
258
+ other: "other";
259
259
  id_card: "id_card";
260
260
  }>;
261
261
  number: z.ZodNullable<z.ZodString>;
@@ -296,10 +296,10 @@ export declare const customerPortalCompanionResponseSchema: z.ZodObject<{
296
296
  }, z.core.$strip>>;
297
297
  documents: z.ZodArray<z.ZodObject<{
298
298
  type: z.ZodEnum<{
299
- visa: "visa";
300
- other: "other";
301
299
  passport: "passport";
300
+ visa: "visa";
302
301
  drivers_license: "drivers_license";
302
+ other: "other";
303
303
  id_card: "id_card";
304
304
  }>;
305
305
  number: z.ZodNullable<z.ZodString>;
@@ -341,10 +341,10 @@ export declare const customerPortalCompanionImportResponseSchema: z.ZodObject<{
341
341
  }, z.core.$strip>>;
342
342
  documents: z.ZodArray<z.ZodObject<{
343
343
  type: z.ZodEnum<{
344
- visa: "visa";
345
- other: "other";
346
344
  passport: "passport";
345
+ visa: "visa";
347
346
  drivers_license: "drivers_license";
347
+ other: "other";
348
348
  id_card: "id_card";
349
349
  }>;
350
350
  number: z.ZodNullable<z.ZodString>;
@@ -430,10 +430,10 @@ export declare const customerPortalBookingResponseSchema: z.ZodObject<{
430
430
  title: z.ZodString;
431
431
  description: z.ZodNullable<z.ZodString>;
432
432
  itemType: z.ZodEnum<{
433
+ service: "service";
433
434
  other: "other";
434
435
  unit: "unit";
435
436
  extra: "extra";
436
- service: "service";
437
437
  fee: "fee";
438
438
  tax: "tax";
439
439
  discount: "discount";
@@ -492,10 +492,10 @@ export declare const customerPortalBookingResponseSchema: z.ZodObject<{
492
492
  participantId: z.ZodNullable<z.ZodString>;
493
493
  type: z.ZodEnum<{
494
494
  visa: "visa";
495
+ other: "other";
495
496
  insurance: "insurance";
496
497
  health: "health";
497
498
  passport_copy: "passport_copy";
498
- other: "other";
499
499
  invoice: "invoice";
500
500
  proforma: "proforma";
501
501
  credit_note: "credit_note";
@@ -516,8 +516,8 @@ export declare const customerPortalBookingResponseSchema: z.ZodObject<{
516
516
  credit_note: "credit_note";
517
517
  }>;
518
518
  invoiceStatus: z.ZodEnum<{
519
- draft: "draft";
520
519
  void: "void";
520
+ draft: "draft";
521
521
  sent: "sent";
522
522
  partially_paid: "partially_paid";
523
523
  paid: "paid";
@@ -537,9 +537,9 @@ export declare const customerPortalBookingResponseSchema: z.ZodObject<{
537
537
  missing: "missing";
538
538
  }>;
539
539
  format: z.ZodNullable<z.ZodEnum<{
540
- pdf: "pdf";
541
- json: "json";
542
540
  html: "html";
541
+ json: "json";
542
+ pdf: "pdf";
543
543
  xml: "xml";
544
544
  }>>;
545
545
  generatedAt: z.ZodNullable<z.ZodString>;
@@ -555,8 +555,8 @@ export declare const customerPortalBookingResponseSchema: z.ZodObject<{
555
555
  credit_note: "credit_note";
556
556
  }>;
557
557
  status: z.ZodEnum<{
558
- completed: "completed";
559
558
  pending: "pending";
559
+ completed: "completed";
560
560
  failed: "failed";
561
561
  refunded: "refunded";
562
562
  }>;
@@ -592,9 +592,9 @@ export declare const customerPortalBookingResponseSchema: z.ZodObject<{
592
592
  mobile: "mobile";
593
593
  }>;
594
594
  deliveryChannel: z.ZodEnum<{
595
+ email: "email";
595
596
  other: "other";
596
597
  download: "download";
597
- email: "email";
598
598
  api: "api";
599
599
  wallet: "wallet";
600
600
  }>;
@@ -633,10 +633,10 @@ export declare const customerPortalBookingDocumentsResponseSchema: z.ZodObject<{
633
633
  participantId: z.ZodNullable<z.ZodString>;
634
634
  type: z.ZodEnum<{
635
635
  visa: "visa";
636
+ other: "other";
636
637
  insurance: "insurance";
637
638
  health: "health";
638
639
  passport_copy: "passport_copy";
639
- other: "other";
640
640
  invoice: "invoice";
641
641
  proforma: "proforma";
642
642
  credit_note: "credit_note";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voyantjs/customer-portal-react",
3
- "version": "0.5.0",
3
+ "version": "0.6.0",
4
4
  "license": "FSL-1.1-Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",
@@ -39,7 +39,7 @@
39
39
  "react": "^19.0.0",
40
40
  "react-dom": "^19.0.0",
41
41
  "zod": "^4.0.0",
42
- "@voyantjs/customer-portal": "0.5.0"
42
+ "@voyantjs/customer-portal": "0.6.0"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@tanstack/react-query": "^5.96.2",
@@ -50,12 +50,12 @@
50
50
  "typescript": "^6.0.2",
51
51
  "vitest": "^4.1.2",
52
52
  "zod": "^4.3.6",
53
- "@voyantjs/customer-portal": "0.5.0",
54
- "@voyantjs/react": "0.5.0",
53
+ "@voyantjs/customer-portal": "0.6.0",
54
+ "@voyantjs/react": "0.6.0",
55
55
  "@voyantjs/voyant-typescript-config": "0.1.0"
56
56
  },
57
57
  "dependencies": {
58
- "@voyantjs/react": "0.5.0"
58
+ "@voyantjs/react": "0.6.0"
59
59
  },
60
60
  "files": [
61
61
  "dist"