@gomusdev/web-components 1.24.1 → 1.25.1
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/order/lib/OrderDetails.svelte.d.ts +1 -1
- 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 +5968 -5719
- package/dist-js/gomus-webcomponents.js +5968 -5719
- 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 -67
- 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 +201 -756
- 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: {
|
|
@@ -740,10 +632,11 @@ export declare const ApiAnnualTicketMocks: {
|
|
|
740
632
|
};
|
|
741
633
|
export declare const UIAnnualTicketMocks: {
|
|
742
634
|
ticket1: {
|
|
635
|
+
uid: number;
|
|
636
|
+
selectedTime: string;
|
|
743
637
|
product_type: import('../lib/models/cart/types').ProductType;
|
|
744
638
|
type: UITicketType;
|
|
745
639
|
shop_order: number;
|
|
746
|
-
selectedTime: string;
|
|
747
640
|
id: number;
|
|
748
641
|
title: string;
|
|
749
642
|
ticket_type: "time_slot" | "annual" | "normal";
|
|
@@ -794,8 +687,9 @@ export declare const UIAnnualTicketMocks: {
|
|
|
794
687
|
dynamic_prices: {
|
|
795
688
|
[key: string]: number;
|
|
796
689
|
} | null;
|
|
797
|
-
uid: number;
|
|
798
690
|
} | {
|
|
691
|
+
uid: number;
|
|
692
|
+
selectedTime: string;
|
|
799
693
|
product_type: import('../lib/models/cart/types').ProductType;
|
|
800
694
|
type: UITicketType;
|
|
801
695
|
shop_order: number;
|
|
@@ -838,23 +732,15 @@ export declare const UIAnnualTicketMocks: {
|
|
|
838
732
|
shipped_with_merchandise_id: number | null;
|
|
839
733
|
restricted_shop_account: boolean;
|
|
840
734
|
cash_point_order: number;
|
|
841
|
-
capacities: {
|
|
842
|
-
[key: string]: number;
|
|
843
|
-
};
|
|
844
|
-
total_capacities: {
|
|
845
|
-
[key: string]: number;
|
|
846
|
-
};
|
|
847
|
-
max_capacity: number;
|
|
848
|
-
max_total_capacity: number;
|
|
849
735
|
dynamic_prices: {
|
|
850
736
|
[key: string]: number;
|
|
851
737
|
} | null;
|
|
852
|
-
uid: number;
|
|
853
738
|
} | {
|
|
739
|
+
uid: number;
|
|
740
|
+
selectedTime: string;
|
|
854
741
|
product_type: import('../lib/models/cart/types').ProductType;
|
|
855
742
|
type: UITicketType;
|
|
856
743
|
shop_order: number;
|
|
857
|
-
selectedTime: string;
|
|
858
744
|
id: number;
|
|
859
745
|
title: string;
|
|
860
746
|
ticket_type: "time_slot" | "annual" | "normal";
|
|
@@ -866,8 +752,6 @@ export declare const UIAnnualTicketMocks: {
|
|
|
866
752
|
vat_pct: number;
|
|
867
753
|
tax_included: boolean;
|
|
868
754
|
entry_duration: number | null;
|
|
869
|
-
min_persons: number;
|
|
870
|
-
max_persons: number;
|
|
871
755
|
quota_ids: number[];
|
|
872
756
|
first_entry: number;
|
|
873
757
|
last_entry: number;
|
|
@@ -891,14 +775,18 @@ export declare const UIAnnualTicketMocks: {
|
|
|
891
775
|
is_sub_ticket: boolean;
|
|
892
776
|
created_at: string;
|
|
893
777
|
updated_at: string;
|
|
778
|
+
cash_point_order: number;
|
|
894
779
|
shipped_with_merchandise_id: number | null;
|
|
895
780
|
restricted_shop_account: boolean;
|
|
896
|
-
|
|
897
|
-
|
|
781
|
+
min_persons: number;
|
|
782
|
+
max_persons: number;
|
|
783
|
+
dynamic_prices?: {
|
|
898
784
|
[key: string]: number;
|
|
899
785
|
} | null;
|
|
786
|
+
};
|
|
787
|
+
ticket2: {
|
|
900
788
|
uid: number;
|
|
901
|
-
|
|
789
|
+
selectedTime: string;
|
|
902
790
|
product_type: import('../lib/models/cart/types').ProductType;
|
|
903
791
|
type: UITicketType;
|
|
904
792
|
shop_order: number;
|
|
@@ -941,16 +829,23 @@ export declare const UIAnnualTicketMocks: {
|
|
|
941
829
|
shipped_with_merchandise_id: number | null;
|
|
942
830
|
restricted_shop_account: boolean;
|
|
943
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;
|
|
944
840
|
dynamic_prices: {
|
|
945
841
|
[key: string]: number;
|
|
946
842
|
} | null;
|
|
843
|
+
} | {
|
|
947
844
|
uid: number;
|
|
948
|
-
|
|
949
|
-
ticket2: {
|
|
845
|
+
selectedTime: string;
|
|
950
846
|
product_type: import('../lib/models/cart/types').ProductType;
|
|
951
847
|
type: UITicketType;
|
|
952
848
|
shop_order: number;
|
|
953
|
-
selectedTime: string;
|
|
954
849
|
id: number;
|
|
955
850
|
title: string;
|
|
956
851
|
ticket_type: "time_slot" | "annual" | "normal";
|
|
@@ -990,19 +885,12 @@ export declare const UIAnnualTicketMocks: {
|
|
|
990
885
|
shipped_with_merchandise_id: number | null;
|
|
991
886
|
restricted_shop_account: boolean;
|
|
992
887
|
cash_point_order: number;
|
|
993
|
-
capacities: {
|
|
994
|
-
[key: string]: number;
|
|
995
|
-
};
|
|
996
|
-
total_capacities: {
|
|
997
|
-
[key: string]: number;
|
|
998
|
-
};
|
|
999
|
-
max_capacity: number;
|
|
1000
|
-
max_total_capacity: number;
|
|
1001
888
|
dynamic_prices: {
|
|
1002
889
|
[key: string]: number;
|
|
1003
890
|
} | null;
|
|
1004
|
-
uid: number;
|
|
1005
891
|
} | {
|
|
892
|
+
uid: number;
|
|
893
|
+
selectedTime: string;
|
|
1006
894
|
product_type: import('../lib/models/cart/types').ProductType;
|
|
1007
895
|
type: UITicketType;
|
|
1008
896
|
shop_order: number;
|
|
@@ -1017,8 +905,6 @@ export declare const UIAnnualTicketMocks: {
|
|
|
1017
905
|
vat_pct: number;
|
|
1018
906
|
tax_included: boolean;
|
|
1019
907
|
entry_duration: number | null;
|
|
1020
|
-
min_persons: number;
|
|
1021
|
-
max_persons: number;
|
|
1022
908
|
quota_ids: number[];
|
|
1023
909
|
first_entry: number;
|
|
1024
910
|
last_entry: number;
|
|
@@ -1042,26 +928,21 @@ export declare const UIAnnualTicketMocks: {
|
|
|
1042
928
|
is_sub_ticket: boolean;
|
|
1043
929
|
created_at: string;
|
|
1044
930
|
updated_at: string;
|
|
931
|
+
cash_point_order: number;
|
|
1045
932
|
shipped_with_merchandise_id: number | null;
|
|
1046
933
|
restricted_shop_account: boolean;
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
};
|
|
1051
|
-
total_capacities: {
|
|
1052
|
-
[key: string]: number;
|
|
1053
|
-
};
|
|
1054
|
-
max_capacity: number;
|
|
1055
|
-
max_total_capacity: number;
|
|
1056
|
-
dynamic_prices: {
|
|
934
|
+
min_persons: number;
|
|
935
|
+
max_persons: number;
|
|
936
|
+
dynamic_prices?: {
|
|
1057
937
|
[key: string]: number;
|
|
1058
938
|
} | null;
|
|
939
|
+
};
|
|
940
|
+
ticket3: {
|
|
1059
941
|
uid: number;
|
|
1060
|
-
|
|
942
|
+
selectedTime: string;
|
|
1061
943
|
product_type: import('../lib/models/cart/types').ProductType;
|
|
1062
944
|
type: UITicketType;
|
|
1063
945
|
shop_order: number;
|
|
1064
|
-
selectedTime: string;
|
|
1065
946
|
id: number;
|
|
1066
947
|
title: string;
|
|
1067
948
|
ticket_type: "time_slot" | "annual" | "normal";
|
|
@@ -1101,11 +982,20 @@ export declare const UIAnnualTicketMocks: {
|
|
|
1101
982
|
shipped_with_merchandise_id: number | null;
|
|
1102
983
|
restricted_shop_account: boolean;
|
|
1103
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;
|
|
1104
993
|
dynamic_prices: {
|
|
1105
994
|
[key: string]: number;
|
|
1106
995
|
} | null;
|
|
1107
|
-
uid: number;
|
|
1108
996
|
} | {
|
|
997
|
+
uid: number;
|
|
998
|
+
selectedTime: string;
|
|
1109
999
|
product_type: import('../lib/models/cart/types').ProductType;
|
|
1110
1000
|
type: UITicketType;
|
|
1111
1001
|
shop_order: number;
|
|
@@ -1151,13 +1041,12 @@ export declare const UIAnnualTicketMocks: {
|
|
|
1151
1041
|
dynamic_prices: {
|
|
1152
1042
|
[key: string]: number;
|
|
1153
1043
|
} | null;
|
|
1044
|
+
} | {
|
|
1154
1045
|
uid: number;
|
|
1155
|
-
|
|
1156
|
-
ticket3: {
|
|
1046
|
+
selectedTime: string;
|
|
1157
1047
|
product_type: import('../lib/models/cart/types').ProductType;
|
|
1158
1048
|
type: UITicketType;
|
|
1159
1049
|
shop_order: number;
|
|
1160
|
-
selectedTime: string;
|
|
1161
1050
|
id: number;
|
|
1162
1051
|
title: string;
|
|
1163
1052
|
ticket_type: "time_slot" | "annual" | "normal";
|
|
@@ -1169,8 +1058,6 @@ export declare const UIAnnualTicketMocks: {
|
|
|
1169
1058
|
vat_pct: number;
|
|
1170
1059
|
tax_included: boolean;
|
|
1171
1060
|
entry_duration: number | null;
|
|
1172
|
-
min_persons: number;
|
|
1173
|
-
max_persons: number;
|
|
1174
1061
|
quota_ids: number[];
|
|
1175
1062
|
first_entry: number;
|
|
1176
1063
|
last_entry: number;
|
|
@@ -1194,235 +1081,25 @@ export declare const UIAnnualTicketMocks: {
|
|
|
1194
1081
|
is_sub_ticket: boolean;
|
|
1195
1082
|
created_at: string;
|
|
1196
1083
|
updated_at: string;
|
|
1084
|
+
cash_point_order: number;
|
|
1197
1085
|
shipped_with_merchandise_id: number | null;
|
|
1198
1086
|
restricted_shop_account: boolean;
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
};
|
|
1203
|
-
total_capacities: {
|
|
1204
|
-
[key: string]: number;
|
|
1205
|
-
};
|
|
1206
|
-
max_capacity: number;
|
|
1207
|
-
max_total_capacity: number;
|
|
1208
|
-
dynamic_prices: {
|
|
1087
|
+
min_persons: number;
|
|
1088
|
+
max_persons: number;
|
|
1089
|
+
dynamic_prices?: {
|
|
1209
1090
|
[key: string]: number;
|
|
1210
1091
|
} | null;
|
|
1211
|
-
uid: number;
|
|
1212
|
-
} | {
|
|
1213
|
-
product_type: import('../lib/models/cart/types').ProductType;
|
|
1214
|
-
type: UITicketType;
|
|
1215
|
-
shop_order: number;
|
|
1216
|
-
id: number;
|
|
1217
|
-
title: string;
|
|
1218
|
-
ticket_type: "time_slot" | "annual" | "normal";
|
|
1219
|
-
bookable: boolean;
|
|
1220
|
-
museum_ids: number[];
|
|
1221
|
-
exhibition_ids: number[];
|
|
1222
|
-
price_cents: number;
|
|
1223
|
-
discount: number;
|
|
1224
|
-
vat_pct: number;
|
|
1225
|
-
tax_included: boolean;
|
|
1226
|
-
entry_duration: number | null;
|
|
1227
|
-
min_persons: number;
|
|
1228
|
-
max_persons: number;
|
|
1229
|
-
quota_ids: number[];
|
|
1230
|
-
first_entry: number;
|
|
1231
|
-
last_entry: number;
|
|
1232
|
-
personalizeable: boolean;
|
|
1233
|
-
attendees: boolean | string;
|
|
1234
|
-
identification: boolean | string;
|
|
1235
|
-
free_timing: boolean;
|
|
1236
|
-
is_collective: boolean;
|
|
1237
|
-
is_upgrade: boolean;
|
|
1238
|
-
is_mantle: boolean;
|
|
1239
|
-
description: string | null;
|
|
1240
|
-
sub_ticket_ids: number[];
|
|
1241
|
-
sub_tickets: {
|
|
1242
|
-
[key: string]: {
|
|
1243
|
-
title?: string;
|
|
1244
|
-
min_persons?: number;
|
|
1245
|
-
max_persons?: number;
|
|
1246
|
-
description?: string | null;
|
|
1247
|
-
};
|
|
1248
|
-
} | null;
|
|
1249
|
-
is_sub_ticket: boolean;
|
|
1250
|
-
created_at: string;
|
|
1251
|
-
updated_at: string;
|
|
1252
|
-
shipped_with_merchandise_id: number | null;
|
|
1253
|
-
restricted_shop_account: boolean;
|
|
1254
|
-
cash_point_order: number;
|
|
1255
|
-
capacities: {
|
|
1256
|
-
[key: string]: number;
|
|
1257
|
-
};
|
|
1258
|
-
total_capacities: {
|
|
1259
|
-
[key: string]: number;
|
|
1260
|
-
};
|
|
1261
|
-
max_capacity: number;
|
|
1262
|
-
max_total_capacity: number;
|
|
1263
|
-
dynamic_prices: {
|
|
1264
|
-
[key: string]: number;
|
|
1265
|
-
} | null;
|
|
1266
|
-
uid: number;
|
|
1267
|
-
} | {
|
|
1268
|
-
product_type: import('../lib/models/cart/types').ProductType;
|
|
1269
|
-
type: UITicketType;
|
|
1270
|
-
shop_order: number;
|
|
1271
|
-
selectedTime: string;
|
|
1272
|
-
id: number;
|
|
1273
|
-
title: string;
|
|
1274
|
-
ticket_type: "time_slot" | "annual" | "normal";
|
|
1275
|
-
bookable: boolean;
|
|
1276
|
-
museum_ids: number[];
|
|
1277
|
-
exhibition_ids: number[];
|
|
1278
|
-
price_cents: number;
|
|
1279
|
-
discount: number;
|
|
1280
|
-
vat_pct: number;
|
|
1281
|
-
tax_included: boolean;
|
|
1282
|
-
entry_duration: number | null;
|
|
1283
|
-
min_persons: number;
|
|
1284
|
-
max_persons: number;
|
|
1285
|
-
quota_ids: number[];
|
|
1286
|
-
first_entry: number;
|
|
1287
|
-
last_entry: number;
|
|
1288
|
-
personalizeable: boolean;
|
|
1289
|
-
attendees: boolean | string;
|
|
1290
|
-
identification: boolean | string;
|
|
1291
|
-
free_timing: boolean;
|
|
1292
|
-
is_collective: boolean;
|
|
1293
|
-
is_upgrade: boolean;
|
|
1294
|
-
is_mantle: boolean;
|
|
1295
|
-
description: string | null;
|
|
1296
|
-
sub_ticket_ids: number[];
|
|
1297
|
-
sub_tickets: {
|
|
1298
|
-
[key: string]: {
|
|
1299
|
-
title?: string;
|
|
1300
|
-
min_persons?: number;
|
|
1301
|
-
max_persons?: number;
|
|
1302
|
-
description?: string | null;
|
|
1303
|
-
};
|
|
1304
|
-
} | null;
|
|
1305
|
-
is_sub_ticket: boolean;
|
|
1306
|
-
created_at: string;
|
|
1307
|
-
updated_at: string;
|
|
1308
|
-
shipped_with_merchandise_id: number | null;
|
|
1309
|
-
restricted_shop_account: boolean;
|
|
1310
|
-
cash_point_order: number;
|
|
1311
|
-
dynamic_prices: {
|
|
1312
|
-
[key: string]: number;
|
|
1313
|
-
} | null;
|
|
1314
|
-
uid: number;
|
|
1315
|
-
} | {
|
|
1316
|
-
product_type: import('../lib/models/cart/types').ProductType;
|
|
1317
|
-
type: UITicketType;
|
|
1318
|
-
shop_order: number;
|
|
1319
|
-
id: number;
|
|
1320
|
-
title: string;
|
|
1321
|
-
ticket_type: "time_slot" | "annual" | "normal";
|
|
1322
|
-
bookable: boolean;
|
|
1323
|
-
museum_ids: number[];
|
|
1324
|
-
exhibition_ids: number[];
|
|
1325
|
-
price_cents: number;
|
|
1326
|
-
discount: number;
|
|
1327
|
-
vat_pct: number;
|
|
1328
|
-
tax_included: boolean;
|
|
1329
|
-
entry_duration: number | null;
|
|
1330
|
-
min_persons: number;
|
|
1331
|
-
max_persons: number;
|
|
1332
|
-
quota_ids: number[];
|
|
1333
|
-
first_entry: number;
|
|
1334
|
-
last_entry: number;
|
|
1335
|
-
personalizeable: boolean;
|
|
1336
|
-
attendees: boolean | string;
|
|
1337
|
-
identification: boolean | string;
|
|
1338
|
-
free_timing: boolean;
|
|
1339
|
-
is_collective: boolean;
|
|
1340
|
-
is_upgrade: boolean;
|
|
1341
|
-
is_mantle: boolean;
|
|
1342
|
-
description: string | null;
|
|
1343
|
-
sub_ticket_ids: number[];
|
|
1344
|
-
sub_tickets: {
|
|
1345
|
-
[key: string]: {
|
|
1346
|
-
title?: string;
|
|
1347
|
-
min_persons?: number;
|
|
1348
|
-
max_persons?: number;
|
|
1349
|
-
description?: string | null;
|
|
1350
|
-
};
|
|
1351
|
-
} | null;
|
|
1352
|
-
is_sub_ticket: boolean;
|
|
1353
|
-
created_at: string;
|
|
1354
|
-
updated_at: string;
|
|
1355
|
-
shipped_with_merchandise_id: number | null;
|
|
1356
|
-
restricted_shop_account: boolean;
|
|
1357
|
-
cash_point_order: number;
|
|
1358
|
-
dynamic_prices: {
|
|
1359
|
-
[key: string]: number;
|
|
1360
|
-
} | null;
|
|
1361
|
-
uid: number;
|
|
1362
1092
|
};
|
|
1363
1093
|
};
|
|
1364
1094
|
export declare const CartMocks: {
|
|
1365
1095
|
cartOneItem: () => {
|
|
1366
|
-
items:
|
|
1367
|
-
type: import('../lib/models/cart/types').ProductType;
|
|
1368
|
-
product: import('../lib/models/cart/types').Product;
|
|
1369
|
-
orderAttributes(): {
|
|
1370
|
-
shipped_with_merchandise_id: null;
|
|
1371
|
-
shipping_mode: string;
|
|
1372
|
-
id: number;
|
|
1373
|
-
time: string;
|
|
1374
|
-
quantity: number;
|
|
1375
|
-
} | {
|
|
1376
|
-
shipped_with_merchandise_id: null;
|
|
1377
|
-
shipping_mode: string;
|
|
1378
|
-
id: number;
|
|
1379
|
-
quantities: {
|
|
1380
|
-
[x: number]: number;
|
|
1381
|
-
};
|
|
1382
|
-
};
|
|
1383
|
-
uuid: string;
|
|
1384
|
-
subId: string;
|
|
1385
|
-
price_cents: number;
|
|
1386
|
-
price_formatted: string;
|
|
1387
|
-
final_price_cents: number;
|
|
1388
|
-
final_price_formatted: string;
|
|
1389
|
-
total_price_cents: number;
|
|
1390
|
-
total_price_formatted: string;
|
|
1391
|
-
quantity: number;
|
|
1392
|
-
time: string;
|
|
1393
|
-
}[];
|
|
1096
|
+
items: import('../lib/models/cart/types').CartItem[];
|
|
1394
1097
|
contingent: number;
|
|
1395
1098
|
uid: string;
|
|
1396
|
-
readonly nonEmptyItems:
|
|
1397
|
-
type: import('../lib/models/cart/types').ProductType;
|
|
1398
|
-
product: import('../lib/models/cart/types').Product;
|
|
1399
|
-
orderAttributes(): {
|
|
1400
|
-
shipped_with_merchandise_id: null;
|
|
1401
|
-
shipping_mode: string;
|
|
1402
|
-
id: number;
|
|
1403
|
-
time: string;
|
|
1404
|
-
quantity: number;
|
|
1405
|
-
} | {
|
|
1406
|
-
shipped_with_merchandise_id: null;
|
|
1407
|
-
shipping_mode: string;
|
|
1408
|
-
id: number;
|
|
1409
|
-
quantities: {
|
|
1410
|
-
[x: number]: number;
|
|
1411
|
-
};
|
|
1412
|
-
};
|
|
1413
|
-
uuid: string;
|
|
1414
|
-
subId: string;
|
|
1415
|
-
price_cents: number;
|
|
1416
|
-
price_formatted: string;
|
|
1417
|
-
final_price_cents: number;
|
|
1418
|
-
final_price_formatted: string;
|
|
1419
|
-
total_price_cents: number;
|
|
1420
|
-
total_price_formatted: string;
|
|
1421
|
-
quantity: number;
|
|
1422
|
-
time: string;
|
|
1423
|
-
}[];
|
|
1099
|
+
readonly nonEmptyItems: import('../lib/models/cart/types').CartItem[];
|
|
1424
1100
|
readonly totalPriceCents: number;
|
|
1425
1101
|
readonly totalQuantity: number;
|
|
1102
|
+
toString(): string;
|
|
1426
1103
|
orderData(): {
|
|
1427
1104
|
items: {
|
|
1428
1105
|
type: import('../lib/models/cart/types').ProductType;
|
|
@@ -1455,68 +1132,16 @@ export declare const CartMocks: {
|
|
|
1455
1132
|
deleteItem(item: import('../lib/models/cart/types').CartItem): void;
|
|
1456
1133
|
addItem(item: import('../lib/models/cart/types').CartItem): void;
|
|
1457
1134
|
addItems(items: import('../lib/models/cart/types').CartItem[]): void;
|
|
1135
|
+
addProducts(products: import('../lib/models/cart/types').Product[]): void;
|
|
1458
1136
|
};
|
|
1459
1137
|
cartTwoItems: () => {
|
|
1460
|
-
items:
|
|
1461
|
-
type: import('../lib/models/cart/types').ProductType;
|
|
1462
|
-
product: import('../lib/models/cart/types').Product;
|
|
1463
|
-
orderAttributes(): {
|
|
1464
|
-
shipped_with_merchandise_id: null;
|
|
1465
|
-
shipping_mode: string;
|
|
1466
|
-
id: number;
|
|
1467
|
-
time: string;
|
|
1468
|
-
quantity: number;
|
|
1469
|
-
} | {
|
|
1470
|
-
shipped_with_merchandise_id: null;
|
|
1471
|
-
shipping_mode: string;
|
|
1472
|
-
id: number;
|
|
1473
|
-
quantities: {
|
|
1474
|
-
[x: number]: number;
|
|
1475
|
-
};
|
|
1476
|
-
};
|
|
1477
|
-
uuid: string;
|
|
1478
|
-
subId: string;
|
|
1479
|
-
price_cents: number;
|
|
1480
|
-
price_formatted: string;
|
|
1481
|
-
final_price_cents: number;
|
|
1482
|
-
final_price_formatted: string;
|
|
1483
|
-
total_price_cents: number;
|
|
1484
|
-
total_price_formatted: string;
|
|
1485
|
-
quantity: number;
|
|
1486
|
-
time: string;
|
|
1487
|
-
}[];
|
|
1138
|
+
items: import('../lib/models/cart/types').CartItem[];
|
|
1488
1139
|
contingent: number;
|
|
1489
1140
|
uid: string;
|
|
1490
|
-
readonly nonEmptyItems:
|
|
1491
|
-
type: import('../lib/models/cart/types').ProductType;
|
|
1492
|
-
product: import('../lib/models/cart/types').Product;
|
|
1493
|
-
orderAttributes(): {
|
|
1494
|
-
shipped_with_merchandise_id: null;
|
|
1495
|
-
shipping_mode: string;
|
|
1496
|
-
id: number;
|
|
1497
|
-
time: string;
|
|
1498
|
-
quantity: number;
|
|
1499
|
-
} | {
|
|
1500
|
-
shipped_with_merchandise_id: null;
|
|
1501
|
-
shipping_mode: string;
|
|
1502
|
-
id: number;
|
|
1503
|
-
quantities: {
|
|
1504
|
-
[x: number]: number;
|
|
1505
|
-
};
|
|
1506
|
-
};
|
|
1507
|
-
uuid: string;
|
|
1508
|
-
subId: string;
|
|
1509
|
-
price_cents: number;
|
|
1510
|
-
price_formatted: string;
|
|
1511
|
-
final_price_cents: number;
|
|
1512
|
-
final_price_formatted: string;
|
|
1513
|
-
total_price_cents: number;
|
|
1514
|
-
total_price_formatted: string;
|
|
1515
|
-
quantity: number;
|
|
1516
|
-
time: string;
|
|
1517
|
-
}[];
|
|
1141
|
+
readonly nonEmptyItems: import('../lib/models/cart/types').CartItem[];
|
|
1518
1142
|
readonly totalPriceCents: number;
|
|
1519
1143
|
readonly totalQuantity: number;
|
|
1144
|
+
toString(): string;
|
|
1520
1145
|
orderData(): {
|
|
1521
1146
|
items: {
|
|
1522
1147
|
type: import('../lib/models/cart/types').ProductType;
|
|
@@ -1549,68 +1174,16 @@ export declare const CartMocks: {
|
|
|
1549
1174
|
deleteItem(item: import('../lib/models/cart/types').CartItem): void;
|
|
1550
1175
|
addItem(item: import('../lib/models/cart/types').CartItem): void;
|
|
1551
1176
|
addItems(items: import('../lib/models/cart/types').CartItem[]): void;
|
|
1177
|
+
addProducts(products: import('../lib/models/cart/types').Product[]): void;
|
|
1552
1178
|
};
|
|
1553
1179
|
cartThreeItems: () => {
|
|
1554
|
-
items:
|
|
1555
|
-
type: import('../lib/models/cart/types').ProductType;
|
|
1556
|
-
product: import('../lib/models/cart/types').Product;
|
|
1557
|
-
orderAttributes(): {
|
|
1558
|
-
shipped_with_merchandise_id: null;
|
|
1559
|
-
shipping_mode: string;
|
|
1560
|
-
id: number;
|
|
1561
|
-
time: string;
|
|
1562
|
-
quantity: number;
|
|
1563
|
-
} | {
|
|
1564
|
-
shipped_with_merchandise_id: null;
|
|
1565
|
-
shipping_mode: string;
|
|
1566
|
-
id: number;
|
|
1567
|
-
quantities: {
|
|
1568
|
-
[x: number]: number;
|
|
1569
|
-
};
|
|
1570
|
-
};
|
|
1571
|
-
uuid: string;
|
|
1572
|
-
subId: string;
|
|
1573
|
-
price_cents: number;
|
|
1574
|
-
price_formatted: string;
|
|
1575
|
-
final_price_cents: number;
|
|
1576
|
-
final_price_formatted: string;
|
|
1577
|
-
total_price_cents: number;
|
|
1578
|
-
total_price_formatted: string;
|
|
1579
|
-
quantity: number;
|
|
1580
|
-
time: string;
|
|
1581
|
-
}[];
|
|
1180
|
+
items: import('../lib/models/cart/types').CartItem[];
|
|
1582
1181
|
contingent: number;
|
|
1583
1182
|
uid: string;
|
|
1584
|
-
readonly nonEmptyItems:
|
|
1585
|
-
type: import('../lib/models/cart/types').ProductType;
|
|
1586
|
-
product: import('../lib/models/cart/types').Product;
|
|
1587
|
-
orderAttributes(): {
|
|
1588
|
-
shipped_with_merchandise_id: null;
|
|
1589
|
-
shipping_mode: string;
|
|
1590
|
-
id: number;
|
|
1591
|
-
time: string;
|
|
1592
|
-
quantity: number;
|
|
1593
|
-
} | {
|
|
1594
|
-
shipped_with_merchandise_id: null;
|
|
1595
|
-
shipping_mode: string;
|
|
1596
|
-
id: number;
|
|
1597
|
-
quantities: {
|
|
1598
|
-
[x: number]: number;
|
|
1599
|
-
};
|
|
1600
|
-
};
|
|
1601
|
-
uuid: string;
|
|
1602
|
-
subId: string;
|
|
1603
|
-
price_cents: number;
|
|
1604
|
-
price_formatted: string;
|
|
1605
|
-
final_price_cents: number;
|
|
1606
|
-
final_price_formatted: string;
|
|
1607
|
-
total_price_cents: number;
|
|
1608
|
-
total_price_formatted: string;
|
|
1609
|
-
quantity: number;
|
|
1610
|
-
time: string;
|
|
1611
|
-
}[];
|
|
1183
|
+
readonly nonEmptyItems: import('../lib/models/cart/types').CartItem[];
|
|
1612
1184
|
readonly totalPriceCents: number;
|
|
1613
1185
|
readonly totalQuantity: number;
|
|
1186
|
+
toString(): string;
|
|
1614
1187
|
orderData(): {
|
|
1615
1188
|
items: {
|
|
1616
1189
|
type: import('../lib/models/cart/types').ProductType;
|
|
@@ -1643,16 +1216,18 @@ export declare const CartMocks: {
|
|
|
1643
1216
|
deleteItem(item: import('../lib/models/cart/types').CartItem): void;
|
|
1644
1217
|
addItem(item: import('../lib/models/cart/types').CartItem): void;
|
|
1645
1218
|
addItems(items: import('../lib/models/cart/types').CartItem[]): void;
|
|
1219
|
+
addProducts(products: import('../lib/models/cart/types').Product[]): void;
|
|
1646
1220
|
};
|
|
1647
1221
|
};
|
|
1648
1222
|
export declare const CartItemMocks: {
|
|
1649
1223
|
timeslotItem1: {
|
|
1650
1224
|
type: import('../lib/models/cart/types').ProductType;
|
|
1651
1225
|
product: {
|
|
1226
|
+
uid: number;
|
|
1227
|
+
selectedTime: string;
|
|
1652
1228
|
product_type: import('../lib/models/cart/types').ProductType;
|
|
1653
1229
|
type: UITicketType;
|
|
1654
1230
|
shop_order: number;
|
|
1655
|
-
selectedTime: string;
|
|
1656
1231
|
id: number;
|
|
1657
1232
|
title: string;
|
|
1658
1233
|
ticket_type: "time_slot" | "annual" | "normal";
|
|
@@ -1703,8 +1278,9 @@ export declare const CartItemMocks: {
|
|
|
1703
1278
|
dynamic_prices: {
|
|
1704
1279
|
[key: string]: number;
|
|
1705
1280
|
} | null;
|
|
1706
|
-
uid: number;
|
|
1707
1281
|
} | {
|
|
1282
|
+
uid: number;
|
|
1283
|
+
selectedTime: string;
|
|
1708
1284
|
product_type: import('../lib/models/cart/types').ProductType;
|
|
1709
1285
|
type: UITicketType;
|
|
1710
1286
|
shop_order: number;
|
|
@@ -1747,23 +1323,15 @@ export declare const CartItemMocks: {
|
|
|
1747
1323
|
shipped_with_merchandise_id: number | null;
|
|
1748
1324
|
restricted_shop_account: boolean;
|
|
1749
1325
|
cash_point_order: number;
|
|
1750
|
-
capacities: {
|
|
1751
|
-
[key: string]: number;
|
|
1752
|
-
};
|
|
1753
|
-
total_capacities: {
|
|
1754
|
-
[key: string]: number;
|
|
1755
|
-
};
|
|
1756
|
-
max_capacity: number;
|
|
1757
|
-
max_total_capacity: number;
|
|
1758
1326
|
dynamic_prices: {
|
|
1759
1327
|
[key: string]: number;
|
|
1760
1328
|
} | null;
|
|
1761
|
-
uid: number;
|
|
1762
1329
|
} | {
|
|
1330
|
+
uid: number;
|
|
1331
|
+
selectedTime: string;
|
|
1763
1332
|
product_type: import('../lib/models/cart/types').ProductType;
|
|
1764
1333
|
type: UITicketType;
|
|
1765
1334
|
shop_order: number;
|
|
1766
|
-
selectedTime: string;
|
|
1767
1335
|
id: number;
|
|
1768
1336
|
title: string;
|
|
1769
1337
|
ticket_type: "time_slot" | "annual" | "normal";
|
|
@@ -1775,8 +1343,6 @@ export declare const CartItemMocks: {
|
|
|
1775
1343
|
vat_pct: number;
|
|
1776
1344
|
tax_included: boolean;
|
|
1777
1345
|
entry_duration: number | null;
|
|
1778
|
-
min_persons: number;
|
|
1779
|
-
max_persons: number;
|
|
1780
1346
|
quota_ids: number[];
|
|
1781
1347
|
first_entry: number;
|
|
1782
1348
|
last_entry: number;
|
|
@@ -1800,60 +1366,14 @@ export declare const CartItemMocks: {
|
|
|
1800
1366
|
is_sub_ticket: boolean;
|
|
1801
1367
|
created_at: string;
|
|
1802
1368
|
updated_at: string;
|
|
1369
|
+
cash_point_order: number;
|
|
1803
1370
|
shipped_with_merchandise_id: number | null;
|
|
1804
1371
|
restricted_shop_account: boolean;
|
|
1805
|
-
cash_point_order: number;
|
|
1806
|
-
dynamic_prices: {
|
|
1807
|
-
[key: string]: number;
|
|
1808
|
-
} | null;
|
|
1809
|
-
uid: number;
|
|
1810
|
-
} | {
|
|
1811
|
-
product_type: import('../lib/models/cart/types').ProductType;
|
|
1812
|
-
type: UITicketType;
|
|
1813
|
-
shop_order: number;
|
|
1814
|
-
id: number;
|
|
1815
|
-
title: string;
|
|
1816
|
-
ticket_type: "time_slot" | "annual" | "normal";
|
|
1817
|
-
bookable: boolean;
|
|
1818
|
-
museum_ids: number[];
|
|
1819
|
-
exhibition_ids: number[];
|
|
1820
|
-
price_cents: number;
|
|
1821
|
-
discount: number;
|
|
1822
|
-
vat_pct: number;
|
|
1823
|
-
tax_included: boolean;
|
|
1824
|
-
entry_duration: number | null;
|
|
1825
1372
|
min_persons: number;
|
|
1826
1373
|
max_persons: number;
|
|
1827
|
-
|
|
1828
|
-
first_entry: number;
|
|
1829
|
-
last_entry: number;
|
|
1830
|
-
personalizeable: boolean;
|
|
1831
|
-
attendees: boolean | string;
|
|
1832
|
-
identification: boolean | string;
|
|
1833
|
-
free_timing: boolean;
|
|
1834
|
-
is_collective: boolean;
|
|
1835
|
-
is_upgrade: boolean;
|
|
1836
|
-
is_mantle: boolean;
|
|
1837
|
-
description: string | null;
|
|
1838
|
-
sub_ticket_ids: number[];
|
|
1839
|
-
sub_tickets: {
|
|
1840
|
-
[key: string]: {
|
|
1841
|
-
title?: string;
|
|
1842
|
-
min_persons?: number;
|
|
1843
|
-
max_persons?: number;
|
|
1844
|
-
description?: string | null;
|
|
1845
|
-
};
|
|
1846
|
-
} | null;
|
|
1847
|
-
is_sub_ticket: boolean;
|
|
1848
|
-
created_at: string;
|
|
1849
|
-
updated_at: string;
|
|
1850
|
-
shipped_with_merchandise_id: number | null;
|
|
1851
|
-
restricted_shop_account: boolean;
|
|
1852
|
-
cash_point_order: number;
|
|
1853
|
-
dynamic_prices: {
|
|
1374
|
+
dynamic_prices?: {
|
|
1854
1375
|
[key: string]: number;
|
|
1855
1376
|
} | null;
|
|
1856
|
-
uid: number;
|
|
1857
1377
|
};
|
|
1858
1378
|
orderAttributes(): {
|
|
1859
1379
|
shipped_with_merchandise_id: null;
|
|
@@ -1870,7 +1390,8 @@ export declare const CartItemMocks: {
|
|
|
1870
1390
|
};
|
|
1871
1391
|
};
|
|
1872
1392
|
uuid: string;
|
|
1873
|
-
|
|
1393
|
+
subUId: string;
|
|
1394
|
+
toString(): string;
|
|
1874
1395
|
price_cents: number;
|
|
1875
1396
|
price_formatted: string;
|
|
1876
1397
|
final_price_cents: number;
|
|
@@ -1883,10 +1404,11 @@ export declare const CartItemMocks: {
|
|
|
1883
1404
|
timeslotItem2: {
|
|
1884
1405
|
type: import('../lib/models/cart/types').ProductType;
|
|
1885
1406
|
product: {
|
|
1407
|
+
uid: number;
|
|
1408
|
+
selectedTime: string;
|
|
1886
1409
|
product_type: import('../lib/models/cart/types').ProductType;
|
|
1887
1410
|
type: UITicketType;
|
|
1888
1411
|
shop_order: number;
|
|
1889
|
-
selectedTime: string;
|
|
1890
1412
|
id: number;
|
|
1891
1413
|
title: string;
|
|
1892
1414
|
ticket_type: "time_slot" | "annual" | "normal";
|
|
@@ -1937,8 +1459,9 @@ export declare const CartItemMocks: {
|
|
|
1937
1459
|
dynamic_prices: {
|
|
1938
1460
|
[key: string]: number;
|
|
1939
1461
|
} | null;
|
|
1940
|
-
uid: number;
|
|
1941
1462
|
} | {
|
|
1463
|
+
uid: number;
|
|
1464
|
+
selectedTime: string;
|
|
1942
1465
|
product_type: import('../lib/models/cart/types').ProductType;
|
|
1943
1466
|
type: UITicketType;
|
|
1944
1467
|
shop_order: number;
|
|
@@ -1981,23 +1504,15 @@ export declare const CartItemMocks: {
|
|
|
1981
1504
|
shipped_with_merchandise_id: number | null;
|
|
1982
1505
|
restricted_shop_account: boolean;
|
|
1983
1506
|
cash_point_order: number;
|
|
1984
|
-
capacities: {
|
|
1985
|
-
[key: string]: number;
|
|
1986
|
-
};
|
|
1987
|
-
total_capacities: {
|
|
1988
|
-
[key: string]: number;
|
|
1989
|
-
};
|
|
1990
|
-
max_capacity: number;
|
|
1991
|
-
max_total_capacity: number;
|
|
1992
1507
|
dynamic_prices: {
|
|
1993
1508
|
[key: string]: number;
|
|
1994
1509
|
} | null;
|
|
1995
|
-
uid: number;
|
|
1996
1510
|
} | {
|
|
1511
|
+
uid: number;
|
|
1512
|
+
selectedTime: string;
|
|
1997
1513
|
product_type: import('../lib/models/cart/types').ProductType;
|
|
1998
1514
|
type: UITicketType;
|
|
1999
1515
|
shop_order: number;
|
|
2000
|
-
selectedTime: string;
|
|
2001
1516
|
id: number;
|
|
2002
1517
|
title: string;
|
|
2003
1518
|
ticket_type: "time_slot" | "annual" | "normal";
|
|
@@ -2009,8 +1524,6 @@ export declare const CartItemMocks: {
|
|
|
2009
1524
|
vat_pct: number;
|
|
2010
1525
|
tax_included: boolean;
|
|
2011
1526
|
entry_duration: number | null;
|
|
2012
|
-
min_persons: number;
|
|
2013
|
-
max_persons: number;
|
|
2014
1527
|
quota_ids: number[];
|
|
2015
1528
|
first_entry: number;
|
|
2016
1529
|
last_entry: number;
|
|
@@ -2034,60 +1547,14 @@ export declare const CartItemMocks: {
|
|
|
2034
1547
|
is_sub_ticket: boolean;
|
|
2035
1548
|
created_at: string;
|
|
2036
1549
|
updated_at: string;
|
|
1550
|
+
cash_point_order: number;
|
|
2037
1551
|
shipped_with_merchandise_id: number | null;
|
|
2038
1552
|
restricted_shop_account: boolean;
|
|
2039
|
-
cash_point_order: number;
|
|
2040
|
-
dynamic_prices: {
|
|
2041
|
-
[key: string]: number;
|
|
2042
|
-
} | null;
|
|
2043
|
-
uid: number;
|
|
2044
|
-
} | {
|
|
2045
|
-
product_type: import('../lib/models/cart/types').ProductType;
|
|
2046
|
-
type: UITicketType;
|
|
2047
|
-
shop_order: number;
|
|
2048
|
-
id: number;
|
|
2049
|
-
title: string;
|
|
2050
|
-
ticket_type: "time_slot" | "annual" | "normal";
|
|
2051
|
-
bookable: boolean;
|
|
2052
|
-
museum_ids: number[];
|
|
2053
|
-
exhibition_ids: number[];
|
|
2054
|
-
price_cents: number;
|
|
2055
|
-
discount: number;
|
|
2056
|
-
vat_pct: number;
|
|
2057
|
-
tax_included: boolean;
|
|
2058
|
-
entry_duration: number | null;
|
|
2059
1553
|
min_persons: number;
|
|
2060
1554
|
max_persons: number;
|
|
2061
|
-
|
|
2062
|
-
first_entry: number;
|
|
2063
|
-
last_entry: number;
|
|
2064
|
-
personalizeable: boolean;
|
|
2065
|
-
attendees: boolean | string;
|
|
2066
|
-
identification: boolean | string;
|
|
2067
|
-
free_timing: boolean;
|
|
2068
|
-
is_collective: boolean;
|
|
2069
|
-
is_upgrade: boolean;
|
|
2070
|
-
is_mantle: boolean;
|
|
2071
|
-
description: string | null;
|
|
2072
|
-
sub_ticket_ids: number[];
|
|
2073
|
-
sub_tickets: {
|
|
2074
|
-
[key: string]: {
|
|
2075
|
-
title?: string;
|
|
2076
|
-
min_persons?: number;
|
|
2077
|
-
max_persons?: number;
|
|
2078
|
-
description?: string | null;
|
|
2079
|
-
};
|
|
2080
|
-
} | null;
|
|
2081
|
-
is_sub_ticket: boolean;
|
|
2082
|
-
created_at: string;
|
|
2083
|
-
updated_at: string;
|
|
2084
|
-
shipped_with_merchandise_id: number | null;
|
|
2085
|
-
restricted_shop_account: boolean;
|
|
2086
|
-
cash_point_order: number;
|
|
2087
|
-
dynamic_prices: {
|
|
1555
|
+
dynamic_prices?: {
|
|
2088
1556
|
[key: string]: number;
|
|
2089
1557
|
} | null;
|
|
2090
|
-
uid: number;
|
|
2091
1558
|
};
|
|
2092
1559
|
orderAttributes(): {
|
|
2093
1560
|
shipped_with_merchandise_id: null;
|
|
@@ -2104,7 +1571,8 @@ export declare const CartItemMocks: {
|
|
|
2104
1571
|
};
|
|
2105
1572
|
};
|
|
2106
1573
|
uuid: string;
|
|
2107
|
-
|
|
1574
|
+
subUId: string;
|
|
1575
|
+
toString(): string;
|
|
2108
1576
|
price_cents: number;
|
|
2109
1577
|
price_formatted: string;
|
|
2110
1578
|
final_price_cents: number;
|
|
@@ -2117,10 +1585,11 @@ export declare const CartItemMocks: {
|
|
|
2117
1585
|
annualItem1: {
|
|
2118
1586
|
type: import('../lib/models/cart/types').ProductType;
|
|
2119
1587
|
product: {
|
|
1588
|
+
uid: number;
|
|
1589
|
+
selectedTime: string;
|
|
2120
1590
|
product_type: import('../lib/models/cart/types').ProductType;
|
|
2121
1591
|
type: UITicketType;
|
|
2122
1592
|
shop_order: number;
|
|
2123
|
-
selectedTime: string;
|
|
2124
1593
|
id: number;
|
|
2125
1594
|
title: string;
|
|
2126
1595
|
ticket_type: "time_slot" | "annual" | "normal";
|
|
@@ -2171,8 +1640,9 @@ export declare const CartItemMocks: {
|
|
|
2171
1640
|
dynamic_prices: {
|
|
2172
1641
|
[key: string]: number;
|
|
2173
1642
|
} | null;
|
|
2174
|
-
uid: number;
|
|
2175
1643
|
} | {
|
|
1644
|
+
uid: number;
|
|
1645
|
+
selectedTime: string;
|
|
2176
1646
|
product_type: import('../lib/models/cart/types').ProductType;
|
|
2177
1647
|
type: UITicketType;
|
|
2178
1648
|
shop_order: number;
|
|
@@ -2215,23 +1685,15 @@ export declare const CartItemMocks: {
|
|
|
2215
1685
|
shipped_with_merchandise_id: number | null;
|
|
2216
1686
|
restricted_shop_account: boolean;
|
|
2217
1687
|
cash_point_order: number;
|
|
2218
|
-
capacities: {
|
|
2219
|
-
[key: string]: number;
|
|
2220
|
-
};
|
|
2221
|
-
total_capacities: {
|
|
2222
|
-
[key: string]: number;
|
|
2223
|
-
};
|
|
2224
|
-
max_capacity: number;
|
|
2225
|
-
max_total_capacity: number;
|
|
2226
1688
|
dynamic_prices: {
|
|
2227
1689
|
[key: string]: number;
|
|
2228
1690
|
} | null;
|
|
2229
|
-
uid: number;
|
|
2230
1691
|
} | {
|
|
1692
|
+
uid: number;
|
|
1693
|
+
selectedTime: string;
|
|
2231
1694
|
product_type: import('../lib/models/cart/types').ProductType;
|
|
2232
1695
|
type: UITicketType;
|
|
2233
1696
|
shop_order: number;
|
|
2234
|
-
selectedTime: string;
|
|
2235
1697
|
id: number;
|
|
2236
1698
|
title: string;
|
|
2237
1699
|
ticket_type: "time_slot" | "annual" | "normal";
|
|
@@ -2243,8 +1705,6 @@ export declare const CartItemMocks: {
|
|
|
2243
1705
|
vat_pct: number;
|
|
2244
1706
|
tax_included: boolean;
|
|
2245
1707
|
entry_duration: number | null;
|
|
2246
|
-
min_persons: number;
|
|
2247
|
-
max_persons: number;
|
|
2248
1708
|
quota_ids: number[];
|
|
2249
1709
|
first_entry: number;
|
|
2250
1710
|
last_entry: number;
|
|
@@ -2268,60 +1728,14 @@ export declare const CartItemMocks: {
|
|
|
2268
1728
|
is_sub_ticket: boolean;
|
|
2269
1729
|
created_at: string;
|
|
2270
1730
|
updated_at: string;
|
|
1731
|
+
cash_point_order: number;
|
|
2271
1732
|
shipped_with_merchandise_id: number | null;
|
|
2272
1733
|
restricted_shop_account: boolean;
|
|
2273
|
-
cash_point_order: number;
|
|
2274
|
-
dynamic_prices: {
|
|
2275
|
-
[key: string]: number;
|
|
2276
|
-
} | null;
|
|
2277
|
-
uid: number;
|
|
2278
|
-
} | {
|
|
2279
|
-
product_type: import('../lib/models/cart/types').ProductType;
|
|
2280
|
-
type: UITicketType;
|
|
2281
|
-
shop_order: number;
|
|
2282
|
-
id: number;
|
|
2283
|
-
title: string;
|
|
2284
|
-
ticket_type: "time_slot" | "annual" | "normal";
|
|
2285
|
-
bookable: boolean;
|
|
2286
|
-
museum_ids: number[];
|
|
2287
|
-
exhibition_ids: number[];
|
|
2288
|
-
price_cents: number;
|
|
2289
|
-
discount: number;
|
|
2290
|
-
vat_pct: number;
|
|
2291
|
-
tax_included: boolean;
|
|
2292
|
-
entry_duration: number | null;
|
|
2293
1734
|
min_persons: number;
|
|
2294
1735
|
max_persons: number;
|
|
2295
|
-
|
|
2296
|
-
first_entry: number;
|
|
2297
|
-
last_entry: number;
|
|
2298
|
-
personalizeable: boolean;
|
|
2299
|
-
attendees: boolean | string;
|
|
2300
|
-
identification: boolean | string;
|
|
2301
|
-
free_timing: boolean;
|
|
2302
|
-
is_collective: boolean;
|
|
2303
|
-
is_upgrade: boolean;
|
|
2304
|
-
is_mantle: boolean;
|
|
2305
|
-
description: string | null;
|
|
2306
|
-
sub_ticket_ids: number[];
|
|
2307
|
-
sub_tickets: {
|
|
2308
|
-
[key: string]: {
|
|
2309
|
-
title?: string;
|
|
2310
|
-
min_persons?: number;
|
|
2311
|
-
max_persons?: number;
|
|
2312
|
-
description?: string | null;
|
|
2313
|
-
};
|
|
2314
|
-
} | null;
|
|
2315
|
-
is_sub_ticket: boolean;
|
|
2316
|
-
created_at: string;
|
|
2317
|
-
updated_at: string;
|
|
2318
|
-
shipped_with_merchandise_id: number | null;
|
|
2319
|
-
restricted_shop_account: boolean;
|
|
2320
|
-
cash_point_order: number;
|
|
2321
|
-
dynamic_prices: {
|
|
1736
|
+
dynamic_prices?: {
|
|
2322
1737
|
[key: string]: number;
|
|
2323
1738
|
} | null;
|
|
2324
|
-
uid: number;
|
|
2325
1739
|
};
|
|
2326
1740
|
orderAttributes(): {
|
|
2327
1741
|
shipped_with_merchandise_id: null;
|
|
@@ -2338,7 +1752,8 @@ export declare const CartItemMocks: {
|
|
|
2338
1752
|
};
|
|
2339
1753
|
};
|
|
2340
1754
|
uuid: string;
|
|
2341
|
-
|
|
1755
|
+
subUId: string;
|
|
1756
|
+
toString(): string;
|
|
2342
1757
|
price_cents: number;
|
|
2343
1758
|
price_formatted: string;
|
|
2344
1759
|
final_price_cents: number;
|
|
@@ -2351,10 +1766,11 @@ export declare const CartItemMocks: {
|
|
|
2351
1766
|
annualItem2: {
|
|
2352
1767
|
type: import('../lib/models/cart/types').ProductType;
|
|
2353
1768
|
product: {
|
|
1769
|
+
uid: number;
|
|
1770
|
+
selectedTime: string;
|
|
2354
1771
|
product_type: import('../lib/models/cart/types').ProductType;
|
|
2355
1772
|
type: UITicketType;
|
|
2356
1773
|
shop_order: number;
|
|
2357
|
-
selectedTime: string;
|
|
2358
1774
|
id: number;
|
|
2359
1775
|
title: string;
|
|
2360
1776
|
ticket_type: "time_slot" | "annual" | "normal";
|
|
@@ -2405,8 +1821,9 @@ export declare const CartItemMocks: {
|
|
|
2405
1821
|
dynamic_prices: {
|
|
2406
1822
|
[key: string]: number;
|
|
2407
1823
|
} | null;
|
|
2408
|
-
uid: number;
|
|
2409
1824
|
} | {
|
|
1825
|
+
uid: number;
|
|
1826
|
+
selectedTime: string;
|
|
2410
1827
|
product_type: import('../lib/models/cart/types').ProductType;
|
|
2411
1828
|
type: UITicketType;
|
|
2412
1829
|
shop_order: number;
|
|
@@ -2449,23 +1866,15 @@ export declare const CartItemMocks: {
|
|
|
2449
1866
|
shipped_with_merchandise_id: number | null;
|
|
2450
1867
|
restricted_shop_account: boolean;
|
|
2451
1868
|
cash_point_order: number;
|
|
2452
|
-
capacities: {
|
|
2453
|
-
[key: string]: number;
|
|
2454
|
-
};
|
|
2455
|
-
total_capacities: {
|
|
2456
|
-
[key: string]: number;
|
|
2457
|
-
};
|
|
2458
|
-
max_capacity: number;
|
|
2459
|
-
max_total_capacity: number;
|
|
2460
1869
|
dynamic_prices: {
|
|
2461
1870
|
[key: string]: number;
|
|
2462
1871
|
} | null;
|
|
2463
|
-
uid: number;
|
|
2464
1872
|
} | {
|
|
1873
|
+
uid: number;
|
|
1874
|
+
selectedTime: string;
|
|
2465
1875
|
product_type: import('../lib/models/cart/types').ProductType;
|
|
2466
1876
|
type: UITicketType;
|
|
2467
1877
|
shop_order: number;
|
|
2468
|
-
selectedTime: string;
|
|
2469
1878
|
id: number;
|
|
2470
1879
|
title: string;
|
|
2471
1880
|
ticket_type: "time_slot" | "annual" | "normal";
|
|
@@ -2477,8 +1886,6 @@ export declare const CartItemMocks: {
|
|
|
2477
1886
|
vat_pct: number;
|
|
2478
1887
|
tax_included: boolean;
|
|
2479
1888
|
entry_duration: number | null;
|
|
2480
|
-
min_persons: number;
|
|
2481
|
-
max_persons: number;
|
|
2482
1889
|
quota_ids: number[];
|
|
2483
1890
|
first_entry: number;
|
|
2484
1891
|
last_entry: number;
|
|
@@ -2502,60 +1909,14 @@ export declare const CartItemMocks: {
|
|
|
2502
1909
|
is_sub_ticket: boolean;
|
|
2503
1910
|
created_at: string;
|
|
2504
1911
|
updated_at: string;
|
|
1912
|
+
cash_point_order: number;
|
|
2505
1913
|
shipped_with_merchandise_id: number | null;
|
|
2506
1914
|
restricted_shop_account: boolean;
|
|
2507
|
-
cash_point_order: number;
|
|
2508
|
-
dynamic_prices: {
|
|
2509
|
-
[key: string]: number;
|
|
2510
|
-
} | null;
|
|
2511
|
-
uid: number;
|
|
2512
|
-
} | {
|
|
2513
|
-
product_type: import('../lib/models/cart/types').ProductType;
|
|
2514
|
-
type: UITicketType;
|
|
2515
|
-
shop_order: number;
|
|
2516
|
-
id: number;
|
|
2517
|
-
title: string;
|
|
2518
|
-
ticket_type: "time_slot" | "annual" | "normal";
|
|
2519
|
-
bookable: boolean;
|
|
2520
|
-
museum_ids: number[];
|
|
2521
|
-
exhibition_ids: number[];
|
|
2522
|
-
price_cents: number;
|
|
2523
|
-
discount: number;
|
|
2524
|
-
vat_pct: number;
|
|
2525
|
-
tax_included: boolean;
|
|
2526
|
-
entry_duration: number | null;
|
|
2527
1915
|
min_persons: number;
|
|
2528
1916
|
max_persons: number;
|
|
2529
|
-
|
|
2530
|
-
first_entry: number;
|
|
2531
|
-
last_entry: number;
|
|
2532
|
-
personalizeable: boolean;
|
|
2533
|
-
attendees: boolean | string;
|
|
2534
|
-
identification: boolean | string;
|
|
2535
|
-
free_timing: boolean;
|
|
2536
|
-
is_collective: boolean;
|
|
2537
|
-
is_upgrade: boolean;
|
|
2538
|
-
is_mantle: boolean;
|
|
2539
|
-
description: string | null;
|
|
2540
|
-
sub_ticket_ids: number[];
|
|
2541
|
-
sub_tickets: {
|
|
2542
|
-
[key: string]: {
|
|
2543
|
-
title?: string;
|
|
2544
|
-
min_persons?: number;
|
|
2545
|
-
max_persons?: number;
|
|
2546
|
-
description?: string | null;
|
|
2547
|
-
};
|
|
2548
|
-
} | null;
|
|
2549
|
-
is_sub_ticket: boolean;
|
|
2550
|
-
created_at: string;
|
|
2551
|
-
updated_at: string;
|
|
2552
|
-
shipped_with_merchandise_id: number | null;
|
|
2553
|
-
restricted_shop_account: boolean;
|
|
2554
|
-
cash_point_order: number;
|
|
2555
|
-
dynamic_prices: {
|
|
1917
|
+
dynamic_prices?: {
|
|
2556
1918
|
[key: string]: number;
|
|
2557
1919
|
} | null;
|
|
2558
|
-
uid: number;
|
|
2559
1920
|
};
|
|
2560
1921
|
orderAttributes(): {
|
|
2561
1922
|
shipped_with_merchandise_id: null;
|
|
@@ -2572,7 +1933,8 @@ export declare const CartItemMocks: {
|
|
|
2572
1933
|
};
|
|
2573
1934
|
};
|
|
2574
1935
|
uuid: string;
|
|
2575
|
-
|
|
1936
|
+
subUId: string;
|
|
1937
|
+
toString(): string;
|
|
2576
1938
|
price_cents: number;
|
|
2577
1939
|
price_formatted: string;
|
|
2578
1940
|
final_price_cents: number;
|
|
@@ -2582,7 +1944,7 @@ export declare const CartItemMocks: {
|
|
|
2582
1944
|
quantity: number;
|
|
2583
1945
|
time: string;
|
|
2584
1946
|
};
|
|
2585
|
-
eventScaledItem1: {
|
|
1947
|
+
eventScaledItem1: () => {
|
|
2586
1948
|
type: import('../lib/models/cart/types').ProductType;
|
|
2587
1949
|
product: {
|
|
2588
1950
|
type: "scale";
|
|
@@ -2602,6 +1964,8 @@ export declare const CartItemMocks: {
|
|
|
2602
1964
|
tax_included: boolean;
|
|
2603
1965
|
product_type: import('../lib/models/cart/types').ProductType;
|
|
2604
1966
|
uid: number;
|
|
1967
|
+
dateId: number;
|
|
1968
|
+
scalePriceId: number;
|
|
2605
1969
|
} | {
|
|
2606
1970
|
type: "scale";
|
|
2607
1971
|
product_type: import('../lib/models/cart/types').ProductType;
|
|
@@ -2617,6 +1981,8 @@ export declare const CartItemMocks: {
|
|
|
2617
1981
|
id: number;
|
|
2618
1982
|
tax_included: boolean;
|
|
2619
1983
|
uid: number;
|
|
1984
|
+
dateId: number;
|
|
1985
|
+
scalePriceId: number;
|
|
2620
1986
|
};
|
|
2621
1987
|
orderAttributes(): {
|
|
2622
1988
|
shipped_with_merchandise_id: null;
|
|
@@ -2633,7 +1999,8 @@ export declare const CartItemMocks: {
|
|
|
2633
1999
|
};
|
|
2634
2000
|
};
|
|
2635
2001
|
uuid: string;
|
|
2636
|
-
|
|
2002
|
+
subUId: string;
|
|
2003
|
+
toString(): string;
|
|
2637
2004
|
price_cents: number;
|
|
2638
2005
|
price_formatted: string;
|
|
2639
2006
|
final_price_cents: number;
|
|
@@ -2655,3 +2022,81 @@ export declare const ShopMocks: {
|
|
|
2655
2022
|
export declare const LocationMocks: {
|
|
2656
2023
|
mockAssign: () => import('vitest').Mock<(...args: any[]) => any>;
|
|
2657
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
|
+
};
|