@gomusdev/web-components 4.1.1 → 4.2.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.
@@ -6,7 +6,7 @@ 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, OrdersParams, OrdersSuccess, PasswordResetResponse, PasswordUpdateResponse, PostCartParams, PostCartResponse, Salutation, ShopType, SignInParams, SignInResponse, SignUpParams, SignUpResponse, TicketContentEntry, Tour, UploadPersonalizationPhotoResponse, ValidateTokenSuccess, WithdrawalParams, WithdrawalResponse } from '@gomus/types';
9
+ import { CapacitiesResponse, CheckoutParams, CheckoutResponse, Country, Event, Exhibition, FinalizePersonalizationParams, FinalizePersonalizationResponse, LocaleOptions, MembershipActivationParams, MembershipActivationResponse, Merchandise, Museum, OrdersParams, OrdersSuccess, PasswordResetResponse, PasswordUpdateResponse, PostCartParams, PostCartResponse, Salutation, ShopType, SignInParams, SignInResponse, SignUpParams, SignUpResponse, TicketContentEntry, Tour, UploadPersonalizationPhotoResponse, ValidateTokenSuccess, WithdrawalParams, WithdrawalResponse } from '@gomus/types';
10
10
  export type ShopKind = 'angular' | 'jmb';
11
11
  export type ValidateTokenResult = ValidateTokenSuccess | NotSignedIn | undefined;
12
12
  export type OrdersResult = OrdersSuccess | NotSignedIn | undefined;
@@ -468,6 +468,7 @@ export declare class Shop {
468
468
  passwordReset(params: {
469
469
  email: string;
470
470
  }): Promise<PasswordResetResponse>;
471
+ activateMembership(params: MembershipActivationParams): Promise<MembershipActivationResponse>;
471
472
  checkout(params: CheckoutParams): Promise<CheckoutResponse>;
472
473
  createCart(params: PostCartParams): Promise<PostCartResponse>;
473
474
  order(token: string): {
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "name": "Giantmonkey GmbH"
5
5
  },
6
6
  "license": "MIT",
7
- "version": "4.1.1",
7
+ "version": "4.2.0",
8
8
  "type": "module",
9
9
  "main": "./dist-js/gomus-webcomponents.iife.js",
10
10
  "module": "./dist-js/gomus-webcomponents.iife.js",