@voyant-travel/storefront-react 0.120.1 → 0.121.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.
@@ -40,11 +40,11 @@ export declare const importCustomerPortalBookingParticipantsResultSchema: z.ZodO
40
40
  }, z.core.$strip>>;
41
41
  documents: z.ZodArray<z.ZodObject<{
42
42
  type: z.ZodEnum<{
43
- other: "other";
44
43
  passport: "passport";
45
- id_card: "id_card";
46
44
  visa: "visa";
47
45
  drivers_license: "drivers_license";
46
+ other: "other";
47
+ id_card: "id_card";
48
48
  }>;
49
49
  number: z.ZodNullable<z.ZodString>;
50
50
  issuingAuthority: z.ZodNullable<z.ZodString>;
@@ -106,14 +106,14 @@ export declare const customerPortalProfileResponseSchema: z.ZodObject<{
106
106
  billingAddress: z.ZodNullable<z.ZodObject<{
107
107
  id: z.ZodString;
108
108
  label: z.ZodEnum<{
109
+ service: "service";
110
+ primary: "primary";
111
+ other: "other";
109
112
  legal: "legal";
110
113
  billing: "billing";
111
- primary: "primary";
114
+ meeting: "meeting";
112
115
  shipping: "shipping";
113
116
  mailing: "mailing";
114
- meeting: "meeting";
115
- service: "service";
116
- other: "other";
117
117
  }>;
118
118
  fullText: z.ZodNullable<z.ZodString>;
119
119
  line1: z.ZodNullable<z.ZodString>;
@@ -184,14 +184,14 @@ export declare const customerPortalBootstrapResponseSchema: z.ZodObject<{
184
184
  billingAddress: z.ZodNullable<z.ZodObject<{
185
185
  id: z.ZodString;
186
186
  label: z.ZodEnum<{
187
+ service: "service";
188
+ primary: "primary";
189
+ other: "other";
187
190
  legal: "legal";
188
191
  billing: "billing";
189
- primary: "primary";
192
+ meeting: "meeting";
190
193
  shipping: "shipping";
191
194
  mailing: "mailing";
192
- meeting: "meeting";
193
- service: "service";
194
- other: "other";
195
195
  }>;
196
196
  fullText: z.ZodNullable<z.ZodString>;
197
197
  line1: z.ZodNullable<z.ZodString>;
@@ -218,14 +218,14 @@ export declare const customerPortalBootstrapResponseSchema: z.ZodObject<{
218
218
  billingAddress: z.ZodNullable<z.ZodObject<{
219
219
  id: z.ZodString;
220
220
  label: z.ZodEnum<{
221
+ service: "service";
222
+ primary: "primary";
223
+ other: "other";
221
224
  legal: "legal";
222
225
  billing: "billing";
223
- primary: "primary";
226
+ meeting: "meeting";
224
227
  shipping: "shipping";
225
228
  mailing: "mailing";
226
- meeting: "meeting";
227
- service: "service";
228
- other: "other";
229
229
  }>;
230
230
  fullText: z.ZodNullable<z.ZodString>;
231
231
  line1: z.ZodNullable<z.ZodString>;
@@ -271,11 +271,11 @@ export declare const customerPortalCompanionsResponseSchema: z.ZodObject<{
271
271
  }, z.core.$strip>>;
272
272
  documents: z.ZodArray<z.ZodObject<{
273
273
  type: z.ZodEnum<{
274
- other: "other";
275
274
  passport: "passport";
276
- id_card: "id_card";
277
275
  visa: "visa";
278
276
  drivers_license: "drivers_license";
277
+ other: "other";
278
+ id_card: "id_card";
279
279
  }>;
280
280
  number: z.ZodNullable<z.ZodString>;
281
281
  issuingAuthority: z.ZodNullable<z.ZodString>;
@@ -315,11 +315,11 @@ export declare const customerPortalCompanionResponseSchema: z.ZodObject<{
315
315
  }, z.core.$strip>>;
316
316
  documents: z.ZodArray<z.ZodObject<{
317
317
  type: z.ZodEnum<{
318
- other: "other";
319
318
  passport: "passport";
320
- id_card: "id_card";
321
319
  visa: "visa";
322
320
  drivers_license: "drivers_license";
321
+ other: "other";
322
+ id_card: "id_card";
323
323
  }>;
324
324
  number: z.ZodNullable<z.ZodString>;
325
325
  issuingAuthority: z.ZodNullable<z.ZodString>;
@@ -360,11 +360,11 @@ export declare const customerPortalCompanionImportResponseSchema: z.ZodObject<{
360
360
  }, z.core.$strip>>;
361
361
  documents: z.ZodArray<z.ZodObject<{
362
362
  type: z.ZodEnum<{
363
- other: "other";
364
363
  passport: "passport";
365
- id_card: "id_card";
366
364
  visa: "visa";
367
365
  drivers_license: "drivers_license";
366
+ other: "other";
367
+ id_card: "id_card";
368
368
  }>;
369
369
  number: z.ZodNullable<z.ZodString>;
370
370
  issuingAuthority: z.ZodNullable<z.ZodString>;
@@ -385,21 +385,21 @@ export declare const customerPortalBookingsResponseSchema: z.ZodObject<{
385
385
  status: z.ZodEnum<{
386
386
  completed: "completed";
387
387
  cancelled: "cancelled";
388
+ expired: "expired";
388
389
  draft: "draft";
390
+ confirmed: "confirmed";
389
391
  on_hold: "on_hold";
390
392
  awaiting_payment: "awaiting_payment";
391
- confirmed: "confirmed";
392
393
  in_progress: "in_progress";
393
- expired: "expired";
394
394
  }>;
395
395
  sellCurrency: z.ZodString;
396
396
  sellAmountCents: z.ZodNullable<z.ZodNumber>;
397
397
  productTitle: z.ZodNullable<z.ZodString>;
398
398
  paymentStatus: z.ZodEnum<{
399
- unpaid: "unpaid";
400
399
  partially_paid: "partially_paid";
401
400
  paid: "paid";
402
401
  overdue: "overdue";
402
+ unpaid: "unpaid";
403
403
  }>;
404
404
  startDate: z.ZodNullable<z.ZodString>;
405
405
  endDate: z.ZodNullable<z.ZodString>;
@@ -417,12 +417,12 @@ export declare const customerPortalBookingResponseSchema: z.ZodObject<{
417
417
  status: z.ZodEnum<{
418
418
  completed: "completed";
419
419
  cancelled: "cancelled";
420
+ expired: "expired";
420
421
  draft: "draft";
422
+ confirmed: "confirmed";
421
423
  on_hold: "on_hold";
422
424
  awaiting_payment: "awaiting_payment";
423
- confirmed: "confirmed";
424
425
  in_progress: "in_progress";
425
- expired: "expired";
426
426
  }>;
427
427
  sellCurrency: z.ZodString;
428
428
  sellAmountCents: z.ZodNullable<z.ZodNumber>;
@@ -450,8 +450,8 @@ export declare const customerPortalBookingResponseSchema: z.ZodObject<{
450
450
  itemType: z.ZodEnum<{
451
451
  service: "service";
452
452
  other: "other";
453
- unit: "unit";
454
453
  extra: "extra";
454
+ unit: "unit";
455
455
  fee: "fee";
456
456
  tax: "tax";
457
457
  discount: "discount";
@@ -461,11 +461,11 @@ export declare const customerPortalBookingResponseSchema: z.ZodObject<{
461
461
  }>;
462
462
  status: z.ZodEnum<{
463
463
  cancelled: "cancelled";
464
+ expired: "expired";
464
465
  draft: "draft";
465
- on_hold: "on_hold";
466
466
  confirmed: "confirmed";
467
- expired: "expired";
468
467
  fulfilled: "fulfilled";
468
+ on_hold: "on_hold";
469
469
  }>;
470
470
  serviceDate: z.ZodNullable<z.ZodString>;
471
471
  startsAt: z.ZodNullable<z.ZodString>;
@@ -479,10 +479,10 @@ export declare const customerPortalBookingResponseSchema: z.ZodObject<{
479
479
  id: z.ZodString;
480
480
  travelerId: z.ZodString;
481
481
  role: z.ZodEnum<{
482
- beneficiary: "beneficiary";
483
482
  other: "other";
484
483
  traveler: "traveler";
485
484
  occupant: "occupant";
485
+ beneficiary: "beneficiary";
486
486
  }>;
487
487
  isPrimary: z.ZodBoolean;
488
488
  }, z.core.$strip>>;
@@ -502,21 +502,21 @@ export declare const customerPortalBookingResponseSchema: z.ZodObject<{
502
502
  documents: z.ZodArray<z.ZodObject<{
503
503
  id: z.ZodString;
504
504
  source: z.ZodEnum<{
505
+ finance: "finance";
505
506
  legal: "legal";
506
507
  booking_document: "booking_document";
507
- finance: "finance";
508
508
  }>;
509
509
  travelerId: z.ZodNullable<z.ZodString>;
510
510
  type: z.ZodEnum<{
511
- invoice: "invoice";
512
- insurance: "insurance";
513
- other: "other";
514
511
  visa: "visa";
512
+ other: "other";
513
+ insurance: "insurance";
515
514
  health: "health";
516
515
  passport_copy: "passport_copy";
517
- contract: "contract";
516
+ invoice: "invoice";
518
517
  proforma: "proforma";
519
518
  credit_note: "credit_note";
519
+ contract: "contract";
520
520
  }>;
521
521
  fileName: z.ZodString;
522
522
  fileUrl: z.ZodString;
@@ -535,11 +535,11 @@ export declare const customerPortalBookingResponseSchema: z.ZodObject<{
535
535
  invoiceStatus: z.ZodEnum<{
536
536
  void: "void";
537
537
  draft: "draft";
538
+ issued: "issued";
539
+ pending_external_allocation: "pending_external_allocation";
538
540
  partially_paid: "partially_paid";
539
541
  paid: "paid";
540
542
  overdue: "overdue";
541
- pending_external_allocation: "pending_external_allocation";
542
- issued: "issued";
543
543
  }>;
544
544
  currency: z.ZodString;
545
545
  totalCents: z.ZodNumber;
@@ -548,15 +548,15 @@ export declare const customerPortalBookingResponseSchema: z.ZodObject<{
548
548
  issueDate: z.ZodString;
549
549
  dueDate: z.ZodString;
550
550
  documentStatus: z.ZodEnum<{
551
- pending: "pending";
552
551
  failed: "failed";
553
- missing: "missing";
552
+ pending: "pending";
554
553
  ready: "ready";
555
554
  stale: "stale";
555
+ missing: "missing";
556
556
  }>;
557
557
  format: z.ZodNullable<z.ZodEnum<{
558
- html: "html";
559
558
  json: "json";
559
+ html: "html";
560
560
  pdf: "pdf";
561
561
  xml: "xml";
562
562
  }>>;
@@ -573,20 +573,20 @@ export declare const customerPortalBookingResponseSchema: z.ZodObject<{
573
573
  credit_note: "credit_note";
574
574
  }>;
575
575
  status: z.ZodEnum<{
576
+ failed: "failed";
576
577
  pending: "pending";
577
578
  completed: "completed";
578
- failed: "failed";
579
579
  refunded: "refunded";
580
580
  }>;
581
581
  paymentMethod: z.ZodEnum<{
582
- bank_transfer: "bank_transfer";
583
- cash: "cash";
584
- voucher: "voucher";
585
582
  other: "other";
583
+ voucher: "voucher";
584
+ wallet: "wallet";
585
+ bank_transfer: "bank_transfer";
586
586
  credit_card: "credit_card";
587
587
  debit_card: "debit_card";
588
+ cash: "cash";
588
589
  cheque: "cheque";
589
- wallet: "wallet";
590
590
  direct_bill: "direct_bill";
591
591
  }>;
592
592
  amountCents: z.ZodNumber;
@@ -601,27 +601,27 @@ export declare const customerPortalBookingResponseSchema: z.ZodObject<{
601
601
  bookingItemId: z.ZodNullable<z.ZodString>;
602
602
  travelerId: z.ZodNullable<z.ZodString>;
603
603
  fulfillmentType: z.ZodEnum<{
604
- voucher: "voucher";
605
604
  other: "other";
606
605
  pdf: "pdf";
606
+ voucher: "voucher";
607
607
  ticket: "ticket";
608
608
  qr_code: "qr_code";
609
609
  barcode: "barcode";
610
610
  mobile: "mobile";
611
611
  }>;
612
612
  deliveryChannel: z.ZodEnum<{
613
+ api: "api";
613
614
  email: "email";
614
615
  other: "other";
615
- wallet: "wallet";
616
616
  download: "download";
617
- api: "api";
617
+ wallet: "wallet";
618
618
  }>;
619
619
  status: z.ZodEnum<{
620
- pending: "pending";
621
620
  failed: "failed";
621
+ pending: "pending";
622
+ revoked: "revoked";
622
623
  issued: "issued";
623
624
  reissued: "reissued";
624
- revoked: "revoked";
625
625
  }>;
626
626
  artifactUrl: z.ZodNullable<z.ZodString>;
627
627
  }, z.core.$strip>>;
@@ -645,21 +645,21 @@ export declare const customerPortalBookingDocumentsResponseSchema: z.ZodObject<{
645
645
  data: z.ZodArray<z.ZodObject<{
646
646
  id: z.ZodString;
647
647
  source: z.ZodEnum<{
648
+ finance: "finance";
648
649
  legal: "legal";
649
650
  booking_document: "booking_document";
650
- finance: "finance";
651
651
  }>;
652
652
  travelerId: z.ZodNullable<z.ZodString>;
653
653
  type: z.ZodEnum<{
654
- invoice: "invoice";
655
- insurance: "insurance";
656
- other: "other";
657
654
  visa: "visa";
655
+ other: "other";
656
+ insurance: "insurance";
658
657
  health: "health";
659
658
  passport_copy: "passport_copy";
660
- contract: "contract";
659
+ invoice: "invoice";
661
660
  proforma: "proforma";
662
661
  credit_note: "credit_note";
662
+ contract: "contract";
663
663
  }>;
664
664
  fileName: z.ZodString;
665
665
  fileUrl: z.ZodString;
@@ -671,11 +671,11 @@ export declare const customerPortalProfileDocumentsResponseSchema: z.ZodObject<{
671
671
  data: z.ZodArray<z.ZodObject<{
672
672
  id: z.ZodString;
673
673
  type: z.ZodEnum<{
674
- other: "other";
675
674
  passport: "passport";
676
- id_card: "id_card";
677
675
  visa: "visa";
678
676
  drivers_license: "drivers_license";
677
+ other: "other";
678
+ id_card: "id_card";
679
679
  }>;
680
680
  number: z.ZodNullable<z.ZodString>;
681
681
  issuingAuthority: z.ZodNullable<z.ZodString>;
@@ -693,11 +693,11 @@ export declare const customerPortalProfileDocumentResponseSchema: z.ZodObject<{
693
693
  data: z.ZodObject<{
694
694
  id: z.ZodString;
695
695
  type: z.ZodEnum<{
696
- other: "other";
697
696
  passport: "passport";
698
- id_card: "id_card";
699
697
  visa: "visa";
700
698
  drivers_license: "drivers_license";
699
+ other: "other";
700
+ id_card: "id_card";
701
701
  }>;
702
702
  number: z.ZodNullable<z.ZodString>;
703
703
  issuingAuthority: z.ZodNullable<z.ZodString>;
@@ -34,7 +34,7 @@ export declare function useAdminStorefrontSettings(options?: UseAdminStorefrontS
34
34
  fields: {
35
35
  key: string;
36
36
  label: string;
37
- type: "select" | "textarea" | "text" | "date" | "email" | "tel" | "checkbox" | "country";
37
+ type: "date" | "select" | "text" | "email" | "textarea" | "country" | "tel" | "checkbox";
38
38
  required: boolean;
39
39
  placeholder: string | null;
40
40
  description: string | null;
@@ -49,7 +49,7 @@ export declare function useAdminStorefrontSettings(options?: UseAdminStorefrontS
49
49
  fields: {
50
50
  key: string;
51
51
  label: string;
52
- type: "select" | "textarea" | "text" | "date" | "email" | "tel" | "checkbox" | "country";
52
+ type: "date" | "select" | "text" | "email" | "textarea" | "country" | "tel" | "checkbox";
53
53
  required: boolean;
54
54
  placeholder: string | null;
55
55
  description: string | null;
@@ -62,9 +62,9 @@ export declare function useAdminStorefrontSettings(options?: UseAdminStorefrontS
62
62
  };
63
63
  };
64
64
  payment: {
65
- defaultMethod: "card" | "bank_transfer" | "cash" | "voucher" | "invoice" | null;
65
+ defaultMethod: "voucher" | "bank_transfer" | "cash" | "invoice" | "card" | null;
66
66
  methods: {
67
- code: "card" | "bank_transfer" | "cash" | "voucher" | "invoice";
67
+ code: "voucher" | "bank_transfer" | "cash" | "invoice" | "card";
68
68
  label: string;
69
69
  description: string | null;
70
70
  enabled: boolean;
@@ -130,7 +130,7 @@ export declare function useAdminStorefrontSettingsMutation(): import("@tanstack/
130
130
  fields: {
131
131
  key: string;
132
132
  label: string;
133
- type: "select" | "textarea" | "text" | "date" | "email" | "tel" | "checkbox" | "country";
133
+ type: "date" | "select" | "text" | "email" | "textarea" | "country" | "tel" | "checkbox";
134
134
  required: boolean;
135
135
  placeholder: string | null;
136
136
  description: string | null;
@@ -145,7 +145,7 @@ export declare function useAdminStorefrontSettingsMutation(): import("@tanstack/
145
145
  fields: {
146
146
  key: string;
147
147
  label: string;
148
- type: "select" | "textarea" | "text" | "date" | "email" | "tel" | "checkbox" | "country";
148
+ type: "date" | "select" | "text" | "email" | "textarea" | "country" | "tel" | "checkbox";
149
149
  required: boolean;
150
150
  placeholder: string | null;
151
151
  description: string | null;
@@ -158,9 +158,9 @@ export declare function useAdminStorefrontSettingsMutation(): import("@tanstack/
158
158
  };
159
159
  };
160
160
  payment: {
161
- defaultMethod: "card" | "bank_transfer" | "cash" | "voucher" | "invoice" | null;
161
+ defaultMethod: "voucher" | "bank_transfer" | "cash" | "invoice" | "card" | null;
162
162
  methods: {
163
- code: "card" | "bank_transfer" | "cash" | "voucher" | "invoice";
163
+ code: "voucher" | "bank_transfer" | "cash" | "invoice" | "card";
164
164
  label: string;
165
165
  description: string | null;
166
166
  enabled: boolean;
@@ -224,7 +224,7 @@ export declare function useAdminStorefrontSettingsMutation(): import("@tanstack/
224
224
  fields?: {
225
225
  key: string;
226
226
  label: string;
227
- type?: "select" | "textarea" | "text" | "date" | "email" | "tel" | "checkbox" | "country" | undefined;
227
+ type?: "date" | "select" | "text" | "email" | "textarea" | "country" | "tel" | "checkbox" | undefined;
228
228
  required?: boolean | undefined;
229
229
  placeholder?: string | null | undefined;
230
230
  description?: string | null | undefined;
@@ -239,7 +239,7 @@ export declare function useAdminStorefrontSettingsMutation(): import("@tanstack/
239
239
  fields?: {
240
240
  key: string;
241
241
  label: string;
242
- type?: "select" | "textarea" | "text" | "date" | "email" | "tel" | "checkbox" | "country" | undefined;
242
+ type?: "date" | "select" | "text" | "email" | "textarea" | "country" | "tel" | "checkbox" | undefined;
243
243
  required?: boolean | undefined;
244
244
  placeholder?: string | null | undefined;
245
245
  description?: string | null | undefined;
@@ -252,9 +252,9 @@ export declare function useAdminStorefrontSettingsMutation(): import("@tanstack/
252
252
  } | undefined;
253
253
  } | undefined;
254
254
  payment?: {
255
- defaultMethod?: "card" | "bank_transfer" | "cash" | "voucher" | "invoice" | null | undefined;
255
+ defaultMethod?: "voucher" | "bank_transfer" | "cash" | "invoice" | "card" | null | undefined;
256
256
  methods?: {
257
- code: "card" | "bank_transfer" | "cash" | "voucher" | "invoice";
257
+ code: "voucher" | "bank_transfer" | "cash" | "invoice" | "card";
258
258
  label?: string | undefined;
259
259
  description?: string | null | undefined;
260
260
  enabled?: boolean | undefined;
@@ -128,8 +128,8 @@ export declare function useStorefrontDeparturePricePreviewMutation(departureId:
128
128
  kind: "code" | "slug";
129
129
  value: string;
130
130
  result: {
131
- status: "applied" | "not_applicable" | "conflict" | "invalid";
132
- reason: "currency" | "scope" | "conflict" | "min_pax" | "eligibility" | "no_discount" | "offer_not_found" | "offer_expired" | "offer_not_yet_valid" | "code_not_found" | "code_required" | "code_expired" | "code_not_yet_valid" | "booking_mismatch" | "session_mismatch" | null;
131
+ status: "applied" | "not_applicable" | "invalid" | "conflict";
132
+ reason: "scope" | "currency" | "booking_mismatch" | "conflict" | "offer_not_found" | "offer_expired" | "offer_not_yet_valid" | "code_not_found" | "code_required" | "code_expired" | "code_not_yet_valid" | "min_pax" | "eligibility" | "no_discount" | "session_mismatch" | null;
133
133
  offer: {
134
134
  id: string;
135
135
  name: string;
@@ -1,7 +1,7 @@
1
1
  export declare function useStorefrontOfferApplyMutation(slug: string | null | undefined): import("@tanstack/react-query").UseMutationResult<{
2
2
  data: {
3
- status: "applied" | "not_applicable" | "conflict" | "invalid";
4
- reason: "currency" | "scope" | "conflict" | "min_pax" | "eligibility" | "no_discount" | "offer_not_found" | "offer_expired" | "offer_not_yet_valid" | "code_not_found" | "code_required" | "code_expired" | "code_not_yet_valid" | "booking_mismatch" | "session_mismatch" | null;
3
+ status: "applied" | "not_applicable" | "invalid" | "conflict";
4
+ reason: "scope" | "currency" | "booking_mismatch" | "conflict" | "offer_not_found" | "offer_expired" | "offer_not_yet_valid" | "code_not_found" | "code_required" | "code_expired" | "code_not_yet_valid" | "min_pax" | "eligibility" | "no_discount" | "session_mismatch" | null;
5
5
  offer: {
6
6
  id: string;
7
7
  name: string;
@@ -62,7 +62,7 @@ export declare function useStorefrontOfferApplyMutation(slug: string | null | un
62
62
  bookingId?: string | null | undefined;
63
63
  sessionId?: string | null | undefined;
64
64
  locale?: string | undefined;
65
- audience?: "partner" | "supplier" | "staff" | "customer" | undefined;
65
+ audience?: "staff" | "customer" | "partner" | "supplier" | undefined;
66
66
  market?: string | undefined;
67
67
  }, unknown>;
68
68
  //# sourceMappingURL=use-storefront-offer-apply-mutation.d.ts.map
@@ -1,7 +1,7 @@
1
1
  export declare function useStorefrontOfferRedeemMutation(): import("@tanstack/react-query").UseMutationResult<{
2
2
  data: {
3
- status: "applied" | "not_applicable" | "conflict" | "invalid";
4
- reason: "currency" | "scope" | "conflict" | "min_pax" | "eligibility" | "no_discount" | "offer_not_found" | "offer_expired" | "offer_not_yet_valid" | "code_not_found" | "code_required" | "code_expired" | "code_not_yet_valid" | "booking_mismatch" | "session_mismatch" | null;
3
+ status: "applied" | "not_applicable" | "invalid" | "conflict";
4
+ reason: "scope" | "currency" | "booking_mismatch" | "conflict" | "offer_not_found" | "offer_expired" | "offer_not_yet_valid" | "code_not_found" | "code_required" | "code_expired" | "code_not_yet_valid" | "min_pax" | "eligibility" | "no_discount" | "session_mismatch" | null;
5
5
  offer: {
6
6
  id: string;
7
7
  name: string;
@@ -63,7 +63,7 @@ export declare function useStorefrontOfferRedeemMutation(): import("@tanstack/re
63
63
  bookingId?: string | null | undefined;
64
64
  sessionId?: string | null | undefined;
65
65
  locale?: string | undefined;
66
- audience?: "partner" | "supplier" | "staff" | "customer" | undefined;
66
+ audience?: "staff" | "customer" | "partner" | "supplier" | undefined;
67
67
  market?: string | undefined;
68
68
  }, unknown>;
69
69
  //# sourceMappingURL=use-storefront-offer-redeem-mutation.d.ts.map
@@ -34,7 +34,7 @@ export declare function useStorefrontSettings(options?: UseStorefrontSettingsOpt
34
34
  fields: {
35
35
  key: string;
36
36
  label: string;
37
- type: "select" | "textarea" | "text" | "date" | "email" | "tel" | "checkbox" | "country";
37
+ type: "date" | "select" | "text" | "email" | "textarea" | "country" | "tel" | "checkbox";
38
38
  required: boolean;
39
39
  placeholder: string | null;
40
40
  description: string | null;
@@ -49,7 +49,7 @@ export declare function useStorefrontSettings(options?: UseStorefrontSettingsOpt
49
49
  fields: {
50
50
  key: string;
51
51
  label: string;
52
- type: "select" | "textarea" | "text" | "date" | "email" | "tel" | "checkbox" | "country";
52
+ type: "date" | "select" | "text" | "email" | "textarea" | "country" | "tel" | "checkbox";
53
53
  required: boolean;
54
54
  placeholder: string | null;
55
55
  description: string | null;
@@ -62,9 +62,9 @@ export declare function useStorefrontSettings(options?: UseStorefrontSettingsOpt
62
62
  };
63
63
  };
64
64
  payment: {
65
- defaultMethod: "card" | "bank_transfer" | "cash" | "voucher" | "invoice" | null;
65
+ defaultMethod: "voucher" | "bank_transfer" | "cash" | "invoice" | "card" | null;
66
66
  methods: {
67
- code: "card" | "bank_transfer" | "cash" | "voucher" | "invoice";
67
+ code: "voucher" | "bank_transfer" | "cash" | "invoice" | "card";
68
68
  label: string;
69
69
  description: string | null;
70
70
  enabled: boolean;