@voyantjs/storefront-react 0.47.0 → 0.50.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.
@@ -4,17 +4,30 @@ export declare function getStorefrontSettingsQueryOptions(client: FetchWithValid
4
4
  data: {
5
5
  branding: {
6
6
  logoUrl: string | null;
7
+ faviconUrl: string | null;
8
+ brandMarkUrl: string | null;
9
+ primaryColor: string | null;
10
+ accentColor: string | null;
7
11
  supportedLanguages: string[];
8
12
  };
9
13
  support: {
10
14
  email: string | null;
11
15
  phone: string | null;
16
+ links: {
17
+ label: string;
18
+ url: string;
19
+ }[];
12
20
  };
13
21
  legal: {
14
22
  termsUrl: string | null;
15
23
  privacyUrl: string | null;
24
+ cancellationUrl: string | null;
16
25
  defaultContractTemplateId: string | null;
17
26
  };
27
+ localization: {
28
+ defaultLocale: string | null;
29
+ currencyDisplay: "symbol" | "name" | "code";
30
+ };
18
31
  forms: {
19
32
  billing: {
20
33
  fields: {
@@ -48,30 +61,55 @@ export declare function getStorefrontSettingsQueryOptions(client: FetchWithValid
48
61
  };
49
62
  };
50
63
  payment: {
51
- defaultMethod: "voucher" | "card" | "bank_transfer" | "cash" | "invoice" | null;
64
+ defaultMethod: "voucher" | "bank_transfer" | "cash" | "invoice" | "card" | null;
52
65
  methods: {
53
- code: "voucher" | "card" | "bank_transfer" | "cash" | "invoice";
66
+ code: "voucher" | "bank_transfer" | "cash" | "invoice" | "card";
54
67
  label: string;
55
68
  description: string | null;
56
69
  enabled: boolean;
57
70
  }[];
71
+ defaultSchedule: {
72
+ depositPercent: number | null;
73
+ balanceDueDaysBeforeDeparture: number | null;
74
+ } | null;
75
+ bankTransfer: {
76
+ accountHolder: string | null;
77
+ bankName: string | null;
78
+ iban: string | null;
79
+ bic: string | null;
80
+ paymentReference: string | null;
81
+ instructions: string | null;
82
+ } | null;
58
83
  };
59
84
  };
60
85
  }, Error, {
61
86
  data: {
62
87
  branding: {
63
88
  logoUrl: string | null;
89
+ faviconUrl: string | null;
90
+ brandMarkUrl: string | null;
91
+ primaryColor: string | null;
92
+ accentColor: string | null;
64
93
  supportedLanguages: string[];
65
94
  };
66
95
  support: {
67
96
  email: string | null;
68
97
  phone: string | null;
98
+ links: {
99
+ label: string;
100
+ url: string;
101
+ }[];
69
102
  };
70
103
  legal: {
71
104
  termsUrl: string | null;
72
105
  privacyUrl: string | null;
106
+ cancellationUrl: string | null;
73
107
  defaultContractTemplateId: string | null;
74
108
  };
109
+ localization: {
110
+ defaultLocale: string | null;
111
+ currencyDisplay: "symbol" | "name" | "code";
112
+ };
75
113
  forms: {
76
114
  billing: {
77
115
  fields: {
@@ -105,13 +143,25 @@ export declare function getStorefrontSettingsQueryOptions(client: FetchWithValid
105
143
  };
106
144
  };
107
145
  payment: {
108
- defaultMethod: "voucher" | "card" | "bank_transfer" | "cash" | "invoice" | null;
146
+ defaultMethod: "voucher" | "bank_transfer" | "cash" | "invoice" | "card" | null;
109
147
  methods: {
110
- code: "voucher" | "card" | "bank_transfer" | "cash" | "invoice";
148
+ code: "voucher" | "bank_transfer" | "cash" | "invoice" | "card";
111
149
  label: string;
112
150
  description: string | null;
113
151
  enabled: boolean;
114
152
  }[];
153
+ defaultSchedule: {
154
+ depositPercent: number | null;
155
+ balanceDueDaysBeforeDeparture: number | null;
156
+ } | null;
157
+ bankTransfer: {
158
+ accountHolder: string | null;
159
+ bankName: string | null;
160
+ iban: string | null;
161
+ bic: string | null;
162
+ paymentReference: string | null;
163
+ instructions: string | null;
164
+ } | null;
115
165
  };
116
166
  };
117
167
  }, readonly ["voyant", "storefront", "settings"]>, "queryFn"> & {
@@ -119,17 +169,30 @@ export declare function getStorefrontSettingsQueryOptions(client: FetchWithValid
119
169
  data: {
120
170
  branding: {
121
171
  logoUrl: string | null;
172
+ faviconUrl: string | null;
173
+ brandMarkUrl: string | null;
174
+ primaryColor: string | null;
175
+ accentColor: string | null;
122
176
  supportedLanguages: string[];
123
177
  };
124
178
  support: {
125
179
  email: string | null;
126
180
  phone: string | null;
181
+ links: {
182
+ label: string;
183
+ url: string;
184
+ }[];
127
185
  };
128
186
  legal: {
129
187
  termsUrl: string | null;
130
188
  privacyUrl: string | null;
189
+ cancellationUrl: string | null;
131
190
  defaultContractTemplateId: string | null;
132
191
  };
192
+ localization: {
193
+ defaultLocale: string | null;
194
+ currencyDisplay: "symbol" | "name" | "code";
195
+ };
133
196
  forms: {
134
197
  billing: {
135
198
  fields: {
@@ -163,13 +226,25 @@ export declare function getStorefrontSettingsQueryOptions(client: FetchWithValid
163
226
  };
164
227
  };
165
228
  payment: {
166
- defaultMethod: "voucher" | "card" | "bank_transfer" | "cash" | "invoice" | null;
229
+ defaultMethod: "voucher" | "bank_transfer" | "cash" | "invoice" | "card" | null;
167
230
  methods: {
168
- code: "voucher" | "card" | "bank_transfer" | "cash" | "invoice";
231
+ code: "voucher" | "bank_transfer" | "cash" | "invoice" | "card";
169
232
  label: string;
170
233
  description: string | null;
171
234
  enabled: boolean;
172
235
  }[];
236
+ defaultSchedule: {
237
+ depositPercent: number | null;
238
+ balanceDueDaysBeforeDeparture: number | null;
239
+ } | null;
240
+ bankTransfer: {
241
+ accountHolder: string | null;
242
+ bankName: string | null;
243
+ iban: string | null;
244
+ bic: string | null;
245
+ paymentReference: string | null;
246
+ instructions: string | null;
247
+ } | null;
173
248
  };
174
249
  };
175
250
  }, readonly ["voyant", "storefront", "settings"], never> | undefined;
@@ -179,17 +254,366 @@ export declare function getStorefrontSettingsQueryOptions(client: FetchWithValid
179
254
  data: {
180
255
  branding: {
181
256
  logoUrl: string | null;
257
+ faviconUrl: string | null;
258
+ brandMarkUrl: string | null;
259
+ primaryColor: string | null;
260
+ accentColor: string | null;
261
+ supportedLanguages: string[];
262
+ };
263
+ support: {
264
+ email: string | null;
265
+ phone: string | null;
266
+ links: {
267
+ label: string;
268
+ url: string;
269
+ }[];
270
+ };
271
+ legal: {
272
+ termsUrl: string | null;
273
+ privacyUrl: string | null;
274
+ cancellationUrl: string | null;
275
+ defaultContractTemplateId: string | null;
276
+ };
277
+ localization: {
278
+ defaultLocale: string | null;
279
+ currencyDisplay: "symbol" | "name" | "code";
280
+ };
281
+ forms: {
282
+ billing: {
283
+ fields: {
284
+ key: string;
285
+ label: string;
286
+ type: "text" | "date" | "select" | "email" | "country" | "tel" | "textarea" | "checkbox";
287
+ required: boolean;
288
+ placeholder: string | null;
289
+ description: string | null;
290
+ autocomplete: string | null;
291
+ options: {
292
+ value: string;
293
+ label: string;
294
+ }[];
295
+ }[];
296
+ };
297
+ travelers: {
298
+ fields: {
299
+ key: string;
300
+ label: string;
301
+ type: "text" | "date" | "select" | "email" | "country" | "tel" | "textarea" | "checkbox";
302
+ required: boolean;
303
+ placeholder: string | null;
304
+ description: string | null;
305
+ autocomplete: string | null;
306
+ options: {
307
+ value: string;
308
+ label: string;
309
+ }[];
310
+ }[];
311
+ };
312
+ };
313
+ payment: {
314
+ defaultMethod: "voucher" | "bank_transfer" | "cash" | "invoice" | "card" | null;
315
+ methods: {
316
+ code: "voucher" | "bank_transfer" | "cash" | "invoice" | "card";
317
+ label: string;
318
+ description: string | null;
319
+ enabled: boolean;
320
+ }[];
321
+ defaultSchedule: {
322
+ depositPercent: number | null;
323
+ balanceDueDaysBeforeDeparture: number | null;
324
+ } | null;
325
+ bankTransfer: {
326
+ accountHolder: string | null;
327
+ bankName: string | null;
328
+ iban: string | null;
329
+ bic: string | null;
330
+ paymentReference: string | null;
331
+ instructions: string | null;
332
+ } | null;
333
+ };
334
+ };
335
+ };
336
+ [dataTagErrorSymbol]: Error;
337
+ };
338
+ };
339
+ export declare function getAdminStorefrontSettingsQueryOptions(client: FetchWithValidationOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
340
+ data: {
341
+ branding: {
342
+ logoUrl: string | null;
343
+ faviconUrl: string | null;
344
+ brandMarkUrl: string | null;
345
+ primaryColor: string | null;
346
+ accentColor: string | null;
347
+ supportedLanguages: string[];
348
+ };
349
+ support: {
350
+ email: string | null;
351
+ phone: string | null;
352
+ links: {
353
+ label: string;
354
+ url: string;
355
+ }[];
356
+ };
357
+ legal: {
358
+ termsUrl: string | null;
359
+ privacyUrl: string | null;
360
+ cancellationUrl: string | null;
361
+ defaultContractTemplateId: string | null;
362
+ };
363
+ localization: {
364
+ defaultLocale: string | null;
365
+ currencyDisplay: "symbol" | "name" | "code";
366
+ };
367
+ forms: {
368
+ billing: {
369
+ fields: {
370
+ key: string;
371
+ label: string;
372
+ type: "text" | "date" | "select" | "email" | "country" | "tel" | "textarea" | "checkbox";
373
+ required: boolean;
374
+ placeholder: string | null;
375
+ description: string | null;
376
+ autocomplete: string | null;
377
+ options: {
378
+ value: string;
379
+ label: string;
380
+ }[];
381
+ }[];
382
+ };
383
+ travelers: {
384
+ fields: {
385
+ key: string;
386
+ label: string;
387
+ type: "text" | "date" | "select" | "email" | "country" | "tel" | "textarea" | "checkbox";
388
+ required: boolean;
389
+ placeholder: string | null;
390
+ description: string | null;
391
+ autocomplete: string | null;
392
+ options: {
393
+ value: string;
394
+ label: string;
395
+ }[];
396
+ }[];
397
+ };
398
+ };
399
+ payment: {
400
+ defaultMethod: "voucher" | "bank_transfer" | "cash" | "invoice" | "card" | null;
401
+ methods: {
402
+ code: "voucher" | "bank_transfer" | "cash" | "invoice" | "card";
403
+ label: string;
404
+ description: string | null;
405
+ enabled: boolean;
406
+ }[];
407
+ defaultSchedule: {
408
+ depositPercent: number | null;
409
+ balanceDueDaysBeforeDeparture: number | null;
410
+ } | null;
411
+ bankTransfer: {
412
+ accountHolder: string | null;
413
+ bankName: string | null;
414
+ iban: string | null;
415
+ bic: string | null;
416
+ paymentReference: string | null;
417
+ instructions: string | null;
418
+ } | null;
419
+ };
420
+ };
421
+ }, Error, {
422
+ data: {
423
+ branding: {
424
+ logoUrl: string | null;
425
+ faviconUrl: string | null;
426
+ brandMarkUrl: string | null;
427
+ primaryColor: string | null;
428
+ accentColor: string | null;
429
+ supportedLanguages: string[];
430
+ };
431
+ support: {
432
+ email: string | null;
433
+ phone: string | null;
434
+ links: {
435
+ label: string;
436
+ url: string;
437
+ }[];
438
+ };
439
+ legal: {
440
+ termsUrl: string | null;
441
+ privacyUrl: string | null;
442
+ cancellationUrl: string | null;
443
+ defaultContractTemplateId: string | null;
444
+ };
445
+ localization: {
446
+ defaultLocale: string | null;
447
+ currencyDisplay: "symbol" | "name" | "code";
448
+ };
449
+ forms: {
450
+ billing: {
451
+ fields: {
452
+ key: string;
453
+ label: string;
454
+ type: "text" | "date" | "select" | "email" | "country" | "tel" | "textarea" | "checkbox";
455
+ required: boolean;
456
+ placeholder: string | null;
457
+ description: string | null;
458
+ autocomplete: string | null;
459
+ options: {
460
+ value: string;
461
+ label: string;
462
+ }[];
463
+ }[];
464
+ };
465
+ travelers: {
466
+ fields: {
467
+ key: string;
468
+ label: string;
469
+ type: "text" | "date" | "select" | "email" | "country" | "tel" | "textarea" | "checkbox";
470
+ required: boolean;
471
+ placeholder: string | null;
472
+ description: string | null;
473
+ autocomplete: string | null;
474
+ options: {
475
+ value: string;
476
+ label: string;
477
+ }[];
478
+ }[];
479
+ };
480
+ };
481
+ payment: {
482
+ defaultMethod: "voucher" | "bank_transfer" | "cash" | "invoice" | "card" | null;
483
+ methods: {
484
+ code: "voucher" | "bank_transfer" | "cash" | "invoice" | "card";
485
+ label: string;
486
+ description: string | null;
487
+ enabled: boolean;
488
+ }[];
489
+ defaultSchedule: {
490
+ depositPercent: number | null;
491
+ balanceDueDaysBeforeDeparture: number | null;
492
+ } | null;
493
+ bankTransfer: {
494
+ accountHolder: string | null;
495
+ bankName: string | null;
496
+ iban: string | null;
497
+ bic: string | null;
498
+ paymentReference: string | null;
499
+ instructions: string | null;
500
+ } | null;
501
+ };
502
+ };
503
+ }, readonly ["voyant", "storefront", "admin", "settings"]>, "queryFn"> & {
504
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
505
+ data: {
506
+ branding: {
507
+ logoUrl: string | null;
508
+ faviconUrl: string | null;
509
+ brandMarkUrl: string | null;
510
+ primaryColor: string | null;
511
+ accentColor: string | null;
512
+ supportedLanguages: string[];
513
+ };
514
+ support: {
515
+ email: string | null;
516
+ phone: string | null;
517
+ links: {
518
+ label: string;
519
+ url: string;
520
+ }[];
521
+ };
522
+ legal: {
523
+ termsUrl: string | null;
524
+ privacyUrl: string | null;
525
+ cancellationUrl: string | null;
526
+ defaultContractTemplateId: string | null;
527
+ };
528
+ localization: {
529
+ defaultLocale: string | null;
530
+ currencyDisplay: "symbol" | "name" | "code";
531
+ };
532
+ forms: {
533
+ billing: {
534
+ fields: {
535
+ key: string;
536
+ label: string;
537
+ type: "text" | "date" | "select" | "email" | "country" | "tel" | "textarea" | "checkbox";
538
+ required: boolean;
539
+ placeholder: string | null;
540
+ description: string | null;
541
+ autocomplete: string | null;
542
+ options: {
543
+ value: string;
544
+ label: string;
545
+ }[];
546
+ }[];
547
+ };
548
+ travelers: {
549
+ fields: {
550
+ key: string;
551
+ label: string;
552
+ type: "text" | "date" | "select" | "email" | "country" | "tel" | "textarea" | "checkbox";
553
+ required: boolean;
554
+ placeholder: string | null;
555
+ description: string | null;
556
+ autocomplete: string | null;
557
+ options: {
558
+ value: string;
559
+ label: string;
560
+ }[];
561
+ }[];
562
+ };
563
+ };
564
+ payment: {
565
+ defaultMethod: "voucher" | "bank_transfer" | "cash" | "invoice" | "card" | null;
566
+ methods: {
567
+ code: "voucher" | "bank_transfer" | "cash" | "invoice" | "card";
568
+ label: string;
569
+ description: string | null;
570
+ enabled: boolean;
571
+ }[];
572
+ defaultSchedule: {
573
+ depositPercent: number | null;
574
+ balanceDueDaysBeforeDeparture: number | null;
575
+ } | null;
576
+ bankTransfer: {
577
+ accountHolder: string | null;
578
+ bankName: string | null;
579
+ iban: string | null;
580
+ bic: string | null;
581
+ paymentReference: string | null;
582
+ instructions: string | null;
583
+ } | null;
584
+ };
585
+ };
586
+ }, readonly ["voyant", "storefront", "admin", "settings"], never> | undefined;
587
+ } & {
588
+ queryKey: readonly ["voyant", "storefront", "admin", "settings"] & {
589
+ [dataTagSymbol]: {
590
+ data: {
591
+ branding: {
592
+ logoUrl: string | null;
593
+ faviconUrl: string | null;
594
+ brandMarkUrl: string | null;
595
+ primaryColor: string | null;
596
+ accentColor: string | null;
182
597
  supportedLanguages: string[];
183
598
  };
184
599
  support: {
185
600
  email: string | null;
186
601
  phone: string | null;
602
+ links: {
603
+ label: string;
604
+ url: string;
605
+ }[];
187
606
  };
188
607
  legal: {
189
608
  termsUrl: string | null;
190
609
  privacyUrl: string | null;
610
+ cancellationUrl: string | null;
191
611
  defaultContractTemplateId: string | null;
192
612
  };
613
+ localization: {
614
+ defaultLocale: string | null;
615
+ currencyDisplay: "symbol" | "name" | "code";
616
+ };
193
617
  forms: {
194
618
  billing: {
195
619
  fields: {
@@ -223,13 +647,25 @@ export declare function getStorefrontSettingsQueryOptions(client: FetchWithValid
223
647
  };
224
648
  };
225
649
  payment: {
226
- defaultMethod: "voucher" | "card" | "bank_transfer" | "cash" | "invoice" | null;
650
+ defaultMethod: "voucher" | "bank_transfer" | "cash" | "invoice" | "card" | null;
227
651
  methods: {
228
- code: "voucher" | "card" | "bank_transfer" | "cash" | "invoice";
652
+ code: "voucher" | "bank_transfer" | "cash" | "invoice" | "card";
229
653
  label: string;
230
654
  description: string | null;
231
655
  enabled: boolean;
232
656
  }[];
657
+ defaultSchedule: {
658
+ depositPercent: number | null;
659
+ balanceDueDaysBeforeDeparture: number | null;
660
+ } | null;
661
+ bankTransfer: {
662
+ accountHolder: string | null;
663
+ bankName: string | null;
664
+ iban: string | null;
665
+ bic: string | null;
666
+ paymentReference: string | null;
667
+ instructions: string | null;
668
+ } | null;
233
669
  };
234
670
  };
235
671
  };
@@ -745,7 +1181,7 @@ export declare function getStorefrontProductExtensionsQueryOptions(client: Fetch
745
1181
  thumb: string | null;
746
1182
  pricePerPerson: number | null;
747
1183
  currencyCode: string;
748
- pricingMode: "included" | "per_person" | "per_booking" | "quantity_based" | "on_request" | "free";
1184
+ pricingMode: "per_booking" | "free" | "included" | "on_request" | "per_person" | "quantity_based";
749
1185
  defaultQuantity: number | null;
750
1186
  minQuantity: number | null;
751
1187
  maxQuantity: number | null;
@@ -761,7 +1197,7 @@ export declare function getStorefrontProductExtensionsQueryOptions(client: Fetch
761
1197
  thumb: string | null;
762
1198
  pricePerPerson: number | null;
763
1199
  currencyCode: string;
764
- pricingMode: "included" | "per_person" | "per_booking" | "quantity_based" | "on_request" | "free";
1200
+ pricingMode: "per_booking" | "free" | "included" | "on_request" | "per_person" | "quantity_based";
765
1201
  defaultQuantity: number | null;
766
1202
  minQuantity: number | null;
767
1203
  maxQuantity: number | null;
@@ -786,7 +1222,7 @@ export declare function getStorefrontProductExtensionsQueryOptions(client: Fetch
786
1222
  thumb: string | null;
787
1223
  pricePerPerson: number | null;
788
1224
  currencyCode: string;
789
- pricingMode: "included" | "per_person" | "per_booking" | "quantity_based" | "on_request" | "free";
1225
+ pricingMode: "per_booking" | "free" | "included" | "on_request" | "per_person" | "quantity_based";
790
1226
  defaultQuantity: number | null;
791
1227
  minQuantity: number | null;
792
1228
  maxQuantity: number | null;
@@ -802,7 +1238,7 @@ export declare function getStorefrontProductExtensionsQueryOptions(client: Fetch
802
1238
  thumb: string | null;
803
1239
  pricePerPerson: number | null;
804
1240
  currencyCode: string;
805
- pricingMode: "included" | "per_person" | "per_booking" | "quantity_based" | "on_request" | "free";
1241
+ pricingMode: "per_booking" | "free" | "included" | "on_request" | "per_person" | "quantity_based";
806
1242
  defaultQuantity: number | null;
807
1243
  minQuantity: number | null;
808
1244
  maxQuantity: number | null;
@@ -830,7 +1266,7 @@ export declare function getStorefrontProductExtensionsQueryOptions(client: Fetch
830
1266
  thumb: string | null;
831
1267
  pricePerPerson: number | null;
832
1268
  currencyCode: string;
833
- pricingMode: "included" | "per_person" | "per_booking" | "quantity_based" | "on_request" | "free";
1269
+ pricingMode: "per_booking" | "free" | "included" | "on_request" | "per_person" | "quantity_based";
834
1270
  defaultQuantity: number | null;
835
1271
  minQuantity: number | null;
836
1272
  maxQuantity: number | null;
@@ -846,7 +1282,7 @@ export declare function getStorefrontProductExtensionsQueryOptions(client: Fetch
846
1282
  thumb: string | null;
847
1283
  pricePerPerson: number | null;
848
1284
  currencyCode: string;
849
- pricingMode: "included" | "per_person" | "per_booking" | "quantity_based" | "on_request" | "free";
1285
+ pricingMode: "per_booking" | "free" | "included" | "on_request" | "per_person" | "quantity_based";
850
1286
  defaultQuantity: number | null;
851
1287
  minQuantity: number | null;
852
1288
  maxQuantity: number | null;
@@ -878,7 +1314,7 @@ export declare function getStorefrontProductExtensionsQueryOptions(client: Fetch
878
1314
  thumb: string | null;
879
1315
  pricePerPerson: number | null;
880
1316
  currencyCode: string;
881
- pricingMode: "included" | "per_person" | "per_booking" | "quantity_based" | "on_request" | "free";
1317
+ pricingMode: "per_booking" | "free" | "included" | "on_request" | "per_person" | "quantity_based";
882
1318
  defaultQuantity: number | null;
883
1319
  minQuantity: number | null;
884
1320
  maxQuantity: number | null;
@@ -894,7 +1330,7 @@ export declare function getStorefrontProductExtensionsQueryOptions(client: Fetch
894
1330
  thumb: string | null;
895
1331
  pricePerPerson: number | null;
896
1332
  currencyCode: string;
897
- pricingMode: "included" | "per_person" | "per_booking" | "quantity_based" | "on_request" | "free";
1333
+ pricingMode: "per_booking" | "free" | "included" | "on_request" | "per_person" | "quantity_based";
898
1334
  defaultQuantity: number | null;
899
1335
  minQuantity: number | null;
900
1336
  maxQuantity: number | null;
@@ -1 +1 @@
1
- {"version":3,"file":"query-options.d.ts","sourceRoot":"","sources":["../src/query-options.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAA;AAU7D,OAAO,EACL,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,EAChC,KAAK,sBAAsB,EAE5B,MAAM,iBAAiB,CAAA;AAExB,wBAAgB,iCAAiC,CAAC,MAAM,EAAE,0BAA0B;;;;;;;;;;;;;;;;;;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orefrontDepartureItinerary, getStorefrontOfferBySlug, getStorefrontSettings, listStorefrontProductDepartures, listStorefrontProductExtensions, listStorefrontProductOffers, } from "./operations.js";
3
+ import { getAdminStorefrontSettings, getStorefrontDeparture, getStorefrontDepartureItinerary, getStorefrontOfferBySlug, getStorefrontSettings, listStorefrontProductDepartures, listStorefrontProductExtensions, listStorefrontProductOffers, } from "./operations.js";
4
4
  import { storefrontQueryKeys, } from "./query-keys.js";
5
5
  export function getStorefrontSettingsQueryOptions(client) {
6
6
  return queryOptions({
@@ -8,6 +8,12 @@ export function getStorefrontSettingsQueryOptions(client) {
8
8
  queryFn: () => getStorefrontSettings(client),
9
9
  });
10
10
  }
11
+ export function getAdminStorefrontSettingsQueryOptions(client) {
12
+ return queryOptions({
13
+ queryKey: storefrontQueryKeys.adminSettings(),
14
+ queryFn: () => getAdminStorefrontSettings(client),
15
+ });
16
+ }
11
17
  export function getStorefrontDepartureQueryOptions(client, departureId) {
12
18
  return queryOptions({
13
19
  queryKey: storefrontQueryKeys.departure(departureId),