@axinom/mosaic-user-auth 0.4.1 → 0.4.2-rc.2

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.
@@ -1,17 +1,17 @@
1
1
  import { CheckPasswordResetOtpResponse, CheckUserSignUpOtpResponse, CompletePasswordResetResponse, CompleteUserSignUpResponse, DecryptNativeCookieResponse, IdpConfiguration, InitiatePasswordResetResponse, ROPCSignInResponse, UserSignUpResponse } from '@axinom/mosaic-user-auth-utils';
2
- import { CheckConsumerPasswordResetOtpInput, CheckConsumerSignUpOtpInput, CompleteConsumerPasswordResetInput, CompleteConsumerSignUpInput, InitiateConsumerSignUpInput } from 'generated/ax-auth-management-graphql.types';
3
- import { AuthenticateConsumerApplicationInput } from 'generated/user-service-management-graphql.types';
2
+ import { CheckEndUserPasswordResetOtpInput, CheckEndUserSignUpOtpInput, CompleteEndUserPasswordResetInput, CompleteEndUserSignUpInput, InitiateEndUserSignUpInput } from 'generated/ax-auth-management-graphql.types';
3
+ import { AuthenticateEndUserApplicationInput } from 'generated/user-service-management-graphql.types';
4
4
  import { TokenRenewalMethod } from '../common/enums';
