@gomusdev/web-components 0.0.23 → 1.0.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.
Files changed (152) hide show
  1. package/package.json +7 -1
  2. package/dist-js/components/cart/components/Cart.spec.d.ts +0 -1
  3. package/dist-js/components/cart/components/Cart.svelte.d.ts +0 -1
  4. package/dist-js/components/cart/entry.d.ts +0 -0
  5. package/dist-js/components/cart/lib/CartItem.d.ts +0 -135
  6. package/dist-js/components/cart/lib/cart.svelte.d.ts +0 -564
  7. package/dist-js/components/cart/lib/cart.svelte.spec.d.ts +0 -1
  8. package/dist-js/components/cart/lib/localStorage.spec.d.ts +0 -1
  9. package/dist-js/components/cart/lib/localStorage.svelte.d.ts +0 -146
  10. package/dist-js/components/cart/mocks/gomusTicketMocks.d.ts +0 -112
  11. package/dist-js/components/cart/mocks/testCart.d.ts +0 -306
  12. package/dist-js/components/donations/lib/donation.spec.d.ts +0 -1
  13. package/dist-js/components/donations/lib/donation.svelte.d.ts +0 -9
  14. package/dist-js/components/entry.d.ts +0 -0
  15. package/dist-js/components/forms/entry.d.ts +0 -0
  16. package/dist-js/components/forms/lib/Field.svelte.d.ts +0 -26
  17. package/dist-js/components/forms/lib/allFields.d.ts +0 -3
  18. package/dist-js/components/forms/lib/details.svelte.d.ts +0 -11
  19. package/dist-js/components/forms/lib/forms.svelte.d.ts +0 -19
  20. package/dist-js/components/forms/ui/Signup.svelte.d.ts +0 -1
  21. package/dist-js/components/forms/ui/generic/AllFields.svelte.d.ts +0 -1
  22. package/dist-js/components/forms/ui/generic/ErrorsFeedback.svelte.d.ts +0 -1
  23. package/dist-js/components/forms/ui/generic/FieldGroup.svelte.d.ts +0 -1
  24. package/dist-js/components/forms/ui/generic/Form.svelte.d.ts +0 -1
  25. package/dist-js/components/forms/ui/generic/FormFeedback.svelte.d.ts +0 -1
  26. package/dist-js/components/forms/ui/generic/InputAndLabel.svelte.d.ts +0 -1
  27. package/dist-js/components/forms/ui/generic/Submit.spec.d.ts +0 -1
  28. package/dist-js/components/forms/ui/generic/Submit.svelte.d.ts +0 -1
  29. package/dist-js/components/forms/ui/generic/SuccessFeedback.svelte.d.ts +0 -1
  30. package/dist-js/components/forms/ui/specs/TestForm.spec.d.ts +0 -1
  31. package/dist-js/components/graveyard/event/entry.d.ts +0 -0
  32. package/dist-js/components/graveyard/event/lib.svelte.d.ts +0 -43
  33. package/dist-js/components/graveyard/events/entry.d.ts +0 -0
  34. package/dist-js/components/if/If.svelte.d.ts +0 -1
  35. package/dist-js/components/if/If.svelte.spec.d.ts +0 -1
  36. package/dist-js/components/if/entry.d.ts +0 -0
  37. package/dist-js/components/if/expression.d.ts +0 -1
  38. package/dist-js/components/if/expression.spec.d.ts +0 -1
  39. package/dist-js/components/init/GomusInit.svelte.d.ts +0 -1
  40. package/dist-js/components/init/GomusInit.test.d.ts +0 -1
  41. package/dist-js/components/init/Init.svelte.d.ts +0 -1
  42. package/dist-js/components/init/entry.d.ts +0 -0
  43. package/dist-js/components/mainnav/components/MainNav.spec.d.ts +0 -1
  44. package/dist-js/components/mainnav/fixtures/fixtures.d.ts +0 -2
  45. package/dist-js/components/mainnav/lib/generators/generate.d.ts +0 -4
  46. package/dist-js/components/mainnav/lib/generators/generate.spec.d.ts +0 -1
  47. package/dist-js/components/mainnav/lib/generators/labelGenerators.d.ts +0 -2
  48. package/dist-js/components/mainnav/lib/generators/navGenerators.d.ts +0 -2
  49. package/dist-js/components/mainnav/lib/generators/subNavGenerators.d.ts +0 -7
  50. package/dist-js/components/mainnav/lib/generators/urlGenerators.d.ts +0 -2
  51. package/dist-js/components/mainnav/lib/navigation.d.ts +0 -32
  52. package/dist-js/components/mainnav/lib/navigation.spec.d.ts +0 -1
  53. package/dist-js/components/mainnav/lib/states/OpenedDropdown.svelte.d.ts +0 -20
  54. package/dist-js/components/mainnav/lib/states/pageState.svelte.d.ts +0 -7
  55. package/dist-js/components/paypal/lib/PaymentError.d.ts +0 -3
  56. package/dist-js/components/paypal/lib/approvePaypalOrder.d.ts +0 -4
  57. package/dist-js/components/paypal/lib/getPaypalOrder.d.ts +0 -1
  58. package/dist-js/components/paypal/payment-method-component/paymentIcons.d.ts +0 -14
  59. package/dist-js/components/paypal/payment-method-component/paymentMethodStore.svelte.d.ts +0 -3
  60. package/dist-js/components/paypal/payment-methods/apm.d.ts +0 -3
  61. package/dist-js/components/paypal/payment-methods/applepay/applePay.d.ts +0 -2
  62. package/dist-js/components/paypal/payment-methods/currentOrder.svelte.d.ts +0 -3
  63. package/dist-js/components/paypal/payment-methods/defaults.d.ts +0 -28
  64. package/dist-js/components/paypal/payment-methods/googlepay/googlePay.d.ts +0 -2
  65. package/dist-js/components/paypal/payment-methods/loadPaypalScript.d.ts +0 -5
  66. package/dist-js/components/ticketSelection/SpecUtils.d.ts +0 -3
  67. package/dist-js/components/ticketSelection/TicketSelection.spec.d.ts +0 -1
  68. package/dist-js/components/ticketSelection/TicketSelection.svelte.d.ts +0 -1
  69. package/dist-js/components/ticketSelection/TicketSelectionDetails.spec.d.ts +0 -1
  70. package/dist-js/components/ticketSelection/TicketSelectionDetails.svelte.d.ts +0 -26
  71. package/dist-js/components/ticketSelection/entry.d.ts +0 -0
  72. package/dist-js/components/ticketSelection/subcomponents/addToCartButton/AddToCartButton.spec.d.ts +0 -1
  73. package/dist-js/components/ticketSelection/subcomponents/addToCartButton/AddToCartButton.svelte.d.ts +0 -6
  74. package/dist-js/components/ticketSelection/subcomponents/addToCartButton/AddToCartButton.svelte.spec.d.ts +0 -1
  75. package/dist-js/components/ticketSelection/subcomponents/addToCartButton/entry.d.ts +0 -0
  76. package/dist-js/components/ticketSelection/subcomponents/calendar/components/Calendar.svelte.d.ts +0 -1
  77. package/dist-js/components/ticketSelection/subcomponents/calendar/components/CalendarUI.spec.d.ts +0 -1
  78. package/dist-js/components/ticketSelection/subcomponents/calendar/components/CalendarUI.svelte.d.ts +0 -1
  79. package/dist-js/components/ticketSelection/subcomponents/calendar/entry.d.ts +0 -0
  80. package/dist-js/components/ticketSelection/subcomponents/calendar/lib/calendar.svelte.d.ts +0 -35
  81. package/dist-js/components/ticketSelection/subcomponents/calendar/mocks/datesMock.d.ts +0 -33
  82. package/dist-js/components/ticketSelection/subcomponents/tickets/Tickets.spec.d.ts +0 -1
  83. package/dist-js/components/ticketSelection/subcomponents/tickets/Tickets.svelte.d.ts +0 -1
  84. package/dist-js/components/ticketSelection/subcomponents/tickets/entry.d.ts +0 -0
  85. package/dist-js/components/ticketSelection/subcomponents/tickets/fixtures/ticketFixtures.d.ts +0 -191
  86. package/dist-js/components/ticketSelection/subcomponents/tickets/subcomponents/GroupBody.svelte.d.ts +0 -1
  87. package/dist-js/components/ticketSelection/subcomponents/tickets/subcomponents/GroupSum.svelte.d.ts +0 -1
  88. package/dist-js/components/ticketSelection/subcomponents/tickets/subcomponents/TicketGroup.svelte.d.ts +0 -626
  89. package/dist-js/components/ticketSelection/subcomponents/tickets/subcomponents/TicketsSum.svelte.d.ts +0 -1
  90. package/dist-js/components/ticketSelection/subcomponents/tickets/subcomponents/addToCartButton/entry.d.ts +0 -0
  91. package/dist-js/components/ticketSelection/subcomponents/tickets/subcomponents/utils.spec.d.ts +0 -1
  92. package/dist-js/components/ticketSelection/subcomponents/tickets/subcomponents/utils.svelte.d.ts +0 -9
  93. package/dist-js/components/ticketSelection/subcomponents/timeslots/Timeslots.spec.d.ts +0 -1
  94. package/dist-js/components/ticketSelection/subcomponents/timeslots/Timeslots.svelte.d.ts +0 -1
  95. package/dist-js/components/ticketSelection/subcomponents/timeslots/entry.d.ts +0 -1
  96. package/dist-js/components/ticketSelection/subcomponents/timeslots/lib/__mocks__/generateAvailableTimeSlots.d.ts +0 -8
  97. package/dist-js/components/ticketSelection/subcomponents/timeslots/lib/generateAvailableTimeSlots.d.ts +0 -50
  98. package/dist-js/components/ticketSelection/subcomponents/timeslots/lib/generateAvailableTimeSlots.specs.d.ts +0 -1
  99. package/dist-js/components/ticketSelection/subcomponents/timeslots/lib/lib.spec.d.ts +0 -1
  100. package/dist-js/components/ticketSelection/subcomponents/timeslots/lib/lib.svelte.d.ts +0 -6
  101. package/dist-js/config/config.d.ts +0 -12
  102. package/dist-js/config/config.spec.d.ts +0 -1
  103. package/dist-js/e2e/APMs.e2e.spec.d.ts +0 -1
  104. package/dist-js/e2e/Card.e2e.spec.d.ts +0 -1
  105. package/dist-js/e2e/testApm.d.ts +0 -7
  106. package/dist-js/go.svelte.d.ts +0 -1
  107. package/dist-js/gomus-webcomponents.css +0 -1247
  108. package/dist-js/gomus-webcomponents.iife.js +0 -18516
  109. package/dist-js/gomus-webcomponents.js +0 -18515
  110. package/dist-js/lib/annual-ticket-personalization/index.d.ts +0 -1
  111. package/dist-js/lib/annual-ticket-personalization/stores.d.ts +0 -3
  112. package/dist-js/lib/gomusTicket.spec.d.ts +0 -1
  113. package/dist-js/lib/gomusTicket.svelte.d.ts +0 -122
  114. package/dist-js/lib/helpers/DataHolder.d.ts +0 -3
  115. package/dist-js/lib/helpers/Events.d.ts +0 -6
  116. package/dist-js/lib/helpers/PropertyTracker.d.ts +0 -9
  117. package/dist-js/lib/helpers/PropertyTracker.spec.d.ts +0 -1
  118. package/dist-js/lib/helpers/ShadowStyles.svelte.d.ts +0 -1
  119. package/dist-js/lib/helpers/Wrapper.svelte.d.ts +0 -1
  120. package/dist-js/lib/helpers/context.spec.d.ts +0 -1
  121. package/dist-js/lib/helpers/context.svelte.d.ts +0 -2
  122. package/dist-js/lib/helpers/dataAttr.d.ts +0 -9
  123. package/dist-js/lib/helpers/dataAttr.spec.d.ts +0 -1
  124. package/dist-js/lib/helpers/fixtures/context/lib.d.ts +0 -5
  125. package/dist-js/lib/helpers/shopCart.d.ts +0 -34
  126. package/dist-js/lib/helpers/translations.d.ts +0 -752
  127. package/dist-js/lib/helpers/urls.d.ts +0 -62
  128. package/dist-js/lib/helpers/utils.d.ts +0 -25
  129. package/dist-js/lib/helpers/wrapInElement.d.ts +0 -1
  130. package/dist-js/lib/helpers/wrapInElement.spec.d.ts +0 -1
  131. package/dist-js/lib/stores/__mocks__/shop.svelte.d.ts +0 -2
  132. package/dist-js/lib/stores/shop.svelte.d.ts +0 -1286
  133. package/dist-js/lib/stores/shop.svelte.test.d.ts +0 -1
  134. package/dist-js/lib/stores/user.svelte.d.ts +0 -16
  135. package/dist-js/lib/stores/user.svelte.test.d.ts +0 -1
  136. package/dist-js/lib/storybook/WrapperComponent.d.ts +0 -1
  137. package/dist-js/lib/storybook/sbGlobals.svelte.d.ts +0 -9
  138. package/dist-js/lib/types/types.d.ts +0 -1
  139. package/dist-js/lib/utils.d.ts +0 -1
  140. package/dist-js/lib/vitest/mockedCookies.d.ts +0 -2
  141. package/dist-js/lib/vitest/msw/basicHandlers.d.ts +0 -3
  142. package/dist-js/lib/vitest/msw/handlers.d.ts +0 -1758
  143. package/dist-js/lib/vitest/msw/vitestMSWSetup.d.ts +0 -2
  144. package/dist-js/lib/vitest/snapshotSerializer.d.ts +0 -1
  145. package/dist-js/main.d.ts +0 -5
  146. package/dist-js/mocks/ShopMocks.d.ts +0 -179
  147. package/dist-js/mocks/mocks.d.ts +0 -1922
  148. package/dist-js/sveltekit/app/environment.d.ts +0 -1
  149. package/dist-js/sveltekit/app/forms.d.ts +0 -23
  150. package/dist-js/sveltekit/app/navigation.d.ts +0 -4
  151. package/dist-js/sveltekit/app/stores.d.ts +0 -2
  152. package/dist-js/vitest-setup.d.ts +0 -0
