@aristid/leav-types 1.5.1-c152bc02 → 1.5.1-d8b7ee74

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.
@@ -54,8 +54,11 @@ export declare namespace auth {
54
54
  let skipLogoutConfirmationPage: boolean;
55
55
  let idTokenUserClaim: string;
56
56
  let enableAutoProvisioning: boolean;
57
+ let retryAuthenticationFlowAfterExpiry: boolean;
58
+ let verificationKeysExpiration: string;
57
59
  }
58
60
  let testApiKey: string;
61
+ let debugLog: boolean;
59
62
  }
60
63
  export declare namespace mailer {
61
64
  let host_1: string;
@@ -100,6 +100,7 @@ export interface IAuth {
100
100
  postLogoutRedirectUri?: string;
101
101
  skipLogoutConfirmationPage?: boolean;
102
102
  idTokenUserClaim?: string;
103
+ verificationKeysExpiration: string;
103
104
  } | {
104
105
  enable: true;
105
106
  wellKnownEndpoint: string;
@@ -108,8 +109,14 @@ export interface IAuth {
108
109
  skipLogoutConfirmationPage?: boolean;
109
110
  idTokenUserClaim: string;
110
111
  enableAutoProvisioning: boolean;
112
+ retryAuthenticationFlowAfterExpiry: boolean;
113
+ verificationKeysExpiration: string;
111
114
  };
112
115
  testApiKey?: string;
116
+ /**
117
+ * Enable some silly/debug/error logs in auth/oidc services
118
+ */
119
+ debugLog?: boolean;
113
120
  }
114
121
  export interface IMailer {
115
122
  host: string;
@@ -40,6 +40,10 @@ export interface ICreateNotification {
40
40
  */
41
41
  priority: 'urgent' | 'normal';
42
42
  content: INotificationContent;
43
+ /**
44
+ * Channels to send the notification to (if not set, all channels will be used)
45
+ */
46
+ channels?: NotificationChannels[];
43
47
  }
44
48
  export declare enum NotificationChannels {
45
49
  EMAIL = "email",
@@ -1,3 +1,8 @@
1
+ interface IAuthenticationErrorOptions {
2
+ retryAuthenticationFlow?: boolean;
3
+ }
1
4
  export default class AuthenticationError extends Error {
2
- constructor(message?: string);
5
+ readonly retryAuthenticationFlow: boolean;
6
+ constructor(message?: string, options?: IAuthenticationErrorOptions);
3
7
  }
8
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aristid/leav-types",
3
- "version": "1.5.1-c152bc02",
3
+ "version": "1.5.1-d8b7ee74",
4
4
  "description": "Shared Leav types",
5
5
  "scripts": {
6
6
  "tscheck": "",