@coras-io/embed 0.8.3 → 0.10.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/CHANGELOG.md +20 -0
- package/dist/components/attraction-card/long/attraction-long-card.styles.js +14 -4
- package/dist/components/attraction-card/short/attraction-short-card.styles.js +3 -1
- package/dist/components/locations-results/locations-results.component.d.ts +3 -0
- package/dist/components/locations-results/locations-results.component.js +16 -2
- package/dist/components/loyalty-badge/loyalty-badge.component.d.ts +34 -0
- package/dist/components/loyalty-badge/loyalty-badge.component.js +141 -0
- package/dist/components/loyalty-badge/loyalty-badge.d.ts +8 -0
- package/dist/components/loyalty-badge/loyalty-badge.js +6 -0
- package/dist/components/loyalty-badge/loyalty-badge.styles.js +61 -0
- package/dist/components/loyalty-badge/loyalty-badge.types.d.ts +6 -0
- package/dist/components/loyalty-badge/loyalty-badge.utils.d.ts +23 -0
- package/dist/components/loyalty-badge/loyalty-badge.utils.js +30 -0
- package/dist/containers/basket/basket.component.d.ts +2 -1
- package/dist/containers/basket/basket.component.js +17 -44
- package/dist/containers/navbar/navbar.styles.js +4 -2
- package/dist/contexts/properties.context.d.ts +8 -0
- package/dist/contexts/properties.context.js +5 -0
- package/dist/core/events.d.ts +1 -0
- package/dist/core/types/api-schema.d.ts +183 -5
- package/dist/core/types/core/index.d.ts +0 -1
- package/dist/core/types/index.d.ts +0 -1
- package/dist/core/utils/loyalty.d.ts +37 -4
- package/dist/core/utils/loyalty.js +14 -5
- package/dist/core/utils/seats.d.ts +6 -0
- package/dist/core/utils/seats.js +40 -0
- package/dist/index.d.ts +1 -1
- package/dist/locales/ar-SA.d.ts +5 -0
- package/dist/locales/ar-SA.js +5 -0
- package/dist/locales/da-DK.d.ts +5 -0
- package/dist/locales/da-DK.js +5 -0
- package/dist/locales/de-DE.d.ts +5 -0
- package/dist/locales/de-DE.js +5 -0
- package/dist/locales/en-IE.d.ts +5 -0
- package/dist/locales/en-IE.js +5 -0
- package/dist/locales/en-US.d.ts +5 -0
- package/dist/locales/en-US.js +5 -0
- package/dist/locales/es-ES.d.ts +5 -0
- package/dist/locales/es-ES.js +5 -0
- package/dist/locales/fr-FR.d.ts +5 -0
- package/dist/locales/fr-FR.js +5 -0
- package/dist/locales/fr-MA.d.ts +5 -0
- package/dist/locales/fr-MA.js +5 -0
- package/dist/locales/is-IS.d.ts +5 -0
- package/dist/locales/is-IS.js +5 -0
- package/dist/locales/it-IT.d.ts +5 -0
- package/dist/locales/it-IT.js +5 -0
- package/dist/locales/ms-MY.d.ts +5 -0
- package/dist/locales/ms-MY.js +5 -0
- package/dist/locales/nb-NO.d.ts +5 -0
- package/dist/locales/nb-NO.js +5 -0
- package/dist/locales/pl-PL.d.ts +5 -0
- package/dist/locales/pl-PL.js +5 -0
- package/dist/locales/pt-PT.d.ts +5 -0
- package/dist/locales/pt-PT.js +5 -0
- package/dist/locales/sv-SE.d.ts +5 -0
- package/dist/locales/sv-SE.js +5 -0
- package/dist/locales/th-TH.d.ts +5 -0
- package/dist/locales/th-TH.js +5 -0
- package/dist/locales/tr-TR.d.ts +5 -0
- package/dist/locales/tr-TR.js +5 -0
- package/dist/locales/zh-CN.d.ts +5 -0
- package/dist/locales/zh-CN.js +5 -0
- package/dist/locales/zh-HK.d.ts +5 -0
- package/dist/locales/zh-HK.js +5 -0
- package/dist/mixins/base.mixin.d.ts +2 -0
- package/dist/mixins/base.mixin.js +8 -1
- package/dist/mixins/location-search/location-search.js +88 -13
- package/dist/sdk/page-registry.js +2 -0
- package/dist/sdk/theme.d.ts +1 -1
- package/dist/sdk/types.d.ts +9 -1
- package/dist/sdk/validation.js +51 -0
- package/dist/styles/tokens.d.ts +1 -1
- package/dist/styles/tokens.generated.d.ts +1 -1
- package/dist/styles/tokens.generated.js +1 -1
- package/dist/styles/tokens.metadata.js +18 -0
- package/dist/views/chrome-only-page/chrome-only-page.component.d.ts +1 -0
- package/dist/views/details-page/details-page.component.d.ts +2 -1
- package/dist/views/details-page/details-page.component.js +15 -5
- package/dist/views/details-page/partials/location-highlights/location-highlights.component.d.ts +2 -0
- package/dist/views/details-page/partials/location-highlights/location-highlights.component.js +16 -2
- package/dist/views/help-page/help-page.component.d.ts +1 -0
- package/dist/views/landing-page/landing-page.component.d.ts +2 -3
- package/dist/views/landing-page/landing-page.component.js +10 -18
- package/dist/views/payment-page/controllers/form-validation.controller.d.ts +4 -1
- package/dist/views/payment-page/controllers/form-validation.controller.js +7 -2
- package/dist/views/payment-page/partials/confirmation/confirmation.component.js +49 -27
- package/dist/views/payment-page/payment-page.component.d.ts +6 -0
- package/dist/views/payment-page/payment-page.component.js +76 -8
- package/dist/views/payment-page/payment-page.loyalty.d.ts +13 -0
- package/dist/views/payment-page/payment-page.loyalty.js +80 -0
- package/dist/views/payment-page/payment-page.styles.js +16 -0
- package/dist/views/payment-page/payment-page.utils.d.ts +1 -1
- package/dist/views/payment-page/payment-page.utils.js +19 -1
- package/dist/views/payment-page/services/payment-api.service.d.ts +1 -0
- package/dist/views/search-page/search-page.component.d.ts +1 -0
- package/dist/views/search-page/search-page.component.js +9 -0
- package/dist/views/suggestion-widget/suggestion-widget.component.d.ts +1 -0
- package/dist/views/suggestion-widget/suggestion-widget.component.js +11 -1
- package/package.json +5 -5
- package/dist/components/points/points.component.d.ts +0 -9
- package/dist/components/points/points.component.js +0 -36
- package/dist/components/points/points.d.ts +0 -8
- package/dist/components/points/points.js +0 -6
- package/dist/components/points/points.styles.js +0 -47
- package/dist/core/types/core/points.d.ts +0 -4
- package/dist/mixins/points/points.d.ts +0 -3
- package/dist/mixins/points/points.js +0 -30
- package/dist/mixins/points/types.d.ts +0 -8
- package/dist/mixins/points/types.js +0 -1
- /package/dist/components/{points/points.styles.d.ts → loyalty-badge/loyalty-badge.styles.d.ts} +0 -0
- /package/dist/{core/types/core/points.js → components/loyalty-badge/loyalty-badge.types.js} +0 -0
|
@@ -820,6 +820,26 @@ export interface paths {
|
|
|
820
820
|
patch?: never;
|
|
821
821
|
trace?: never;
|
|
822
822
|
};
|
|
823
|
+
"/advertisement": {
|
|
824
|
+
parameters: {
|
|
825
|
+
query?: never;
|
|
826
|
+
header?: never;
|
|
827
|
+
path?: never;
|
|
828
|
+
cookie?: never;
|
|
829
|
+
};
|
|
830
|
+
/**
|
|
831
|
+
* Generate advertisement image
|
|
832
|
+
* @description Generate an image (in PNG format) listing available attractions based on the request parameters, suitable for advertising purposes
|
|
833
|
+
*/
|
|
834
|
+
get: operations["getAdvertisementImage"];
|
|
835
|
+
put?: never;
|
|
836
|
+
post?: never;
|
|
837
|
+
delete?: never;
|
|
838
|
+
options?: never;
|
|
839
|
+
head?: never;
|
|
840
|
+
patch?: never;
|
|
841
|
+
trace?: never;
|
|
842
|
+
};
|
|
823
843
|
}
|
|
824
844
|
export type webhooks = Record<string, never>;
|
|
825
845
|
export interface components {
|
|
@@ -2802,7 +2822,7 @@ export interface components {
|
|
|
2802
2822
|
* Restricted View Description
|
|
2803
2823
|
* @description Restricted view description
|
|
2804
2824
|
*/
|
|
2805
|
-
restricted_view_description: string;
|
|
2825
|
+
restricted_view_description: string | null;
|
|
2806
2826
|
/**
|
|
2807
2827
|
* Section
|
|
2808
2828
|
* @description Section name
|
|
@@ -3255,6 +3275,12 @@ export interface components {
|
|
|
3255
3275
|
* @default null
|
|
3256
3276
|
*/
|
|
3257
3277
|
content_indexed_at: string | null;
|
|
3278
|
+
/**
|
|
3279
|
+
* Seatsio Reservation Token
|
|
3280
|
+
* @description seats.io reservation token used, if the client has already placed a hold on the seats in seats.io
|
|
3281
|
+
* @default null
|
|
3282
|
+
*/
|
|
3283
|
+
seatsio_reservation_token: string | null;
|
|
3258
3284
|
};
|
|
3259
3285
|
/** CreateReservationForEventResponse */
|
|
3260
3286
|
CreateReservationForEventResponse: {
|
|
@@ -3534,6 +3560,46 @@ export interface components {
|
|
|
3534
3560
|
*/
|
|
3535
3561
|
requirements: components["schemas"]["Requirement"][];
|
|
3536
3562
|
};
|
|
3563
|
+
/**
|
|
3564
|
+
* LoyaltyRequirement
|
|
3565
|
+
* @description A loyalty programme field the payment page collects into `metadata`.
|
|
3566
|
+
*/
|
|
3567
|
+
LoyaltyRequirement: {
|
|
3568
|
+
/**
|
|
3569
|
+
* Field
|
|
3570
|
+
* @description Key to send in the reservation `metadata`
|
|
3571
|
+
*/
|
|
3572
|
+
field: string;
|
|
3573
|
+
/**
|
|
3574
|
+
* Type
|
|
3575
|
+
* @description Field type
|
|
3576
|
+
* @default string
|
|
3577
|
+
*/
|
|
3578
|
+
type: string;
|
|
3579
|
+
/** Required */
|
|
3580
|
+
required: boolean;
|
|
3581
|
+
/**
|
|
3582
|
+
* Pattern
|
|
3583
|
+
* @description Regular expression the value must match
|
|
3584
|
+
* @default null
|
|
3585
|
+
*/
|
|
3586
|
+
pattern: string | null;
|
|
3587
|
+
/** Max Length */
|
|
3588
|
+
max_length: number;
|
|
3589
|
+
};
|
|
3590
|
+
/**
|
|
3591
|
+
* LoyaltyRequirements
|
|
3592
|
+
* @description The distributor's loyalty programme fields, when it has any.
|
|
3593
|
+
*/
|
|
3594
|
+
LoyaltyRequirements: {
|
|
3595
|
+
/**
|
|
3596
|
+
* Code
|
|
3597
|
+
* @description Programme code; key of `loyalty.earn` values
|
|
3598
|
+
*/
|
|
3599
|
+
code: string;
|
|
3600
|
+
/** Requirements */
|
|
3601
|
+
requirements: components["schemas"]["LoyaltyRequirement"][];
|
|
3602
|
+
};
|
|
3537
3603
|
/**
|
|
3538
3604
|
* Requirement
|
|
3539
3605
|
* @description A requirement for a reservation or attendee.
|
|
@@ -3636,6 +3702,11 @@ export interface components {
|
|
|
3636
3702
|
* @description Per-reservation requirements
|
|
3637
3703
|
*/
|
|
3638
3704
|
reservations: components["schemas"]["ReservationRequirementsAndRestrictions"][];
|
|
3705
|
+
/**
|
|
3706
|
+
* @description Fields of the distributor's loyalty programme to collect on the payment page; null when the distributor has none
|
|
3707
|
+
* @default null
|
|
3708
|
+
*/
|
|
3709
|
+
loyalty: components["schemas"]["LoyaltyRequirements"];
|
|
3639
3710
|
};
|
|
3640
3711
|
/** ConfirmReservationsSchema */
|
|
3641
3712
|
ConfirmReservationsSchema: {
|
|
@@ -5378,6 +5449,13 @@ export interface operations {
|
|
|
5378
5449
|
"application/json": components["schemas"]["ValidationErrorResponse"];
|
|
5379
5450
|
};
|
|
5380
5451
|
};
|
|
5452
|
+
/** @description Service unavailable */
|
|
5453
|
+
503: {
|
|
5454
|
+
headers: {
|
|
5455
|
+
[name: string]: unknown;
|
|
5456
|
+
};
|
|
5457
|
+
content?: never;
|
|
5458
|
+
};
|
|
5381
5459
|
};
|
|
5382
5460
|
};
|
|
5383
5461
|
getAttraction: {
|
|
@@ -6061,6 +6139,13 @@ export interface operations {
|
|
|
6061
6139
|
"application/json": components["schemas"]["ValidationErrorResponse"];
|
|
6062
6140
|
};
|
|
6063
6141
|
};
|
|
6142
|
+
/** @description Service unavailable */
|
|
6143
|
+
503: {
|
|
6144
|
+
headers: {
|
|
6145
|
+
[name: string]: unknown;
|
|
6146
|
+
};
|
|
6147
|
+
content?: never;
|
|
6148
|
+
};
|
|
6064
6149
|
};
|
|
6065
6150
|
};
|
|
6066
6151
|
deleteReservations: {
|
|
@@ -7288,19 +7373,21 @@ export interface operations {
|
|
|
7288
7373
|
/** @description Search query for locations */
|
|
7289
7374
|
query?: string | null;
|
|
7290
7375
|
/** @description Number of search results to return (default: 10) */
|
|
7291
|
-
size?: number;
|
|
7376
|
+
size?: number | null;
|
|
7292
7377
|
/** @description Page number for paginated results (default: 0) */
|
|
7293
7378
|
page?: number | null;
|
|
7294
7379
|
/** @description Number of popular locations to return (default: 5) */
|
|
7295
|
-
popular_size?: number;
|
|
7380
|
+
popular_size?: number | null;
|
|
7296
7381
|
/** @description Search radius for location search (default: 200) */
|
|
7297
|
-
radius?: number;
|
|
7382
|
+
radius?: number | null;
|
|
7298
7383
|
/** @description Unit of measurement for the search radius (default: 'km') */
|
|
7299
|
-
radius_unit?: "mm" | "cm" | "m" | "km";
|
|
7384
|
+
radius_unit?: "mm" | "cm" | "m" | "km" | null;
|
|
7300
7385
|
/** @description Latitude for location search (optional) */
|
|
7301
7386
|
latitude?: number | null;
|
|
7302
7387
|
/** @description Longitude for location search (optional) */
|
|
7303
7388
|
longitude?: number | null;
|
|
7389
|
+
/** @description Country slug. Returns that country followed by its cities with the most attractions. Cannot be combined with query or coordinates. */
|
|
7390
|
+
country?: string | null;
|
|
7304
7391
|
};
|
|
7305
7392
|
header: {
|
|
7306
7393
|
/** @description Content type of the request body */
|
|
@@ -7869,4 +7956,95 @@ export interface operations {
|
|
|
7869
7956
|
};
|
|
7870
7957
|
};
|
|
7871
7958
|
};
|
|
7959
|
+
getAdvertisementImage: {
|
|
7960
|
+
parameters: {
|
|
7961
|
+
query: {
|
|
7962
|
+
/** @description Indicates if a cached response should be used if available */
|
|
7963
|
+
cache?: boolean;
|
|
7964
|
+
/** @description Filter by city names */
|
|
7965
|
+
cities?: string[];
|
|
7966
|
+
/** @description Currency code in which prices should be displayed */
|
|
7967
|
+
currency_code?: string;
|
|
7968
|
+
/** @description End date for filtering attractions */
|
|
7969
|
+
date_end?: string | null;
|
|
7970
|
+
/** @description Start date for filtering attractions */
|
|
7971
|
+
date_start: string;
|
|
7972
|
+
/** @description Distributor ID for filtering attractions */
|
|
7973
|
+
distributor_id: string;
|
|
7974
|
+
/** @description Filter by group (i.e. category) ID */
|
|
7975
|
+
group_id?: number | null;
|
|
7976
|
+
language_code?:
|
|
7977
|
+
| "ar"
|
|
7978
|
+
| "da"
|
|
7979
|
+
| "de"
|
|
7980
|
+
| "en"
|
|
7981
|
+
| "es"
|
|
7982
|
+
| "fil"
|
|
7983
|
+
| "fr"
|
|
7984
|
+
| "hu"
|
|
7985
|
+
| "id"
|
|
7986
|
+
| "is"
|
|
7987
|
+
| "it"
|
|
7988
|
+
| "ja"
|
|
7989
|
+
| "ko"
|
|
7990
|
+
| "ms"
|
|
7991
|
+
| "no"
|
|
7992
|
+
| "pl"
|
|
7993
|
+
| "pt"
|
|
7994
|
+
| "sq"
|
|
7995
|
+
| "sv"
|
|
7996
|
+
| "th"
|
|
7997
|
+
| "tr"
|
|
7998
|
+
| "vi"
|
|
7999
|
+
| "zh"
|
|
8000
|
+
| "zh_hk";
|
|
8001
|
+
/** @description Indicates if the request is for a mobile (i.e. single-column) image */
|
|
8002
|
+
mobile?: boolean;
|
|
8003
|
+
/** @description Number of columns for the image layout */
|
|
8004
|
+
num_cols: number;
|
|
8005
|
+
/** @description Page number */
|
|
8006
|
+
page?: number;
|
|
8007
|
+
size?: number;
|
|
8008
|
+
/** @description Pre-defined theme/style for the image */
|
|
8009
|
+
theme?: string;
|
|
8010
|
+
/** @description Background color for the image in RGB format */
|
|
8011
|
+
bg_color?: [number, number, number] | null;
|
|
8012
|
+
/** @description Title color for the image in RGB format */
|
|
8013
|
+
title_color?: [number, number, number] | null;
|
|
8014
|
+
/** @description Price label color for the image in RGB format */
|
|
8015
|
+
price_label_color?: [number, number, number] | null;
|
|
8016
|
+
/** @description Price color for the image in RGB format */
|
|
8017
|
+
price_color?: [number, number, number] | null;
|
|
8018
|
+
};
|
|
8019
|
+
header: {
|
|
8020
|
+
/** @description Content type of the request body */
|
|
8021
|
+
"Content-Type": string;
|
|
8022
|
+
/** @description Distributor identifier */
|
|
8023
|
+
"Coras-Distributor": string;
|
|
8024
|
+
};
|
|
8025
|
+
path?: never;
|
|
8026
|
+
cookie?: never;
|
|
8027
|
+
};
|
|
8028
|
+
requestBody?: never;
|
|
8029
|
+
responses: {
|
|
8030
|
+
/** @description Advertisement image */
|
|
8031
|
+
200: {
|
|
8032
|
+
headers: {
|
|
8033
|
+
[name: string]: unknown;
|
|
8034
|
+
};
|
|
8035
|
+
content: {
|
|
8036
|
+
"image/png": string;
|
|
8037
|
+
};
|
|
8038
|
+
};
|
|
8039
|
+
/** @description Validation error */
|
|
8040
|
+
422: {
|
|
8041
|
+
headers: {
|
|
8042
|
+
[name: string]: unknown;
|
|
8043
|
+
};
|
|
8044
|
+
content: {
|
|
8045
|
+
"application/json": components["schemas"]["ValidationErrorResponse"];
|
|
8046
|
+
};
|
|
8047
|
+
};
|
|
8048
|
+
};
|
|
8049
|
+
};
|
|
7872
8050
|
}
|
|
@@ -2,5 +2,4 @@ export type { Category } from "./category.js";
|
|
|
2
2
|
export type { SupportedCurrencies } from "./currency.js";
|
|
3
3
|
export type { SupportedLocales } from "./locale.js";
|
|
4
4
|
export type { Rating } from "./rating.js";
|
|
5
|
-
export type { CalculateRewardPointsData, CalculateRewardPoints, } from "./points.js";
|
|
6
5
|
export type { Sorting } from "./sorting.js";
|
|
@@ -2,5 +2,4 @@ export type { Basket, BasketItem, Ticket } from "./basket.js";
|
|
|
2
2
|
export * from "./core/index.js";
|
|
3
3
|
export type { Currency } from "./currencies.js";
|
|
4
4
|
export type { Locale } from "./locales.js";
|
|
5
|
-
export type { CalculateRewardPointsData } from "../../core/types/core/points.js";
|
|
6
5
|
export type { CorasPaymentStatusDetail, CorasReservationCreatedDetail, } from "../../sdk/types.js";
|
|
@@ -1,8 +1,41 @@
|
|
|
1
1
|
import type { components } from "../types/api-schema.js";
|
|
2
|
-
/** The loyalty token the API keys pay and earn amounts by. */
|
|
2
|
+
/** The FIDA loyalty token the API keys crypto pay and earn amounts by. */
|
|
3
3
|
export declare const LOYALTY_TOKEN_SYMBOL = "FIDA";
|
|
4
|
+
export type Loyalty = components["schemas"]["LoyaltySchema"];
|
|
5
|
+
export type LoyaltyRequirement = components["schemas"]["LoyaltyRequirement"];
|
|
6
|
+
export type LoyaltyRequirements = components["schemas"]["LoyaltyRequirements"];
|
|
4
7
|
/**
|
|
5
|
-
*
|
|
6
|
-
*
|
|
8
|
+
* How the host presents the distributor's loyalty programme (the SDK
|
|
9
|
+
* `config.loyalty` option). The API only carries the amounts, keyed by `code`,
|
|
10
|
+
* and the checkout field rules; names, unit words, labels and artwork are the
|
|
11
|
+
* host's, so the package stays free of programme specifics.
|
|
7
12
|
*/
|
|
8
|
-
export
|
|
13
|
+
export type LoyaltyProgramme = {
|
|
14
|
+
/** Programme code; the key of `loyalty.earn` values in API responses. */
|
|
15
|
+
code: string;
|
|
16
|
+
name: string;
|
|
17
|
+
unit: {
|
|
18
|
+
singular: string;
|
|
19
|
+
plural: string;
|
|
20
|
+
};
|
|
21
|
+
logo?: string;
|
|
22
|
+
/** Logo for dark surfaces; `logo` is used when unset. */
|
|
23
|
+
logoDark?: string;
|
|
24
|
+
icon?: string;
|
|
25
|
+
termsUrl?: string;
|
|
26
|
+
/** Wording for the checkout fields the API lists, keyed by field name; the label is shown as the field's placeholder. */
|
|
27
|
+
fields?: Record<string, {
|
|
28
|
+
label: string;
|
|
29
|
+
helpText?: string;
|
|
30
|
+
}>;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Reads the loyalty amount to pay or earn for a programme code. The API keys
|
|
34
|
+
* the amount by programme code (FIDA by default); anything missing or
|
|
35
|
+
* non-numeric counts as 0.
|
|
36
|
+
*/
|
|
37
|
+
export declare function getLoyaltyAmount(loyalty: Loyalty | null | undefined, field: "pay" | "earn", code?: string): number;
|
|
38
|
+
export declare function getProgrammeUnitsEarned(loyalty: Loyalty | null | undefined, programme: LoyaltyProgramme | null | undefined): number;
|
|
39
|
+
export declare function sumProgrammeUnitsEarned(items: ReadonlyArray<{
|
|
40
|
+
loyalty?: Loyalty | null;
|
|
41
|
+
}>, programme: LoyaltyProgramme | null | undefined): number;
|
|
@@ -1,10 +1,19 @@
|
|
|
1
|
-
/** The loyalty token the API keys pay and earn amounts by. */
|
|
1
|
+
/** The FIDA loyalty token the API keys crypto pay and earn amounts by. */
|
|
2
2
|
export const LOYALTY_TOKEN_SYMBOL = "FIDA";
|
|
3
3
|
/**
|
|
4
|
-
* Reads the loyalty
|
|
5
|
-
*
|
|
4
|
+
* Reads the loyalty amount to pay or earn for a programme code. The API keys
|
|
5
|
+
* the amount by programme code (FIDA by default); anything missing or
|
|
6
|
+
* non-numeric counts as 0.
|
|
6
7
|
*/
|
|
7
|
-
export function getLoyaltyAmount(loyalty, field) {
|
|
8
|
-
const amount = Number(loyalty?.[field]?.[
|
|
8
|
+
export function getLoyaltyAmount(loyalty, field, code = LOYALTY_TOKEN_SYMBOL) {
|
|
9
|
+
const amount = Number(loyalty?.[field]?.[code] ?? 0);
|
|
9
10
|
return Number.isNaN(amount) ? 0 : amount;
|
|
10
11
|
}
|
|
12
|
+
export function getProgrammeUnitsEarned(loyalty, programme) {
|
|
13
|
+
if (!programme)
|
|
14
|
+
return 0;
|
|
15
|
+
return getLoyaltyAmount(loyalty, "earn", programme.code);
|
|
16
|
+
}
|
|
17
|
+
export function sumProgrammeUnitsEarned(items, programme) {
|
|
18
|
+
return items.reduce((total, item) => total + getProgrammeUnitsEarned(item.loyalty, programme), 0);
|
|
19
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { msg, str } from "@lit/localize";
|
|
2
|
+
// Collapses a reservation's per-ticket seat data into a section line and a
|
|
3
|
+
// seat line ("Row 9, Seats 11, 12", or bare labels like "F5, F6" when the API
|
|
4
|
+
// gives seat names without a separate row/number). General-admission tickets
|
|
5
|
+
// carry no seat fields, so both come back empty and the seat row is dropped.
|
|
6
|
+
export function getSeatDetails(tickets) {
|
|
7
|
+
if (!tickets || tickets.length === 0) {
|
|
8
|
+
return { section: "", seats: "" };
|
|
9
|
+
}
|
|
10
|
+
const sections = new Set();
|
|
11
|
+
const seatsByRow = new Map();
|
|
12
|
+
const looseSeats = [];
|
|
13
|
+
for (const ticket of tickets) {
|
|
14
|
+
const section = "section" in ticket ? ticket.section : undefined;
|
|
15
|
+
const rowName = "row_name" in ticket ? ticket.row_name : undefined;
|
|
16
|
+
const seatNumber = "seat_number" in ticket ? ticket.seat_number : undefined;
|
|
17
|
+
const seatName = "seat_name" in ticket ? ticket.seat_name : undefined;
|
|
18
|
+
if (section) {
|
|
19
|
+
sections.add(section);
|
|
20
|
+
}
|
|
21
|
+
const row = rowName?.toString().trim();
|
|
22
|
+
const number = seatNumber?.toString().trim();
|
|
23
|
+
if (row && number) {
|
|
24
|
+
const seats = seatsByRow.get(row) ?? [];
|
|
25
|
+
seats.push(number);
|
|
26
|
+
seatsByRow.set(row, seats);
|
|
27
|
+
}
|
|
28
|
+
else if (seatName) {
|
|
29
|
+
looseSeats.push(seatName);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
const rowSeats = [...seatsByRow.entries()].map(([row, seats]) => {
|
|
33
|
+
const seatList = seats.join(", ");
|
|
34
|
+
return msg(str `Row ${row}, Seats ${seatList}`);
|
|
35
|
+
});
|
|
36
|
+
return {
|
|
37
|
+
section: [...sections].join(", "),
|
|
38
|
+
seats: [...rowSeats, ...looseSeats].join(" · "),
|
|
39
|
+
};
|
|
40
|
+
}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { mount } from "./sdk/mount.js";
|
|
2
2
|
export { CorasValidationError, type CorasValidationErrorCode, } from "./sdk/validation.js";
|
|
3
|
-
export type { CorasApp, CorasConfig, CorasTheme, CorasColorScheme, CorasChrome, CorasChromeOptions, CorasNavbar, CorasFooter, CorasManagedNavbar, CorasManagedFooter, CorasNavbarSlotName, CorasNavbarProps, CorasMountOptions, CorasState, CorasUpdate, CorasConfigUpdate, CorasNavigateOptions, CorasCallbacks, CorasLogger, CorasObservabilityEvent, CorasPageName, CorasPageParams, CorasPageParamsByPage, CorasLandingPageParams, CorasSearchPageParams, CorasDetailsPageParams, CorasPaymentPageParams, CorasHelpPageParams, CorasSuggestionWidgetParams, CorasHostEventMap, CorasHostEventName, CorasReadyDetail, CorasNavigateDetail, CorasStateChangeDetail, CorasReservationCreatedDetail, CorasPaymentStatusDetail, CorasPaymentStatus, CorasErrorDetail, CorasNavigationSource, } from "./sdk/types.js";
|
|
3
|
+
export type { CorasApp, CorasConfig, CorasLoyaltyProgramme, CorasTheme, CorasColorScheme, CorasChrome, CorasChromeOptions, CorasNavbar, CorasFooter, CorasManagedNavbar, CorasManagedFooter, CorasNavbarSlotName, CorasNavbarProps, CorasMountOptions, CorasState, CorasUpdate, CorasConfigUpdate, CorasNavigateOptions, CorasCallbacks, CorasLogger, CorasObservabilityEvent, CorasPageName, CorasPageParams, CorasPageParamsByPage, CorasLandingPageParams, CorasSearchPageParams, CorasDetailsPageParams, CorasPaymentPageParams, CorasHelpPageParams, CorasSuggestionWidgetParams, CorasHostEventMap, CorasHostEventName, CorasReadyDetail, CorasNavigateDetail, CorasStateChangeDetail, CorasReservationCreatedDetail, CorasPaymentStatusDetail, CorasPaymentStatus, CorasErrorDetail, CorasNavigationSource, } from "./sdk/types.js";
|
|
4
4
|
export type { SupportedLocales } from "./core/types/core/locale.js";
|
|
5
5
|
export type { SupportedCurrencies } from "./core/types/core/currency.js";
|
|
6
6
|
export { allLocales } from "./core/i18n/locale-codes.js";
|
package/dist/locales/ar-SA.d.ts
CHANGED
|
@@ -252,6 +252,8 @@ export declare const templates: {
|
|
|
252
252
|
sfd25dcb1e3a468be: string;
|
|
253
253
|
sffdadf0a576fd802: string;
|
|
254
254
|
s8ffdc67bd6500a2f: string;
|
|
255
|
+
sfe5857d2790cdd68: string;
|
|
256
|
+
s43d13a9f9be37bd6: import("@lit/localize").StrResult;
|
|
255
257
|
sb4f1dffbb6be6302: string;
|
|
256
258
|
scd0ddab5a7a0f930: string;
|
|
257
259
|
s5d929ff1619ac0c9: string;
|
|
@@ -277,6 +279,8 @@ export declare const templates: {
|
|
|
277
279
|
h12f3bd3a64c46efe: import("lit").TemplateResult<1>;
|
|
278
280
|
h82c989f2494613fa: import("lit").TemplateResult<1>;
|
|
279
281
|
hb3090d5e6b53fe7c: import("lit").TemplateResult<1>;
|
|
282
|
+
sfb133d29f827abad: string;
|
|
283
|
+
s3bbf2f969fa4d9c1: string;
|
|
280
284
|
s3e006a806d3b4691: string;
|
|
281
285
|
sc3b5f0655f7e750e: string;
|
|
282
286
|
sd22efd1a56ff1273: string;
|
|
@@ -288,6 +292,7 @@ export declare const templates: {
|
|
|
288
292
|
s1e2b6f4c6cb2282b: string;
|
|
289
293
|
sf562460f1ffdc5e1: string;
|
|
290
294
|
see08734dfee6e873: string;
|
|
295
|
+
s824b623a81eb8062: string;
|
|
291
296
|
s6e95582c3d7ff15e: string;
|
|
292
297
|
s008e64897466dd2a: string;
|
|
293
298
|
s028ef49bb8631312: string;
|
package/dist/locales/ar-SA.js
CHANGED
|
@@ -258,6 +258,8 @@ export const templates = {
|
|
|
258
258
|
'sfd25dcb1e3a468be': `البحث عن الفعاليات`,
|
|
259
259
|
'sffdadf0a576fd802': `ارتفاع`,
|
|
260
260
|
's8ffdc67bd6500a2f': `Near me`,
|
|
261
|
+
'sfe5857d2790cdd68': `All locations`,
|
|
262
|
+
's43d13a9f9be37bd6': str `All ${0} locations`,
|
|
261
263
|
'sb4f1dffbb6be6302': `Clear`,
|
|
262
264
|
'scd0ddab5a7a0f930': `Drawer`,
|
|
263
265
|
's5d929ff1619ac0c9': `Search`,
|
|
@@ -286,6 +288,8 @@ export const templates = {
|
|
|
286
288
|
6-digit code below to confirm your payment.`,
|
|
287
289
|
'hb3090d5e6b53fe7c': html `We'll send a one-time code to your phone number ending in
|
|
288
290
|
${0} to verify it.`,
|
|
291
|
+
'sfb133d29f827abad': `Please enter a valid value`,
|
|
292
|
+
's3bbf2f969fa4d9c1': `Seats`,
|
|
289
293
|
's3e006a806d3b4691': `Payment`,
|
|
290
294
|
'sc3b5f0655f7e750e': `Payment configuration error. Please try again.`,
|
|
291
295
|
'sd22efd1a56ff1273': `Payment validation error. Please try again.`,
|
|
@@ -297,6 +301,7 @@ export const templates = {
|
|
|
297
301
|
's1e2b6f4c6cb2282b': `Verification failed`,
|
|
298
302
|
'sf562460f1ffdc5e1': `Failed to resend code`,
|
|
299
303
|
'see08734dfee6e873': `An unexpected error occurred. Please try again.`,
|
|
304
|
+
's824b623a81eb8062': `Additional details`,
|
|
300
305
|
's6e95582c3d7ff15e': `At least one reservation is required`,
|
|
301
306
|
's008e64897466dd2a': `We could not save your pickup point. Please try again.`,
|
|
302
307
|
's028ef49bb8631312': `We are confirming your payment`,
|
package/dist/locales/da-DK.d.ts
CHANGED
|
@@ -252,6 +252,8 @@ export declare const templates: {
|
|
|
252
252
|
sfd25dcb1e3a468be: string;
|
|
253
253
|
sffdadf0a576fd802: string;
|
|
254
254
|
s8ffdc67bd6500a2f: string;
|
|
255
|
+
sfe5857d2790cdd68: string;
|
|
256
|
+
s43d13a9f9be37bd6: import("@lit/localize").StrResult;
|
|
255
257
|
sb4f1dffbb6be6302: string;
|
|
256
258
|
scd0ddab5a7a0f930: string;
|
|
257
259
|
s5d929ff1619ac0c9: string;
|
|
@@ -277,6 +279,8 @@ export declare const templates: {
|
|
|
277
279
|
h12f3bd3a64c46efe: import("lit").TemplateResult<1>;
|
|
278
280
|
h82c989f2494613fa: import("lit").TemplateResult<1>;
|
|
279
281
|
hb3090d5e6b53fe7c: import("lit").TemplateResult<1>;
|
|
282
|
+
sfb133d29f827abad: string;
|
|
283
|
+
s3bbf2f969fa4d9c1: string;
|
|
280
284
|
s3e006a806d3b4691: string;
|
|
281
285
|
sc3b5f0655f7e750e: string;
|
|
282
286
|
sd22efd1a56ff1273: string;
|
|
@@ -288,6 +292,7 @@ export declare const templates: {
|
|
|
288
292
|
s1e2b6f4c6cb2282b: string;
|
|
289
293
|
sf562460f1ffdc5e1: string;
|
|
290
294
|
see08734dfee6e873: string;
|
|
295
|
+
s824b623a81eb8062: string;
|
|
291
296
|
s6e95582c3d7ff15e: string;
|
|
292
297
|
s008e64897466dd2a: string;
|
|
293
298
|
s028ef49bb8631312: string;
|
package/dist/locales/da-DK.js
CHANGED
|
@@ -258,6 +258,8 @@ export const templates = {
|
|
|
258
258
|
'sfd25dcb1e3a468be': `Søg efter begivenheder`,
|
|
259
259
|
'sffdadf0a576fd802': `Højde`,
|
|
260
260
|
's8ffdc67bd6500a2f': `Near me`,
|
|
261
|
+
'sfe5857d2790cdd68': `All locations`,
|
|
262
|
+
's43d13a9f9be37bd6': str `All ${0} locations`,
|
|
261
263
|
'sb4f1dffbb6be6302': `Clear`,
|
|
262
264
|
'scd0ddab5a7a0f930': `Drawer`,
|
|
263
265
|
's5d929ff1619ac0c9': `Search`,
|
|
@@ -286,6 +288,8 @@ export const templates = {
|
|
|
286
288
|
6-digit code below to confirm your payment.`,
|
|
287
289
|
'hb3090d5e6b53fe7c': html `We'll send a one-time code to your phone number ending in
|
|
288
290
|
${0} to verify it.`,
|
|
291
|
+
'sfb133d29f827abad': `Please enter a valid value`,
|
|
292
|
+
's3bbf2f969fa4d9c1': `Seats`,
|
|
289
293
|
's3e006a806d3b4691': `Payment`,
|
|
290
294
|
'sc3b5f0655f7e750e': `Payment configuration error. Please try again.`,
|
|
291
295
|
'sd22efd1a56ff1273': `Payment validation error. Please try again.`,
|
|
@@ -297,6 +301,7 @@ export const templates = {
|
|
|
297
301
|
's1e2b6f4c6cb2282b': `Verification failed`,
|
|
298
302
|
'sf562460f1ffdc5e1': `Failed to resend code`,
|
|
299
303
|
'see08734dfee6e873': `An unexpected error occurred. Please try again.`,
|
|
304
|
+
's824b623a81eb8062': `Additional details`,
|
|
300
305
|
's6e95582c3d7ff15e': `At least one reservation is required`,
|
|
301
306
|
's008e64897466dd2a': `We could not save your pickup point. Please try again.`,
|
|
302
307
|
's028ef49bb8631312': `We are confirming your payment`,
|
package/dist/locales/de-DE.d.ts
CHANGED
|
@@ -252,6 +252,8 @@ export declare const templates: {
|
|
|
252
252
|
sfd25dcb1e3a468be: string;
|
|
253
253
|
sffdadf0a576fd802: string;
|
|
254
254
|
s8ffdc67bd6500a2f: string;
|
|
255
|
+
sfe5857d2790cdd68: string;
|
|
256
|
+
s43d13a9f9be37bd6: import("@lit/localize").StrResult;
|
|
255
257
|
sb4f1dffbb6be6302: string;
|
|
256
258
|
scd0ddab5a7a0f930: string;
|
|
257
259
|
s5d929ff1619ac0c9: string;
|
|
@@ -277,6 +279,8 @@ export declare const templates: {
|
|
|
277
279
|
h12f3bd3a64c46efe: import("lit").TemplateResult<1>;
|
|
278
280
|
h82c989f2494613fa: import("lit").TemplateResult<1>;
|
|
279
281
|
hb3090d5e6b53fe7c: import("lit").TemplateResult<1>;
|
|
282
|
+
sfb133d29f827abad: string;
|
|
283
|
+
s3bbf2f969fa4d9c1: string;
|
|
280
284
|
s3e006a806d3b4691: string;
|
|
281
285
|
sc3b5f0655f7e750e: string;
|
|
282
286
|
sd22efd1a56ff1273: string;
|
|
@@ -288,6 +292,7 @@ export declare const templates: {
|
|
|
288
292
|
s1e2b6f4c6cb2282b: string;
|
|
289
293
|
sf562460f1ffdc5e1: string;
|
|
290
294
|
see08734dfee6e873: string;
|
|
295
|
+
s824b623a81eb8062: string;
|
|
291
296
|
s6e95582c3d7ff15e: string;
|
|
292
297
|
s008e64897466dd2a: string;
|
|
293
298
|
s028ef49bb8631312: string;
|
package/dist/locales/de-DE.js
CHANGED
|
@@ -258,6 +258,8 @@ export const templates = {
|
|
|
258
258
|
'sfd25dcb1e3a468be': `Ereignisse suchen`,
|
|
259
259
|
'sffdadf0a576fd802': `Höhe`,
|
|
260
260
|
's8ffdc67bd6500a2f': `Near me`,
|
|
261
|
+
'sfe5857d2790cdd68': `All locations`,
|
|
262
|
+
's43d13a9f9be37bd6': str `All ${0} locations`,
|
|
261
263
|
'sb4f1dffbb6be6302': `Clear`,
|
|
262
264
|
'scd0ddab5a7a0f930': `Drawer`,
|
|
263
265
|
's5d929ff1619ac0c9': `Search`,
|
|
@@ -286,6 +288,8 @@ export const templates = {
|
|
|
286
288
|
6-digit code below to confirm your payment.`,
|
|
287
289
|
'hb3090d5e6b53fe7c': html `We'll send a one-time code to your phone number ending in
|
|
288
290
|
${0} to verify it.`,
|
|
291
|
+
'sfb133d29f827abad': `Please enter a valid value`,
|
|
292
|
+
's3bbf2f969fa4d9c1': `Seats`,
|
|
289
293
|
's3e006a806d3b4691': `Payment`,
|
|
290
294
|
'sc3b5f0655f7e750e': `Payment configuration error. Please try again.`,
|
|
291
295
|
'sd22efd1a56ff1273': `Payment validation error. Please try again.`,
|
|
@@ -297,6 +301,7 @@ export const templates = {
|
|
|
297
301
|
's1e2b6f4c6cb2282b': `Verification failed`,
|
|
298
302
|
'sf562460f1ffdc5e1': `Failed to resend code`,
|
|
299
303
|
'see08734dfee6e873': `An unexpected error occurred. Please try again.`,
|
|
304
|
+
's824b623a81eb8062': `Additional details`,
|
|
300
305
|
's6e95582c3d7ff15e': `At least one reservation is required`,
|
|
301
306
|
's008e64897466dd2a': `We could not save your pickup point. Please try again.`,
|
|
302
307
|
's028ef49bb8631312': `We are confirming your payment`,
|
package/dist/locales/en-IE.d.ts
CHANGED
|
@@ -252,6 +252,8 @@ export declare const templates: {
|
|
|
252
252
|
sfd25dcb1e3a468be: string;
|
|
253
253
|
sffdadf0a576fd802: string;
|
|
254
254
|
s8ffdc67bd6500a2f: string;
|
|
255
|
+
sfe5857d2790cdd68: string;
|
|
256
|
+
s43d13a9f9be37bd6: import("@lit/localize").StrResult;
|
|
255
257
|
sb4f1dffbb6be6302: string;
|
|
256
258
|
scd0ddab5a7a0f930: string;
|
|
257
259
|
s5d929ff1619ac0c9: string;
|
|
@@ -277,6 +279,8 @@ export declare const templates: {
|
|
|
277
279
|
h12f3bd3a64c46efe: import("lit").TemplateResult<1>;
|
|
278
280
|
h82c989f2494613fa: import("lit").TemplateResult<1>;
|
|
279
281
|
hb3090d5e6b53fe7c: import("lit").TemplateResult<1>;
|
|
282
|
+
sfb133d29f827abad: string;
|
|
283
|
+
s3bbf2f969fa4d9c1: string;
|
|
280
284
|
s3e006a806d3b4691: string;
|
|
281
285
|
sc3b5f0655f7e750e: string;
|
|
282
286
|
sd22efd1a56ff1273: string;
|
|
@@ -288,6 +292,7 @@ export declare const templates: {
|
|
|
288
292
|
s1e2b6f4c6cb2282b: string;
|
|
289
293
|
sf562460f1ffdc5e1: string;
|
|
290
294
|
see08734dfee6e873: string;
|
|
295
|
+
s824b623a81eb8062: string;
|
|
291
296
|
s6e95582c3d7ff15e: string;
|
|
292
297
|
s008e64897466dd2a: string;
|
|
293
298
|
s028ef49bb8631312: string;
|
package/dist/locales/en-IE.js
CHANGED
|
@@ -258,6 +258,8 @@ export const templates = {
|
|
|
258
258
|
'sfd25dcb1e3a468be': `Search events`,
|
|
259
259
|
'sffdadf0a576fd802': `Height`,
|
|
260
260
|
's8ffdc67bd6500a2f': `Near me`,
|
|
261
|
+
'sfe5857d2790cdd68': `All locations`,
|
|
262
|
+
's43d13a9f9be37bd6': str `All ${0} locations`,
|
|
261
263
|
'sb4f1dffbb6be6302': `Clear`,
|
|
262
264
|
'scd0ddab5a7a0f930': `Drawer`,
|
|
263
265
|
's5d929ff1619ac0c9': `Search`,
|
|
@@ -286,6 +288,8 @@ export const templates = {
|
|
|
286
288
|
6-digit code below to confirm your payment.`,
|
|
287
289
|
'hb3090d5e6b53fe7c': html `We'll send a one-time code to your phone number ending in
|
|
288
290
|
${0} to verify it.`,
|
|
291
|
+
'sfb133d29f827abad': `Please enter a valid value`,
|
|
292
|
+
's3bbf2f969fa4d9c1': `Seats`,
|
|
289
293
|
's3e006a806d3b4691': `Payment`,
|
|
290
294
|
'sc3b5f0655f7e750e': `Payment configuration error. Please try again.`,
|
|
291
295
|
'sd22efd1a56ff1273': `Payment validation error. Please try again.`,
|
|
@@ -297,6 +301,7 @@ export const templates = {
|
|
|
297
301
|
's1e2b6f4c6cb2282b': `Verification failed`,
|
|
298
302
|
'sf562460f1ffdc5e1': `Failed to resend code`,
|
|
299
303
|
'see08734dfee6e873': `An unexpected error occurred. Please try again.`,
|
|
304
|
+
's824b623a81eb8062': `Additional details`,
|
|
300
305
|
's6e95582c3d7ff15e': `At least one reservation is required`,
|
|
301
306
|
's008e64897466dd2a': `We could not save your pickup point. Please try again.`,
|
|
302
307
|
's028ef49bb8631312': `We are confirming your payment`,
|
package/dist/locales/en-US.d.ts
CHANGED
|
@@ -252,6 +252,8 @@ export declare const templates: {
|
|
|
252
252
|
sfd25dcb1e3a468be: string;
|
|
253
253
|
sffdadf0a576fd802: string;
|
|
254
254
|
s8ffdc67bd6500a2f: string;
|
|
255
|
+
sfe5857d2790cdd68: string;
|
|
256
|
+
s43d13a9f9be37bd6: import("@lit/localize").StrResult;
|
|
255
257
|
sb4f1dffbb6be6302: string;
|
|
256
258
|
scd0ddab5a7a0f930: string;
|
|
257
259
|
s5d929ff1619ac0c9: string;
|
|
@@ -277,6 +279,8 @@ export declare const templates: {
|
|
|
277
279
|
h12f3bd3a64c46efe: import("lit").TemplateResult<1>;
|
|
278
280
|
h82c989f2494613fa: import("lit").TemplateResult<1>;
|
|
279
281
|
hb3090d5e6b53fe7c: import("lit").TemplateResult<1>;
|
|
282
|
+
sfb133d29f827abad: string;
|
|
283
|
+
s3bbf2f969fa4d9c1: string;
|
|
280
284
|
s3e006a806d3b4691: string;
|
|
281
285
|
sc3b5f0655f7e750e: string;
|
|
282
286
|
sd22efd1a56ff1273: string;
|
|
@@ -288,6 +292,7 @@ export declare const templates: {
|
|
|
288
292
|
s1e2b6f4c6cb2282b: string;
|
|
289
293
|
sf562460f1ffdc5e1: string;
|
|
290
294
|
see08734dfee6e873: string;
|
|
295
|
+
s824b623a81eb8062: string;
|
|
291
296
|
s6e95582c3d7ff15e: string;
|
|
292
297
|
s008e64897466dd2a: string;
|
|
293
298
|
s028ef49bb8631312: string;
|
package/dist/locales/en-US.js
CHANGED
|
@@ -258,6 +258,8 @@ export const templates = {
|
|
|
258
258
|
'sfd25dcb1e3a468be': `Search events`,
|
|
259
259
|
'sffdadf0a576fd802': `Height`,
|
|
260
260
|
's8ffdc67bd6500a2f': `Near me`,
|
|
261
|
+
'sfe5857d2790cdd68': `All locations`,
|
|
262
|
+
's43d13a9f9be37bd6': str `All ${0} locations`,
|
|
261
263
|
'sb4f1dffbb6be6302': `Clear`,
|
|
262
264
|
'scd0ddab5a7a0f930': `Drawer`,
|
|
263
265
|
's5d929ff1619ac0c9': `Search`,
|
|
@@ -286,6 +288,8 @@ export const templates = {
|
|
|
286
288
|
6-digit code below to confirm your payment.`,
|
|
287
289
|
'hb3090d5e6b53fe7c': html `We'll send a one-time code to your phone number ending in
|
|
288
290
|
${0} to verify it.`,
|
|
291
|
+
'sfb133d29f827abad': `Please enter a valid value`,
|
|
292
|
+
's3bbf2f969fa4d9c1': `Seats`,
|
|
289
293
|
's3e006a806d3b4691': `Payment`,
|
|
290
294
|
'sc3b5f0655f7e750e': `Payment configuration error. Please try again.`,
|
|
291
295
|
'sd22efd1a56ff1273': `Payment validation error. Please try again.`,
|
|
@@ -297,6 +301,7 @@ export const templates = {
|
|
|
297
301
|
's1e2b6f4c6cb2282b': `Verification failed`,
|
|
298
302
|
'sf562460f1ffdc5e1': `Failed to resend code`,
|
|
299
303
|
'see08734dfee6e873': `An unexpected error occurred. Please try again.`,
|
|
304
|
+
's824b623a81eb8062': `Additional details`,
|
|
300
305
|
's6e95582c3d7ff15e': `At least one reservation is required`,
|
|
301
306
|
's008e64897466dd2a': `We could not save your pickup point. Please try again.`,
|
|
302
307
|
's028ef49bb8631312': `We are confirming your payment`,
|