@gomusdev/web-components 1.24.0 → 1.25.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.
- package/dist-js/components/cart/mocks/gomusTicketMocks.d.ts +8 -62
- package/dist-js/components/ticketSelection/TicketSelectionDetails.svelte.d.ts +1 -0
- package/dist-js/components/ticketSelection/subcomponents/tickets/subcomponents/segment/Item.svelte.d.ts +1 -0
- package/dist-js/components/ticketSelection/subcomponents/tickets/subcomponents/segment/TicketSegmentDetails.svelte.d.ts +5 -59
- package/dist-js/components/ticketSelection/subcomponents/tickets/subcomponents/segment/lib/annualTickets.svelte.d.ts +1 -1
- package/dist-js/components/ticketSelection/subcomponents/tickets/subcomponents/segment/lib/dayTickets.svelte.d.ts +1 -1
- package/dist-js/components/ticketSelection/subcomponents/tickets/subcomponents/segment/lib/event/eventScaledPriceTickets.svelte.d.ts +1 -1
- package/dist-js/components/ticketSelection/subcomponents/tickets/subcomponents/segment/lib/timeslotTickets.svelte.d.ts +1 -1
- package/dist-js/components/ticketSelection/subcomponents/tickets/subcomponents/utils.svelte.d.ts +2 -3
- package/dist-js/gomus-webcomponents.css +6 -0
- package/dist-js/gomus-webcomponents.iife.js +6284 -6019
- package/dist-js/gomus-webcomponents.js +6284 -6019
- package/dist-js/lib/Log.svelte.d.ts +1 -0
- package/dist-js/lib/models/cart/CartEvents.svelte.d.ts +2 -1
- package/dist-js/lib/models/cart/CartItem.d.ts +2 -1
- package/dist-js/lib/models/cart/capacity/CapacityManager.d.ts +80 -0
- package/dist-js/lib/models/cart/capacity/calculators/quotaManager/QuotaManager.d.ts +62 -0
- package/dist-js/lib/models/cart/capacity/calculators/quotas.d.ts +2 -0
- package/dist-js/lib/models/cart/capacity/calculators/seats.d.ts +13 -0
- package/dist-js/lib/models/cart/capacity/calculators/unlimited.d.ts +2 -0
- package/dist-js/lib/models/cart/capacity/types.d.ts +10 -0
- package/dist-js/lib/models/cart/cart.svelte.d.ts +15 -113
- package/dist-js/lib/models/cart/localStorage.svelte.d.ts +2 -29
- package/dist-js/lib/models/cart/selectOptions.d.ts +1 -7
- package/dist-js/lib/models/cart/types.d.ts +1 -1
- package/dist-js/lib/models/scalePrice/UIScaledPrice.svelte.d.ts +4 -0
- package/dist-js/lib/models/ticket/UITicket.svelte.d.ts +11 -65
- package/dist-js/lib/stores/auth.svelte.d.ts +0 -1
- package/dist-js/lib/stores/shop.svelte.d.ts +127 -0
- package/dist-js/mocks/MSWMocks.d.ts +2 -2
- package/dist-js/mocks/TicketMocks.d.ts +74 -0
- package/dist-js/mocks/mocks.d.ts +237 -789
- package/package.json +1 -1
- package/dist-js/lib/models/capacities/capacities.d.ts +0 -44
- /package/dist-js/components/ticketSelection/subcomponents/tickets/{Tickets.spec.d.ts → Tickets.svelte.spec.d.ts} +0 -0
- /package/dist-js/components/ticketSelection/subcomponents/tickets/subcomponents/segment/lib/event/{eventTickets.spec.d.ts → eventTickets.svelte.spec.d.ts} +0 -0
- /package/dist-js/lib/models/{capacities/capacities.spec.d.ts → cart/capacity/calculators/quotaManager/QuotaManager.spec.d.ts} +0 -0
- /package/dist-js/lib/models/cart/{selectOptions.spec.d.ts → capacity/calculators/seats.spec.d.ts} +0 -0
package/dist-js/mocks/mocks.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { UITicketType } from '../lib/models/ticket/UITicket.svelte.ts';
|
|
2
2
|
export declare const UITimeslotTicketsMocks: {
|
|
3
3
|
uiTicket1: () => {
|
|
4
|
+
uid: number;
|
|
5
|
+
selectedTime: string;
|
|
4
6
|
product_type: import('../lib/models/cart/types').ProductType;
|
|
5
7
|
type: UITicketType;
|
|
6
8
|
shop_order: number;
|
|
7
|
-
selectedTime: string;
|
|
8
9
|
id: number;
|
|
9
10
|
title: string;
|
|
10
11
|
ticket_type: "time_slot" | "annual" | "normal";
|
|
@@ -55,8 +56,9 @@ export declare const UITimeslotTicketsMocks: {
|
|
|
55
56
|
dynamic_prices: {
|
|
56
57
|
[key: string]: number;
|
|
57
58
|
} | null;
|
|
58
|
-
uid: number;
|
|
59
59
|
} | {
|
|
60
|
+
uid: number;
|
|
61
|
+
selectedTime: string;
|
|
60
62
|
product_type: import('../lib/models/cart/types').ProductType;
|
|
61
63
|
type: UITicketType;
|
|
62
64
|
shop_order: number;
|
|
@@ -99,23 +101,15 @@ export declare const UITimeslotTicketsMocks: {
|
|
|
99
101
|
shipped_with_merchandise_id: number | null;
|
|
100
102
|
restricted_shop_account: boolean;
|
|
101
103
|
cash_point_order: number;
|
|
102
|
-
capacities: {
|
|
103
|
-
[key: string]: number;
|
|
104
|
-
};
|
|
105
|
-
total_capacities: {
|
|
106
|
-
[key: string]: number;
|
|
107
|
-
};
|
|
108
|
-
max_capacity: number;
|
|
109
|
-
max_total_capacity: number;
|
|
110
104
|
dynamic_prices: {
|
|
111
105
|
[key: string]: number;
|
|
112
106
|
} | null;
|
|
113
|
-
uid: number;
|
|
114
107
|
} | {
|
|
108
|
+
uid: number;
|
|
109
|
+
selectedTime: string;
|
|
115
110
|
product_type: import('../lib/models/cart/types').ProductType;
|
|
116
111
|
type: UITicketType;
|
|
117
112
|
shop_order: number;
|
|
118
|
-
selectedTime: string;
|
|
119
113
|
id: number;
|
|
120
114
|
title: string;
|
|
121
115
|
ticket_type: "time_slot" | "annual" | "normal";
|
|
@@ -127,8 +121,6 @@ export declare const UITimeslotTicketsMocks: {
|
|
|
127
121
|
vat_pct: number;
|
|
128
122
|
tax_included: boolean;
|
|
129
123
|
entry_duration: number | null;
|
|
130
|
-
min_persons: number;
|
|
131
|
-
max_persons: number;
|
|
132
124
|
quota_ids: number[];
|
|
133
125
|
first_entry: number;
|
|
134
126
|
last_entry: number;
|
|
@@ -152,66 +144,21 @@ export declare const UITimeslotTicketsMocks: {
|
|
|
152
144
|
is_sub_ticket: boolean;
|
|
153
145
|
created_at: string;
|
|
154
146
|
updated_at: string;
|
|
147
|
+
cash_point_order: number;
|
|
155
148
|
shipped_with_merchandise_id: number | null;
|
|
156
149
|
restricted_shop_account: boolean;
|
|
157
|
-
cash_point_order: number;
|
|
158
|
-
dynamic_prices: {
|
|
159
|
-
[key: string]: number;
|
|
160
|
-
} | null;
|
|
161
|
-
uid: number;
|
|
162
|
-
} | {
|
|
163
|
-
product_type: import('../lib/models/cart/types').ProductType;
|
|
164
|
-
type: UITicketType;
|
|
165
|
-
shop_order: number;
|
|
166
|
-
id: number;
|
|
167
|
-
title: string;
|
|
168
|
-
ticket_type: "time_slot" | "annual" | "normal";
|
|
169
|
-
bookable: boolean;
|
|
170
|
-
museum_ids: number[];
|
|
171
|
-
exhibition_ids: number[];
|
|
172
|
-
price_cents: number;
|
|
173
|
-
discount: number;
|
|
174
|
-
vat_pct: number;
|
|
175
|
-
tax_included: boolean;
|
|
176
|
-
entry_duration: number | null;
|
|
177
150
|
min_persons: number;
|
|
178
151
|
max_persons: number;
|
|
179
|
-
|
|
180
|
-
first_entry: number;
|
|
181
|
-
last_entry: number;
|
|
182
|
-
personalizeable: boolean;
|
|
183
|
-
attendees: boolean | string;
|
|
184
|
-
identification: boolean | string;
|
|
185
|
-
free_timing: boolean;
|
|
186
|
-
is_collective: boolean;
|
|
187
|
-
is_upgrade: boolean;
|
|
188
|
-
is_mantle: boolean;
|
|
189
|
-
description: string | null;
|
|
190
|
-
sub_ticket_ids: number[];
|
|
191
|
-
sub_tickets: {
|
|
192
|
-
[key: string]: {
|
|
193
|
-
title?: string;
|
|
194
|
-
min_persons?: number;
|
|
195
|
-
max_persons?: number;
|
|
196
|
-
description?: string | null;
|
|
197
|
-
};
|
|
198
|
-
} | null;
|
|
199
|
-
is_sub_ticket: boolean;
|
|
200
|
-
created_at: string;
|
|
201
|
-
updated_at: string;
|
|
202
|
-
shipped_with_merchandise_id: number | null;
|
|
203
|
-
restricted_shop_account: boolean;
|
|
204
|
-
cash_point_order: number;
|
|
205
|
-
dynamic_prices: {
|
|
152
|
+
dynamic_prices?: {
|
|
206
153
|
[key: string]: number;
|
|
207
154
|
} | null;
|
|
208
|
-
uid: number;
|
|
209
155
|
};
|
|
210
156
|
uiTicket2: () => {
|
|
157
|
+
uid: number;
|
|
158
|
+
selectedTime: string;
|
|
211
159
|
product_type: import('../lib/models/cart/types').ProductType;
|
|
212
160
|
type: UITicketType;
|
|
213
161
|
shop_order: number;
|
|
214
|
-
selectedTime: string;
|
|
215
162
|
id: number;
|
|
216
163
|
title: string;
|
|
217
164
|
ticket_type: "time_slot" | "annual" | "normal";
|
|
@@ -262,8 +209,9 @@ export declare const UITimeslotTicketsMocks: {
|
|
|
262
209
|
dynamic_prices: {
|
|
263
210
|
[key: string]: number;
|
|
264
211
|
} | null;
|
|
265
|
-
uid: number;
|
|
266
212
|
} | {
|
|
213
|
+
uid: number;
|
|
214
|
+
selectedTime: string;
|
|
267
215
|
product_type: import('../lib/models/cart/types').ProductType;
|
|
268
216
|
type: UITicketType;
|
|
269
217
|
shop_order: number;
|
|
@@ -306,23 +254,15 @@ export declare const UITimeslotTicketsMocks: {
|
|
|
306
254
|
shipped_with_merchandise_id: number | null;
|
|
307
255
|
restricted_shop_account: boolean;
|
|
308
256
|
cash_point_order: number;
|
|
309
|
-
capacities: {
|
|
310
|
-
[key: string]: number;
|
|
311
|
-
};
|
|
312
|
-
total_capacities: {
|
|
313
|
-
[key: string]: number;
|
|
314
|
-
};
|
|
315
|
-
max_capacity: number;
|
|
316
|
-
max_total_capacity: number;
|
|
317
257
|
dynamic_prices: {
|
|
318
258
|
[key: string]: number;
|
|
319
259
|
} | null;
|
|
320
|
-
uid: number;
|
|
321
260
|
} | {
|
|
261
|
+
uid: number;
|
|
262
|
+
selectedTime: string;
|
|
322
263
|
product_type: import('../lib/models/cart/types').ProductType;
|
|
323
264
|
type: UITicketType;
|
|
324
265
|
shop_order: number;
|
|
325
|
-
selectedTime: string;
|
|
326
266
|
id: number;
|
|
327
267
|
title: string;
|
|
328
268
|
ticket_type: "time_slot" | "annual" | "normal";
|
|
@@ -334,8 +274,6 @@ export declare const UITimeslotTicketsMocks: {
|
|
|
334
274
|
vat_pct: number;
|
|
335
275
|
tax_included: boolean;
|
|
336
276
|
entry_duration: number | null;
|
|
337
|
-
min_persons: number;
|
|
338
|
-
max_persons: number;
|
|
339
277
|
quota_ids: number[];
|
|
340
278
|
first_entry: number;
|
|
341
279
|
last_entry: number;
|
|
@@ -359,60 +297,14 @@ export declare const UITimeslotTicketsMocks: {
|
|
|
359
297
|
is_sub_ticket: boolean;
|
|
360
298
|
created_at: string;
|
|
361
299
|
updated_at: string;
|
|
300
|
+
cash_point_order: number;
|
|
362
301
|
shipped_with_merchandise_id: number | null;
|
|
363
302
|
restricted_shop_account: boolean;
|
|
364
|
-
cash_point_order: number;
|
|
365
|
-
dynamic_prices: {
|
|
366
|
-
[key: string]: number;
|
|
367
|
-
} | null;
|
|
368
|
-
uid: number;
|
|
369
|
-
} | {
|
|
370
|
-
product_type: import('../lib/models/cart/types').ProductType;
|
|
371
|
-
type: UITicketType;
|
|
372
|
-
shop_order: number;
|
|
373
|
-
id: number;
|
|
374
|
-
title: string;
|
|
375
|
-
ticket_type: "time_slot" | "annual" | "normal";
|
|
376
|
-
bookable: boolean;
|
|
377
|
-
museum_ids: number[];
|
|
378
|
-
exhibition_ids: number[];
|
|
379
|
-
price_cents: number;
|
|
380
|
-
discount: number;
|
|
381
|
-
vat_pct: number;
|
|
382
|
-
tax_included: boolean;
|
|
383
|
-
entry_duration: number | null;
|
|
384
303
|
min_persons: number;
|
|
385
304
|
max_persons: number;
|
|
386
|
-
|
|
387
|
-
first_entry: number;
|
|
388
|
-
last_entry: number;
|
|
389
|
-
personalizeable: boolean;
|
|
390
|
-
attendees: boolean | string;
|
|
391
|
-
identification: boolean | string;
|
|
392
|
-
free_timing: boolean;
|
|
393
|
-
is_collective: boolean;
|
|
394
|
-
is_upgrade: boolean;
|
|
395
|
-
is_mantle: boolean;
|
|
396
|
-
description: string | null;
|
|
397
|
-
sub_ticket_ids: number[];
|
|
398
|
-
sub_tickets: {
|
|
399
|
-
[key: string]: {
|
|
400
|
-
title?: string;
|
|
401
|
-
min_persons?: number;
|
|
402
|
-
max_persons?: number;
|
|
403
|
-
description?: string | null;
|
|
404
|
-
};
|
|
405
|
-
} | null;
|
|
406
|
-
is_sub_ticket: boolean;
|
|
407
|
-
created_at: string;
|
|
408
|
-
updated_at: string;
|
|
409
|
-
shipped_with_merchandise_id: number | null;
|
|
410
|
-
restricted_shop_account: boolean;
|
|
411
|
-
cash_point_order: number;
|
|
412
|
-
dynamic_prices: {
|
|
305
|
+
dynamic_prices?: {
|
|
413
306
|
[key: string]: number;
|
|
414
307
|
} | null;
|
|
415
|
-
uid: number;
|
|
416
308
|
};
|
|
417
309
|
};
|
|
418
310
|
export declare const ApiTimeslotTicketMocks: {
|
|
@@ -509,40 +401,40 @@ export declare const ApiTimeslotTicketMocks: {
|
|
|
509
401
|
cash_point_order: number;
|
|
510
402
|
shop_order: number;
|
|
511
403
|
capacities: {
|
|
512
|
-
'
|
|
513
|
-
'
|
|
514
|
-
'
|
|
515
|
-
'
|
|
516
|
-
'
|
|
517
|
-
'
|
|
518
|
-
'
|
|
519
|
-
'
|
|
520
|
-
'
|
|
521
|
-
'
|
|
522
|
-
'
|
|
523
|
-
'
|
|
524
|
-
'
|
|
525
|
-
'
|
|
526
|
-
'
|
|
527
|
-
'
|
|
404
|
+
'2024-05-22T10:00:00+02:00': number;
|
|
405
|
+
'2024-05-22T10:30:00+02:00': number;
|
|
406
|
+
'2024-05-22T11:00:00+02:00': number;
|
|
407
|
+
'2024-05-22T11:30:00+02:00': number;
|
|
408
|
+
'2024-05-22T12:00:00+02:00': number;
|
|
409
|
+
'2024-05-22T12:30:00+02:00': number;
|
|
410
|
+
'2024-05-22T13:00:00+02:00': number;
|
|
411
|
+
'2024-05-22T13:30:00+02:00': number;
|
|
412
|
+
'2024-05-22T14:00:00+02:00': number;
|
|
413
|
+
'2024-05-22T14:30:00+02:00': number;
|
|
414
|
+
'2024-05-22T15:00:00+02:00': number;
|
|
415
|
+
'2024-05-22T15:30:00+02:00': number;
|
|
416
|
+
'2024-05-22T16:00:00+02:00': number;
|
|
417
|
+
'2024-05-22T16:30:00+02:00': number;
|
|
418
|
+
'2024-05-22T17:00:00+02:00': number;
|
|
419
|
+
'2024-05-22T17:30:00+02:00': number;
|
|
528
420
|
};
|
|
529
421
|
total_capacities: {
|
|
530
|
-
'
|
|
531
|
-
'
|
|
532
|
-
'
|
|
533
|
-
'
|
|
534
|
-
'
|
|
535
|
-
'
|
|
536
|
-
'
|
|
537
|
-
'
|
|
538
|
-
'
|
|
539
|
-
'
|
|
540
|
-
'
|
|
541
|
-
'
|
|
542
|
-
'
|
|
543
|
-
'
|
|
544
|
-
'
|
|
545
|
-
'
|
|
422
|
+
'2024-05-22T10:00:00+02:00': number;
|
|
423
|
+
'2024-05-22T10:30:00+02:00': number;
|
|
424
|
+
'2024-05-22T11:00:00+02:00': number;
|
|
425
|
+
'2024-05-22T11:30:00+02:00': number;
|
|
426
|
+
'2024-05-22T12:00:00+02:00': number;
|
|
427
|
+
'2024-05-22T12:30:00+02:00': number;
|
|
428
|
+
'2024-05-22T13:00:00+02:00': number;
|
|
429
|
+
'2024-05-22T13:30:00+02:00': number;
|
|
430
|
+
'2024-05-22T14:00:00+02:00': number;
|
|
431
|
+
'2024-05-22T14:30:00+02:00': number;
|
|
432
|
+
'2024-05-22T15:00:00+02:00': number;
|
|
433
|
+
'2024-05-22T15:30:00+02:00': number;
|
|
434
|
+
'2024-05-22T16:00:00+02:00': number;
|
|
435
|
+
'2024-05-22T16:30:00+02:00': number;
|
|
436
|
+
'2024-05-22T17:00:00+02:00': number;
|
|
437
|
+
'2024-05-22T17:30:00+02:00': number;
|
|
546
438
|
};
|
|
547
439
|
max_capacity: number;
|
|
548
440
|
max_total_capacity: number;
|
|
@@ -587,6 +479,12 @@ export declare const ApiDayTicketMocks: {
|
|
|
587
479
|
shipped_with_merchandise_id: null;
|
|
588
480
|
restricted_shop_account: boolean;
|
|
589
481
|
dynamic_prices: null;
|
|
482
|
+
capacities: {
|
|
483
|
+
'2025-09-23T10:00:00+02:00': number;
|
|
484
|
+
};
|
|
485
|
+
total_capacities: {
|
|
486
|
+
'2025-09-23T10:00:00+02:00': number;
|
|
487
|
+
};
|
|
590
488
|
};
|
|
591
489
|
ticket2: {
|
|
592
490
|
id: number;
|
|
@@ -660,7 +558,6 @@ export declare const ApiAnnualTicketMocks: {
|
|
|
660
558
|
shop_order: number;
|
|
661
559
|
shipped_with_merchandise_id: null;
|
|
662
560
|
restricted_shop_account: boolean;
|
|
663
|
-
dynamic_prices: null;
|
|
664
561
|
};
|
|
665
562
|
ticket2: {
|
|
666
563
|
id: number;
|
|
@@ -696,7 +593,6 @@ export declare const ApiAnnualTicketMocks: {
|
|
|
696
593
|
shop_order: number;
|
|
697
594
|
shipped_with_merchandise_id: null;
|
|
698
595
|
restricted_shop_account: boolean;
|
|
699
|
-
dynamic_prices: null;
|
|
700
596
|
};
|
|
701
597
|
ticket3: {
|
|
702
598
|
id: number;
|
|
@@ -732,15 +628,15 @@ export declare const ApiAnnualTicketMocks: {
|
|
|
732
628
|
shop_order: number;
|
|
733
629
|
shipped_with_merchandise_id: null;
|
|
734
630
|
restricted_shop_account: boolean;
|
|
735
|
-
dynamic_prices: null;
|
|
736
631
|
};
|
|
737
632
|
};
|
|
738
633
|
export declare const UIAnnualTicketMocks: {
|
|
739
634
|
ticket1: {
|
|
635
|
+
uid: number;
|
|
636
|
+
selectedTime: string;
|
|
740
637
|
product_type: import('../lib/models/cart/types').ProductType;
|
|
741
638
|
type: UITicketType;
|
|
742
639
|
shop_order: number;
|
|
743
|
-
selectedTime: string;
|
|
744
640
|
id: number;
|
|
745
641
|
title: string;
|
|
746
642
|
ticket_type: "time_slot" | "annual" | "normal";
|
|
@@ -791,8 +687,9 @@ export declare const UIAnnualTicketMocks: {
|
|
|
791
687
|
dynamic_prices: {
|
|
792
688
|
[key: string]: number;
|
|
793
689
|
} | null;
|
|
794
|
-
uid: number;
|
|
795
690
|
} | {
|
|
691
|
+
uid: number;
|
|
692
|
+
selectedTime: string;
|
|
796
693
|
product_type: import('../lib/models/cart/types').ProductType;
|
|
797
694
|
type: UITicketType;
|
|
798
695
|
shop_order: number;
|
|
@@ -835,23 +732,15 @@ export declare const UIAnnualTicketMocks: {
|
|
|
835
732
|
shipped_with_merchandise_id: number | null;
|
|
836
733
|
restricted_shop_account: boolean;
|
|
837
734
|
cash_point_order: number;
|
|
838
|
-
capacities: {
|
|
839
|
-
[key: string]: number;
|
|
840
|
-
};
|
|
841
|
-
total_capacities: {
|
|
842
|
-
[key: string]: number;
|
|
843
|
-
};
|
|
844
|
-
max_capacity: number;
|
|
845
|
-
max_total_capacity: number;
|
|
846
735
|
dynamic_prices: {
|
|
847
736
|
[key: string]: number;
|
|
848
737
|
} | null;
|
|
849
|
-
uid: number;
|
|
850
738
|
} | {
|
|
739
|
+
uid: number;
|
|
740
|
+
selectedTime: string;
|
|
851
741
|
product_type: import('../lib/models/cart/types').ProductType;
|
|
852
742
|
type: UITicketType;
|
|
853
743
|
shop_order: number;
|
|
854
|
-
selectedTime: string;
|
|
855
744
|
id: number;
|
|
856
745
|
title: string;
|
|
857
746
|
ticket_type: "time_slot" | "annual" | "normal";
|
|
@@ -863,8 +752,6 @@ export declare const UIAnnualTicketMocks: {
|
|
|
863
752
|
vat_pct: number;
|
|
864
753
|
tax_included: boolean;
|
|
865
754
|
entry_duration: number | null;
|
|
866
|
-
min_persons: number;
|
|
867
|
-
max_persons: number;
|
|
868
755
|
quota_ids: number[];
|
|
869
756
|
first_entry: number;
|
|
870
757
|
last_entry: number;
|
|
@@ -888,14 +775,18 @@ export declare const UIAnnualTicketMocks: {
|
|
|
888
775
|
is_sub_ticket: boolean;
|
|
889
776
|
created_at: string;
|
|
890
777
|
updated_at: string;
|
|
778
|
+
cash_point_order: number;
|
|
891
779
|
shipped_with_merchandise_id: number | null;
|
|
892
780
|
restricted_shop_account: boolean;
|
|
893
|
-
|
|
894
|
-
|
|
781
|
+
min_persons: number;
|
|
782
|
+
max_persons: number;
|
|
783
|
+
dynamic_prices?: {
|
|
895
784
|
[key: string]: number;
|
|
896
785
|
} | null;
|
|
786
|
+
};
|
|
787
|
+
ticket2: {
|
|
897
788
|
uid: number;
|
|
898
|
-
|
|
789
|
+
selectedTime: string;
|
|
899
790
|
product_type: import('../lib/models/cart/types').ProductType;
|
|
900
791
|
type: UITicketType;
|
|
901
792
|
shop_order: number;
|
|
@@ -938,16 +829,23 @@ export declare const UIAnnualTicketMocks: {
|
|
|
938
829
|
shipped_with_merchandise_id: number | null;
|
|
939
830
|
restricted_shop_account: boolean;
|
|
940
831
|
cash_point_order: number;
|
|
832
|
+
capacities: {
|
|
833
|
+
[key: string]: number;
|
|
834
|
+
};
|
|
835
|
+
total_capacities: {
|
|
836
|
+
[key: string]: number;
|
|
837
|
+
};
|
|
838
|
+
max_capacity: number;
|
|
839
|
+
max_total_capacity: number;
|
|
941
840
|
dynamic_prices: {
|
|
942
841
|
[key: string]: number;
|
|
943
842
|
} | null;
|
|
843
|
+
} | {
|
|
944
844
|
uid: number;
|
|
945
|
-
|
|
946
|
-
ticket2: {
|
|
845
|
+
selectedTime: string;
|
|
947
846
|
product_type: import('../lib/models/cart/types').ProductType;
|
|
948
847
|
type: UITicketType;
|
|
949
848
|
shop_order: number;
|
|
950
|
-
selectedTime: string;
|
|
951
849
|
id: number;
|
|
952
850
|
title: string;
|
|
953
851
|
ticket_type: "time_slot" | "annual" | "normal";
|
|
@@ -987,19 +885,12 @@ export declare const UIAnnualTicketMocks: {
|
|
|
987
885
|
shipped_with_merchandise_id: number | null;
|
|
988
886
|
restricted_shop_account: boolean;
|
|
989
887
|
cash_point_order: number;
|
|
990
|
-
capacities: {
|
|
991
|
-
[key: string]: number;
|
|
992
|
-
};
|
|
993
|
-
total_capacities: {
|
|
994
|
-
[key: string]: number;
|
|
995
|
-
};
|
|
996
|
-
max_capacity: number;
|
|
997
|
-
max_total_capacity: number;
|
|
998
888
|
dynamic_prices: {
|
|
999
889
|
[key: string]: number;
|
|
1000
890
|
} | null;
|
|
1001
|
-
uid: number;
|
|
1002
891
|
} | {
|
|
892
|
+
uid: number;
|
|
893
|
+
selectedTime: string;
|
|
1003
894
|
product_type: import('../lib/models/cart/types').ProductType;
|
|
1004
895
|
type: UITicketType;
|
|
1005
896
|
shop_order: number;
|
|
@@ -1014,8 +905,6 @@ export declare const UIAnnualTicketMocks: {
|
|
|
1014
905
|
vat_pct: number;
|
|
1015
906
|
tax_included: boolean;
|
|
1016
907
|
entry_duration: number | null;
|
|
1017
|
-
min_persons: number;
|
|
1018
|
-
max_persons: number;
|
|
1019
908
|
quota_ids: number[];
|
|
1020
909
|
first_entry: number;
|
|
1021
910
|
last_entry: number;
|
|
@@ -1039,26 +928,21 @@ export declare const UIAnnualTicketMocks: {
|
|
|
1039
928
|
is_sub_ticket: boolean;
|
|
1040
929
|
created_at: string;
|
|
1041
930
|
updated_at: string;
|
|
931
|
+
cash_point_order: number;
|
|
1042
932
|
shipped_with_merchandise_id: number | null;
|
|
1043
933
|
restricted_shop_account: boolean;
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
};
|
|
1048
|
-
total_capacities: {
|
|
1049
|
-
[key: string]: number;
|
|
1050
|
-
};
|
|
1051
|
-
max_capacity: number;
|
|
1052
|
-
max_total_capacity: number;
|
|
1053
|
-
dynamic_prices: {
|
|
934
|
+
min_persons: number;
|
|
935
|
+
max_persons: number;
|
|
936
|
+
dynamic_prices?: {
|
|
1054
937
|
[key: string]: number;
|
|
1055
938
|
} | null;
|
|
939
|
+
};
|
|
940
|
+
ticket3: {
|
|
1056
941
|
uid: number;
|
|
1057
|
-
|
|
942
|
+
selectedTime: string;
|
|
1058
943
|
product_type: import('../lib/models/cart/types').ProductType;
|
|
1059
944
|
type: UITicketType;
|
|
1060
945
|
shop_order: number;
|
|
1061
|
-
selectedTime: string;
|
|
1062
946
|
id: number;
|
|
1063
947
|
title: string;
|
|
1064
948
|
ticket_type: "time_slot" | "annual" | "normal";
|
|
@@ -1098,11 +982,20 @@ export declare const UIAnnualTicketMocks: {
|
|
|
1098
982
|
shipped_with_merchandise_id: number | null;
|
|
1099
983
|
restricted_shop_account: boolean;
|
|
1100
984
|
cash_point_order: number;
|
|
985
|
+
capacities: {
|
|
986
|
+
[key: string]: number;
|
|
987
|
+
};
|
|
988
|
+
total_capacities: {
|
|
989
|
+
[key: string]: number;
|
|
990
|
+
};
|
|
991
|
+
max_capacity: number;
|
|
992
|
+
max_total_capacity: number;
|
|
1101
993
|
dynamic_prices: {
|
|
1102
994
|
[key: string]: number;
|
|
1103
995
|
} | null;
|
|
1104
|
-
uid: number;
|
|
1105
996
|
} | {
|
|
997
|
+
uid: number;
|
|
998
|
+
selectedTime: string;
|
|
1106
999
|
product_type: import('../lib/models/cart/types').ProductType;
|
|
1107
1000
|
type: UITicketType;
|
|
1108
1001
|
shop_order: number;
|
|
@@ -1148,13 +1041,12 @@ export declare const UIAnnualTicketMocks: {
|
|
|
1148
1041
|
dynamic_prices: {
|
|
1149
1042
|
[key: string]: number;
|
|
1150
1043
|
} | null;
|
|
1044
|
+
} | {
|
|
1151
1045
|
uid: number;
|
|
1152
|
-
|
|
1153
|
-
ticket3: {
|
|
1046
|
+
selectedTime: string;
|
|
1154
1047
|
product_type: import('../lib/models/cart/types').ProductType;
|
|
1155
1048
|
type: UITicketType;
|
|
1156
1049
|
shop_order: number;
|
|
1157
|
-
selectedTime: string;
|
|
1158
1050
|
id: number;
|
|
1159
1051
|
title: string;
|
|
1160
1052
|
ticket_type: "time_slot" | "annual" | "normal";
|
|
@@ -1166,8 +1058,6 @@ export declare const UIAnnualTicketMocks: {
|
|
|
1166
1058
|
vat_pct: number;
|
|
1167
1059
|
tax_included: boolean;
|
|
1168
1060
|
entry_duration: number | null;
|
|
1169
|
-
min_persons: number;
|
|
1170
|
-
max_persons: number;
|
|
1171
1061
|
quota_ids: number[];
|
|
1172
1062
|
first_entry: number;
|
|
1173
1063
|
last_entry: number;
|
|
@@ -1191,235 +1081,25 @@ export declare const UIAnnualTicketMocks: {
|
|
|
1191
1081
|
is_sub_ticket: boolean;
|
|
1192
1082
|
created_at: string;
|
|
1193
1083
|
updated_at: string;
|
|
1084
|
+
cash_point_order: number;
|
|
1194
1085
|
shipped_with_merchandise_id: number | null;
|
|
1195
1086
|
restricted_shop_account: boolean;
|
|
1196
|
-
cash_point_order: number;
|
|
1197
|
-
capacities: {
|
|
1198
|
-
[key: string]: number;
|
|
1199
|
-
};
|
|
1200
|
-
total_capacities: {
|
|
1201
|
-
[key: string]: number;
|
|
1202
|
-
};
|
|
1203
|
-
max_capacity: number;
|
|
1204
|
-
max_total_capacity: number;
|
|
1205
|
-
dynamic_prices: {
|
|
1206
|
-
[key: string]: number;
|
|
1207
|
-
} | null;
|
|
1208
|
-
uid: number;
|
|
1209
|
-
} | {
|
|
1210
|
-
product_type: import('../lib/models/cart/types').ProductType;
|
|
1211
|
-
type: UITicketType;
|
|
1212
|
-
shop_order: number;
|
|
1213
|
-
id: number;
|
|
1214
|
-
title: string;
|
|
1215
|
-
ticket_type: "time_slot" | "annual" | "normal";
|
|
1216
|
-
bookable: boolean;
|
|
1217
|
-
museum_ids: number[];
|
|
1218
|
-
exhibition_ids: number[];
|
|
1219
|
-
price_cents: number;
|
|
1220
|
-
discount: number;
|
|
1221
|
-
vat_pct: number;
|
|
1222
|
-
tax_included: boolean;
|
|
1223
|
-
entry_duration: number | null;
|
|
1224
|
-
min_persons: number;
|
|
1225
|
-
max_persons: number;
|
|
1226
|
-
quota_ids: number[];
|
|
1227
|
-
first_entry: number;
|
|
1228
|
-
last_entry: number;
|
|
1229
|
-
personalizeable: boolean;
|
|
1230
|
-
attendees: boolean | string;
|
|
1231
|
-
identification: boolean | string;
|
|
1232
|
-
free_timing: boolean;
|
|
1233
|
-
is_collective: boolean;
|
|
1234
|
-
is_upgrade: boolean;
|
|
1235
|
-
is_mantle: boolean;
|
|
1236
|
-
description: string | null;
|
|
1237
|
-
sub_ticket_ids: number[];
|
|
1238
|
-
sub_tickets: {
|
|
1239
|
-
[key: string]: {
|
|
1240
|
-
title?: string;
|
|
1241
|
-
min_persons?: number;
|
|
1242
|
-
max_persons?: number;
|
|
1243
|
-
description?: string | null;
|
|
1244
|
-
};
|
|
1245
|
-
} | null;
|
|
1246
|
-
is_sub_ticket: boolean;
|
|
1247
|
-
created_at: string;
|
|
1248
|
-
updated_at: string;
|
|
1249
|
-
shipped_with_merchandise_id: number | null;
|
|
1250
|
-
restricted_shop_account: boolean;
|
|
1251
|
-
cash_point_order: number;
|
|
1252
|
-
capacities: {
|
|
1253
|
-
[key: string]: number;
|
|
1254
|
-
};
|
|
1255
|
-
total_capacities: {
|
|
1256
|
-
[key: string]: number;
|
|
1257
|
-
};
|
|
1258
|
-
max_capacity: number;
|
|
1259
|
-
max_total_capacity: number;
|
|
1260
|
-
dynamic_prices: {
|
|
1261
|
-
[key: string]: number;
|
|
1262
|
-
} | null;
|
|
1263
|
-
uid: number;
|
|
1264
|
-
} | {
|
|
1265
|
-
product_type: import('../lib/models/cart/types').ProductType;
|
|
1266
|
-
type: UITicketType;
|
|
1267
|
-
shop_order: number;
|
|
1268
|
-
selectedTime: string;
|
|
1269
|
-
id: number;
|
|
1270
|
-
title: string;
|
|
1271
|
-
ticket_type: "time_slot" | "annual" | "normal";
|
|
1272
|
-
bookable: boolean;
|
|
1273
|
-
museum_ids: number[];
|
|
1274
|
-
exhibition_ids: number[];
|
|
1275
|
-
price_cents: number;
|
|
1276
|
-
discount: number;
|
|
1277
|
-
vat_pct: number;
|
|
1278
|
-
tax_included: boolean;
|
|
1279
|
-
entry_duration: number | null;
|
|
1280
|
-
min_persons: number;
|
|
1281
|
-
max_persons: number;
|
|
1282
|
-
quota_ids: number[];
|
|
1283
|
-
first_entry: number;
|
|
1284
|
-
last_entry: number;
|
|
1285
|
-
personalizeable: boolean;
|
|
1286
|
-
attendees: boolean | string;
|
|
1287
|
-
identification: boolean | string;
|
|
1288
|
-
free_timing: boolean;
|
|
1289
|
-
is_collective: boolean;
|
|
1290
|
-
is_upgrade: boolean;
|
|
1291
|
-
is_mantle: boolean;
|
|
1292
|
-
description: string | null;
|
|
1293
|
-
sub_ticket_ids: number[];
|
|
1294
|
-
sub_tickets: {
|
|
1295
|
-
[key: string]: {
|
|
1296
|
-
title?: string;
|
|
1297
|
-
min_persons?: number;
|
|
1298
|
-
max_persons?: number;
|
|
1299
|
-
description?: string | null;
|
|
1300
|
-
};
|
|
1301
|
-
} | null;
|
|
1302
|
-
is_sub_ticket: boolean;
|
|
1303
|
-
created_at: string;
|
|
1304
|
-
updated_at: string;
|
|
1305
|
-
shipped_with_merchandise_id: number | null;
|
|
1306
|
-
restricted_shop_account: boolean;
|
|
1307
|
-
cash_point_order: number;
|
|
1308
|
-
dynamic_prices: {
|
|
1309
|
-
[key: string]: number;
|
|
1310
|
-
} | null;
|
|
1311
|
-
uid: number;
|
|
1312
|
-
} | {
|
|
1313
|
-
product_type: import('../lib/models/cart/types').ProductType;
|
|
1314
|
-
type: UITicketType;
|
|
1315
|
-
shop_order: number;
|
|
1316
|
-
id: number;
|
|
1317
|
-
title: string;
|
|
1318
|
-
ticket_type: "time_slot" | "annual" | "normal";
|
|
1319
|
-
bookable: boolean;
|
|
1320
|
-
museum_ids: number[];
|
|
1321
|
-
exhibition_ids: number[];
|
|
1322
|
-
price_cents: number;
|
|
1323
|
-
discount: number;
|
|
1324
|
-
vat_pct: number;
|
|
1325
|
-
tax_included: boolean;
|
|
1326
|
-
entry_duration: number | null;
|
|
1327
1087
|
min_persons: number;
|
|
1328
1088
|
max_persons: number;
|
|
1329
|
-
|
|
1330
|
-
first_entry: number;
|
|
1331
|
-
last_entry: number;
|
|
1332
|
-
personalizeable: boolean;
|
|
1333
|
-
attendees: boolean | string;
|
|
1334
|
-
identification: boolean | string;
|
|
1335
|
-
free_timing: boolean;
|
|
1336
|
-
is_collective: boolean;
|
|
1337
|
-
is_upgrade: boolean;
|
|
1338
|
-
is_mantle: boolean;
|
|
1339
|
-
description: string | null;
|
|
1340
|
-
sub_ticket_ids: number[];
|
|
1341
|
-
sub_tickets: {
|
|
1342
|
-
[key: string]: {
|
|
1343
|
-
title?: string;
|
|
1344
|
-
min_persons?: number;
|
|
1345
|
-
max_persons?: number;
|
|
1346
|
-
description?: string | null;
|
|
1347
|
-
};
|
|
1348
|
-
} | null;
|
|
1349
|
-
is_sub_ticket: boolean;
|
|
1350
|
-
created_at: string;
|
|
1351
|
-
updated_at: string;
|
|
1352
|
-
shipped_with_merchandise_id: number | null;
|
|
1353
|
-
restricted_shop_account: boolean;
|
|
1354
|
-
cash_point_order: number;
|
|
1355
|
-
dynamic_prices: {
|
|
1089
|
+
dynamic_prices?: {
|
|
1356
1090
|
[key: string]: number;
|
|
1357
1091
|
} | null;
|
|
1358
|
-
uid: number;
|
|
1359
1092
|
};
|
|
1360
1093
|
};
|
|
1361
1094
|
export declare const CartMocks: {
|
|
1362
1095
|
cartOneItem: () => {
|
|
1363
|
-
items:
|
|
1364
|
-
type: import('../lib/models/cart/types').ProductType;
|
|
1365
|
-
product: import('../lib/models/cart/types').Product;
|
|
1366
|
-
orderAttributes(): {
|
|
1367
|
-
shipped_with_merchandise_id: null;
|
|
1368
|
-
shipping_mode: string;
|
|
1369
|
-
id: number;
|
|
1370
|
-
time: string;
|
|
1371
|
-
quantity: number;
|
|
1372
|
-
} | {
|
|
1373
|
-
shipped_with_merchandise_id: null;
|
|
1374
|
-
shipping_mode: string;
|
|
1375
|
-
id: number;
|
|
1376
|
-
quantities: {
|
|
1377
|
-
[x: number]: number;
|
|
1378
|
-
};
|
|
1379
|
-
};
|
|
1380
|
-
uuid: string;
|
|
1381
|
-
subId: string;
|
|
1382
|
-
price_cents: number;
|
|
1383
|
-
price_formatted: string;
|
|
1384
|
-
final_price_cents: number;
|
|
1385
|
-
final_price_formatted: string;
|
|
1386
|
-
total_price_cents: number;
|
|
1387
|
-
total_price_formatted: string;
|
|
1388
|
-
quantity: number;
|
|
1389
|
-
time: string;
|
|
1390
|
-
}[];
|
|
1096
|
+
items: import('../lib/models/cart/types').CartItem[];
|
|
1391
1097
|
contingent: number;
|
|
1392
1098
|
uid: string;
|
|
1393
|
-
readonly nonEmptyItems:
|
|
1394
|
-
type: import('../lib/models/cart/types').ProductType;
|
|
1395
|
-
product: import('../lib/models/cart/types').Product;
|
|
1396
|
-
orderAttributes(): {
|
|
1397
|
-
shipped_with_merchandise_id: null;
|
|
1398
|
-
shipping_mode: string;
|
|
1399
|
-
id: number;
|
|
1400
|
-
time: string;
|
|
1401
|
-
quantity: number;
|
|
1402
|
-
} | {
|
|
1403
|
-
shipped_with_merchandise_id: null;
|
|
1404
|
-
shipping_mode: string;
|
|
1405
|
-
id: number;
|
|
1406
|
-
quantities: {
|
|
1407
|
-
[x: number]: number;
|
|
1408
|
-
};
|
|
1409
|
-
};
|
|
1410
|
-
uuid: string;
|
|
1411
|
-
subId: string;
|
|
1412
|
-
price_cents: number;
|
|
1413
|
-
price_formatted: string;
|
|
1414
|
-
final_price_cents: number;
|
|
1415
|
-
final_price_formatted: string;
|
|
1416
|
-
total_price_cents: number;
|
|
1417
|
-
total_price_formatted: string;
|
|
1418
|
-
quantity: number;
|
|
1419
|
-
time: string;
|
|
1420
|
-
}[];
|
|
1099
|
+
readonly nonEmptyItems: import('../lib/models/cart/types').CartItem[];
|
|
1421
1100
|
readonly totalPriceCents: number;
|
|
1422
1101
|
readonly totalQuantity: number;
|
|
1102
|
+
toString(): string;
|
|
1423
1103
|
orderData(): {
|
|
1424
1104
|
items: {
|
|
1425
1105
|
type: import('../lib/models/cart/types').ProductType;
|
|
@@ -1452,68 +1132,16 @@ export declare const CartMocks: {
|
|
|
1452
1132
|
deleteItem(item: import('../lib/models/cart/types').CartItem): void;
|
|
1453
1133
|
addItem(item: import('../lib/models/cart/types').CartItem): void;
|
|
1454
1134
|
addItems(items: import('../lib/models/cart/types').CartItem[]): void;
|
|
1135
|
+
addProducts(products: import('../lib/models/cart/types').Product[]): void;
|
|
1455
1136
|
};
|
|
1456
1137
|
cartTwoItems: () => {
|
|
1457
|
-
items:
|
|
1458
|
-
type: import('../lib/models/cart/types').ProductType;
|
|
1459
|
-
product: import('../lib/models/cart/types').Product;
|
|
1460
|
-
orderAttributes(): {
|
|
1461
|
-
shipped_with_merchandise_id: null;
|
|
1462
|
-
shipping_mode: string;
|
|
1463
|
-
id: number;
|
|
1464
|
-
time: string;
|
|
1465
|
-
quantity: number;
|
|
1466
|
-
} | {
|
|
1467
|
-
shipped_with_merchandise_id: null;
|
|
1468
|
-
shipping_mode: string;
|
|
1469
|
-
id: number;
|
|
1470
|
-
quantities: {
|
|
1471
|
-
[x: number]: number;
|
|
1472
|
-
};
|
|
1473
|
-
};
|
|
1474
|
-
uuid: string;
|
|
1475
|
-
subId: string;
|
|
1476
|
-
price_cents: number;
|
|
1477
|
-
price_formatted: string;
|
|
1478
|
-
final_price_cents: number;
|
|
1479
|
-
final_price_formatted: string;
|
|
1480
|
-
total_price_cents: number;
|
|
1481
|
-
total_price_formatted: string;
|
|
1482
|
-
quantity: number;
|
|
1483
|
-
time: string;
|
|
1484
|
-
}[];
|
|
1138
|
+
items: import('../lib/models/cart/types').CartItem[];
|
|
1485
1139
|
contingent: number;
|
|
1486
1140
|
uid: string;
|
|
1487
|
-
readonly nonEmptyItems:
|
|
1488
|
-
type: import('../lib/models/cart/types').ProductType;
|
|
1489
|
-
product: import('../lib/models/cart/types').Product;
|
|
1490
|
-
orderAttributes(): {
|
|
1491
|
-
shipped_with_merchandise_id: null;
|
|
1492
|
-
shipping_mode: string;
|
|
1493
|
-
id: number;
|
|
1494
|
-
time: string;
|
|
1495
|
-
quantity: number;
|
|
1496
|
-
} | {
|
|
1497
|
-
shipped_with_merchandise_id: null;
|
|
1498
|
-
shipping_mode: string;
|
|
1499
|
-
id: number;
|
|
1500
|
-
quantities: {
|
|
1501
|
-
[x: number]: number;
|
|
1502
|
-
};
|
|
1503
|
-
};
|
|
1504
|
-
uuid: string;
|
|
1505
|
-
subId: string;
|
|
1506
|
-
price_cents: number;
|
|
1507
|
-
price_formatted: string;
|
|
1508
|
-
final_price_cents: number;
|
|
1509
|
-
final_price_formatted: string;
|
|
1510
|
-
total_price_cents: number;
|
|
1511
|
-
total_price_formatted: string;
|
|
1512
|
-
quantity: number;
|
|
1513
|
-
time: string;
|
|
1514
|
-
}[];
|
|
1141
|
+
readonly nonEmptyItems: import('../lib/models/cart/types').CartItem[];
|
|
1515
1142
|
readonly totalPriceCents: number;
|
|
1516
1143
|
readonly totalQuantity: number;
|
|
1144
|
+
toString(): string;
|
|
1517
1145
|
orderData(): {
|
|
1518
1146
|
items: {
|
|
1519
1147
|
type: import('../lib/models/cart/types').ProductType;
|
|
@@ -1546,68 +1174,16 @@ export declare const CartMocks: {
|
|
|
1546
1174
|
deleteItem(item: import('../lib/models/cart/types').CartItem): void;
|
|
1547
1175
|
addItem(item: import('../lib/models/cart/types').CartItem): void;
|
|
1548
1176
|
addItems(items: import('../lib/models/cart/types').CartItem[]): void;
|
|
1177
|
+
addProducts(products: import('../lib/models/cart/types').Product[]): void;
|
|
1549
1178
|
};
|
|
1550
1179
|
cartThreeItems: () => {
|
|
1551
|
-
items:
|
|
1552
|
-
type: import('../lib/models/cart/types').ProductType;
|
|
1553
|
-
product: import('../lib/models/cart/types').Product;
|
|
1554
|
-
orderAttributes(): {
|
|
1555
|
-
shipped_with_merchandise_id: null;
|
|
1556
|
-
shipping_mode: string;
|
|
1557
|
-
id: number;
|
|
1558
|
-
time: string;
|
|
1559
|
-
quantity: number;
|
|
1560
|
-
} | {
|
|
1561
|
-
shipped_with_merchandise_id: null;
|
|
1562
|
-
shipping_mode: string;
|
|
1563
|
-
id: number;
|
|
1564
|
-
quantities: {
|
|
1565
|
-
[x: number]: number;
|
|
1566
|
-
};
|
|
1567
|
-
};
|
|
1568
|
-
uuid: string;
|
|
1569
|
-
subId: string;
|
|
1570
|
-
price_cents: number;
|
|
1571
|
-
price_formatted: string;
|
|
1572
|
-
final_price_cents: number;
|
|
1573
|
-
final_price_formatted: string;
|
|
1574
|
-
total_price_cents: number;
|
|
1575
|
-
total_price_formatted: string;
|
|
1576
|
-
quantity: number;
|
|
1577
|
-
time: string;
|
|
1578
|
-
}[];
|
|
1180
|
+
items: import('../lib/models/cart/types').CartItem[];
|
|
1579
1181
|
contingent: number;
|
|
1580
1182
|
uid: string;
|
|
1581
|
-
readonly nonEmptyItems:
|
|
1582
|
-
type: import('../lib/models/cart/types').ProductType;
|
|
1583
|
-
product: import('../lib/models/cart/types').Product;
|
|
1584
|
-
orderAttributes(): {
|
|
1585
|
-
shipped_with_merchandise_id: null;
|
|
1586
|
-
shipping_mode: string;
|
|
1587
|
-
id: number;
|
|
1588
|
-
time: string;
|
|
1589
|
-
quantity: number;
|
|
1590
|
-
} | {
|
|
1591
|
-
shipped_with_merchandise_id: null;
|
|
1592
|
-
shipping_mode: string;
|
|
1593
|
-
id: number;
|
|
1594
|
-
quantities: {
|
|
1595
|
-
[x: number]: number;
|
|
1596
|
-
};
|
|
1597
|
-
};
|
|
1598
|
-
uuid: string;
|
|
1599
|
-
subId: string;
|
|
1600
|
-
price_cents: number;
|
|
1601
|
-
price_formatted: string;
|
|
1602
|
-
final_price_cents: number;
|
|
1603
|
-
final_price_formatted: string;
|
|
1604
|
-
total_price_cents: number;
|
|
1605
|
-
total_price_formatted: string;
|
|
1606
|
-
quantity: number;
|
|
1607
|
-
time: string;
|
|
1608
|
-
}[];
|
|
1183
|
+
readonly nonEmptyItems: import('../lib/models/cart/types').CartItem[];
|
|
1609
1184
|
readonly totalPriceCents: number;
|
|
1610
1185
|
readonly totalQuantity: number;
|
|
1186
|
+
toString(): string;
|
|
1611
1187
|
orderData(): {
|
|
1612
1188
|
items: {
|
|
1613
1189
|
type: import('../lib/models/cart/types').ProductType;
|
|
@@ -1640,16 +1216,18 @@ export declare const CartMocks: {
|
|
|
1640
1216
|
deleteItem(item: import('../lib/models/cart/types').CartItem): void;
|
|
1641
1217
|
addItem(item: import('../lib/models/cart/types').CartItem): void;
|
|
1642
1218
|
addItems(items: import('../lib/models/cart/types').CartItem[]): void;
|
|
1219
|
+
addProducts(products: import('../lib/models/cart/types').Product[]): void;
|
|
1643
1220
|
};
|
|
1644
1221
|
};
|
|
1645
1222
|
export declare const CartItemMocks: {
|
|
1646
1223
|
timeslotItem1: {
|
|
1647
1224
|
type: import('../lib/models/cart/types').ProductType;
|
|
1648
1225
|
product: {
|
|
1226
|
+
uid: number;
|
|
1227
|
+
selectedTime: string;
|
|
1649
1228
|
product_type: import('../lib/models/cart/types').ProductType;
|
|
1650
1229
|
type: UITicketType;
|
|
1651
1230
|
shop_order: number;
|
|
1652
|
-
selectedTime: string;
|
|
1653
1231
|
id: number;
|
|
1654
1232
|
title: string;
|
|
1655
1233
|
ticket_type: "time_slot" | "annual" | "normal";
|
|
@@ -1700,8 +1278,9 @@ export declare const CartItemMocks: {
|
|
|
1700
1278
|
dynamic_prices: {
|
|
1701
1279
|
[key: string]: number;
|
|
1702
1280
|
} | null;
|
|
1703
|
-
uid: number;
|
|
1704
1281
|
} | {
|
|
1282
|
+
uid: number;
|
|
1283
|
+
selectedTime: string;
|
|
1705
1284
|
product_type: import('../lib/models/cart/types').ProductType;
|
|
1706
1285
|
type: UITicketType;
|
|
1707
1286
|
shop_order: number;
|
|
@@ -1744,23 +1323,15 @@ export declare const CartItemMocks: {
|
|
|
1744
1323
|
shipped_with_merchandise_id: number | null;
|
|
1745
1324
|
restricted_shop_account: boolean;
|
|
1746
1325
|
cash_point_order: number;
|
|
1747
|
-
capacities: {
|
|
1748
|
-
[key: string]: number;
|
|
1749
|
-
};
|
|
1750
|
-
total_capacities: {
|
|
1751
|
-
[key: string]: number;
|
|
1752
|
-
};
|
|
1753
|
-
max_capacity: number;
|
|
1754
|
-
max_total_capacity: number;
|
|
1755
1326
|
dynamic_prices: {
|
|
1756
1327
|
[key: string]: number;
|
|
1757
1328
|
} | null;
|
|
1758
|
-
uid: number;
|
|
1759
1329
|
} | {
|
|
1330
|
+
uid: number;
|
|
1331
|
+
selectedTime: string;
|
|
1760
1332
|
product_type: import('../lib/models/cart/types').ProductType;
|
|
1761
1333
|
type: UITicketType;
|
|
1762
1334
|
shop_order: number;
|
|
1763
|
-
selectedTime: string;
|
|
1764
1335
|
id: number;
|
|
1765
1336
|
title: string;
|
|
1766
1337
|
ticket_type: "time_slot" | "annual" | "normal";
|
|
@@ -1772,8 +1343,6 @@ export declare const CartItemMocks: {
|
|
|
1772
1343
|
vat_pct: number;
|
|
1773
1344
|
tax_included: boolean;
|
|
1774
1345
|
entry_duration: number | null;
|
|
1775
|
-
min_persons: number;
|
|
1776
|
-
max_persons: number;
|
|
1777
1346
|
quota_ids: number[];
|
|
1778
1347
|
first_entry: number;
|
|
1779
1348
|
last_entry: number;
|
|
@@ -1797,60 +1366,14 @@ export declare const CartItemMocks: {
|
|
|
1797
1366
|
is_sub_ticket: boolean;
|
|
1798
1367
|
created_at: string;
|
|
1799
1368
|
updated_at: string;
|
|
1369
|
+
cash_point_order: number;
|
|
1800
1370
|
shipped_with_merchandise_id: number | null;
|
|
1801
1371
|
restricted_shop_account: boolean;
|
|
1802
|
-
cash_point_order: number;
|
|
1803
|
-
dynamic_prices: {
|
|
1804
|
-
[key: string]: number;
|
|
1805
|
-
} | null;
|
|
1806
|
-
uid: number;
|
|
1807
|
-
} | {
|
|
1808
|
-
product_type: import('../lib/models/cart/types').ProductType;
|
|
1809
|
-
type: UITicketType;
|
|
1810
|
-
shop_order: number;
|
|
1811
|
-
id: number;
|
|
1812
|
-
title: string;
|
|
1813
|
-
ticket_type: "time_slot" | "annual" | "normal";
|
|
1814
|
-
bookable: boolean;
|
|
1815
|
-
museum_ids: number[];
|
|
1816
|
-
exhibition_ids: number[];
|
|
1817
|
-
price_cents: number;
|
|
1818
|
-
discount: number;
|
|
1819
|
-
vat_pct: number;
|
|
1820
|
-
tax_included: boolean;
|
|
1821
|
-
entry_duration: number | null;
|
|
1822
1372
|
min_persons: number;
|
|
1823
1373
|
max_persons: number;
|
|
1824
|
-
|
|
1825
|
-
first_entry: number;
|
|
1826
|
-
last_entry: number;
|
|
1827
|
-
personalizeable: boolean;
|
|
1828
|
-
attendees: boolean | string;
|
|
1829
|
-
identification: boolean | string;
|
|
1830
|
-
free_timing: boolean;
|
|
1831
|
-
is_collective: boolean;
|
|
1832
|
-
is_upgrade: boolean;
|
|
1833
|
-
is_mantle: boolean;
|
|
1834
|
-
description: string | null;
|
|
1835
|
-
sub_ticket_ids: number[];
|
|
1836
|
-
sub_tickets: {
|
|
1837
|
-
[key: string]: {
|
|
1838
|
-
title?: string;
|
|
1839
|
-
min_persons?: number;
|
|
1840
|
-
max_persons?: number;
|
|
1841
|
-
description?: string | null;
|
|
1842
|
-
};
|
|
1843
|
-
} | null;
|
|
1844
|
-
is_sub_ticket: boolean;
|
|
1845
|
-
created_at: string;
|
|
1846
|
-
updated_at: string;
|
|
1847
|
-
shipped_with_merchandise_id: number | null;
|
|
1848
|
-
restricted_shop_account: boolean;
|
|
1849
|
-
cash_point_order: number;
|
|
1850
|
-
dynamic_prices: {
|
|
1374
|
+
dynamic_prices?: {
|
|
1851
1375
|
[key: string]: number;
|
|
1852
1376
|
} | null;
|
|
1853
|
-
uid: number;
|
|
1854
1377
|
};
|
|
1855
1378
|
orderAttributes(): {
|
|
1856
1379
|
shipped_with_merchandise_id: null;
|
|
@@ -1867,7 +1390,8 @@ export declare const CartItemMocks: {
|
|
|
1867
1390
|
};
|
|
1868
1391
|
};
|
|
1869
1392
|
uuid: string;
|
|
1870
|
-
|
|
1393
|
+
subUId: string;
|
|
1394
|
+
toString(): string;
|
|
1871
1395
|
price_cents: number;
|
|
1872
1396
|
price_formatted: string;
|
|
1873
1397
|
final_price_cents: number;
|
|
@@ -1880,10 +1404,11 @@ export declare const CartItemMocks: {
|
|
|
1880
1404
|
timeslotItem2: {
|
|
1881
1405
|
type: import('../lib/models/cart/types').ProductType;
|
|
1882
1406
|
product: {
|
|
1407
|
+
uid: number;
|
|
1408
|
+
selectedTime: string;
|
|
1883
1409
|
product_type: import('../lib/models/cart/types').ProductType;
|
|
1884
1410
|
type: UITicketType;
|
|
1885
1411
|
shop_order: number;
|
|
1886
|
-
selectedTime: string;
|
|
1887
1412
|
id: number;
|
|
1888
1413
|
title: string;
|
|
1889
1414
|
ticket_type: "time_slot" | "annual" | "normal";
|
|
@@ -1934,8 +1459,9 @@ export declare const CartItemMocks: {
|
|
|
1934
1459
|
dynamic_prices: {
|
|
1935
1460
|
[key: string]: number;
|
|
1936
1461
|
} | null;
|
|
1937
|
-
uid: number;
|
|
1938
1462
|
} | {
|
|
1463
|
+
uid: number;
|
|
1464
|
+
selectedTime: string;
|
|
1939
1465
|
product_type: import('../lib/models/cart/types').ProductType;
|
|
1940
1466
|
type: UITicketType;
|
|
1941
1467
|
shop_order: number;
|
|
@@ -1978,23 +1504,15 @@ export declare const CartItemMocks: {
|
|
|
1978
1504
|
shipped_with_merchandise_id: number | null;
|
|
1979
1505
|
restricted_shop_account: boolean;
|
|
1980
1506
|
cash_point_order: number;
|
|
1981
|
-
capacities: {
|
|
1982
|
-
[key: string]: number;
|
|
1983
|
-
};
|
|
1984
|
-
total_capacities: {
|
|
1985
|
-
[key: string]: number;
|
|
1986
|
-
};
|
|
1987
|
-
max_capacity: number;
|
|
1988
|
-
max_total_capacity: number;
|
|
1989
1507
|
dynamic_prices: {
|
|
1990
1508
|
[key: string]: number;
|
|
1991
1509
|
} | null;
|
|
1992
|
-
uid: number;
|
|
1993
1510
|
} | {
|
|
1511
|
+
uid: number;
|
|
1512
|
+
selectedTime: string;
|
|
1994
1513
|
product_type: import('../lib/models/cart/types').ProductType;
|
|
1995
1514
|
type: UITicketType;
|
|
1996
1515
|
shop_order: number;
|
|
1997
|
-
selectedTime: string;
|
|
1998
1516
|
id: number;
|
|
1999
1517
|
title: string;
|
|
2000
1518
|
ticket_type: "time_slot" | "annual" | "normal";
|
|
@@ -2006,8 +1524,6 @@ export declare const CartItemMocks: {
|
|
|
2006
1524
|
vat_pct: number;
|
|
2007
1525
|
tax_included: boolean;
|
|
2008
1526
|
entry_duration: number | null;
|
|
2009
|
-
min_persons: number;
|
|
2010
|
-
max_persons: number;
|
|
2011
1527
|
quota_ids: number[];
|
|
2012
1528
|
first_entry: number;
|
|
2013
1529
|
last_entry: number;
|
|
@@ -2031,60 +1547,14 @@ export declare const CartItemMocks: {
|
|
|
2031
1547
|
is_sub_ticket: boolean;
|
|
2032
1548
|
created_at: string;
|
|
2033
1549
|
updated_at: string;
|
|
1550
|
+
cash_point_order: number;
|
|
2034
1551
|
shipped_with_merchandise_id: number | null;
|
|
2035
1552
|
restricted_shop_account: boolean;
|
|
2036
|
-
cash_point_order: number;
|
|
2037
|
-
dynamic_prices: {
|
|
2038
|
-
[key: string]: number;
|
|
2039
|
-
} | null;
|
|
2040
|
-
uid: number;
|
|
2041
|
-
} | {
|
|
2042
|
-
product_type: import('../lib/models/cart/types').ProductType;
|
|
2043
|
-
type: UITicketType;
|
|
2044
|
-
shop_order: number;
|
|
2045
|
-
id: number;
|
|
2046
|
-
title: string;
|
|
2047
|
-
ticket_type: "time_slot" | "annual" | "normal";
|
|
2048
|
-
bookable: boolean;
|
|
2049
|
-
museum_ids: number[];
|
|
2050
|
-
exhibition_ids: number[];
|
|
2051
|
-
price_cents: number;
|
|
2052
|
-
discount: number;
|
|
2053
|
-
vat_pct: number;
|
|
2054
|
-
tax_included: boolean;
|
|
2055
|
-
entry_duration: number | null;
|
|
2056
1553
|
min_persons: number;
|
|
2057
1554
|
max_persons: number;
|
|
2058
|
-
|
|
2059
|
-
first_entry: number;
|
|
2060
|
-
last_entry: number;
|
|
2061
|
-
personalizeable: boolean;
|
|
2062
|
-
attendees: boolean | string;
|
|
2063
|
-
identification: boolean | string;
|
|
2064
|
-
free_timing: boolean;
|
|
2065
|
-
is_collective: boolean;
|
|
2066
|
-
is_upgrade: boolean;
|
|
2067
|
-
is_mantle: boolean;
|
|
2068
|
-
description: string | null;
|
|
2069
|
-
sub_ticket_ids: number[];
|
|
2070
|
-
sub_tickets: {
|
|
2071
|
-
[key: string]: {
|
|
2072
|
-
title?: string;
|
|
2073
|
-
min_persons?: number;
|
|
2074
|
-
max_persons?: number;
|
|
2075
|
-
description?: string | null;
|
|
2076
|
-
};
|
|
2077
|
-
} | null;
|
|
2078
|
-
is_sub_ticket: boolean;
|
|
2079
|
-
created_at: string;
|
|
2080
|
-
updated_at: string;
|
|
2081
|
-
shipped_with_merchandise_id: number | null;
|
|
2082
|
-
restricted_shop_account: boolean;
|
|
2083
|
-
cash_point_order: number;
|
|
2084
|
-
dynamic_prices: {
|
|
1555
|
+
dynamic_prices?: {
|
|
2085
1556
|
[key: string]: number;
|
|
2086
1557
|
} | null;
|
|
2087
|
-
uid: number;
|
|
2088
1558
|
};
|
|
2089
1559
|
orderAttributes(): {
|
|
2090
1560
|
shipped_with_merchandise_id: null;
|
|
@@ -2101,7 +1571,8 @@ export declare const CartItemMocks: {
|
|
|
2101
1571
|
};
|
|
2102
1572
|
};
|
|
2103
1573
|
uuid: string;
|
|
2104
|
-
|
|
1574
|
+
subUId: string;
|
|
1575
|
+
toString(): string;
|
|
2105
1576
|
price_cents: number;
|
|
2106
1577
|
price_formatted: string;
|
|
2107
1578
|
final_price_cents: number;
|
|
@@ -2114,10 +1585,11 @@ export declare const CartItemMocks: {
|
|
|
2114
1585
|
annualItem1: {
|
|
2115
1586
|
type: import('../lib/models/cart/types').ProductType;
|
|
2116
1587
|
product: {
|
|
1588
|
+
uid: number;
|
|
1589
|
+
selectedTime: string;
|
|
2117
1590
|
product_type: import('../lib/models/cart/types').ProductType;
|
|
2118
1591
|
type: UITicketType;
|
|
2119
1592
|
shop_order: number;
|
|
2120
|
-
selectedTime: string;
|
|
2121
1593
|
id: number;
|
|
2122
1594
|
title: string;
|
|
2123
1595
|
ticket_type: "time_slot" | "annual" | "normal";
|
|
@@ -2168,8 +1640,9 @@ export declare const CartItemMocks: {
|
|
|
2168
1640
|
dynamic_prices: {
|
|
2169
1641
|
[key: string]: number;
|
|
2170
1642
|
} | null;
|
|
2171
|
-
uid: number;
|
|
2172
1643
|
} | {
|
|
1644
|
+
uid: number;
|
|
1645
|
+
selectedTime: string;
|
|
2173
1646
|
product_type: import('../lib/models/cart/types').ProductType;
|
|
2174
1647
|
type: UITicketType;
|
|
2175
1648
|
shop_order: number;
|
|
@@ -2212,23 +1685,15 @@ export declare const CartItemMocks: {
|
|
|
2212
1685
|
shipped_with_merchandise_id: number | null;
|
|
2213
1686
|
restricted_shop_account: boolean;
|
|
2214
1687
|
cash_point_order: number;
|
|
2215
|
-
capacities: {
|
|
2216
|
-
[key: string]: number;
|
|
2217
|
-
};
|
|
2218
|
-
total_capacities: {
|
|
2219
|
-
[key: string]: number;
|
|
2220
|
-
};
|
|
2221
|
-
max_capacity: number;
|
|
2222
|
-
max_total_capacity: number;
|
|
2223
1688
|
dynamic_prices: {
|
|
2224
1689
|
[key: string]: number;
|
|
2225
1690
|
} | null;
|
|
2226
|
-
uid: number;
|
|
2227
1691
|
} | {
|
|
1692
|
+
uid: number;
|
|
1693
|
+
selectedTime: string;
|
|
2228
1694
|
product_type: import('../lib/models/cart/types').ProductType;
|
|
2229
1695
|
type: UITicketType;
|
|
2230
1696
|
shop_order: number;
|
|
2231
|
-
selectedTime: string;
|
|
2232
1697
|
id: number;
|
|
2233
1698
|
title: string;
|
|
2234
1699
|
ticket_type: "time_slot" | "annual" | "normal";
|
|
@@ -2240,8 +1705,6 @@ export declare const CartItemMocks: {
|
|
|
2240
1705
|
vat_pct: number;
|
|
2241
1706
|
tax_included: boolean;
|
|
2242
1707
|
entry_duration: number | null;
|
|
2243
|
-
min_persons: number;
|
|
2244
|
-
max_persons: number;
|
|
2245
1708
|
quota_ids: number[];
|
|
2246
1709
|
first_entry: number;
|
|
2247
1710
|
last_entry: number;
|
|
@@ -2265,60 +1728,14 @@ export declare const CartItemMocks: {
|
|
|
2265
1728
|
is_sub_ticket: boolean;
|
|
2266
1729
|
created_at: string;
|
|
2267
1730
|
updated_at: string;
|
|
1731
|
+
cash_point_order: number;
|
|
2268
1732
|
shipped_with_merchandise_id: number | null;
|
|
2269
1733
|
restricted_shop_account: boolean;
|
|
2270
|
-
cash_point_order: number;
|
|
2271
|
-
dynamic_prices: {
|
|
2272
|
-
[key: string]: number;
|
|
2273
|
-
} | null;
|
|
2274
|
-
uid: number;
|
|
2275
|
-
} | {
|
|
2276
|
-
product_type: import('../lib/models/cart/types').ProductType;
|
|
2277
|
-
type: UITicketType;
|
|
2278
|
-
shop_order: number;
|
|
2279
|
-
id: number;
|
|
2280
|
-
title: string;
|
|
2281
|
-
ticket_type: "time_slot" | "annual" | "normal";
|
|
2282
|
-
bookable: boolean;
|
|
2283
|
-
museum_ids: number[];
|
|
2284
|
-
exhibition_ids: number[];
|
|
2285
|
-
price_cents: number;
|
|
2286
|
-
discount: number;
|
|
2287
|
-
vat_pct: number;
|
|
2288
|
-
tax_included: boolean;
|
|
2289
|
-
entry_duration: number | null;
|
|
2290
1734
|
min_persons: number;
|
|
2291
1735
|
max_persons: number;
|
|
2292
|
-
|
|
2293
|
-
first_entry: number;
|
|
2294
|
-
last_entry: number;
|
|
2295
|
-
personalizeable: boolean;
|
|
2296
|
-
attendees: boolean | string;
|
|
2297
|
-
identification: boolean | string;
|
|
2298
|
-
free_timing: boolean;
|
|
2299
|
-
is_collective: boolean;
|
|
2300
|
-
is_upgrade: boolean;
|
|
2301
|
-
is_mantle: boolean;
|
|
2302
|
-
description: string | null;
|
|
2303
|
-
sub_ticket_ids: number[];
|
|
2304
|
-
sub_tickets: {
|
|
2305
|
-
[key: string]: {
|
|
2306
|
-
title?: string;
|
|
2307
|
-
min_persons?: number;
|
|
2308
|
-
max_persons?: number;
|
|
2309
|
-
description?: string | null;
|
|
2310
|
-
};
|
|
2311
|
-
} | null;
|
|
2312
|
-
is_sub_ticket: boolean;
|
|
2313
|
-
created_at: string;
|
|
2314
|
-
updated_at: string;
|
|
2315
|
-
shipped_with_merchandise_id: number | null;
|
|
2316
|
-
restricted_shop_account: boolean;
|
|
2317
|
-
cash_point_order: number;
|
|
2318
|
-
dynamic_prices: {
|
|
1736
|
+
dynamic_prices?: {
|
|
2319
1737
|
[key: string]: number;
|
|
2320
1738
|
} | null;
|
|
2321
|
-
uid: number;
|
|
2322
1739
|
};
|
|
2323
1740
|
orderAttributes(): {
|
|
2324
1741
|
shipped_with_merchandise_id: null;
|
|
@@ -2335,7 +1752,8 @@ export declare const CartItemMocks: {
|
|
|
2335
1752
|
};
|
|
2336
1753
|
};
|
|
2337
1754
|
uuid: string;
|
|
2338
|
-
|
|
1755
|
+
subUId: string;
|
|
1756
|
+
toString(): string;
|
|
2339
1757
|
price_cents: number;
|
|
2340
1758
|
price_formatted: string;
|
|
2341
1759
|
final_price_cents: number;
|
|
@@ -2348,10 +1766,11 @@ export declare const CartItemMocks: {
|
|
|
2348
1766
|
annualItem2: {
|
|
2349
1767
|
type: import('../lib/models/cart/types').ProductType;
|
|
2350
1768
|
product: {
|
|
1769
|
+
uid: number;
|
|
1770
|
+
selectedTime: string;
|
|
2351
1771
|
product_type: import('../lib/models/cart/types').ProductType;
|
|
2352
1772
|
type: UITicketType;
|
|
2353
1773
|
shop_order: number;
|
|
2354
|
-
selectedTime: string;
|
|
2355
1774
|
id: number;
|
|
2356
1775
|
title: string;
|
|
2357
1776
|
ticket_type: "time_slot" | "annual" | "normal";
|
|
@@ -2402,8 +1821,9 @@ export declare const CartItemMocks: {
|
|
|
2402
1821
|
dynamic_prices: {
|
|
2403
1822
|
[key: string]: number;
|
|
2404
1823
|
} | null;
|
|
2405
|
-
uid: number;
|
|
2406
1824
|
} | {
|
|
1825
|
+
uid: number;
|
|
1826
|
+
selectedTime: string;
|
|
2407
1827
|
product_type: import('../lib/models/cart/types').ProductType;
|
|
2408
1828
|
type: UITicketType;
|
|
2409
1829
|
shop_order: number;
|
|
@@ -2446,23 +1866,15 @@ export declare const CartItemMocks: {
|
|
|
2446
1866
|
shipped_with_merchandise_id: number | null;
|
|
2447
1867
|
restricted_shop_account: boolean;
|
|
2448
1868
|
cash_point_order: number;
|
|
2449
|
-
capacities: {
|
|
2450
|
-
[key: string]: number;
|
|
2451
|
-
};
|
|
2452
|
-
total_capacities: {
|
|
2453
|
-
[key: string]: number;
|
|
2454
|
-
};
|
|
2455
|
-
max_capacity: number;
|
|
2456
|
-
max_total_capacity: number;
|
|
2457
1869
|
dynamic_prices: {
|
|
2458
1870
|
[key: string]: number;
|
|
2459
1871
|
} | null;
|
|
2460
|
-
uid: number;
|
|
2461
1872
|
} | {
|
|
1873
|
+
uid: number;
|
|
1874
|
+
selectedTime: string;
|
|
2462
1875
|
product_type: import('../lib/models/cart/types').ProductType;
|
|
2463
1876
|
type: UITicketType;
|
|
2464
1877
|
shop_order: number;
|
|
2465
|
-
selectedTime: string;
|
|
2466
1878
|
id: number;
|
|
2467
1879
|
title: string;
|
|
2468
1880
|
ticket_type: "time_slot" | "annual" | "normal";
|
|
@@ -2474,8 +1886,6 @@ export declare const CartItemMocks: {
|
|
|
2474
1886
|
vat_pct: number;
|
|
2475
1887
|
tax_included: boolean;
|
|
2476
1888
|
entry_duration: number | null;
|
|
2477
|
-
min_persons: number;
|
|
2478
|
-
max_persons: number;
|
|
2479
1889
|
quota_ids: number[];
|
|
2480
1890
|
first_entry: number;
|
|
2481
1891
|
last_entry: number;
|
|
@@ -2499,60 +1909,14 @@ export declare const CartItemMocks: {
|
|
|
2499
1909
|
is_sub_ticket: boolean;
|
|
2500
1910
|
created_at: string;
|
|
2501
1911
|
updated_at: string;
|
|
1912
|
+
cash_point_order: number;
|
|
2502
1913
|
shipped_with_merchandise_id: number | null;
|
|
2503
1914
|
restricted_shop_account: boolean;
|
|
2504
|
-
cash_point_order: number;
|
|
2505
|
-
dynamic_prices: {
|
|
2506
|
-
[key: string]: number;
|
|
2507
|
-
} | null;
|
|
2508
|
-
uid: number;
|
|
2509
|
-
} | {
|
|
2510
|
-
product_type: import('../lib/models/cart/types').ProductType;
|
|
2511
|
-
type: UITicketType;
|
|
2512
|
-
shop_order: number;
|
|
2513
|
-
id: number;
|
|
2514
|
-
title: string;
|
|
2515
|
-
ticket_type: "time_slot" | "annual" | "normal";
|
|
2516
|
-
bookable: boolean;
|
|
2517
|
-
museum_ids: number[];
|
|
2518
|
-
exhibition_ids: number[];
|
|
2519
|
-
price_cents: number;
|
|
2520
|
-
discount: number;
|
|
2521
|
-
vat_pct: number;
|
|
2522
|
-
tax_included: boolean;
|
|
2523
|
-
entry_duration: number | null;
|
|
2524
1915
|
min_persons: number;
|
|
2525
1916
|
max_persons: number;
|
|
2526
|
-
|
|
2527
|
-
first_entry: number;
|
|
2528
|
-
last_entry: number;
|
|
2529
|
-
personalizeable: boolean;
|
|
2530
|
-
attendees: boolean | string;
|
|
2531
|
-
identification: boolean | string;
|
|
2532
|
-
free_timing: boolean;
|
|
2533
|
-
is_collective: boolean;
|
|
2534
|
-
is_upgrade: boolean;
|
|
2535
|
-
is_mantle: boolean;
|
|
2536
|
-
description: string | null;
|
|
2537
|
-
sub_ticket_ids: number[];
|
|
2538
|
-
sub_tickets: {
|
|
2539
|
-
[key: string]: {
|
|
2540
|
-
title?: string;
|
|
2541
|
-
min_persons?: number;
|
|
2542
|
-
max_persons?: number;
|
|
2543
|
-
description?: string | null;
|
|
2544
|
-
};
|
|
2545
|
-
} | null;
|
|
2546
|
-
is_sub_ticket: boolean;
|
|
2547
|
-
created_at: string;
|
|
2548
|
-
updated_at: string;
|
|
2549
|
-
shipped_with_merchandise_id: number | null;
|
|
2550
|
-
restricted_shop_account: boolean;
|
|
2551
|
-
cash_point_order: number;
|
|
2552
|
-
dynamic_prices: {
|
|
1917
|
+
dynamic_prices?: {
|
|
2553
1918
|
[key: string]: number;
|
|
2554
1919
|
} | null;
|
|
2555
|
-
uid: number;
|
|
2556
1920
|
};
|
|
2557
1921
|
orderAttributes(): {
|
|
2558
1922
|
shipped_with_merchandise_id: null;
|
|
@@ -2569,7 +1933,8 @@ export declare const CartItemMocks: {
|
|
|
2569
1933
|
};
|
|
2570
1934
|
};
|
|
2571
1935
|
uuid: string;
|
|
2572
|
-
|
|
1936
|
+
subUId: string;
|
|
1937
|
+
toString(): string;
|
|
2573
1938
|
price_cents: number;
|
|
2574
1939
|
price_formatted: string;
|
|
2575
1940
|
final_price_cents: number;
|
|
@@ -2579,7 +1944,7 @@ export declare const CartItemMocks: {
|
|
|
2579
1944
|
quantity: number;
|
|
2580
1945
|
time: string;
|
|
2581
1946
|
};
|
|
2582
|
-
eventScaledItem1: {
|
|
1947
|
+
eventScaledItem1: () => {
|
|
2583
1948
|
type: import('../lib/models/cart/types').ProductType;
|
|
2584
1949
|
product: {
|
|
2585
1950
|
type: "scale";
|
|
@@ -2599,6 +1964,8 @@ export declare const CartItemMocks: {
|
|
|
2599
1964
|
tax_included: boolean;
|
|
2600
1965
|
product_type: import('../lib/models/cart/types').ProductType;
|
|
2601
1966
|
uid: number;
|
|
1967
|
+
dateId: number;
|
|
1968
|
+
scalePriceId: number;
|
|
2602
1969
|
} | {
|
|
2603
1970
|
type: "scale";
|
|
2604
1971
|
product_type: import('../lib/models/cart/types').ProductType;
|
|
@@ -2614,6 +1981,8 @@ export declare const CartItemMocks: {
|
|
|
2614
1981
|
id: number;
|
|
2615
1982
|
tax_included: boolean;
|
|
2616
1983
|
uid: number;
|
|
1984
|
+
dateId: number;
|
|
1985
|
+
scalePriceId: number;
|
|
2617
1986
|
};
|
|
2618
1987
|
orderAttributes(): {
|
|
2619
1988
|
shipped_with_merchandise_id: null;
|
|
@@ -2630,7 +1999,8 @@ export declare const CartItemMocks: {
|
|
|
2630
1999
|
};
|
|
2631
2000
|
};
|
|
2632
2001
|
uuid: string;
|
|
2633
|
-
|
|
2002
|
+
subUId: string;
|
|
2003
|
+
toString(): string;
|
|
2634
2004
|
price_cents: number;
|
|
2635
2005
|
price_formatted: string;
|
|
2636
2006
|
final_price_cents: number;
|
|
@@ -2652,3 +2022,81 @@ export declare const ShopMocks: {
|
|
|
2652
2022
|
export declare const LocationMocks: {
|
|
2653
2023
|
mockAssign: () => import('vitest').Mock<(...args: any[]) => any>;
|
|
2654
2024
|
};
|
|
2025
|
+
export declare const QuotasMocks: {
|
|
2026
|
+
mockApiQuotas(): {
|
|
2027
|
+
10: {
|
|
2028
|
+
ticket_ids: number[];
|
|
2029
|
+
capacities: {
|
|
2030
|
+
"2025-12-04T10:00:00+01:00": number;
|
|
2031
|
+
};
|
|
2032
|
+
total_capacities: {
|
|
2033
|
+
"2025-12-04T10:00:00+01:00": number;
|
|
2034
|
+
};
|
|
2035
|
+
};
|
|
2036
|
+
20: {
|
|
2037
|
+
ticket_ids: number[];
|
|
2038
|
+
capacities: {
|
|
2039
|
+
"2025-12-04T10:00:00+01:00": number;
|
|
2040
|
+
};
|
|
2041
|
+
total_capacities: {
|
|
2042
|
+
"2025-12-04T10:00:00+01:00": number;
|
|
2043
|
+
};
|
|
2044
|
+
};
|
|
2045
|
+
30: {
|
|
2046
|
+
ticket_ids: number[];
|
|
2047
|
+
capacities: {
|
|
2048
|
+
"2025-12-04T10:00:00+01:00": number;
|
|
2049
|
+
};
|
|
2050
|
+
total_capacities: {
|
|
2051
|
+
"2025-12-04T10:00:00+01:00": number;
|
|
2052
|
+
};
|
|
2053
|
+
};
|
|
2054
|
+
40: {
|
|
2055
|
+
ticket_ids: number[];
|
|
2056
|
+
capacities: {
|
|
2057
|
+
"2025-12-04T10:00:00+01:00": number;
|
|
2058
|
+
};
|
|
2059
|
+
total_capacities: {
|
|
2060
|
+
"2025-12-04T10:00:00+01:00": number;
|
|
2061
|
+
};
|
|
2062
|
+
};
|
|
2063
|
+
50: {
|
|
2064
|
+
ticket_ids: number[];
|
|
2065
|
+
capacities: {
|
|
2066
|
+
"2025-12-04T10:00:00+01:00": number;
|
|
2067
|
+
};
|
|
2068
|
+
total_capacities: {
|
|
2069
|
+
"2025-12-04T10:00:00+01:00": number;
|
|
2070
|
+
};
|
|
2071
|
+
};
|
|
2072
|
+
};
|
|
2073
|
+
mockApiQuotas_2(): {
|
|
2074
|
+
10: {
|
|
2075
|
+
ticket_ids: number[];
|
|
2076
|
+
capacities: {
|
|
2077
|
+
"2025-12-04T10:00:00+01:00": number;
|
|
2078
|
+
};
|
|
2079
|
+
total_capacities: {
|
|
2080
|
+
"2025-12-04T10:00:00+01:00": number;
|
|
2081
|
+
};
|
|
2082
|
+
};
|
|
2083
|
+
20: {
|
|
2084
|
+
ticket_ids: number[];
|
|
2085
|
+
capacities: {
|
|
2086
|
+
"2025-12-04T10:00:00+01:00": number;
|
|
2087
|
+
};
|
|
2088
|
+
total_capacities: {
|
|
2089
|
+
"2025-12-04T10:00:00+01:00": number;
|
|
2090
|
+
};
|
|
2091
|
+
};
|
|
2092
|
+
30: {
|
|
2093
|
+
ticket_ids: number[];
|
|
2094
|
+
capacities: {
|
|
2095
|
+
"2025-12-04T10:00:00+01:00": number;
|
|
2096
|
+
};
|
|
2097
|
+
total_capacities: {
|
|
2098
|
+
"2025-12-04T10:00:00+01:00": number;
|
|
2099
|
+
};
|
|
2100
|
+
};
|
|
2101
|
+
};
|
|
2102
|
+
};
|