@gomusdev/web-components 3.2.0 → 3.3.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.
@@ -37,6 +37,15 @@ export declare function createMockUITicket(): {
37
37
  description?: string | null;
38
38
  };
39
39
  } | null;
40
+ optional_subordinates: {
41
+ accounting_article_id: number;
42
+ accounting_article_type: string;
43
+ number: string;
44
+ name: string;
45
+ price_cents: number;
46
+ vat_pct: number;
47
+ default_included: boolean;
48
+ }[];
40
49
  is_sub_ticket: boolean;
41
50
  created_at: string;
42
51
  updated_at: string;
@@ -93,6 +102,15 @@ export declare function createMockUITicket(): {
93
102
  description?: string | null;
94
103
  };
95
104
  } | null;
105
+ optional_subordinates: {
106
+ accounting_article_id: number;
107
+ accounting_article_type: string;
108
+ number: string;
109
+ name: string;
110
+ price_cents: number;
111
+ vat_pct: number;
112
+ default_included: boolean;
113
+ }[];
96
114
  is_sub_ticket: boolean;
97
115
  created_at: string;
98
116
  updated_at: string;
@@ -139,6 +157,15 @@ export declare function createMockUITicket(): {
139
157
  description?: string | null;
140
158
  };
141
159
  } | null;
160
+ optional_subordinates: {
161
+ accounting_article_id: number;
162
+ accounting_article_type: string;
163
+ number: string;
164
+ name: string;
165
+ price_cents: number;
166
+ vat_pct: number;
167
+ default_included: boolean;
168
+ }[];
142
169
  is_sub_ticket: boolean;
143
170
  created_at: string;
144
171
  updated_at: string;
File without changes
@@ -45,6 +45,15 @@ export declare function createUITicket(apiTicket: Ticket | AnnualTicket | Normal
45
45
  description?: string | null;
46
46
  };
47
47
  } | null;
48
+ optional_subordinates: {
49
+ accounting_article_id: number;
50
+ accounting_article_type: string;
51
+ number: string;
52
+ name: string;
53
+ price_cents: number;
54
+ vat_pct: number;
55
+ default_included: boolean;
56
+ }[];
48
57
  is_sub_ticket: boolean;
49
58
  created_at: string;
50
59
  updated_at: string;
@@ -101,6 +110,15 @@ export declare function createUITicket(apiTicket: Ticket | AnnualTicket | Normal
101
110
  description?: string | null;
102
111
  };
103
112
  } | null;
113
+ optional_subordinates: {
114
+ accounting_article_id: number;
115
+ accounting_article_type: string;
116
+ number: string;
117
+ name: string;
118
+ price_cents: number;
119
+ vat_pct: number;
120
+ default_included: boolean;
121
+ }[];
104
122
  is_sub_ticket: boolean;
105
123
  created_at: string;
106
124
  updated_at: string;
@@ -147,6 +165,15 @@ export declare function createUITicket(apiTicket: Ticket | AnnualTicket | Normal
147
165
  description?: string | null;
148
166
  };
149
167
  } | null;
168
+ optional_subordinates: {
169
+ accounting_article_id: number;
170
+ accounting_article_type: string;
171
+ number: string;
172
+ name: string;
173
+ price_cents: number;
174
+ vat_pct: number;
175
+ default_included: boolean;
176
+ }[];
150
177
  is_sub_ticket: boolean;
151
178
  created_at: string;
152
179
  updated_at: string;
@@ -6,8 +6,9 @@ import { Auth } from '../../../lib/stores/auth.svelte.ts';
6
6
  import { User } from '../../../lib/stores/user.svelte.ts';
7
7
  import { OpenApiClient } from '@gomus/api';
8
8
  import { TicketsAndQuotasParams, TicketsCalendarParams, TicketsParams } from '@gomus/api/lib/types.ts';
