@opexa/portal-sdk 0.0.83 → 0.0.84
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.
- package/dist/index.js +63 -63
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +78 -78
- package/dist/index.mjs.map +1 -1
- package/dist/services/types.d.ts +4 -4
- package/package.json +1 -1
package/dist/services/types.d.ts
CHANGED
|
@@ -761,7 +761,7 @@ export interface SendVerificationCodeMutationVariables {
|
|
|
761
761
|
recipient: string;
|
|
762
762
|
};
|
|
763
763
|
}
|
|
764
|
-
export type SendVerificationCodeError__Next = 'NotReadyToSendVerficationCodeError' | '
|
|
764
|
+
export type SendVerificationCodeError__Next = 'NotReadyToSendVerficationCodeError' | 'RateLimitExceededError' | 'AccountNotFoundError';
|
|
765
765
|
export interface SendVerificationCodeInput__Next {
|
|
766
766
|
channel: 'SMS' | 'EMAIL';
|
|
767
767
|
recipient: string;
|
|
@@ -905,8 +905,8 @@ export type CreateSessionMutation = {
|
|
|
905
905
|
refreshToken?: never;
|
|
906
906
|
authenticator: Authenticator;
|
|
907
907
|
};
|
|
908
|
-
export type CreateSessionError = '
|
|
909
|
-
export type RefreshSessionError = '
|
|
908
|
+
export type CreateSessionError = 'AccountNotFoundError' | 'AccountBlacklistedError';
|
|
909
|
+
export type RefreshSessionError = 'InvalidTokenError' | 'AccountBlacklistedError' | 'SessionExpiredError';
|
|
910
910
|
export interface RefreshSessionMutation {
|
|
911
911
|
accessToken: string;
|
|
912
912
|
refreshToken: string;
|
|
@@ -917,7 +917,7 @@ export interface SecurityQuestionAuthenticateInput {
|
|
|
917
917
|
secretAnswer: string;
|
|
918
918
|
}
|
|
919
919
|
export type AuthenticateInput = SecurityQuestionAuthenticateInput;
|
|
920
|
-
export type AuthenticateError = '
|
|
920
|
+
export type AuthenticateError = 'InvalidTokenOrSecretAnswerError';
|
|
921
921
|
export interface AuthenticateMutation {
|
|
922
922
|
session: Session;
|
|
923
923
|
accessToken: string;
|