@anzar-auth/core 1.5.10 → 1.5.11
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.cjs +16 -15
- package/dist/index.d.cts +37 -56
- package/dist/index.d.ts +37 -56
- package/dist/index.js +16 -15
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -930,27 +930,28 @@ var DatabaseDriver = {
|
|
|
930
930
|
|
|
931
931
|
// src/generated/models/error-code.ts
|
|
932
932
|
var ErrorCode = {
|
|
933
|
-
InvalidToken: "InvalidToken",
|
|
934
|
-
TokenNotFound: "TokenNotFound",
|
|
935
933
|
TokenExpired: "TokenExpired",
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
TokenRevocationFailed: "TokenRevocationFailed",
|
|
939
|
-
AccountNotVerified: "AccountNotVerified",
|
|
934
|
+
TokenReplay: "TokenReplay",
|
|
935
|
+
TokenInvalid: "TokenInvalid",
|
|
940
936
|
InvalidCredentials: "InvalidCredentials",
|
|
941
|
-
|
|
937
|
+
AccountNotVerified: "AccountNotVerified",
|
|
938
|
+
TokenInvalidSignature: "TokenInvalidSignature",
|
|
939
|
+
TokenInvalidAudience: "TokenInvalidAudience",
|
|
940
|
+
TokenInvalidIssuer: "TokenInvalidIssuer",
|
|
941
|
+
TokenInvalidAlgorithm: "TokenInvalidAlgorithm",
|
|
942
|
+
TokenMalformed: "TokenMalformed",
|
|
943
|
+
InsufficientPermissions: "InsufficientPermissions",
|
|
942
944
|
AccountSuspended: "AccountSuspended",
|
|
943
945
|
UserNotFound: "UserNotFound",
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
DatabaseError: "DatabaseError",
|
|
950
|
-
InvalidRequest: "InvalidRequest",
|
|
946
|
+
TokenNotFound: "TokenNotFound",
|
|
947
|
+
AlreadyExists: "AlreadyExists",
|
|
948
|
+
ValidationFailed: "ValidationFailed",
|
|
949
|
+
MalformedField: "MalformedField",
|
|
950
|
+
MissingField: "MissingField",
|
|
951
951
|
UnsupportedMediaType: "UnsupportedMediaType",
|
|
952
952
|
BadRequest: "BadRequest",
|
|
953
|
-
|
|
953
|
+
RateLimitExceeded: "RateLimitExceeded",
|
|
954
|
+
Internal: "Internal"
|
|
954
955
|
};
|
|
955
956
|
|
|
956
957
|
// src/generated/models/role.ts
|
package/dist/index.d.cts
CHANGED
|
@@ -525,6 +525,22 @@ interface AnzarConfiguration {
|
|
|
525
525
|
'server'?: Server;
|
|
526
526
|
}
|
|
527
527
|
|
|
528
|
+
/**
|
|
529
|
+
* Anzar Software API
|
|
530
|
+
* REST API for the Anzar platform. All protected routes require a Bearer token.
|
|
531
|
+
*
|
|
532
|
+
* The version of the OpenAPI document: 0.7.15
|
|
533
|
+
* Contact: dev@anzar.io
|
|
534
|
+
*
|
|
535
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
536
|
+
* https://openapi-generator.tech
|
|
537
|
+
* Do not edit the class manually.
|
|
538
|
+
*/
|
|
539
|
+
interface ExpiringLink {
|
|
540
|
+
'expires_at': string;
|
|
541
|
+
'link': string;
|
|
542
|
+
}
|
|
543
|
+
|
|
528
544
|
/**
|
|
529
545
|
* Anzar Software API
|
|
530
546
|
* REST API for the Anzar platform. All protected routes require a Bearer token.
|
|
@@ -584,25 +600,6 @@ interface User {
|
|
|
584
600
|
'verified': boolean;
|
|
585
601
|
}
|
|
586
602
|
|
|
587
|
-
/**
|
|
588
|
-
* Anzar Software API
|
|
589
|
-
* REST API for the Anzar platform. All protected routes require a Bearer token.
|
|
590
|
-
*
|
|
591
|
-
* The version of the OpenAPI document: 0.7.15
|
|
592
|
-
* Contact: dev@anzar.io
|
|
593
|
-
*
|
|
594
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
595
|
-
* https://openapi-generator.tech
|
|
596
|
-
* Do not edit the class manually.
|
|
597
|
-
*/
|
|
598
|
-
/**
|
|
599
|
-
* Verification model
|
|
600
|
-
*/
|
|
601
|
-
interface Verification {
|
|
602
|
-
'link': string;
|
|
603
|
-
'token': string;
|
|
604
|
-
}
|
|
605
|
-
|
|
606
603
|
/**
|
|
607
604
|
* Anzar Software API
|
|
608
605
|
* REST API for the Anzar platform. All protected routes require a Bearer token.
|
|
@@ -618,7 +615,7 @@ interface Verification {
|
|
|
618
615
|
interface AuthResponse {
|
|
619
616
|
'tokens'?: SessionTokens | null;
|
|
620
617
|
'user': User;
|
|
621
|
-
'verification'?:
|
|
618
|
+
'verification'?: ExpiringLink | null;
|
|
622
619
|
}
|
|
623
620
|
|
|
624
621
|
/**
|
|
@@ -648,27 +645,28 @@ interface EmailRequest {
|
|
|
648
645
|
* Do not edit the class manually.
|
|
649
646
|
*/
|
|
650
647
|
declare const ErrorCode: {
|
|
651
|
-
readonly InvalidToken: "InvalidToken";
|
|
652
|
-
readonly TokenNotFound: "TokenNotFound";
|
|
653
648
|
readonly TokenExpired: "TokenExpired";
|
|
654
|
-
readonly
|
|
655
|
-
readonly
|
|
656
|
-
readonly TokenRevocationFailed: "TokenRevocationFailed";
|
|
657
|
-
readonly AccountNotVerified: "AccountNotVerified";
|
|
649
|
+
readonly TokenReplay: "TokenReplay";
|
|
650
|
+
readonly TokenInvalid: "TokenInvalid";
|
|
658
651
|
readonly InvalidCredentials: "InvalidCredentials";
|
|
659
|
-
readonly
|
|
652
|
+
readonly AccountNotVerified: "AccountNotVerified";
|
|
653
|
+
readonly TokenInvalidSignature: "TokenInvalidSignature";
|
|
654
|
+
readonly TokenInvalidAudience: "TokenInvalidAudience";
|
|
655
|
+
readonly TokenInvalidIssuer: "TokenInvalidIssuer";
|
|
656
|
+
readonly TokenInvalidAlgorithm: "TokenInvalidAlgorithm";
|
|
657
|
+
readonly TokenMalformed: "TokenMalformed";
|
|
658
|
+
readonly InsufficientPermissions: "InsufficientPermissions";
|
|
660
659
|
readonly AccountSuspended: "AccountSuspended";
|
|
661
660
|
readonly UserNotFound: "UserNotFound";
|
|
662
|
-
readonly
|
|
663
|
-
readonly
|
|
664
|
-
readonly
|
|
665
|
-
readonly
|
|
666
|
-
readonly
|
|
667
|
-
readonly DatabaseError: "DatabaseError";
|
|
668
|
-
readonly InvalidRequest: "InvalidRequest";
|
|
661
|
+
readonly TokenNotFound: "TokenNotFound";
|
|
662
|
+
readonly AlreadyExists: "AlreadyExists";
|
|
663
|
+
readonly ValidationFailed: "ValidationFailed";
|
|
664
|
+
readonly MalformedField: "MalformedField";
|
|
665
|
+
readonly MissingField: "MissingField";
|
|
669
666
|
readonly UnsupportedMediaType: "UnsupportedMediaType";
|
|
670
667
|
readonly BadRequest: "BadRequest";
|
|
671
|
-
readonly
|
|
668
|
+
readonly RateLimitExceeded: "RateLimitExceeded";
|
|
669
|
+
readonly Internal: "Internal";
|
|
672
670
|
};
|
|
673
671
|
type ErrorCode = typeof ErrorCode[keyof typeof ErrorCode];
|
|
674
672
|
|
|
@@ -686,7 +684,6 @@ type ErrorCode = typeof ErrorCode[keyof typeof ErrorCode];
|
|
|
686
684
|
|
|
687
685
|
interface ErrorResponse {
|
|
688
686
|
'code': ErrorCode;
|
|
689
|
-
'details'?: any;
|
|
690
687
|
'message': string;
|
|
691
688
|
}
|
|
692
689
|
|
|
@@ -738,22 +735,6 @@ interface RegisterRequest {
|
|
|
738
735
|
'username': string;
|
|
739
736
|
}
|
|
740
737
|
|
|
741
|
-
/**
|
|
742
|
-
* Anzar Software API
|
|
743
|
-
* REST API for the Anzar platform. All protected routes require a Bearer token.
|
|
744
|
-
*
|
|
745
|
-
* The version of the OpenAPI document: 0.7.15
|
|
746
|
-
* Contact: dev@anzar.io
|
|
747
|
-
*
|
|
748
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
749
|
-
* https://openapi-generator.tech
|
|
750
|
-
* Do not edit the class manually.
|
|
751
|
-
*/
|
|
752
|
-
interface ResetLink {
|
|
753
|
-
'expires_at': string;
|
|
754
|
-
'link': string;
|
|
755
|
-
}
|
|
756
|
-
|
|
757
738
|
/**
|
|
758
739
|
* Anzar Software API
|
|
759
740
|
* REST API for the Anzar platform. All protected routes require a Bearer token.
|
|
@@ -932,7 +913,7 @@ declare const AuthApiFp: (configuration?: Configuration) => {
|
|
|
932
913
|
* @param {*} [options] Override http request option.
|
|
933
914
|
* @throws {RequiredError}
|
|
934
915
|
*/
|
|
935
|
-
requestPasswordReset(emailRequest: EmailRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
916
|
+
requestPasswordReset(emailRequest: EmailRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ExpiringLink>>;
|
|
936
917
|
/**
|
|
937
918
|
* Submits a new password using a valid reset token. Invalidates the token after use.
|
|
938
919
|
* @summary Submit new password
|
|
@@ -1000,7 +981,7 @@ declare const AuthApiFactory: (configuration?: Configuration, basePath?: string,
|
|
|
1000
981
|
* @param {*} [options] Override http request option.
|
|
1001
982
|
* @throws {RequiredError}
|
|
1002
983
|
*/
|
|
1003
|
-
requestPasswordReset(emailRequest: EmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
984
|
+
requestPasswordReset(emailRequest: EmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<ExpiringLink>;
|
|
1004
985
|
/**
|
|
1005
986
|
* Submits a new password using a valid reset token. Invalidates the token after use.
|
|
1006
987
|
* @summary Submit new password
|
|
@@ -1068,7 +1049,7 @@ declare class AuthApi extends BaseAPI {
|
|
|
1068
1049
|
* @param {*} [options] Override http request option.
|
|
1069
1050
|
* @throws {RequiredError}
|
|
1070
1051
|
*/
|
|
1071
|
-
requestPasswordReset(emailRequest: EmailRequest, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<
|
|
1052
|
+
requestPasswordReset(emailRequest: EmailRequest, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<ExpiringLink, any, {}>>;
|
|
1072
1053
|
/**
|
|
1073
1054
|
* Submits a new password using a valid reset token. Invalidates the token after use.
|
|
1074
1055
|
* @summary Submit new password
|
|
@@ -1181,4 +1162,4 @@ declare class UsersApi extends BaseAPI {
|
|
|
1181
1162
|
findUser(options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<User, any, {}>>;
|
|
1182
1163
|
}
|
|
1183
1164
|
|
|
1184
|
-
export { AlgorithmConfig, type AnzarConfiguration, type App, AuthApi, AuthApiAxiosParamCreator, AuthApiFactory, AuthApiFp, type AuthResponse, AuthStrategy, type Authentication, type Cache, CacheDriver, Configuration, type ConfigurationParameters, type CorsConfig, type Database, DatabaseDriver, EmailApi, EmailApiAxiosParamCreator, EmailApiFactory, EmailApiFp, type EmailConfig, type EmailRequest, type EmailVerification, ErrorCode, type ErrorResponse, type HttpsConfig, type JwtConfig, type LoginRequest, type PasswordConfig, type PasswordRequirements, type PasswordReset, type PasswordSecurity, type RefreshTokenRequest, type RegisterRequest, type
|
|
1165
|
+
export { AlgorithmConfig, type AnzarConfiguration, type App, AuthApi, AuthApiAxiosParamCreator, AuthApiFactory, AuthApiFp, type AuthResponse, AuthStrategy, type Authentication, type Cache, CacheDriver, Configuration, type ConfigurationParameters, type CorsConfig, type Database, DatabaseDriver, EmailApi, EmailApiAxiosParamCreator, EmailApiFactory, EmailApiFp, type EmailConfig, type EmailRequest, type EmailVerification, ErrorCode, type ErrorResponse, type ExpiringLink, type HttpsConfig, type JwtConfig, type LoginRequest, type PasswordConfig, type PasswordRequirements, type PasswordReset, type PasswordSecurity, type RefreshTokenRequest, type RegisterRequest, type ResetPasswordRequest, Role, SameSiteConfig, type Security, type Server, type Session, type SessionConfig, type SessionTokens, type TokenQuery, type User, UsersApi, UsersApiAxiosParamCreator, UsersApiFactory, UsersApiFp };
|
package/dist/index.d.ts
CHANGED
|
@@ -525,6 +525,22 @@ interface AnzarConfiguration {
|
|
|
525
525
|
'server'?: Server;
|
|
526
526
|
}
|
|
527
527
|
|
|
528
|
+
/**
|
|
529
|
+
* Anzar Software API
|
|
530
|
+
* REST API for the Anzar platform. All protected routes require a Bearer token.
|
|
531
|
+
*
|
|
532
|
+
* The version of the OpenAPI document: 0.7.15
|
|
533
|
+
* Contact: dev@anzar.io
|
|
534
|
+
*
|
|
535
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
536
|
+
* https://openapi-generator.tech
|
|
537
|
+
* Do not edit the class manually.
|
|
538
|
+
*/
|
|
539
|
+
interface ExpiringLink {
|
|
540
|
+
'expires_at': string;
|
|
541
|
+
'link': string;
|
|
542
|
+
}
|
|
543
|
+
|
|
528
544
|
/**
|
|
529
545
|
* Anzar Software API
|
|
530
546
|
* REST API for the Anzar platform. All protected routes require a Bearer token.
|
|
@@ -584,25 +600,6 @@ interface User {
|
|
|
584
600
|
'verified': boolean;
|
|
585
601
|
}
|
|
586
602
|
|
|
587
|
-
/**
|
|
588
|
-
* Anzar Software API
|
|
589
|
-
* REST API for the Anzar platform. All protected routes require a Bearer token.
|
|
590
|
-
*
|
|
591
|
-
* The version of the OpenAPI document: 0.7.15
|
|
592
|
-
* Contact: dev@anzar.io
|
|
593
|
-
*
|
|
594
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
595
|
-
* https://openapi-generator.tech
|
|
596
|
-
* Do not edit the class manually.
|
|
597
|
-
*/
|
|
598
|
-
/**
|
|
599
|
-
* Verification model
|
|
600
|
-
*/
|
|
601
|
-
interface Verification {
|
|
602
|
-
'link': string;
|
|
603
|
-
'token': string;
|
|
604
|
-
}
|
|
605
|
-
|
|
606
603
|
/**
|
|
607
604
|
* Anzar Software API
|
|
608
605
|
* REST API for the Anzar platform. All protected routes require a Bearer token.
|
|
@@ -618,7 +615,7 @@ interface Verification {
|
|
|
618
615
|
interface AuthResponse {
|
|
619
616
|
'tokens'?: SessionTokens | null;
|
|
620
617
|
'user': User;
|
|
621
|
-
'verification'?:
|
|
618
|
+
'verification'?: ExpiringLink | null;
|
|
622
619
|
}
|
|
623
620
|
|
|
624
621
|
/**
|
|
@@ -648,27 +645,28 @@ interface EmailRequest {
|
|
|
648
645
|
* Do not edit the class manually.
|
|
649
646
|
*/
|
|
650
647
|
declare const ErrorCode: {
|
|
651
|
-
readonly InvalidToken: "InvalidToken";
|
|
652
|
-
readonly TokenNotFound: "TokenNotFound";
|
|
653
648
|
readonly TokenExpired: "TokenExpired";
|
|
654
|
-
readonly
|
|
655
|
-
readonly
|
|
656
|
-
readonly TokenRevocationFailed: "TokenRevocationFailed";
|
|
657
|
-
readonly AccountNotVerified: "AccountNotVerified";
|
|
649
|
+
readonly TokenReplay: "TokenReplay";
|
|
650
|
+
readonly TokenInvalid: "TokenInvalid";
|
|
658
651
|
readonly InvalidCredentials: "InvalidCredentials";
|
|
659
|
-
readonly
|
|
652
|
+
readonly AccountNotVerified: "AccountNotVerified";
|
|
653
|
+
readonly TokenInvalidSignature: "TokenInvalidSignature";
|
|
654
|
+
readonly TokenInvalidAudience: "TokenInvalidAudience";
|
|
655
|
+
readonly TokenInvalidIssuer: "TokenInvalidIssuer";
|
|
656
|
+
readonly TokenInvalidAlgorithm: "TokenInvalidAlgorithm";
|
|
657
|
+
readonly TokenMalformed: "TokenMalformed";
|
|
658
|
+
readonly InsufficientPermissions: "InsufficientPermissions";
|
|
660
659
|
readonly AccountSuspended: "AccountSuspended";
|
|
661
660
|
readonly UserNotFound: "UserNotFound";
|
|
662
|
-
readonly
|
|
663
|
-
readonly
|
|
664
|
-
readonly
|
|
665
|
-
readonly
|
|
666
|
-
readonly
|
|
667
|
-
readonly DatabaseError: "DatabaseError";
|
|
668
|
-
readonly InvalidRequest: "InvalidRequest";
|
|
661
|
+
readonly TokenNotFound: "TokenNotFound";
|
|
662
|
+
readonly AlreadyExists: "AlreadyExists";
|
|
663
|
+
readonly ValidationFailed: "ValidationFailed";
|
|
664
|
+
readonly MalformedField: "MalformedField";
|
|
665
|
+
readonly MissingField: "MissingField";
|
|
669
666
|
readonly UnsupportedMediaType: "UnsupportedMediaType";
|
|
670
667
|
readonly BadRequest: "BadRequest";
|
|
671
|
-
readonly
|
|
668
|
+
readonly RateLimitExceeded: "RateLimitExceeded";
|
|
669
|
+
readonly Internal: "Internal";
|
|
672
670
|
};
|
|
673
671
|
type ErrorCode = typeof ErrorCode[keyof typeof ErrorCode];
|
|
674
672
|
|
|
@@ -686,7 +684,6 @@ type ErrorCode = typeof ErrorCode[keyof typeof ErrorCode];
|
|
|
686
684
|
|
|
687
685
|
interface ErrorResponse {
|
|
688
686
|
'code': ErrorCode;
|
|
689
|
-
'details'?: any;
|
|
690
687
|
'message': string;
|
|
691
688
|
}
|
|
692
689
|
|
|
@@ -738,22 +735,6 @@ interface RegisterRequest {
|
|
|
738
735
|
'username': string;
|
|
739
736
|
}
|
|
740
737
|
|
|
741
|
-
/**
|
|
742
|
-
* Anzar Software API
|
|
743
|
-
* REST API for the Anzar platform. All protected routes require a Bearer token.
|
|
744
|
-
*
|
|
745
|
-
* The version of the OpenAPI document: 0.7.15
|
|
746
|
-
* Contact: dev@anzar.io
|
|
747
|
-
*
|
|
748
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
749
|
-
* https://openapi-generator.tech
|
|
750
|
-
* Do not edit the class manually.
|
|
751
|
-
*/
|
|
752
|
-
interface ResetLink {
|
|
753
|
-
'expires_at': string;
|
|
754
|
-
'link': string;
|
|
755
|
-
}
|
|
756
|
-
|
|
757
738
|
/**
|
|
758
739
|
* Anzar Software API
|
|
759
740
|
* REST API for the Anzar platform. All protected routes require a Bearer token.
|
|
@@ -932,7 +913,7 @@ declare const AuthApiFp: (configuration?: Configuration) => {
|
|
|
932
913
|
* @param {*} [options] Override http request option.
|
|
933
914
|
* @throws {RequiredError}
|
|
934
915
|
*/
|
|
935
|
-
requestPasswordReset(emailRequest: EmailRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
916
|
+
requestPasswordReset(emailRequest: EmailRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ExpiringLink>>;
|
|
936
917
|
/**
|
|
937
918
|
* Submits a new password using a valid reset token. Invalidates the token after use.
|
|
938
919
|
* @summary Submit new password
|
|
@@ -1000,7 +981,7 @@ declare const AuthApiFactory: (configuration?: Configuration, basePath?: string,
|
|
|
1000
981
|
* @param {*} [options] Override http request option.
|
|
1001
982
|
* @throws {RequiredError}
|
|
1002
983
|
*/
|
|
1003
|
-
requestPasswordReset(emailRequest: EmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
984
|
+
requestPasswordReset(emailRequest: EmailRequest, options?: RawAxiosRequestConfig): AxiosPromise<ExpiringLink>;
|
|
1004
985
|
/**
|
|
1005
986
|
* Submits a new password using a valid reset token. Invalidates the token after use.
|
|
1006
987
|
* @summary Submit new password
|
|
@@ -1068,7 +1049,7 @@ declare class AuthApi extends BaseAPI {
|
|
|
1068
1049
|
* @param {*} [options] Override http request option.
|
|
1069
1050
|
* @throws {RequiredError}
|
|
1070
1051
|
*/
|
|
1071
|
-
requestPasswordReset(emailRequest: EmailRequest, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<
|
|
1052
|
+
requestPasswordReset(emailRequest: EmailRequest, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<ExpiringLink, any, {}>>;
|
|
1072
1053
|
/**
|
|
1073
1054
|
* Submits a new password using a valid reset token. Invalidates the token after use.
|
|
1074
1055
|
* @summary Submit new password
|
|
@@ -1181,4 +1162,4 @@ declare class UsersApi extends BaseAPI {
|
|
|
1181
1162
|
findUser(options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<User, any, {}>>;
|
|
1182
1163
|
}
|
|
1183
1164
|
|
|
1184
|
-
export { AlgorithmConfig, type AnzarConfiguration, type App, AuthApi, AuthApiAxiosParamCreator, AuthApiFactory, AuthApiFp, type AuthResponse, AuthStrategy, type Authentication, type Cache, CacheDriver, Configuration, type ConfigurationParameters, type CorsConfig, type Database, DatabaseDriver, EmailApi, EmailApiAxiosParamCreator, EmailApiFactory, EmailApiFp, type EmailConfig, type EmailRequest, type EmailVerification, ErrorCode, type ErrorResponse, type HttpsConfig, type JwtConfig, type LoginRequest, type PasswordConfig, type PasswordRequirements, type PasswordReset, type PasswordSecurity, type RefreshTokenRequest, type RegisterRequest, type
|
|
1165
|
+
export { AlgorithmConfig, type AnzarConfiguration, type App, AuthApi, AuthApiAxiosParamCreator, AuthApiFactory, AuthApiFp, type AuthResponse, AuthStrategy, type Authentication, type Cache, CacheDriver, Configuration, type ConfigurationParameters, type CorsConfig, type Database, DatabaseDriver, EmailApi, EmailApiAxiosParamCreator, EmailApiFactory, EmailApiFp, type EmailConfig, type EmailRequest, type EmailVerification, ErrorCode, type ErrorResponse, type ExpiringLink, type HttpsConfig, type JwtConfig, type LoginRequest, type PasswordConfig, type PasswordRequirements, type PasswordReset, type PasswordSecurity, type RefreshTokenRequest, type RegisterRequest, type ResetPasswordRequest, Role, SameSiteConfig, type Security, type Server, type Session, type SessionConfig, type SessionTokens, type TokenQuery, type User, UsersApi, UsersApiAxiosParamCreator, UsersApiFactory, UsersApiFp };
|
package/dist/index.js
CHANGED
|
@@ -875,27 +875,28 @@ var DatabaseDriver = {
|
|
|
875
875
|
|
|
876
876
|
// src/generated/models/error-code.ts
|
|
877
877
|
var ErrorCode = {
|
|
878
|
-
InvalidToken: "InvalidToken",
|
|
879
|
-
TokenNotFound: "TokenNotFound",
|
|
880
878
|
TokenExpired: "TokenExpired",
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
TokenRevocationFailed: "TokenRevocationFailed",
|
|
884
|
-
AccountNotVerified: "AccountNotVerified",
|
|
879
|
+
TokenReplay: "TokenReplay",
|
|
880
|
+
TokenInvalid: "TokenInvalid",
|
|
885
881
|
InvalidCredentials: "InvalidCredentials",
|
|
886
|
-
|
|
882
|
+
AccountNotVerified: "AccountNotVerified",
|
|
883
|
+
TokenInvalidSignature: "TokenInvalidSignature",
|
|
884
|
+
TokenInvalidAudience: "TokenInvalidAudience",
|
|
885
|
+
TokenInvalidIssuer: "TokenInvalidIssuer",
|
|
886
|
+
TokenInvalidAlgorithm: "TokenInvalidAlgorithm",
|
|
887
|
+
TokenMalformed: "TokenMalformed",
|
|
888
|
+
InsufficientPermissions: "InsufficientPermissions",
|
|
887
889
|
AccountSuspended: "AccountSuspended",
|
|
888
890
|
UserNotFound: "UserNotFound",
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
DatabaseError: "DatabaseError",
|
|
895
|
-
InvalidRequest: "InvalidRequest",
|
|
891
|
+
TokenNotFound: "TokenNotFound",
|
|
892
|
+
AlreadyExists: "AlreadyExists",
|
|
893
|
+
ValidationFailed: "ValidationFailed",
|
|
894
|
+
MalformedField: "MalformedField",
|
|
895
|
+
MissingField: "MissingField",
|
|
896
896
|
UnsupportedMediaType: "UnsupportedMediaType",
|
|
897
897
|
BadRequest: "BadRequest",
|
|
898
|
-
|
|
898
|
+
RateLimitExceeded: "RateLimitExceeded",
|
|
899
|
+
Internal: "Internal"
|
|
899
900
|
};
|
|
900
901
|
|
|
901
902
|
// src/generated/models/role.ts
|