@@ -253,8 +253,9 @@ export type UserNamespaceProperties = {
253253
254254export interface IInitObject {
255255 appId : string ;
256- subdomainName ?: string ;
257256 requiresUserPrivacyConsent ?: boolean ;
257+ safari_web_id ?: string ;
258+ subdomainName ?: string ;
258259 promptOptions ?: {
259260 slidedown : {
260261 prompts : {
@@ -270,7 +271,7 @@ export interface IInitObject {
270271 * @example
271272 * categories: [{ tag: 'local_news', label: 'Local News' }] // The user will be tagged with local_news but will see "Local News" in the prompt.
272273 */
273- categories : {
274+ categories ? : {
274275 /** Should identify the action. */
275276 tag : string ;
276277
@@ -301,7 +302,7 @@ export interface IInitObject {
301302 acceptButton ?: string ;
302303
303304 /** Cancels opt-in. Up to 15 characters. */
304- cancelMessage ?: string ;
305+ cancelButton ?: string ;
305306
306307 /** The message of the confirmation prompt displayed after the email and/or phone number is provided. Up to 90 characters. */
307308 confirmMessage ?: string ;
@@ -450,15 +451,13 @@ export interface IInitObject {
450451 } ;
451452 autoResubscribe ?: boolean ;
452453 autoRegister ?: boolean ;
453- notificationClickHandlerMatch ?: string ;
454- notificationClickHandlerAction ?: string ;
454+ notificationClickHandlerMatch ?: 'exact' | 'origin' ;
455+ notificationClickHandlerAction ?: 'navigate' | 'focus' ;
455456 path ?: string ;
456457 serviceWorkerParam ?: { scope : string } ;
457458 serviceWorkerPath ?: string ;
458459 serviceWorkerOverrideForTypical ?: boolean ;
459- serviceWorkerUpdaterPath ?: string ;
460- allowLocalhostAsSecureOrigin ?: boolean ;
461- [ key : string ] : any ;
460+ [ key : string ] : unknown ;
462461}
463462
464463export interface IOneSignalOneSignal {
0 commit comments