@punks/backend-entity-manager 0.0.330 → 0.0.332

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.
@@ -58,6 +58,7 @@ export interface IAuthUser {
58
58
  }
59
59
  export interface IAuthUserContext {
60
60
  organizationUid?: string;
61
+ directoryUid?: string;
61
62
  }
62
63
  export interface IAuthUserTokenData<TContext extends IAuthUserContext> {
63
64
  userId: string;
@@ -3,4 +3,5 @@ export type UserInvitationSendInput = {
3
3
  userId: string;
4
4
  callback: UserRegisterCallbackTemplate;
5
5
  languageId: string;
6
+ emailTemplateId?: string;
6
7
  };
@@ -8,6 +8,7 @@ export type UserPasswordResetRequestInput<TUserContext extends IAuthUserContext>
8
8
  callback: UserPasswordResetRequestCallbackTemplate;
9
9
  languageCode: string;
10
10
  context?: TUserContext;
11
+ emailTemplateId?: string;
11
12
  };
12
13
  export type UserPasswordResetRequestResult = {
13
14
  success: boolean;
@@ -4,6 +4,7 @@ export type UserVerifyRequestInput<TUserContext extends IAuthUserContext> = {
4
4
  callback: UserVerifyRequestCallbackTemplate;
5
5
  languageCode: string;
6
6
  context?: TUserContext;
7
+ emailTemplateId?: string;
7
8
  };
8
9
  export type UserVerifyRequestResult = {
9
10
  success: boolean;
package/dist/index.d.ts CHANGED
@@ -1373,6 +1373,7 @@ interface IAuthUser {
1373
1373
  }
1374
1374
  interface IAuthUserContext {
1375
1375
  organizationUid?: string;
1376
+ directoryUid?: string;
1376
1377
  }
1377
1378
  interface IAuthUserTokenData<TContext extends IAuthUserContext> {
1378
1379
  userId: string;
@@ -1647,6 +1648,7 @@ type UserPasswordResetRequestInput<TUserContext extends IAuthUserContext> = {
1647
1648
  callback: UserPasswordResetRequestCallbackTemplate;
1648
1649
  languageCode: string;
1649
1650
  context?: TUserContext;
1651
+ emailTemplateId?: string;
1650
1652
  };
1651
1653
  type UserPasswordResetRequestResult = {
1652
1654
  success: boolean;
@@ -1688,6 +1690,7 @@ type UserVerifyRequestInput<TUserContext extends IAuthUserContext> = {
1688
1690
  callback: UserVerifyRequestCallbackTemplate;
1689
1691
  languageCode: string;
1690
1692
  context?: TUserContext;
1693
+ emailTemplateId?: string;
1691
1694
  };
1692
1695
  type UserVerifyRequestResult = {
1693
1696
  success: boolean;
@@ -1998,6 +2001,7 @@ type UserInvitationSendInput = {
1998
2001
  userId: string;
1999
2002
  callback: UserRegisterCallbackTemplate;
2000
2003
  languageId: string;
2004
+ emailTemplateId?: string;
2001
2005
  };
2002
2006
 
2003
2007
  declare class UserInvitationSendHandler {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@punks/backend-entity-manager",
3
- "version": "0.0.330",
3
+ "version": "0.0.332",
4
4
  "description": "",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",