@gomusdev/web-components 1.43.0 → 1.45.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.
@@ -7,6 +7,9 @@ export declare class Details {
7
7
  museum_id: number;
8
8
  exhibition_id: number | null;
9
9
  foreign_id: string | null;
10
+ min_persons?: number;
11
+ max_persons?: number;
12
+ max_participants?: number;
10
13
  title: string;
11
14
  sub_title: string | null;
12
15
  created_at: string;
@@ -37,6 +40,7 @@ export declare class Details {
37
40
  sellabilities: import('@gomus/types').components["schemas"]["time_frame"][];
38
41
  documents: import('@gomus/types').components["schemas"]["document"][];
39
42
  content: Record<string, never>;
43
+ entry_fee: 0 | 10 | 20 | 100;
40
44
  } | undefined;
41
45
  }
42
46
  export declare const setDetails: (host: HTMLElement, details: Details) => void;
@@ -66,9 +66,9 @@ export declare class OrderDetails {
66
66
  salutation: string | null;
67
67
  customer_salutation_id: number | null;
68
68
  };
69
- items: {
69
+ items: ({
70
70
  id: number;
71
- type: string;
71
+ type: "Ticket";
72
72
  splitable?: boolean | undefined;
73
73
  price_cents: number;
74
74
  vat_pct: number;
@@ -82,7 +82,7 @@ export declare class OrderDetails {
82
82
  quantity: number;
83
83
  start_time: string;
84
84
  canceled_at: string | null;
85
- ticket_type: "time_slot";
85
+ ticket_type: "normal" | "time_slot" | "annual";
86
86
  passbooks: boolean;
87
87
  accounting_article_usings: never[];
88
88
  location: string | null;
@@ -93,18 +93,121 @@ export declare class OrderDetails {
93
93
  id?: number | undefined;
94
94
  barcode?: string | undefined;
95
95
  method?: string | undefined;
96
+ passbook_url?: string | null | undefined;
96
97
  }[];
97
98
  ical: boolean;
99
+ ical_url: string | null;
98
100
  is_collective: boolean;
99
101
  is_personalizable: boolean;
100
102
  sub_ticket_times: {
101
103
  [x: string]: never;
102
- } | null;
104
+ };
103
105
  sub_ticket_quantities: {
104
106
  [x: string]: never;
105
- } | null;
107
+ };
106
108
  sub_ticket_sales: never[];
107
- } | {
109
+ };
110
+ } | {
111
+ id: number;
112
+ type: "Tour";
113
+ splitable?: boolean | undefined;
114
+ price_cents: number;
115
+ vat_pct: number;
116
+ tax_included: boolean;
117
+ canceled: boolean;
118
+ attributes: {
119
+ id: number;
120
+ title: string;
121
+ tour_id: number;
122
+ accounting_article_usings: never[];
123
+ start_time: string;
124
+ participants: number;
125
+ equipments: {
126
+ id?: number | undefined;
127
+ type?: string | undefined;
128
+ quantity?: number | undefined;
129
+ }[] | null;
130
+ language: string | null;
131
+ age_group: string | null;
132
+ prices: {
133
+ title?: string | undefined;
134
+ description?: string | null | undefined;
135
+ total_price_cents?: number | undefined;
136
+ quantity?: number | undefined;
137
+ price_cents?: number | undefined;
138
+ }[];
139
+ comment: string | null;
140
+ location: string | null;
141
+ reservations: never[];
142
+ barcode: {
143
+ id?: number | undefined;
144
+ barcode?: string | undefined;
145
+ method?: string | undefined;
146
+ passbook_url?: string | null | undefined;
147
+ };
148
+ ical: boolean;
149
+ ical_url: string | null;
150
+ entry_fee: boolean;
151
+ free_entry: boolean;
152
+ children_pay_entry: boolean;
153
+ canceled_at: string | null;
154
+ duration: number | null;
155
+ meeting_point: string | null;
156
+ };
157
+ } | {
158
+ id: number;
159
+ type: "Event";
160
+ splitable?: boolean | undefined;
161
+ price_cents: number;
162
+ vat_pct: number;
163
+ tax_included: boolean;
164
+ canceled: boolean;
165
+ attributes: {
166
+ id: number;
167
+ date_id: number;
168
+ event_id: number;
169
+ accounting_article_usings: never[];
170
+ start_time: string;
171
+ location: string | null;
172
+ title: string;
173
+ comment: string | null;
174
+ reservations: never[];
175
+ barcode: {
176
+ id?: number | undefined;
177
+ barcode?: string | undefined;
178
+ method?: string | undefined;
179
+ passbook_url?: string | null | undefined;
180
+ };
181
+ barcodes: {
182
+ id?: number | undefined;
183
+ barcode?: string | undefined;
184
+ method?: string | undefined;
185
+ passbook_url?: string | null | undefined;
186
+ }[];
187
+ ical: boolean;
188
+ ical_url: string | null;
189
+ canceled_at: string | null;
190
+ language: string | null;
191
+ duration: number | null;
192
+ meeting_point: string | null;
193
+ quantities?: {
194
+ id?: number | undefined;
195
+ title?: string | undefined;
196
+ price_cents?: number | undefined;
197
+ quantity?: number | undefined;
198
+ total_price_cents?: number | undefined;
199
+ }[] | null | undefined;
200
+ quantity?: number | null | undefined;
201
+ };
202
+ } | {
203
+ id: number;
204
+ type: "Coupon";
205
+ splitable?: boolean | undefined;
206
+ price_cents: number;
207
+ vat_pct: number;
208
+ tax_included: boolean;
209
+ canceled: boolean;
210
+ attributes: {
108
211
  id: number;
109
212
  coupon_id: number;
110
213
  accounting_article_usings: never[];
@@ -113,13 +216,48 @@ export declare class OrderDetails {
113
216
  id?: number | undefined;
114
217
  barcode?: string | undefined;
115
218
  method?: string | undefined;
219
+ passbook_url?: string | null | undefined;
116
220
  }[];
117
221
  title: string;
118
222
  description: string;
119
223
  value_cents: number;
120
224
  canceled_at: string | null;
121
225
  };
122
- }[];
226
+ } | {
227
+ id: number;
228
+ type: "Merchandise";
229
+ splitable?: boolean | undefined;
230
+ price_cents: number;
231
+ vat_pct: number;
232
+ tax_included: boolean;
233
+ canceled: boolean;
234
+ attributes: {
235
+ id: number;
236
+ merchandise_id: number;
237
+ accounting_article_usings: never[];
238
+ quantity: number;
239
+ title: string;
240
+ description: string | null;
241
+ canceled_at: string | null;
242
+ };
243
+ } | {
244
+ id: number;
245
+ type: "AccountingArticle";
246
+ splitable?: boolean | undefined;
247
+ price_cents: number;
248
+ vat_pct: number;
249
+ tax_included: boolean;
250
+ canceled: boolean;
251
+ attributes: {
252
+ id: number;
253
+ accounting_article_usings: never[];
254
+ quantity: number;
255
+ title: string;
256
+ canceled_at: string | null;
257
+ parent_type: string | null;
258
+ parent_id: number | null;
259
+ };
260
+ })[];
123
261
  } | undefined;
124
262
  downloadLink(item: OrderItem, barcodeId?: number): string | undefined;
125
263
  }