@@ -1,1286 +0,0 @@
1
- import { CalendarDates } from '../../components/ticketSelection/subcomponents/calendar/lib/calendar.svelte.ts';
2
- import { ShopUrls } from '../helpers/urls';
3
- import { User } from './user.svelte.ts';
4
- import { OpenApiClient } from '@gomus/api';
5
- import { TicketsAndQuotasParams, TicketsCalendarParams, TicketsParams } from '@gomus/api/lib/types.ts';
6
- import { Exhibition, Merchandise, Museum, Event, Tour, ShopType } from '@gomus/types';
7
- export type ShopKind = 'angular' | 'jmb';
8
- export declare class Shop {
9
- #private;
10
- type: ShopKind;
11
- constructor();
12
- load(apiUrl: string, shopDomain: string, locale: string, type?: ShopKind): Promise<void>;
13
- get currentUser(): User | undefined;
14
- get slug(): string | undefined;
15
- get client(): OpenApiClient | undefined;
16
- get name(): string;
17
- get config(): {
18
- url: string;
19
- success_link: string;
20
- pending_link: string;
21
- fail_link: string;
22
- back_link: string;
23
- confirmation_link: string;
24
- password_reset_link: string;
25
- personalization_link: string;
26
- registration: boolean;
27
- guest: {
28
- enabled: boolean;
29
- limit: number | null;
30
- };
31
- min_total: number | null;
32
- max_total: number | null;
33
- defaults: {
34
- price_target_audience_id: number | null;
35
- };
36
- currency: string;
37
- time_zone: string;
38
- locale: string;
39
- custom_css: string | null;
40
- custom_js: string | null;
41
- donations?: {
42
- enabled: boolean;
43
- campaigns?: {
44
- id: number;
45
- name: string;
46
- options: number[];
47
- guest_limit: number;
48
- free_donations: boolean;
49
- translations: {
50
- [key: string]: string;
51
- };
52
- picture: {
53
- original?: string | null;
54
- thumbnail?: string | null;
55
- };
56
- }[];
57
- };
58
- dynamic_pricing: boolean;
59
- tickets: {
60
- zip_file: boolean;
61
- };
62
- };
63
- get payment_modes(): {
64
- [key: string]: {
65
- id: number;
66
- name: string;
67
- icons: string[];
68
- };
69
- };
70
- get content(): {
71
- [key: string]: string;
72
- };
73
- get settings(): import('@gomus/types').Settings;
74
- get donations(): {
75
- enabled: boolean;
76
- campaigns?: {
77
- id: number;
78
- name: string;
79
- options: number[];
80
- guest_limit: number;
81
- free_donations: boolean;
82
- translations: {
83
- [key: string]: string;
84
- };
85
- picture: {
86
- original?: string | null;
87
- thumbnail?: string | null;
88
- };
89
- }[];
90
- } | undefined;
91
- get translations(): {
92
- [key: string]: string;
93
- };
94
- get currency(): string;
95
- t(key: string, values?: {
96
- [key: string]: string | number;
97
- }): string;
98
- translate(key: string, values?: {
99
- [key: string]: string | number;
100
- }): string;
101
- get apiUrl(): string | undefined;
102
- get shopDomain(): string | undefined;
103
- get baseUrl(): string;
104
- get locale(): string | undefined;
105
- get shop(): ShopType;
106
- get _data(): {
107
- apiUrl?: string;
108
- client?: OpenApiClient;
109
- currentUser?: User;
110
- exhibitions?: Exhibition[];
111
- events?: Event[];
112
- locale?: string;
113
- merchandises?: Merchandise[];
114
- museums?: Museum[];
115
- shop?: ShopType;
116
- shopDomain?: string;
117
- tours?: Tour[];
118
- urls?: ShopUrls;
119
- };
120
- ticketsCalendar(params: TicketsCalendarParams): CalendarDates;
121
- ticketsAndQuotas(params: TicketsAndQuotasParams): {
122
- tickets: {
123
- [key: string]: import('@gomus/types').components["schemas"]["shop_v4_ticket_capacity"];
124
- };
125
- quotas: {
126
- [key: string]: import('@gomus/types').components["schemas"]["quota"];
127
- };
128
- meta: import('@gomus/types').components["schemas"]["meta"];
129
- };
130
- tickets(params: TicketsParams): {
131
- [key: string]: {
132
- id: number;
133
- title: string;
134
- ticket_type: "time_slot" | "annual" | "normal";
135
- bookable: boolean;
136
- museum_ids: number[];
137
- exhibition_ids: number[];
138
- price_cents: number;
139
- discount: number;
140
- vat_pct: number;
141
- tax_included: boolean;
142
- entry_duration: number | null;
143
- min_persons: number;
144
- max_persons: number;
145
- quota_ids: number[];
146
- first_entry: number;
147
- last_entry: number;
148
- personalizeable: boolean;
149
- attendees: boolean | string;
150
- identification: boolean | string;
151
- free_timing: boolean;
152
- is_collective: boolean;
153
- is_upgrade: boolean;
154
- is_mantle: boolean;
155
- description: string | null;
156
- sub_ticket_ids: number[];
157
- sub_tickets: {
158
- [key: string]: {
159
- title?: string;
160
- min_persons?: number;
161
- max_persons?: number;
162
- description?: string | null;
163
- };
164
- } | null;
165
- is_sub_ticket: boolean;
166
- created_at: string;
167
- updated_at: string;
168
- shop_order: number;
169
- shipped_with_merchandise_id: number | null;
170
- restricted_shop_account: boolean;
171
- cash_point_order: number;
172
- capacities: {
173
- [key: string]: number;
174
- };
175
- total_capacities: {
176
- [key: string]: number;
177
- };
178
- max_capacity: number;
179
- max_total_capacity: number;
180
- dynamic_prices: {
181
- [key: string]: number;
182
- } | null;
183
- };
184
- };
185
- /**
186
- * Returns a reactive value that will contain the fetched data, no need to await.
187
- *
188
- * @param {`/api${string}`} endpoint - The API endpoint to fetch data from. Must start with `/api`.
189
- * @param {string} dataKey - The key where the fetched data will be stored in `shop.#data`.
190
- * @param {string} responseKey - The key in the API response that contains the desired data.
191
- * @param [options]
192
- * - query: A record of query parameters to include in the API request.
193
- * - cache: The cache duration (in seconds) before data is considered expired. Defaults to 1000 seconds if not provided.
194
- * @return {T} The data fetched from the API or the cached data if it is still valid.
195
- */
196
- fetchAndCache<T>(endpoint: `/api${string}`, dataKey: string, responseKey: string, options?: {
197
- query?: Record<string, unknown>;
198
- cache?: number | undefined;
199
- }): T;
200
- get museums(): {
201
- id: number;
202
- title: string;
203
- sub_title: string | null;
204
- created_at: string;
205
- updated_at: string;
206
- picture: import('@gomus/types').components["schemas"]["picture"];
207
- }[];
208
- get exhibitions(): {
209
- id: number;
210
- museum_id: number;
211
- foreign_id: string | null;
212
- title: string;
213
- sub_title: string | null;
214
- created_at: string;
215
- updated_at: string;
216
- featured: boolean;
217
- description: string | null;
218
- picture: import('@gomus/types').components["schemas"]["picture"];
219
- time_frames: {
220
- start_at?: string;
221
- end_at?: string;
222
- }[];
223
- location: import('@gomus/types').components["schemas"]["location"];
224
- }[];
225
- getEvent(id: number): {
226
- id: number;
227
- description: string | null;
228
- museum_id: number;
229
- exhibition_id: number | null;
230
- foreign_id: string | null;
231
- title: string;
232
- sub_title: string | null;
233
- created_at: string;
234
- updated_at: string;
235
- featured: boolean;
236
- bookable: boolean;
237
- registerable: boolean;
238
- picture: import('@gomus/types').components["schemas"]["picture"];
239
- duration: number;
240
- location: import('@gomus/types').components["schemas"]["location"];
241
- age_groups: import('@gomus/types').components["schemas"]["name_id_pair"];
242
- audiences: import('@gomus/types').components["schemas"]["name_id_pair"];
243
- catch_words: import('@gomus/types').components["schemas"]["name_id_pair"];
244
- disablements: import('@gomus/types').components["schemas"]["name_id_pair"];
245
- grades: import('@gomus/types').components["schemas"]["name_id_pair"];
246
- proposal_categories: import('@gomus/types').components["schemas"]["name_id_pair"];
247
- languages: import('@gomus/types').components["schemas"]["language"][];
248
- category: import('@gomus/types').components["schemas"]["category"];
249
- upcoming_bookings_start_times: string[];
250
- tickets: number[];
251
- quotas: number[];
252
- ticket_sales_in_shop: boolean;
253
- dates: {
254
- first: string;
255
- last: string;
256
- count: number;
257
- };
258
- sellabilities: import('@gomus/types').components["schemas"]["time_frame"][];
259
- documents: import('@gomus/types').components["schemas"]["document"][];
260
- content: Record<string, never>;
261
- };
262
- get events(): {
263
- id: number;
264
- description: string | null;
265
- museum_id: number;
266
- exhibition_id: number | null;
267
- foreign_id: string | null;
268
- title: string;
269
- sub_title: string | null;
270
- created_at: string;
271
- updated_at: string;
272
- featured: boolean;
273
- bookable: boolean;
274
- registerable: boolean;
275
- picture: import('@gomus/types').components["schemas"]["picture"];
276
- duration: number;
277
- location: import('@gomus/types').components["schemas"]["location"];
278
- age_groups: import('@gomus/types').components["schemas"]["name_id_pair"];
279
- audiences: import('@gomus/types').components["schemas"]["name_id_pair"];
280
- catch_words: import('@gomus/types').components["schemas"]["name_id_pair"];
281
- disablements: import('@gomus/types').components["schemas"]["name_id_pair"];
282
- grades: import('@gomus/types').components["schemas"]["name_id_pair"];
283
- proposal_categories: import('@gomus/types').components["schemas"]["name_id_pair"];
284
- languages: import('@gomus/types').components["schemas"]["language"][];
285
- category: import('@gomus/types').components["schemas"]["category"];
286
- upcoming_bookings_start_times: string[];
287
- }[];
288
- get upcomingEvents(): {
289
- id: number;
290
- description: string | null;
291
- museum_id: number;
292
- exhibition_id: number | null;
293
- foreign_id: string | null;
294
- title: string;
295
- sub_title: string | null;
296
- created_at: string;
297
- updated_at: string;
298
- featured: boolean;
299
- bookable: boolean;
300
- registerable: boolean;
301
- picture: import('@gomus/types').components["schemas"]["picture"];
302
- duration: number;
303
- location: import('@gomus/types').components["schemas"]["location"];
304
- age_groups: import('@gomus/types').components["schemas"]["name_id_pair"];
305
- audiences: import('@gomus/types').components["schemas"]["name_id_pair"];
306
- catch_words: import('@gomus/types').components["schemas"]["name_id_pair"];
307
- disablements: import('@gomus/types').components["schemas"]["name_id_pair"];
308
- grades: import('@gomus/types').components["schemas"]["name_id_pair"];
309
- proposal_categories: import('@gomus/types').components["schemas"]["name_id_pair"];
310
- languages: import('@gomus/types').components["schemas"]["language"][];
311
- category: import('@gomus/types').components["schemas"]["category"];
312
- upcoming_bookings_start_times: string[];
313
- }[];
314
- get tours(): {
315
- id: number;
316
- exhibition_id?: number | null;
317
- museum_id: number;
318
- foreign_id?: number | null;
319
- min_persons?: number;
320
- max_persons?: number;
321
- title: string;
322
- sub_title?: string | null;
323
- bookable: boolean;
324
- registerable: boolean;
325
- featured: boolean;
326
- category: {
327
- id: number;
328
- name: string;
329
- filtername: string | null;
330
- };
331
- equipment: boolean;
332
- picture: import('@gomus/types').components["schemas"]["picture"];
333
- created_at?: string;
334
- updated_at?: string;
335
- duration?: number;
336
- location: import('@gomus/types').components["schemas"]["location"];
337
- age_groups: Record<string, never>[];
338
- audiences: Record<string, never>[];
339
- catch_words: Record<string, never>[];
340
- disablements: Record<string, never>[];
341
- grades: Record<string, never>[];
342
- proposal_categories: import('@gomus/types').components["schemas"]["name_id_pair"];
343
- languages: import('@gomus/types').components["schemas"]["language"][];
344
- }[];
345
- get merchandises(): {
346
- merchandise?: {
347
- id?: number;
348
- title?: string;
349
- sub_title?: string | null;
350
- description?: string | null;
351
- price_cents?: number;
352
- vat_pct?: number;
353
- tax_included?: boolean;
354
- sellable?: boolean;
355
- content?: import('@gomus/types').components["schemas"]["object_content"];
356
- picture?: import('@gomus/types').components["schemas"]["picture"];
357
- created_at?: string;
358
- updated_at?: string;
359
- shipped_with_merchandise_id?: number | null;
360
- is_shipping_article?: boolean;
361
- };
362
- }[];
363
- get urls(): {
364
- account: () => string;
365
- annualTickets: () => string;
366
- checkoutFailure: (errorMessage: string) => string;
367
- checkoutSuccess: (token: string) => string;
368
- coupons: () => string;
369
- combiTickets: () => string;
370
- combiTicketGroup: (slug: string) => string;
371
- dayTickets: () => string;
372
- eventGroup: (id: number) => string;
373
- event: (id: number) => string;
374
- events: () => string;
375
- exhibition: (id: number) => string;
376
- exhibitions: () => string;
377
- home: () => string;
378
- login: () => string;
379
- merchandise: (id: number) => string;
380
- merchandises: () => string;
381
- museum: (id: number) => string;
382
- museums: () => string;
383
- publicTours: () => string;
384
- register: () => string;
385
- tickets: () => string;
386
- ticketGroup: (slug: string) => string;
387
- tour: (id: number) => string;
388
- tours: () => string;
389
- toursGroup: (id: number) => string;
390
- cart: () => string;
391
- } | undefined;
392
- apiPost(path: string, { body }: {
393
- body: Record<string, any>;
394
- }): Promise<import('openapi-fetch').FetchResponse<{
395
- parameters: {
396
- query?: {
397
- locale?: string;
398
- };
399
- header: {
400
- "Access-Token": string;
401
- Client: string;
402
- Uid: string;
403
- "X-Shop-Url": string;
404
- };
405
- path?: never;
406
- cookie?: never;
407
- };
408
- requestBody: {
409
- content: {
410
- "application/json": {
411
- items: (import('@gomus/types').components["schemas"]["ticket_time_slot_cart_item"] | import('@gomus/types').components["schemas"]["ticket_normal_cart_item"] | import('@gomus/types').components["schemas"]["coupon_cart_item"] | import('@gomus/types').components["schemas"]["event_cart_item"] | import('@gomus/types').components["schemas"]["tour_cart_item"] | import('@gomus/types').components["schemas"]["merchandise_cart_item"])[];
412
- coupons?: string[];
413
- donations?: number[];
414
- payment_mode_id: string;
415
- total: number;
416
- payment_source?: string | null;
417
- };
418
- };
419
- };
420
- responses: {
421
- 200: {
422
- headers: {
423
- [name: string]: unknown;
424
- };
425
- content: {
426
- "application/json": {
427
- order: import('@gomus/types').components["schemas"]["order"];
428
- meta: {
429
- payment_url: string;
430
- payment_id?: unknown;
431
- shop_behavior: string;
432
- status: string;
433
- payment_result?: {
434
- id?: string;
435
- status?: string;
436
- links?: {
437
- href: string;
438
- rel: string;
439
- method: string;
440
- }[];
441
- };
442
- };
443
- };
444
- };
445
- };
446
- 422: {
447
- headers: {
448
- [name: string]: unknown;
449
- };
450
- content: {
451
- "application/json": {
452
- error: string;
453
- };
454
- };
455
- };
456
- };
457
- } | {
458
- parameters: {
459
- query: {
460
- token: string;
461
- };
462
- header?: {
463
- "X-Shop-Url"?: string;
464
- };
465
- path?: never;
466
- cookie?: never;
467
- };
468
- requestBody: {
469
- content: {
470
- "application/json": {
471
- personalization?: {
472
- ticket_sale_id: number;
473
- start_at?: string;
474
- personalizations: {
475
- id?: number;
476
- customer?: {
477
- customer_salutation_id: number;
478
- name: string;
479
- surname: string;
480
- email: string;
481
- addr_street: string;
482
- addr_zip: string;
483
- addr_city: string;
484
- addr_country_id: number;
485
- language_id: number;
486
- date_of_birth: string | null;
487
- };
488
- }[];
489
- };
490
- };
491
- };
492
- };
493
- responses: {
494
- 200: {
495
- headers: {
496
- [name: string]: unknown;
497
- };
498
- content: {
499
- "application/json": {
500
- ticket_sale?: import('@gomus/types').components["schemas"]["ticket_sale_personalization"];
501
- };
502
- };
503
- };
504
- 422: {
505
- headers: {
506
- [name: string]: unknown;
507
- };
508
- content: {
509
- "application/json": {
510
- error?: string;
511
- };
512
- };
513
- };
514
- };
515
- } | {
516
- parameters: {
517
- query?: {
518
- locale?: string;
519
- };
520
- header: {
521
- "X-Shop-Url": string;
522
- };
523
- path?: never;
524
- cookie?: never;
525
- };
526
- requestBody: {
527
- content: {
528
- "application/json": {
529
- level?: number;
530
- language_id?: number;
531
- customer_salutation_id?: number;
532
- name?: string;
533
- surname?: string;
534
- email?: string;
535
- email_confirmation?: string;
536
- addr_addressat?: string;
537
- addr_street?: string;
538
- addr_zip?: string;
539
- addr_city?: string;
540
- addr_country_id?: number;
541
- password?: string;
542
- terms?: boolean;
543
- password_confirmation?: string;
544
- newsletter_groups?: string[];
545
- };
546
- };
547
- };
548
- responses: {
549
- 200: {
550
- headers: {
551
- [name: string]: unknown;
552
- };
553
- content: {
554
- "application/json": {
555
- status: string;
556
- data: {
557
- id: number;
558
- customer_salutation_id?: number | null;
559
- customer_title_id?: string | null;
560
- name: string;
561
- surname: string;
562
- institution?: string | null;
563
- category_id?: string | null;
564
- email: string;
565
- tel?: string | null;
566
- created_at: string;
567
- updated_at: string;
568
- is_institution?: boolean;
569
- price_target_audience_id?: number | null;
570
- payment_mode_id?: number | null;
571
- debitor_number?: number | null;
572
- notes?: string | null;
573
- mobile?: string;
574
- language_id?: number | null;
575
- fax?: string | null;
576
- provider?: string;
577
- uid?: string;
578
- has_collective_invoice_payment?: boolean;
579
- has_voucher_payment?: boolean;
580
- level?: number;
581
- is_archived?: boolean;
582
- creator_id?: string | null;
583
- date_of_birth?: string | null;
584
- vat_number?: string | null;
585
- shop_id?: number;
586
- deleted_at?: string | null;
587
- personalization_token?: string;
588
- foreign_id?: string | null;
589
- coupon_codes?: string[];
590
- allow_password_change?: boolean;
591
- };
592
- };
593
- };
594
- };
595
- 422: {
596
- headers: {
597
- [name: string]: unknown;
598
- };
599
- content: {
600
- "application/json": {
601
- status: string;
602
- data: Record<string, never>;
603
- errors: {
604
- full_messages?: string[];
605
- } & {
606
- [key: string]: string[];
607
- };
608
- };
609
- };
610
- };
611
- };
612
- } | {
613
- parameters: {
614
- query?: {
615
- locale?: string;
616
- };
617
- header: {
618
- "X-Shop-Url": string;
619
- };
620
- path?: never;
621
- cookie?: never;
622
- };
623
- requestBody: {
624
- content: {
625
- "application/json": {
626
- email: string;
627
- password: string;
628
- };
629
- };
630
- };
631
- responses: {
632
- 200: {
633
- headers: {
634
- [name: string]: unknown;
635
- };
636
- content: {
637
- "application/json": {
638
- data: import('@gomus/types').components["schemas"]["customer"];
639
- };
640
- };
641
- };
642
- 401: {
643
- headers: {
644
- [name: string]: unknown;
645
- };
646
- content: {
647
- "application/json": {
648
- success: boolean;
649
- errors: string[];
650
- };
651
- };
652
- };
653
- };
654
- } | {
655
- parameters: {
656
- query?: never;
657
- header: {
658
- "X-Shop-Url": string;
659
- };
660
- path?: never;
661
- cookie?: never;
662
- };
663
- requestBody: {
664
- content: {
665
- "application/json": {
666
- email: string;
667
- };
668
- };
669
- };
670
- responses: {
671
- 200: {
672
- headers: {
673
- [name: string]: unknown;
674
- };
675
- content: {
676
- "application/json": {
677
- success: boolean;
678
- message: string;
679
- };
680
- };
681
- };
682
- 404: {
683
- headers: {
684
- [name: string]: unknown;
685
- };
686
- content: {
687
- "application/json": {
688
- success: boolean;
689
- errors: string[];
690
- };
691
- };
692
- };
693
- };
694
- } | {
695
- parameters: {
696
- query?: {
697
- locale?: string;
698
- };
699
- header?: never;
700
- path?: never;
701
- cookie?: never;
702
- };
703
- requestBody: {
704
- content: {
705
- "application/json": (import('@gomus/types').components["schemas"]["ticket_time_slot_cart_item"] | import('@gomus/types').components["schemas"]["ticket_normal_cart_item"] | import('@gomus/types').components["schemas"]["ticket_flex_cart_item"] | import('@gomus/types').components["schemas"]["event_cart_item"] | import('@gomus/types').components["schemas"]["tour_cart_item"] | import('@gomus/types').components["schemas"]["coupon_cart_item"] | import('@gomus/types').components["schemas"]["merchandise_cart_item"])[];
706
- };
707
- };
708
- responses: {
709
- 200: {
710
- headers: {
711
- [name: string]: unknown;
712
- };
713
- content: {
714
- "application/json": {
715
- items: (import('@gomus/types').components["schemas"]["ticket_time_slot_cart_item"] | import('@gomus/types').components["schemas"]["ticket_normal_cart_item"] | import('@gomus/types').components["schemas"]["ticket_flex_cart_item"] | import('@gomus/types').components["schemas"]["event_cart_item"] | import('@gomus/types').components["schemas"]["tour_cart_item"] | import('@gomus/types').components["schemas"]["coupon_cart_item"] | import('@gomus/types').components["schemas"]["merchandise_cart_item"])[];
716
- };
717
- };
718
- };
719
- };
720
- } | {
721
- parameters: {
722
- query?: never;
723
- header: {
724
- "X-Shop-Url": string;
725
- };
726
- path?: never;
727
- cookie?: never;
728
- };
729
- requestBody: {
730
- content: {
731
- "application/json": {
732
- email: string;
733
- };
734
- };
735
- };
736
- responses: {
737
- 204: {
738
- headers: {
739
- [name: string]: unknown;
740
- };
741
- content?: never;
742
- };
743
- 404: {
744
- headers: {
745
- [name: string]: unknown;
746
- };
747
- content?: never;
748
- };
749
- };
750
- } | {
751
- parameters: {
752
- query?: never;
753
- header?: never;
754
- path: {
755
- orderToken: string;
756
- paypalOrderId: string;
757
- };
758
- cookie?: never;
759
- };
760
- requestBody?: never;
761
- responses: {
762
- 200: {
763
- headers: {
764
- [name: string]: unknown;
765
- };
766
- content: {
767
- "application/json": {
768
- status: string;
769
- };
770
- };
771
- };
772
- };
773
- } | {
774
- parameters: {
775
- query?: never;
776
- header: {
777
- Authorization: string;
778
- };
779
- path?: never;
780
- cookie?: never;
781
- };
782
- requestBody?: {
783
- content: {
784
- "application/json": {
785
- contact?: {
786
- customer_salutation?: string;
787
- institution?: string;
788
- name: string;
789
- surname: string;
790
- data_provider?: string;
791
- notes?: string;
792
- tel_primary?: string;
793
- tel_secondary?: string;
794
- email_primary: string;
795
- email_secondary?: string;
796
- language?: string;
797
- foreign_id?: string;
798
- contact_addresses_attributes?: {
799
- foreign_id?: string;
800
- kind: string;
801
- address_line_1?: string;
802
- address_line_2?: string;
803
- city?: string;
804
- zip: string;
805
- country?: string;
806
- state?: string;
807
- }[];
808
- };
809
- };
810
- };
811
- };
812
- responses: {
813
- 200: {
814
- headers: {
815
- [name: string]: unknown;
816
- };
817
- content: {
818
- "application/json": unknown;
819
- };
820
- };
821
- 401: {
822
- headers: {
823
- [name: string]: unknown;
824
- };
825
- content: {
826
- "application/json": unknown;
827
- };
828
- };
829
- 422: {
830
- headers: {
831
- [name: string]: unknown;
832
- };
833
- content: {
834
- "application/json": unknown;
835
- };
836
- };
837
- };
838
- }, import('openapi-fetch').FetchOptions<{
839
- parameters: {
840
- query?: {
841
- locale?: string;
842
- };
843
- header: {
844
- "Access-Token": string;
845
- Client: string;
846
- Uid: string;
847
- "X-Shop-Url": string;
848
- };
849
- path?: never;
850
- cookie?: never;
851
- };
852
- requestBody: {
853
- content: {
854
- "application/json": {
855
- items: (import('@gomus/types').components["schemas"]["ticket_time_slot_cart_item"] | import('@gomus/types').components["schemas"]["ticket_normal_cart_item"] | import('@gomus/types').components["schemas"]["coupon_cart_item"] | import('@gomus/types').components["schemas"]["event_cart_item"] | import('@gomus/types').components["schemas"]["tour_cart_item"] | import('@gomus/types').components["schemas"]["merchandise_cart_item"])[];
856
- coupons?: string[];
857
- donations?: number[];
858
- payment_mode_id: string;
859
- total: number;
860
- payment_source?: string | null;
861
- };
862
- };
863
- };
864
- responses: {
865
- 200: {
866
- headers: {
867
- [name: string]: unknown;
868
- };
869
- content: {
870
- "application/json": {
871
- order: import('@gomus/types').components["schemas"]["order"];
872
- meta: {
873
- payment_url: string;
874
- payment_id?: unknown;
875
- shop_behavior: string;
876
- status: string;
877
- payment_result?: {
878
- id?: string;
879
- status?: string;
880
- links?: {
881
- href: string;
882
- rel: string;
883
- method: string;
884
- }[];
885
- };
886
- };
887
- };
888
- };
889
- };
890
- 422: {
891
- headers: {
892
- [name: string]: unknown;
893
- };
894
- content: {
895
- "application/json": {
896
- error: string;
897
- };
898
- };
899
- };
900
- };
901
- } | {
902
- parameters: {
903
- query: {
904
- token: string;
905
- };
906
- header?: {
907
- "X-Shop-Url"?: string;
908
- };
909
- path?: never;
910
- cookie?: never;
911
- };
912
- requestBody: {
913
- content: {
914
- "application/json": {
915
- personalization?: {
916
- ticket_sale_id: number;
917
- start_at?: string;
918
- personalizations: {
919
- id?: number;
920
- customer?: {
921
- customer_salutation_id: number;
922
- name: string;
923
- surname: string;
924
- email: string;
925
- addr_street: string;
926
- addr_zip: string;
927
- addr_city: string;
928
- addr_country_id: number;
929
- language_id: number;
930
- date_of_birth: string | null;
931
- };
932
- }[];
933
- };
934
- };
935
- };
936
- };
937
- responses: {
938
- 200: {
939
- headers: {
940
- [name: string]: unknown;
941
- };
942
- content: {
943
- "application/json": {
944
- ticket_sale?: import('@gomus/types').components["schemas"]["ticket_sale_personalization"];
945
- };
946
- };
947
- };
948
- 422: {
949
- headers: {
950
- [name: string]: unknown;
951
- };
952
- content: {
953
- "application/json": {
954
- error?: string;
955
- };
956
- };
957
- };
958
- };
959
- } | {
960
- parameters: {
961
- query?: {
962
- locale?: string;
963
- };
964
- header: {
965
- "X-Shop-Url": string;
966
- };
967
- path?: never;
968
- cookie?: never;
969
- };
970
- requestBody: {
971
- content: {
972
- "application/json": {
973
- level?: number;
974
- language_id?: number;
975
- customer_salutation_id?: number;
976
- name?: string;
977
- surname?: string;
978
- email?: string;
979
- email_confirmation?: string;
980
- addr_addressat?: string;
981
- addr_street?: string;
982
- addr_zip?: string;
983
- addr_city?: string;
984
- addr_country_id?: number;
985
- password?: string;
986
- terms?: boolean;
987
- password_confirmation?: string;
988
- newsletter_groups?: string[];
989
- };
990
- };
991
- };
992
- responses: {
993
- 200: {
994
- headers: {
995
- [name: string]: unknown;
996
- };
997
- content: {
998
- "application/json": {
999
- status: string;
1000
- data: {
1001
- id: number;
1002
- customer_salutation_id?: number | null;
1003
- customer_title_id?: string | null;
1004
- name: string;
1005
- surname: string;
1006
- institution?: string | null;
1007
- category_id?: string | null;
1008
- email: string;
1009
- tel?: string | null;
1010
- created_at: string;
1011
- updated_at: string;
1012
- is_institution?: boolean;
1013
- price_target_audience_id?: number | null;
1014
- payment_mode_id?: number | null;
1015
- debitor_number?: number | null;
1016
- notes?: string | null;
1017
- mobile?: string;
1018
- language_id?: number | null;
1019
- fax?: string | null;
1020
- provider?: string;
1021
- uid?: string;
1022
- has_collective_invoice_payment?: boolean;
1023
- has_voucher_payment?: boolean;
1024
- level?: number;
1025
- is_archived?: boolean;
1026
- creator_id?: string | null;
1027
- date_of_birth?: string | null;
1028
- vat_number?: string | null;
1029
- shop_id?: number;
1030
- deleted_at?: string | null;
1031
- personalization_token?: string;
1032
- foreign_id?: string | null;
1033
- coupon_codes?: string[];
1034
- allow_password_change?: boolean;
1035
- };
1036
- };
1037
- };
1038
- };
1039
- 422: {
1040
- headers: {
1041
- [name: string]: unknown;
1042
- };
1043
- content: {
1044
- "application/json": {
1045
- status: string;
1046
- data: Record<string, never>;
1047
- errors: {
1048
- full_messages?: string[];
1049
- } & {
1050
- [key: string]: string[];
1051
- };
1052
- };
1053
- };
1054
- };
1055
- };
1056
- } | {
1057
- parameters: {
1058
- query?: {
1059
- locale?: string;
1060
- };
1061
- header: {
1062
- "X-Shop-Url": string;
1063
- };
1064
- path?: never;
1065
- cookie?: never;
1066
- };
1067
- requestBody: {
1068
- content: {
1069
- "application/json": {
1070
- email: string;
1071
- password: string;
1072
- };
1073
- };
1074
- };
1075
- responses: {
1076
- 200: {
1077
- headers: {
1078
- [name: string]: unknown;
1079
- };
1080
- content: {
1081
- "application/json": {
1082
- data: import('@gomus/types').components["schemas"]["customer"];
1083
- };
1084
- };
1085
- };
1086
- 401: {
1087
- headers: {
1088
- [name: string]: unknown;
1089
- };
1090
- content: {
1091
- "application/json": {
1092
- success: boolean;
1093
- errors: string[];
1094
- };
1095
- };
1096
- };
1097
- };
1098
- } | {
1099
- parameters: {
1100
- query?: never;
1101
- header: {
1102
- "X-Shop-Url": string;
1103
- };
1104
- path?: never;
1105
- cookie?: never;
1106
- };
1107
- requestBody: {
1108
- content: {
1109
- "application/json": {
1110
- email: string;
1111
- };
1112
- };
1113
- };
1114
- responses: {
1115
- 200: {
1116
- headers: {
1117
- [name: string]: unknown;
1118
- };
1119
- content: {
1120
- "application/json": {
1121
- success: boolean;
1122
- message: string;
1123
- };
1124
- };
1125
- };
1126
- 404: {
1127
- headers: {
1128
- [name: string]: unknown;
1129
- };
1130
- content: {
1131
- "application/json": {
1132
- success: boolean;
1133
- errors: string[];
1134
- };
1135
- };
1136
- };
1137
- };
1138
- } | {
1139
- parameters: {
1140
- query?: {
1141
- locale?: string;
1142
- };
1143
- header?: never;
1144
- path?: never;
1145
- cookie?: never;
1146
- };
1147
- requestBody: {
1148
- content: {
1149
- "application/json": (import('@gomus/types').components["schemas"]["ticket_time_slot_cart_item"] | import('@gomus/types').components["schemas"]["ticket_normal_cart_item"] | import('@gomus/types').components["schemas"]["ticket_flex_cart_item"] | import('@gomus/types').components["schemas"]["event_cart_item"] | import('@gomus/types').components["schemas"]["tour_cart_item"] | import('@gomus/types').components["schemas"]["coupon_cart_item"] | import('@gomus/types').components["schemas"]["merchandise_cart_item"])[];
1150
- };
1151
- };
1152
- responses: {
1153
- 200: {
1154
- headers: {
1155
- [name: string]: unknown;
1156
- };
1157
- content: {
1158
- "application/json": {
1159
- items: (import('@gomus/types').components["schemas"]["ticket_time_slot_cart_item"] | import('@gomus/types').components["schemas"]["ticket_normal_cart_item"] | import('@gomus/types').components["schemas"]["ticket_flex_cart_item"] | import('@gomus/types').components["schemas"]["event_cart_item"] | import('@gomus/types').components["schemas"]["tour_cart_item"] | import('@gomus/types').components["schemas"]["coupon_cart_item"] | import('@gomus/types').components["schemas"]["merchandise_cart_item"])[];
1160
- };
1161
- };
1162
- };
1163
- };
1164
- } | {
1165
- parameters: {
1166
- query?: never;
1167
- header: {
1168
- "X-Shop-Url": string;
1169
- };
1170
- path?: never;
1171
- cookie?: never;
1172
- };
1173
- requestBody: {
1174
- content: {
1175
- "application/json": {
1176
- email: string;
1177
- };
1178
- };
1179
- };
1180
- responses: {
1181
- 204: {
1182
- headers: {
1183
- [name: string]: unknown;
1184
- };
1185
- content?: never;
1186
- };
1187
- 404: {
1188
- headers: {
1189
- [name: string]: unknown;
1190
- };
1191
- content?: never;
1192
- };
1193
- };
1194
- } | {
1195
- parameters: {
1196
- query?: never;
1197
- header?: never;
1198
- path: {
1199
- orderToken: string;
1200
- paypalOrderId: string;
1201
- };
1202
- cookie?: never;
1203
- };
1204
- requestBody?: never;
1205
- responses: {
1206
- 200: {
1207
- headers: {
1208
- [name: string]: unknown;
1209
- };
1210
- content: {
1211
- "application/json": {
1212
- status: string;
1213
- };
1214
- };
1215
- };
1216
- };
1217
- } | {
1218
- parameters: {
1219
- query?: never;
1220
- header: {
1221
- Authorization: string;
1222
- };
1223
- path?: never;
1224
- cookie?: never;
1225
- };
1226
- requestBody?: {
1227
- content: {
1228
- "application/json": {
1229
- contact?: {
1230
- customer_salutation?: string;
1231
- institution?: string;
1232
- name: string;
1233
- surname: string;
1234
- data_provider?: string;
1235
- notes?: string;
1236
- tel_primary?: string;
1237
- tel_secondary?: string;
1238
- email_primary: string;
1239
- email_secondary?: string;
1240
- language?: string;
1241
- foreign_id?: string;
1242
- contact_addresses_attributes?: {
1243
- foreign_id?: string;
1244
- kind: string;
1245
- address_line_1?: string;
1246
- address_line_2?: string;
1247
- city?: string;
1248
- zip: string;
1249
- country?: string;
1250
- state?: string;
1251
- }[];
1252
- };
1253
- };
1254
- };
1255
- };
1256
- responses: {
1257
- 200: {
1258
- headers: {
1259
- [name: string]: unknown;
1260
- };
1261
- content: {
1262
- "application/json": unknown;
1263
- };
1264
- };
1265
- 401: {
1266
- headers: {
1267
- [name: string]: unknown;
1268
- };
1269
- content: {
1270
- "application/json": unknown;
1271
- };
1272
- };
1273
- 422: {
1274
- headers: {
1275
- [name: string]: unknown;
1276
- };
1277
- content: {
1278
- "application/json": unknown;
1279
- };
1280
- };
1281
- };
1282
- }>, `${string}/${string}`>>;
1283
- waitForAllFetches(...variables: unknown[]): Promise<void>;
1284
- apiGet(path: `/api${string}`, query?: Record<string, unknown>): Promise<unknown>;
1285
- }
1286
- export declare const shop: Shop;