9
- import { CapacitiesResponse, CheckoutParams, CheckoutResponse, Country, Event, Exhibition, FinalizePersonalizationParams, FinalizePersonalizationResponse, LocaleOptions, Merchandise, Museum, PasswordResetResponse, PasswordUpdateResponse, PostCartParams, PostCartResponse, Salutation, ShopType, SignInParams, SignInResponse, SignUpParams, SignUpResponse, Tour, UploadPersonalizationPhotoResponse, ValidateTokenResponse } from '@gomus/types';
9
+ import { CapacitiesResponse, CheckoutParams, CheckoutResponse, Country, Event, Exhibition, FinalizePersonalizationParams, FinalizePersonalizationResponse, LocaleOptions, Merchandise, Museum, PasswordResetResponse, PasswordUpdateResponse, PostCartParams, PostCartResponse, Salutation, ShopType, SignInParams, SignInResponse, SignUpParams, SignUpResponse, Tour, UploadPersonalizationPhotoResponse, ValidateTokenResponse, WithdrawalParams, WithdrawalResponse } from '@gomus/types';
10
10
  export type ShopKind = 'angular' | 'jmb';
11
+ type ParseAs = 'json' | 'text' | 'blob' | 'arrayBuffer' | 'stream';
11
12
  export declare class Shop {
12
13
  #private;
13
14
  type: ShopKind;
@@ -354,6 +355,15 @@ export declare class Shop {
354
355
  description?: string | null;
355
356
  };
356
357
  } | null;
358
+ optional_subordinates: {
359
+ accounting_article_id: number;
360
+ accounting_article_type: string;
361
+ number: string;
362
+ name: string;
363
+ price_cents: number;
364
+ vat_pct: number;
365
+ default_included: boolean;
366
+ }[];
357
367
  is_sub_ticket: boolean;
358
368
  created_at: string;
359
369
  updated_at: string;
@@ -369,6 +379,7 @@ export declare class Shop {
369
379
  }[];
370
380
  signIn(params: SignInParams): Promise<SignInResponse>;
371
381
  signUp(params: SignUpParams, asGuest?: boolean): Promise<SignUpResponse>;
382
+ withdrawal(params: WithdrawalParams): Promise<WithdrawalResponse>;
372
383
  getDates(query: {
373
384
  q?: string;
374
385
  by_bookable?: boolean;
@@ -791,6 +802,7 @@ export declare class Shop {
791
802
  body: Record<string, any>;
792
803
  params?: Record<string, unknown>;
793
804
  requiredFields?: string[];
805
+ parseAs?: ParseAs;
794
806
  }): Promise<T>;
795
807
  apiPut<T>(path: string, options: {
796
808
  body: Record<string, any>;
@@ -811,6 +823,7 @@ export declare class Shop {
811
823
  body: Record<string, any>;
812
824
  params?: Record<string, unknown>;
813
825
  requiredFields?: string[];
826
+ parseAs?: ParseAs;
814
827
  }): Promise<T>;
815
828
  /**
816
829
  * Executes the provided method asynchronously, waits for all dependent fetch operations to complete,
@@ -821,3 +834,4 @@ export declare class Shop {
821
834
  apiGet(path: `/api${string}`, query?: Record<string, unknown>, pathOptions?: Record<string, unknown>): Promise<{}>;
822
835
  }
823
836
  export declare const shop: Shop;
837
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -36,6 +36,15 @@ export declare const mockedTicketsAndQuotas: {
36
36
  description?: string | null;
37
37
  };
38
38
  } | null;
39
+ optional_subordinates: {
40
+ accounting_article_id: number;
41
+ accounting_article_type: string;
42
+ number: string;
43
+ name: string;
44
+ price_cents: number;
45
+ vat_pct: number;
46
+ default_included: boolean;
47
+ }[];
39
48
  is_sub_ticket: boolean;
40
49
  created_at: string;
41
50
  updated_at: string;
@@ -89,6 +98,15 @@ export declare const mockedTicketsAndQuotas: {
89
98
  description?: string | null;
90
99
  };
91
100
  } | null;
101
+ optional_subordinates: {
102
+ accounting_article_id: number;
103
+ accounting_article_type: string;
104
+ number: string;
105
+ name: string;
106
+ price_cents: number;
107
+ vat_pct: number;
108
+ default_included: boolean;
109
+ }[];
92
110
  is_sub_ticket: boolean;
93
111
  created_at: string;
94
112
  updated_at: string;
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "name": "Giantmonkey GmbH"
5
5
  },
6
6
  "license": "MIT",
7
- "version": "3.2.0",
7
+ "version": "3.3.1",
8
8
  "type": "module",
9
9
  "main": "./dist-js/gomus-webcomponents.iife.js",
10
10
  "module": "./dist-js/gomus-webcomponents.iife.js",