@gomusdev/web-components 4.8.1 → 4.9.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.
- package/README.md +13 -0
- package/dist-js/components/auth/setPassword/SetPassword.svelte.d.ts +1 -0
- package/dist-js/gomus-webcomponents.iife.js +133 -21
- package/dist-js/gomus-webcomponents.js +133 -21
- package/dist-js/gomus-webcomponents.min.iife.js +19 -19
- package/dist-js/gomus-webcomponents.min.js +4739 -4651
- package/dist-js/src/components/auth/passwordReset/PasswordReset.spec.d.ts +1 -0
- package/dist-js/src/components/auth/setPassword/SetPassword.spec.d.ts +1 -0
- package/dist-js/src/lib/models/ticket/UITicket.svelte.d.ts +8 -0
- package/dist-js/src/lib/stores/shop.passwordReset.spec.d.ts +1 -0
- package/dist-js/src/lib/stores/shop.svelte.d.ts +16 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -225,5 +225,13 @@ export declare function createUITicket(apiTicket: Ticket | AnnualTicket | Normal
|
|
|
225
225
|
} | null;
|
|
226
226
|
};
|
|
227
227
|
export declare function initUITimeslotTickets(tickets: Tickets, selectedTime?: string): UITicket[];
|
|
228
|
+
/**
|
|
229
|
+
* Day tickets (TC-04): each day quota keys its capacity at its OWN first-entry time, so
|
|
230
|
+
* capacity keys differ across quotas. The day 'time' must be derived per ticket — the
|
|
231
|
+
* first positive key of the ticket's own total_capacities — never from one global quota
|
|
232
|
+
* key. A ticket with capacity keys that are all zero is sold out and dropped; a ticket
|
|
233
|
+
* with no keys at all (no quota) is kept and gets `fallbackTime`.
|
|
234
|
+
*/
|
|
235
|
+
export declare function initUIDayTickets(tickets: Tickets, fallbackTime?: string): UITicket[];
|
|
228
236
|
export declare function filterAvailabletickets(tickets: Tickets, selectedTime?: string): Tickets;
|
|
229
237
|
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -496,7 +496,23 @@ export declare class Shop {
|
|
|
496
496
|
}): Promise<PasswordUpdateResponse>;
|
|
497
497
|
passwordReset(params: {
|
|
498
498
|
email: string;
|
|
499
|
+
redirect_url?: string;
|
|
499
500
|
}): Promise<PasswordResetResponse>;
|
|
501
|
+
/**
|
|
502
|
+
* Sets a new password using the one-time credentials the backend appends to
|
|
503
|
+
* the reset-mail redirect (`access-token`, `client`, `uid` query params).
|
|
504
|
+
* Unlike `updatePassword` no `current_password` is needed — the reset link
|
|
505
|
+
* flags the session with `allow_password_change`. The 200 response carries
|
|
506
|
+
* fresh auth headers which AuthMiddleware ingests, signing the customer in.
|
|
507
|
+
*/
|
|
508
|
+
setNewPassword(params: {
|
|
509
|
+
password: string;
|
|
510
|
+
password_confirmation: string;
|
|
511
|
+
}, headers: {
|
|
512
|
+
'access-token': string;
|
|
513
|
+
client: string;
|
|
514
|
+
uid: string;
|
|
515
|
+
}): Promise<PasswordUpdateResponse>;
|
|
500
516
|
activateMembership(params: MembershipActivationParams): Promise<MembershipActivationResponse>;
|
|
501
517
|
checkout(params: CheckoutParams): Promise<CheckoutResponse>;
|
|
502
518
|
createCart(params: PostCartParams): Promise<PostCartResponse>;
|