@gomusdev/web-components 1.19.0 → 1.20.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.
@@ -0,0 +1 @@
1
+ export { SvelteComponent as default } from 'svelte';
@@ -0,0 +1 @@
1
+ export { SvelteComponent as default } from 'svelte';
@@ -0,0 +1 @@
1
+ export { SvelteComponent as default } from 'svelte';
@@ -0,0 +1 @@
1
+ export { SvelteComponent as default } from 'svelte';
File without changes
@@ -0,0 +1,129 @@
1
+ import { OrderItem } from '@gomus/types';
2
+ export declare class OrderDetails {
3
+ token: string | undefined;
4
+ constructor(token: string);
5
+ get order(): {
6
+ id: number;
7
+ billing_address_id: number;
8
+ shipping_address_id: number | null;
9
+ korona_customer_number: string | null;
10
+ cash_point_comment: string | null;
11
+ customer_comment: string | null;
12
+ token: string;
13
+ is_valid: boolean;
14
+ total_price_cents: number;
15
+ payment_status: number;
16
+ comment: string | null;
17
+ reference: string | null;
18
+ rating: string | null;
19
+ invoice: boolean;
20
+ updateable_by_cash_point: boolean;
21
+ canceled: boolean;
22
+ splitable: boolean;
23
+ reserved_until: string | null;
24
+ created_at: string;
25
+ canceled_at: string | null;
26
+ source: string;
27
+ payment_mode: {
28
+ id?: number | undefined;
29
+ name?: string | undefined;
30
+ };
31
+ payment: {
32
+ payment_id?: number | null | undefined;
33
+ provider_id?: number | null | undefined;
34
+ provider_name?: string | null | undefined;
35
+ message?: string | null | undefined;
36
+ };
37
+ donations: {
38
+ id: number;
39
+ donation_cents: number;
40
+ }[];
41
+ customer: {
42
+ category_id: number | null;
43
+ created_at: string;
44
+ customer_title_id: number | null;
45
+ debitor_number: string | null;
46
+ email: string;
47
+ fax: string | null;
48
+ has_collective_invoice_payment: boolean;
49
+ has_voucher_payment: boolean;
50
+ id: number;
51
+ institution: string | null;
52
+ is_institution: boolean;
53
+ language_id: number | null;
54
+ level: number;
55
+ mobile: string | null;
56
+ name: string;
57
+ notes: string | null;
58
+ payment_mode_id: number | null;
59
+ price_target_audience_id: number | null;
60
+ provider: string;
61
+ surname: string;
62
+ tel: string | null;
63
+ updated_at: string;
64
+ newsletter_groups: string;
65
+ wants_newsletter: boolean;
66
+ salutation: string | null;
67
+ customer_salutation_id: number | null;
68
+ };
69
+ items: {
70
+ id: number;
71
+ type: string;
72
+ splitable?: boolean | undefined;
73
+ price_cents: number;
74
+ vat_pct: number;
75
+ tax_included: boolean;
76
+ canceled: boolean;
77
+ attributes: {
78
+ id: number;
79
+ ticket_id: number;
80
+ is_voucher: boolean;
81
+ voucher_id: number | null;
82
+ quantity: number;
83
+ start_time: string;
84
+ canceled_at: string | null;
85
+ ticket_type: "time_slot";
86
+ passbooks: boolean;
87
+ accounting_article_usings: never[];
88
+ location: string | null;
89
+ title: string;
90
+ after_sale_information: string | null;
91
+ description: string | null;
92
+ barcodes: {
93
+ id?: number | undefined;
94
+ barcode?: string | undefined;
95
+ method?: string | undefined;
96
+ }[];
97
+ ical: boolean;
98
+ is_collective: boolean;
99
+ is_personalizable: boolean;
100
+ sub_ticket_times: {
101
+ [x: string]: never;
102
+ } | null;
103
+ sub_ticket_quantities: {
104
+ [x: string]: never;
105
+ } | null;
106
+ sub_ticket_sales: never[];
107
+ } | {
108
+ id: number;
109
+ coupon_id: number;
110
+ accounting_article_usings: never[];
111
+ quantity: number;
112
+ barcodes: {
113
+ id?: number | undefined;
114
+ barcode?: string | undefined;
115
+ method?: string | undefined;
116
+ }[];
117
+ title: string;
118
+ description: string;
119
+ value_cents: number;
120
+ canceled_at: string | null;
121
+ };
122
+ }[];
123
+ } | undefined;
124
+ downloadLink(item: OrderItem): string | undefined;
125
+ }
126
+ export declare const setDetails: (host: HTMLElement, details: OrderDetails) => void;
127
+ export declare const getDetails: (host: HTMLElement, options?: {
128
+ pollDuration: number;
129
+ }) => import('../../../lib/helpers/context.svelte').DetailsWrapper<OrderDetails>;