5
- import { AuthenticateConsumerApplicationResponse, ROPCSignInRequest, TokenChangedCallback, TokenResponse, UserAuthConfig, UserProfileActivateResponse, UserProfileCreateResponse, UserProfileDeleteResponse, UserProfileResponse, UserProfilesResponse, UserProfileUpdateInput, UserProfileUpdateResponse, UserServiceConfig } from '../common/types';
5
+ import { AuthenticateEndUserApplicationResponse, ROPCSignInRequest, TokenChangedCallback, TokenResponse, UserAuthConfig, UserProfileActivateResponse, UserProfileCreateResponse, UserProfileDeleteResponse, UserProfileResponse, UserProfilesResponse, UserProfileUpdateInput, UserProfileUpdateResponse, UserServiceConfig } from '../common/types';
6
6
  export interface IUserServiceClient {
7
7
  isDirectSignInConfigured(): Promise<boolean>;
8
8
  ropcSignIn(ropcSignInRequest: ROPCSignInRequest): Promise<ROPCSignInResponse>;
9
- initiateUserSignUp(userSignUpRequest: Omit<InitiateConsumerSignUpInput, 'oAuthClientId'>): Promise<UserSignUpResponse>;
10
- checkUserSignUpOTP(checkUserSignUpOtpRequest: CheckConsumerSignUpOtpInput): Promise<CheckUserSignUpOtpResponse>;
11
- completeUserSignUp(completeUserSignUpRequest: CompleteConsumerSignUpInput): Promise<CompleteUserSignUpResponse>;
9
+ initiateUserSignUp(userSignUpRequest: Omit<InitiateEndUserSignUpInput, 'oAuthClientId'>): Promise<UserSignUpResponse>;
10
+ checkUserSignUpOTP(checkUserSignUpOtpRequest: CheckEndUserSignUpOtpInput): Promise<CheckUserSignUpOtpResponse>;
11
+ completeUserSignUp(completeUserSignUpRequest: CompleteEndUserSignUpInput): Promise<CompleteUserSignUpResponse>;
12
12
  initiateResetPassword(email: string): Promise<InitiatePasswordResetResponse>;
13
- checkResetPasswordOTP(checkPasswordResetOtpRequest: CheckConsumerPasswordResetOtpInput): Promise<CheckPasswordResetOtpResponse>;
14
- completeResetPassword(completePasswordResetRequest: CompleteConsumerPasswordResetInput): Promise<CompletePasswordResetResponse>;
13
+ checkResetPasswordOTP(checkPasswordResetOtpRequest: CheckEndUserPasswordResetOtpInput): Promise<CheckPasswordResetOtpResponse>;
14
+ completeResetPassword(completePasswordResetRequest: CompleteEndUserPasswordResetInput): Promise<CompletePasswordResetResponse>;
15
15
  getToken(): Promise<TokenResponse>;
16
16
  addTokenChangedHandler(callback: TokenChangedCallback): void;
17
17
  removeTokenChangedHandler(callback: TokenChangedCallback): void;
@@ -23,7 +23,7 @@ export interface IUserServiceClient {
23
23
  createUserProfile(endUserAccessToken: string, displayName: string, profilePictureUrl?: string): Promise<UserProfileCreateResponse>;
24
24
  updateUserProfile(endUserAccessToken: string, userProfileToUpdate: UserProfileUpdateInput): Promise<UserProfileUpdateResponse>;
25
25
  deleteUserProfile(endUserAccessToken: string, userProfileId: string): Promise<UserProfileDeleteResponse>;
26
- authenticateConsumerApplication(authenticateConsumerApplicationRequest: AuthenticateConsumerApplicationInput): Promise<AuthenticateConsumerApplicationResponse>;
26
+ authenticateEndUserApplication(authenticateEndUserApplicationRequest: AuthenticateEndUserApplicationInput): Promise<AuthenticateEndUserApplicationResponse>;
27
27
  decryptNativeCookie(encryptedCookie: string, key: string): Promise<DecryptNativeCookieResponse>;
28
28
  getAuthUrl(idpConnectionId: string, redirectUrl: string): URL;
29
29
  getNativeAuthUrl(idpConnectionId: string, redirectUri: string, encryptionKey: string): URL;
@@ -83,14 +83,14 @@ export declare class UserServiceClient implements IUserServiceClient {
83
83
  * @param userSignUpRequest
84
84
  * @returns `UserSignUpResponse`
85
85
  */
86
- initiateUserSignUp: (userSignUpRequest: Omit<InitiateConsumerSignUpInput, 'oAuthClientId'>) => Promise<UserSignUpResponse>;
86
+ initiateUserSignUp: (userSignUpRequest: Omit<InitiateEndUserSignUpInput, 'oAuthClientId'>) => Promise<UserSignUpResponse>;
87
87
  /**
88
88
  * Checks if a given User Sign-Up OTP Code is valid
89
89
  *
90
90
  * @param checkUserSignUpOtpRequest
91
91
  * @returns `CheckUserSignUpOtpResponse`
92
92
  */
93
- checkUserSignUpOTP: (checkUserSignUpOtpRequest: CheckConsumerSignUpOtpInput) => Promise<CheckUserSignUpOtpResponse>;
93
+ checkUserSignUpOTP: (checkUserSignUpOtpRequest: CheckEndUserSignUpOtpInput) => Promise<CheckUserSignUpOtpResponse>;
94
94
  /**
95
95
  * Completes a user sign up process using the AX_AUTH IDP.
96
96
  * The user needs to input the OTP along with a password (if not provided earlier) to finish the process.
@@ -99,7 +99,7 @@ export declare class UserServiceClient implements IUserServiceClient {
99
99
  * @param completeUserSignUpRequest
100
100
  * @returns
101
101
  */
102
- completeUserSignUp: (completeUserSignUpRequest: CompleteConsumerSignUpInput) => Promise<CompleteUserSignUpResponse>;
102
+ completeUserSignUp: (completeUserSignUpRequest: CompleteEndUserSignUpInput) => Promise<CompleteUserSignUpResponse>;
103
103
  /**
104
104
  * Starts the process of resetting a password for a user registered using the AX_AUTH IDP.
105
105
  * This will initiate the call to the webhook configured in AX_AUTH to send the generated OTP
@@ -115,7 +115,7 @@ export declare class UserServiceClient implements IUserServiceClient {
115
115
  * @param checkPasswordResetOtpRequest
116
116
  * @returns `CheckPasswordResetOtpResponse`
117
117
  */
118
- checkResetPasswordOTP: (checkPasswordResetOtpRequest: CheckConsumerPasswordResetOtpInput) => Promise<CheckPasswordResetOtpResponse>;
118
+ checkResetPasswordOTP: (checkPasswordResetOtpRequest: CheckEndUserPasswordResetOtpInput) => Promise<CheckPasswordResetOtpResponse>;
119
119
  /**
120
120
  * Completes the password reset flow for a user registered using the AX_AUTH IDP.
121
121
  * The user needs to input the OTP along with a new password to finish the process.
@@ -123,7 +123,7 @@ export declare class UserServiceClient implements IUserServiceClient {
123
123
  * @param completePasswordResetRequest
124
124
  * @returns
125
125
  */
126
- completeResetPassword: (completePasswordResetRequest: CompleteConsumerPasswordResetInput) => Promise<CompletePasswordResetResponse>;
126
+ completeResetPassword: (completePasswordResetRequest: CompleteEndUserPasswordResetInput) => Promise<CompletePasswordResetResponse>;
127
127
  /**
128
128
  * Returns a token. The method will ensure to avoid unnecessary API calls by caching valid tokens.
129
129
  *
@@ -176,11 +176,11 @@ export declare class UserServiceClient implements IUserServiceClient {
176
176
  */
177
177
  deleteUserProfile: (endUserAccessToken: string, userProfileId: string) => Promise<UserProfileDeleteResponse>;
178
178
  /**
179
- * Authenticate a consumer application and receive an Application Token
180
- * @param authenticateConsumerApplicationRequest an object containing the tenantId/environmentId/applicationId/applicationKey info.
181
- * @returns AuthenticateConsumerApplicationResponse
179
+ * Authenticate an end-user application and receive an Application Token
180
+ * @param authenticateEndUserApplicationRequest an object containing the tenantId/environmentId/applicationId/applicationKey info.
181
+ * @returns AuthenticateEndUserApplicationResponse
182
182
  */
183
- authenticateConsumerApplication: (authenticateConsumerApplicationRequest: AuthenticateConsumerApplicationInput) => Promise<AuthenticateConsumerApplicationResponse>;
183
+ authenticateEndUserApplication: (authenticateEndUserApplicationRequest: AuthenticateEndUserApplicationInput) => Promise<AuthenticateEndUserApplicationResponse>;
184
184
  /**
185
185
  * Decrypt an User Token Cookie used in Native Apps.
186
186
  * @param encryptedCookie
@@ -1 +1 @@
1
- {"version":3,"file":"UserServiceClient.d.ts","sourceRoot":"","sources":["../../src/UserServiceClient/UserServiceClient.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,6BAA6B,EAC7B,0BAA0B,EAC1B,6BAA6B,EAC7B,0BAA0B,EAE1B,2BAA2B,EAC3B,gBAAgB,EAChB,6BAA6B,EAE7B,kBAAkB,EAElB,kBAAkB,EAEnB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,kCAAkC,EAClC,2BAA2B,EAC3B,kCAAkC,EAClC,2BAA2B,EAC3B,2BAA2B,EAC5B,MAAM,4CAA4C,CAAC;AACpD,OAAO,EAAE,oCAAoC,EAAE,MAAM,iDAAiD,CAAC;AAEvG,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,EACL,uCAAuC,EAEvC,iBAAiB,EACjB,oBAAoB,EACpB,aAAa,EACb,cAAc,EACd,2BAA2B,EAC3B,yBAAyB,EACzB,yBAAyB,EACzB,mBAAmB,EACnB,oBAAoB,EACpB,sBAAsB,EACtB,yBAAyB,EACzB,iBAAiB,EAClB,MAAM,iBAAiB,CAAC;AAkBzB,MAAM,WAAW,kBAAkB;IACjC,wBAAwB,IAAI,OAAO,CAAC,OAAO,CAAC,CAAC;IAE7C,UAAU,CAAC,iBAAiB,EAAE,iBAAiB,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAAC;IAE9E,kBAAkB,CAChB,iBAAiB,EAAE,IAAI,CAAC,2BAA2B,EAAE,eAAe,CAAC,GACpE,OAAO,CAAC,kBAAkB,CAAC,CAAC;IAE/B,kBAAkB,CAChB,yBAAyB,EAAE,2BAA2B,GACrD,OAAO,CAAC,0BAA0B,CAAC,CAAC;IAEvC,kBAAkB,CAChB,yBAAyB,EAAE,2BAA2B,GACrD,OAAO,CAAC,0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C3E,QAAQ,uCAAuC,CAAC,CAKjD;IAEF;;;;;OAKG;IACH,mBAAmB,oBACA,MAAM,OAClB,MAAM,KACV,QAAQ,2BAA2B,CAAC,CAMrC;IAEF;;;;;;OAMG;IACH,UAAU,oBAAqB,MAAM,aAAa,MAAM,KAAG,GAAG,CAE5D;IAEF;;;;;;;OAOG;IACH,gBAAgB,oBACG,MAAM,aACZ,MAAM,iBACF,MAAM,KACpB,GAAG,CAQJ;CACH"}
1
+ {"version":3,"file":"UserServiceClient.d.ts","sourceRoot":"","sources":["../../src/UserServiceClient/UserServiceClient.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,6BAA6B,EAC7B,0BAA0B,EAC1B,6BAA6B,EAC7B,0BAA0B,EAE1B,2BAA2B,EAC3B,gBAAgB,EAChB,6BAA6B,EAE7B,kBAAkB,EAElB,kBAAkB,EAEnB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,iCAAiC,EACjC,0BAA0B,EAC1B,iCAAiC,EACjC,0BAA0B,EAC1B,0BAA0B,EAC3B,MAAM,4CAA4C,CAAC;AACpD,OAAO,EAAE,mCAAmC,EAAE,MAAM,iDAAiD,CAAC;AAEtG,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,EACL,sCAAsC,EAEtC,iBAAiB,EACjB,oBAAoB,EACpB,aAAa,EACb,cAAc,EACd,2BAA2B,EAC3B,yBAAyB,EACzB,yBAAyB,EACzB,mBAAmB,EACnB,oBAAoB,EACpB,sBAAsB,EACtB,yBAAyB,EACzB,iBAAiB,EAClB,MAAM,iBAAiB,CAAC;AAkBzB,MAAM,WAAW,kBAAkB;IACjC,wBAAwB,IAAI,OAAO,CAAC,OAAO,CAAC,CAAC;IAE7C,UAAU,CAAC,iBAAiB,EAAE,iBAAiB,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAAC;IAE9E,kBAAkB,CAChB,iBAAiB,EAAE,IAAI,CAAC,0BAA0B,EAAE,eAAe,CAAC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AM,uBACL,sBAAsB,KAC1C,QAAQ,yBAAyB,CAAC,CAWnC;IAEF;;OAEG;IACH,iBAAiB,uBACK,MAAM,iBACX,MAAM,KACpB,QAAQ,yBAAyB,CAAC,CAWnC;IAEF;;;;OAIG;IACH,8BAA8B,0CACW,mCAAmC,KACzE,QAAQ,sCAAsC,CAAC,CAKhD;IAEF;;;;;OAKG;IACH,mBAAmB,oBACA,MAAM,OAClB,MAAM,KACV,QAAQ,2BAA2B,CAAC,CAMrC;IAEF;;;;;;OAMG;IACH,UAAU,oBAAqB,MAAM,aAAa,MAAM,KAAG,GAAG,CAE5D;IAEF;;;;;;;OAOG;IACH,gBAAgB,oBACG,MAAM,aACZ,MAAM,iBACF,MAAM,KACpB,GAAG,CAQJ;CACH"}
@@ -79,15 +79,15 @@ export interface ROPCEndpointResponse {
79
79
  * Callback function to get notified when the token changes
80
80
  */
81
81
  export declare type TokenChangedCallback = (token: TokenResponse | null) => void;
82
- export interface ConsumerApplicationToken {
82
+ export interface EndUserApplicationToken {
83
83
  accessToken: string;
84
84
  expiresInSeconds: number;
85
85
  tokenType: string;
86
86
  }
87
- export interface AuthenticateConsumerApplicationResponse {
87
+ export interface AuthenticateEndUserApplicationResponse {
88
88
  code: 'SUCCESS' | 'ERROR';
89
89
  message?: string;
90
- consumerApplicationToken?: ConsumerApplicationToken;
90
+ endUserApplicationToken?: EndUserApplicationToken;
91
91
  }
92
92
  /**
93
93
  * Represents the response for a getUserProfile request.
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/common/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,eAAe,EAAE,MAAM,CAAC;IACxB,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;CACvB;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,kBAAkB,EAAE,MAAM,CAAC;CAC5B;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,SAAS,GAAG,OAAO,CAAC;IAC1B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,kBAAkB,CAAC,EAAE,WAAW,CAAC;CAClC;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC,IAAI,EAAE,SAAS,GAAG,OAAO,CAAC;IAC1B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,kBAAkB,CAAC,EAAE,WAAW,CAAC;CAClC;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC,IAAI,EAAE,SAAS,GAAG,OAAO,CAAC;IAC1B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,kBAAkB,CAAC,EAAE,WAAW,CAAC;CAClC;AAED;;GAEG;AACH,MAAM,WAAW,2BAA2B;IAC1C,IAAI,EAAE,SAAS,GAAG,OAAO,CAAC;IAC1B,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB"}
@@ -47,42 +47,42 @@ export declare type BooleanFilter = {
47
47
  /** Not included in the specified list. */
48
48
  notIn?: Maybe<Array<Scalars['Boolean']>>;
49
49
  };
50
- export declare type CheckConsumerPasswordResetOtpInput = {
50
+ export declare type CheckEndUserPasswordResetOtpInput = {
51
51
  resetOtp: Scalars['String'];
52
52
  };
53
- export declare type CheckConsumerPasswordResetOtpPayload = {
54
- __typename?: 'CheckConsumerPasswordResetOtpPayload';
53
+ export declare type CheckEndUserPasswordResetOtpPayload = {
54
+ __typename?: 'CheckEndUserPasswordResetOtpPayload';
55
55
  isOtpValid: Scalars['Boolean'];
56
56
  };
57
- export declare type CheckConsumerSignUpOtpInput = {
57
+ export declare type CheckEndUserSignUpOtpInput = {
58
58
  signUpOtp: Scalars['String'];
59
59
  };
60
- export declare type CheckConsumerSignUpOtpPayload = {
61
- __typename?: 'CheckConsumerSignUpOtpPayload';
60
+ export declare type CheckEndUserSignUpOtpPayload = {
61
+ __typename?: 'CheckEndUserSignUpOtpPayload';
62
62
  isOtpValid: Scalars['Boolean'];
63
63
  };
64
- export declare type CompleteConsumerPasswordResetInput = {
64
+ export declare type CompleteEndUserPasswordResetInput = {
65
65
  newPassword: Scalars['String'];
66
66
  resetOtp: Scalars['String'];
67
67
  };
68
- export declare type CompleteConsumerPasswordResetPayload = {
69
- __typename?: 'CompleteConsumerPasswordResetPayload';
68
+ export declare type CompleteEndUserPasswordResetPayload = {
69
+ __typename?: 'CompleteEndUserPasswordResetPayload';
70
70
  idpUserId: Scalars['UUID'];
71
71
  };
72
- export declare type CompleteConsumerSignUpInput = {
72
+ export declare type CompleteEndUserSignUpInput = {
73
73
  /**
74
74
  * The password for the user must be provided either at this point or
75
- * in InitiateConsumerSignUp mutation.
76
- * If the consumer app will enforce the user to provide it in the
77
- * InitiateConsumerSignUp mutation the password must not be provided here.
75
+ * in InitiateEndUserSignUp mutation.
76
+ * If the end-user app will enforce the user to provide it in the
77
+ * InitiateEndUserSignUp mutation the password must not be provided here.
78
78
  * If not, giving a password at this point is mandatory.
79
- * If it's given at InitiateConsumerSignUp step, then the used cannot override it here.
79
+ * If it's given at InitiateEndUserSignUp step, then the used cannot override it here.
80
80
  */
81
81
  password?: Maybe<Scalars['String']>;
82
82
  signUpOtp: Scalars['String'];
83
83
  };
84
- export declare type CompleteConsumerSignUpPayload = {
85
- __typename?: 'CompleteConsumerSignUpPayload';
84
+ export declare type CompleteEndUserSignUpPayload = {
85
+ __typename?: 'CompleteEndUserSignUpPayload';
86
86
  idpUserId: Scalars['UUID'];
87
87
  };
88
88
  /** All input for the create `IdpUser` mutation. */
@@ -675,43 +675,43 @@ export declare type IdpUserStoreToManyIdpUserFilter = {
675
675
  /** Some related `IdpUser` matches the filter criteria. All fields are combined with a logical ‘and.’ */
676
676
  some?: Maybe<IdpUserFilter>;
677
677
  };
678
- export declare type InitiateConsumerPasswordResetInput = {
678
+ export declare type InitiateEndUserPasswordResetInput = {
679
679
  email: Scalars['String'];
680
680
  oAuthClientId: Scalars['String'];
681
681
  };
682
- export declare type InitiateConsumerPasswordResetPayload = {
683
- __typename?: 'InitiateConsumerPasswordResetPayload';
682
+ export declare type InitiateEndUserPasswordResetPayload = {
683
+ __typename?: 'InitiateEndUserPasswordResetPayload';
684
684
  idpUserId: Scalars['UUID'];
685
685
  };
686
- export declare type InitiateConsumerSignUpInput = {
686
+ export declare type InitiateEndUserSignUpInput = {
687
687
  email: Scalars['String'];
688
688
  firstName?: Maybe<Scalars['String']>;
689
689
  lastName?: Maybe<Scalars['String']>;
690
690
  oAuthClientId: Scalars['String'];
691
691
  /**
692
692
  * The password for the user must be provided either at this point or
693
- * in CompleteConsumerSignUp mutation.
694
- * If the consumer app will enforce the user to provide it in the
695
- * CompleteConsumerSignUp mutation the password does not have to be provided here.
693
+ * in CompleteEndUserSignUp mutation.
694
+ * If the end-user app will enforce the user to provide it in the
695
+ * CompleteEndUserSignUp mutation the password does not have to be provided here.
696
696
  * If not, giving a password at this point is mandatory.
697
697
  */
698
698
  password?: Maybe<Scalars['String']>;
699
699
  };
700
- export declare type InitiateConsumerSignUpPayload = {
701
- __typename?: 'InitiateConsumerSignUpPayload';
700
+ export declare type InitiateEndUserSignUpPayload = {
701
+ __typename?: 'InitiateEndUserSignUpPayload';
702
702
  idpUserId: Scalars['UUID'];
703
703
  };
704
704
  /** The root mutation type which contains root level fields which mutate data. */
705
705
  export declare type Mutation = {
706
706
  __typename?: 'Mutation';
707
- /** Check Consumer Password Reset Otp */
708
- checkConsumerPasswordResetOtp: CheckConsumerPasswordResetOtpPayload;
709
- /** Check Consumer Sign Up Otp */
710
- checkConsumerSignUpOtp: CheckConsumerSignUpOtpPayload;
711
- /** Complete Consumer Reset Password Flow */
712
- completeConsumerPasswordReset: CompleteConsumerPasswordResetPayload;
713
- /** Start Sign Up as a Consumer */
714
- completeConsumerSignUp: CompleteConsumerSignUpPayload;
707
+ /** Check End-User Password Reset Otp */
708
+ checkEndUserPasswordResetOtp: CheckEndUserPasswordResetOtpPayload;
709
+ /** Check End-User Sign Up Otp */
710
+ checkEndUserSignUpOtp: CheckEndUserSignUpOtpPayload;
711
+ /** Complete End-User Reset Password Flow */
712
+ completeEndUserPasswordReset: CompleteEndUserPasswordResetPayload;
713
+ /** Start Sign Up as an End-User */
714
+ completeEndUserSignUp: CompleteEndUserSignUpPayload;
715
715
  /** Creates a single `IdpUser`. */
716
716
  createIdpUser?: Maybe<CreateIdpUserPayload>;
717
717
  /** Creates a single `IdpUserStore`. */
@@ -722,10 +722,10 @@ export declare type Mutation = {
722
722
  deleteIdpUserStore?: Maybe<DeleteIdpUserStorePayload>;
723
723
  /** Generate the client secret of an OAuth client */
724
724
  generateOAuthClientSecret: GenerateOAuthClientSecretPayload;
725
- /** Start Consumer Reset Password Flow */
726
- initiateConsumerPasswordReset: InitiateConsumerPasswordResetPayload;
727
- /** Initiate Sign Up as a Consumer */
728
- initiateConsumerSignUp: InitiateConsumerSignUpPayload;
725
+ /** Start End-User Reset Password Flow */
726
+ initiateEndUserPasswordReset: InitiateEndUserPasswordResetPayload;
727
+ /** Initiate Sign Up as an End-User */
728
+ initiateEndUserSignUp: InitiateEndUserSignUpPayload;
729
729
  /** Reset the password of an IDP user */
730
730
  resetIdpUserPassword: ResetIdpUserPasswordPayload;
731
731
  /** Updates a single `IdpUser` using a unique key and a patch. */
@@ -734,20 +734,20 @@ export declare type Mutation = {
734
734
  updateIdpUserStore?: Maybe<UpdateIdpUserStorePayload>;
735
735
  };
736
736
  /** The root mutation type which contains root level fields which mutate data. */
737
- export declare type MutationCheckConsumerPasswordResetOtpArgs = {
738
- input?: Maybe<CheckConsumerPasswordResetOtpInput>;
737
+ export declare type MutationCheckEndUserPasswordResetOtpArgs = {
738
+ input?: Maybe<CheckEndUserPasswordResetOtpInput>;
739
739
  };
740
740
  /** The root mutation type which contains root level fields which mutate data. */
741
- export declare type MutationCheckConsumerSignUpOtpArgs = {
742
- input?: Maybe<CheckConsumerSignUpOtpInput>;
741
+ export declare type MutationCheckEndUserSignUpOtpArgs = {
742
+ input?: Maybe<CheckEndUserSignUpOtpInput>;
743
743
  };
744
744
  /** The root mutation type which contains root level fields which mutate data. */
745
- export declare type MutationCompleteConsumerPasswordResetArgs = {
746
- input?: Maybe<CompleteConsumerPasswordResetInput>;
745
+ export declare type MutationCompleteEndUserPasswordResetArgs = {
746
+ input?: Maybe<CompleteEndUserPasswordResetInput>;
747
747
  };
748
748
  /** The root mutation type which contains root level fields which mutate data. */
749
- export declare type MutationCompleteConsumerSignUpArgs = {
750
- input?: Maybe<CompleteConsumerSignUpInput>;
749
+ export declare type MutationCompleteEndUserSignUpArgs = {
750
+ input?: Maybe<CompleteEndUserSignUpInput>;
751
751
  };
752
752
  /** The root mutation type which contains root level fields which mutate data. */
753
753
  export declare type MutationCreateIdpUserArgs = {
@@ -770,12 +770,12 @@ export declare type MutationGenerateOAuthClientSecretArgs = {
770
770
  input?: Maybe<GenerateOAuthClientSecretInput>;
771
771
  };
772
772
  /** The root mutation type which contains root level fields which mutate data. */
773
- export declare type MutationInitiateConsumerPasswordResetArgs = {
774
- input?: Maybe<InitiateConsumerPasswordResetInput>;
773
+ export declare type MutationInitiateEndUserPasswordResetArgs = {
774
+ input?: Maybe<InitiateEndUserPasswordResetInput>;
775
775
  };
776
776
  /** The root mutation type which contains root level fields which mutate data. */
777
- export declare type MutationInitiateConsumerSignUpArgs = {
778
- input?: Maybe<InitiateConsumerSignUpInput>;
777
+ export declare type MutationInitiateEndUserSignUpArgs = {
778
+ input?: Maybe<InitiateEndUserSignUpInput>;
779
779
  };
780
780
  /** The root mutation type which contains root level fields which mutate data. */
781
781
  export declare type MutationResetIdpUserPasswordArgs = {
@@ -1183,8 +1183,8 @@ export declare type UserStatusFilter = {
1183
1183
  notIn?: Maybe<Array<UserStatus>>;
1184
1184
  };
1185
1185
  export declare enum UserStoreCategory {
1186
- /** Consumer */
1187
- CONSUMER = "CONSUMER",
1186
+ /** End User */
1187
+ END_USER = "END_USER",
1188
1188
  /** Management */
1189
1189
  MANAGEMENT = "MANAGEMENT"
1190
1190
  }
@@ -1238,70 +1238,70 @@ export declare type UuidFilter = {
1238
1238
  /** Not included in the specified list. */
1239
1239
  notIn?: Maybe<Array<Scalars['UUID']>>;
1240
1240
  };
1241
- export declare type InitiateConsumerSignUpMutationVariables = Exact<{
1242
- input: InitiateConsumerSignUpInput;
1241
+ export declare type InitiateEndUserSignUpMutationVariables = Exact<{
1242
+ input: InitiateEndUserSignUpInput;
1243
1243
  }>;
1244
- export declare type InitiateConsumerSignUpMutation = ({
1244
+ export declare type InitiateEndUserSignUpMutation = ({
1245
1245
  __typename?: 'Mutation';
1246
1246
  } & {
1247
- initiateConsumerSignUp: ({
1248
- __typename?: 'InitiateConsumerSignUpPayload';
1249
- } & Pick<InitiateConsumerSignUpPayload, 'idpUserId'>);
1247
+ initiateEndUserSignUp: ({
1248
+ __typename?: 'InitiateEndUserSignUpPayload';
1249
+ } & Pick<InitiateEndUserSignUpPayload, 'idpUserId'>);
1250
1250
  });
1251
- export declare type CheckConsumerSignUpOtpMutationVariables = Exact<{
1252
- input: CheckConsumerSignUpOtpInput;
1251
+ export declare type CheckEndUserSignUpOtpMutationVariables = Exact<{
1252
+ input: CheckEndUserSignUpOtpInput;
1253
1253
  }>;
1254
- export declare type CheckConsumerSignUpOtpMutation = ({
1254
+ export declare type CheckEndUserSignUpOtpMutation = ({
1255
1255
  __typename?: 'Mutation';
1256
1256
  } & {
1257
- checkConsumerSignUpOtp: ({
1258
- __typename?: 'CheckConsumerSignUpOtpPayload';
1259
- } & Pick<CheckConsumerSignUpOtpPayload, 'isOtpValid'>);
1257
+ checkEndUserSignUpOtp: ({
1258
+ __typename?: 'CheckEndUserSignUpOtpPayload';
1259
+ } & Pick<CheckEndUserSignUpOtpPayload, 'isOtpValid'>);
1260
1260
  });
1261
- export declare type CompleteConsumerSignUpMutationVariables = Exact<{
1262
- input: CompleteConsumerSignUpInput;
1261
+ export declare type CompleteEndUserSignUpMutationVariables = Exact<{
1262
+ input: CompleteEndUserSignUpInput;
1263
1263
  }>;
1264
- export declare type CompleteConsumerSignUpMutation = ({
1264
+ export declare type CompleteEndUserSignUpMutation = ({
1265
1265
  __typename?: 'Mutation';
1266
1266
  } & {
1267
- completeConsumerSignUp: ({
1268
- __typename?: 'CompleteConsumerSignUpPayload';
1269
- } & Pick<CompleteConsumerSignUpPayload, 'idpUserId'>);
1267
+ completeEndUserSignUp: ({
1268
+ __typename?: 'CompleteEndUserSignUpPayload';
1269
+ } & Pick<CompleteEndUserSignUpPayload, 'idpUserId'>);
1270
1270
  });
1271
- export declare type InitiateConsumerPasswordResetMutationVariables = Exact<{
1272
- input: InitiateConsumerPasswordResetInput;
1271
+ export declare type InitiateEndUserPasswordResetMutationVariables = Exact<{
1272
+ input: InitiateEndUserPasswordResetInput;
1273
1273
  }>;
1274
- export declare type InitiateConsumerPasswordResetMutation = ({
1274
+ export declare type InitiateEndUserPasswordResetMutation = ({
1275
1275
  __typename?: 'Mutation';
1276
1276
  } & {
1277
- initiateConsumerPasswordReset: ({
1278
- __typename?: 'InitiateConsumerPasswordResetPayload';
1279
- } & Pick<InitiateConsumerPasswordResetPayload, 'idpUserId'>);
1277
+ initiateEndUserPasswordReset: ({
1278
+ __typename?: 'InitiateEndUserPasswordResetPayload';
1279
+ } & Pick<InitiateEndUserPasswordResetPayload, 'idpUserId'>);
1280
1280
  });
1281
1281
  export declare type CheckPasswordResetOtpMutationVariables = Exact<{
1282
- input: CheckConsumerPasswordResetOtpInput;
1282
+ input: CheckEndUserPasswordResetOtpInput;
1283
1283
  }>;
1284
1284
  export declare type CheckPasswordResetOtpMutation = ({
1285
1285
  __typename?: 'Mutation';
1286
1286
  } & {
1287
- checkConsumerPasswordResetOtp: ({
1288
- __typename?: 'CheckConsumerPasswordResetOtpPayload';
1289
- } & Pick<CheckConsumerPasswordResetOtpPayload, 'isOtpValid'>);
1287
+ checkEndUserPasswordResetOtp: ({
1288
+ __typename?: 'CheckEndUserPasswordResetOtpPayload';
1289
+ } & Pick<CheckEndUserPasswordResetOtpPayload, 'isOtpValid'>);
1290
1290
  });
1291
- export declare type CompleteConsumerPasswordResetMutationVariables = Exact<{
1292
- input: CompleteConsumerPasswordResetInput;
1291
+ export declare type CompleteEndUserPasswordResetMutationVariables = Exact<{
1292
+ input: CompleteEndUserPasswordResetInput;
1293
1293
  }>;
1294
- export declare type CompleteConsumerPasswordResetMutation = ({
1294
+ export declare type CompleteEndUserPasswordResetMutation = ({
1295
1295
  __typename?: 'Mutation';
1296
1296
  } & {
1297
- completeConsumerPasswordReset: ({
1298
- __typename?: 'CompleteConsumerPasswordResetPayload';
1299
- } & Pick<CompleteConsumerPasswordResetPayload, 'idpUserId'>);
1297
+ completeEndUserPasswordReset: ({
1298
+ __typename?: 'CompleteEndUserPasswordResetPayload';
1299
+ } & Pick<CompleteEndUserPasswordResetPayload, 'idpUserId'>);
1300
1300
  });
1301
- export declare const InitiateConsumerSignUpDocument: DocumentNode<InitiateConsumerSignUpMutation, InitiateConsumerSignUpMutationVariables>;
1302
- export declare const CheckConsumerSignUpOtpDocument: DocumentNode<CheckConsumerSignUpOtpMutation, CheckConsumerSignUpOtpMutationVariables>;
1303
- export declare const CompleteConsumerSignUpDocument: DocumentNode<CompleteConsumerSignUpMutation, CompleteConsumerSignUpMutationVariables>;
1304
- export declare const InitiateConsumerPasswordResetDocument: DocumentNode<InitiateConsumerPasswordResetMutation, InitiateConsumerPasswordResetMutationVariables>;
1301
+ export declare const InitiateEndUserSignUpDocument: DocumentNode<InitiateEndUserSignUpMutation, InitiateEndUserSignUpMutationVariables>;
1302
+ export declare const CheckEndUserSignUpOtpDocument: DocumentNode<CheckEndUserSignUpOtpMutation, CheckEndUserSignUpOtpMutationVariables>;
1303
+ export declare const CompleteEndUserSignUpDocument: DocumentNode<CompleteEndUserSignUpMutation, CompleteEndUserSignUpMutationVariables>;
1304
+ export declare const InitiateEndUserPasswordResetDocument: DocumentNode<InitiateEndUserPasswordResetMutation, InitiateEndUserPasswordResetMutationVariables>;
1305
1305
  export declare const CheckPasswordResetOtpDocument: DocumentNode<CheckPasswordResetOtpMutation, CheckPasswordResetOtpMutationVariables>;
1306
- export declare const CompleteConsumerPasswordResetDocument: DocumentNode<CompleteConsumerPasswordResetMutation, CompleteConsumerPasswordResetMutationVariables>;
1306
+ export declare const CompleteEndUserPasswordResetDocument: DocumentNode<CompleteEndUserPasswordResetMutation, CompleteEndUserPasswordResetMutationVariables>;
1307
1307
  //# sourceMappingURL=ax-auth-management-graphql.types.d.ts.map