From 7ccae180773052f8da188a0b918ade14e25cda9f Mon Sep 17 00:00:00 2001 From: Alexander Cerutti Date: Thu, 9 Jan 2025 01:21:08 +0100 Subject: [PATCH] Added support to auxiliaryStoreIdentifiers --- src/schemas/index.ts | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/src/schemas/index.ts b/src/schemas/index.ts index 2e68c3d..1c06dc6 100644 --- a/src/schemas/index.ts +++ b/src/schemas/index.ts @@ -286,6 +286,20 @@ export interface PassProps { * are ignored. */ useAutomaticColor?: boolean; + + /** + * New field for iOS 18 Event Ticket. + * Applications AppStore Identifiers + * related to the event ticket. + * + * It is not mandatory for the app to + * be related to the pass issuer. + * + * Such applications won't be able to read + * the passes users has (probably differently + * by `associatedStoreIdentifiers`). + */ + auxiliaryStoreIdentifiers: number[]; } /** @@ -527,6 +541,20 @@ export const OverridablePassProps = Joi.object({ * are ignored. */ useAutomaticColor: Joi.boolean(), + + /** + * New field for iOS 18 Event Ticket. + * Applications AppStore Identifiers + * related to the event ticket. + * + * It is not mandatory for the app to + * be related to the pass issuer. + * + * Such applications won't be able to read + * the passes users has (probably differently + * by `associatedStoreIdentifiers`). + */ + auxiliaryStoreIdentifiers: Joi.array().items(Joi.number()), }).with("webServiceURL", "authenticationToken"); export const PassProps = Joi.object<