hh-contracts 0.0.131 → 0.0.133
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/build/auth/auth.api.d.ts +2 -2
- package/build/auth/auth.api.js +1 -1
- package/build/auth/auth.models.d.ts +17 -16
- package/build/auth/auth.models.d.ts.map +1 -1
- package/build/auth/auth.models.js +13 -13
- package/build/auth/contracts/hotel-client-login.contract.d.ts +1 -1
- package/build/auth/contracts/hotel-client-login.contract.d.ts.map +1 -1
- package/build/auth/contracts/hotel-client-login.contract.js +9 -9
- package/build/auth/contracts/hotel-client-refresh.contract.d.ts +1 -1
- package/build/auth/contracts/hotel-client-refresh.contract.d.ts.map +1 -1
- package/build/auth/contracts/hotel-client-refresh.contract.js +9 -9
- package/build/auth/contracts/hotel-client-secret-set.contract.d.ts +1 -1
- package/build/auth/contracts/hotel-client-secret-set.contract.d.ts.map +1 -1
- package/build/auth/contracts/hotel-client-secret-set.contract.js +9 -9
- package/build/auth/contracts/hotel-client-session-revoke.contract.d.ts +1 -1
- package/build/auth/contracts/hotel-client-session-revoke.contract.d.ts.map +1 -1
- package/build/auth/contracts/hotel-client-session-revoke.contract.js +8 -8
- package/build/auth/contracts/index.d.ts +2 -1
- package/build/auth/contracts/index.d.ts.map +1 -1
- package/build/auth/contracts/index.js +2 -1
- package/build/auth/contracts/login-email.contract.d.ts +1 -1
- package/build/auth/contracts/login-email.contract.d.ts.map +1 -1
- package/build/auth/contracts/login-email.contract.js +9 -9
- package/build/auth/contracts/logout.contract.d.ts +1 -1
- package/build/auth/contracts/logout.contract.d.ts.map +1 -1
- package/build/auth/contracts/logout.contract.js +8 -8
- package/build/auth/contracts/me-ability.contract.d.ts +1 -1
- package/build/auth/contracts/me-ability.contract.d.ts.map +1 -1
- package/build/auth/contracts/me-ability.contract.js +8 -8
- package/build/auth/contracts/me-hotels.contract.d.ts +1 -1
- package/build/auth/contracts/me-hotels.contract.d.ts.map +1 -1
- package/build/auth/contracts/me-hotels.contract.js +9 -9
- package/build/auth/contracts/me-password-change.contract.d.ts +1 -1
- package/build/auth/contracts/me-password-change.contract.d.ts.map +1 -1
- package/build/auth/contracts/me-password-change.contract.js +9 -9
- package/build/auth/contracts/me-sessions-revoke-all.contract.d.ts +1 -1
- package/build/auth/contracts/me-sessions-revoke-all.contract.d.ts.map +1 -1
- package/build/auth/contracts/me-sessions-revoke-all.contract.js +8 -8
- package/build/auth/contracts/{session-revoke.contract.d.ts → me-sessions-revoke.contract.d.ts} +3 -3
- package/build/auth/contracts/me-sessions-revoke.contract.d.ts.map +1 -0
- package/build/auth/contracts/{session-revoke.contract.js → me-sessions-revoke.contract.js} +8 -8
- package/build/auth/contracts/me-sessions.contract.d.ts +1 -1
- package/build/auth/contracts/me-sessions.contract.d.ts.map +1 -1
- package/build/auth/contracts/me-sessions.contract.js +8 -8
- package/build/auth/contracts/me.contract.d.ts +1 -1
- package/build/auth/contracts/me.contract.d.ts.map +1 -1
- package/build/auth/contracts/me.contract.js +8 -8
- package/build/auth/contracts/password-reset-confirm.contract.d.ts +1 -1
- package/build/auth/contracts/password-reset-confirm.contract.d.ts.map +1 -1
- package/build/auth/contracts/password-reset-confirm.contract.js +9 -9
- package/build/auth/contracts/password-reset-request.contract.d.ts +1 -1
- package/build/auth/contracts/password-reset-request.contract.d.ts.map +1 -1
- package/build/auth/contracts/password-reset-request.contract.js +9 -9
- package/build/auth/contracts/refresh.contract.d.ts +1 -1
- package/build/auth/contracts/refresh.contract.d.ts.map +1 -1
- package/build/auth/contracts/refresh.contract.js +8 -8
- package/build/auth/contracts/user-password-reset.contract.d.ts +1 -1
- package/build/auth/contracts/user-password-reset.contract.d.ts.map +1 -1
- package/build/auth/contracts/user-password-reset.contract.js +9 -9
- package/build/auth/contracts/user-sessions-revoke-all.contract.d.ts +1 -1
- package/build/auth/contracts/user-sessions-revoke-all.contract.d.ts.map +1 -1
- package/build/auth/contracts/user-sessions-revoke-all.contract.js +8 -8
- package/package.json +1 -1
- package/build/auth/contracts/session-revoke.contract.d.ts.map +0 -1
package/build/auth/auth.api.d.ts
CHANGED
|
@@ -9,8 +9,8 @@ export declare const AUTH_CONTROLLER: {
|
|
|
9
9
|
readonly meHotels: "me/hotels";
|
|
10
10
|
readonly mePasswordChange: "me/password/change";
|
|
11
11
|
readonly meSessions: "me/sessions";
|
|
12
|
+
readonly meSessionsRevoke: "me/sessions/:sessionId/revoke";
|
|
12
13
|
readonly meSessionsRevokeAll: "me/sessions/revoke-all";
|
|
13
|
-
readonly sessionRevoke: "sessions/:sessionId/revoke";
|
|
14
14
|
readonly userPasswordReset: "users/:userId/password/reset";
|
|
15
15
|
readonly userSessionsRevokeAll: "users/:userId/sessions/revoke-all";
|
|
16
16
|
readonly passwordResetRequest: "password/reset/request";
|
|
@@ -32,8 +32,8 @@ export declare const AUTH_API: import("../common/utils").TApi<{
|
|
|
32
32
|
readonly meHotels: "me/hotels";
|
|
33
33
|
readonly mePasswordChange: "me/password/change";
|
|
34
34
|
readonly meSessions: "me/sessions";
|
|
35
|
+
readonly meSessionsRevoke: "me/sessions/:sessionId/revoke";
|
|
35
36
|
readonly meSessionsRevokeAll: "me/sessions/revoke-all";
|
|
36
|
-
readonly sessionRevoke: "sessions/:sessionId/revoke";
|
|
37
37
|
readonly userPasswordReset: "users/:userId/password/reset";
|
|
38
38
|
readonly userSessionsRevokeAll: "users/:userId/sessions/revoke-all";
|
|
39
39
|
readonly passwordResetRequest: "password/reset/request";
|
package/build/auth/auth.api.js
CHANGED
|
@@ -13,8 +13,8 @@ exports.AUTH_CONTROLLER = {
|
|
|
13
13
|
meHotels: 'me/hotels',
|
|
14
14
|
mePasswordChange: 'me/password/change',
|
|
15
15
|
meSessions: 'me/sessions',
|
|
16
|
+
meSessionsRevoke: 'me/sessions/:sessionId/revoke',
|
|
16
17
|
meSessionsRevokeAll: 'me/sessions/revoke-all',
|
|
17
|
-
sessionRevoke: 'sessions/:sessionId/revoke',
|
|
18
18
|
userPasswordReset: 'users/:userId/password/reset',
|
|
19
19
|
userSessionsRevokeAll: 'users/:userId/sessions/revoke-all',
|
|
20
20
|
passwordResetRequest: 'password/reset/request',
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as z from 'zod';
|
|
2
2
|
export declare const JwtTokenSchema: z.ZodString;
|
|
3
3
|
export type TJwtToken = z.infer<typeof JwtTokenSchema>;
|
|
4
|
-
export declare const
|
|
4
|
+
export declare const LoginEmailSchema: z.ZodObject<{
|
|
5
5
|
email: z.ZodEmail;
|
|
6
6
|
password: z.ZodString;
|
|
7
7
|
}, z.core.$strip>;
|
|
8
|
-
export type
|
|
8
|
+
export type TLoginEmail = z.infer<typeof LoginEmailSchema>;
|
|
9
9
|
export declare const AccessTokenSchema: z.ZodObject<{
|
|
10
10
|
accessToken: z.ZodString;
|
|
11
11
|
}, z.core.$strip>;
|
|
@@ -16,20 +16,20 @@ export declare const TokenPairSchema: z.ZodObject<{
|
|
|
16
16
|
accessToken: z.ZodString;
|
|
17
17
|
refreshToken: z.ZodString;
|
|
18
18
|
}, z.core.$strip>;
|
|
19
|
-
export declare const
|
|
19
|
+
export declare const MePasswordChangeSchema: z.ZodObject<{
|
|
20
20
|
currentPassword: z.ZodString;
|
|
21
21
|
newPassword: z.ZodString;
|
|
22
22
|
}, z.core.$strip>;
|
|
23
|
-
export type
|
|
24
|
-
export declare const
|
|
23
|
+
export type TMePasswordChange = z.infer<typeof MePasswordChangeSchema>;
|
|
24
|
+
export declare const UserPasswordResetSchema: z.ZodObject<{
|
|
25
25
|
newPassword: z.ZodString;
|
|
26
26
|
}, z.core.$strip>;
|
|
27
|
-
export type
|
|
28
|
-
export declare const
|
|
27
|
+
export type TUserPasswordReset = z.infer<typeof UserPasswordResetSchema>;
|
|
28
|
+
export declare const PasswordResetConfirmSchema: z.ZodObject<{
|
|
29
29
|
newPassword: z.ZodString;
|
|
30
30
|
token: z.ZodString;
|
|
31
31
|
}, z.core.$strip>;
|
|
32
|
-
export type
|
|
32
|
+
export type TPasswordResetConfirm = z.infer<typeof PasswordResetConfirmSchema>;
|
|
33
33
|
export declare const AuthIdentifierSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
34
34
|
type: z.ZodLiteral<"email">;
|
|
35
35
|
value: z.ZodEmail;
|
|
@@ -41,12 +41,12 @@ export declare const AuthIdentifierSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
41
41
|
value: z.ZodString;
|
|
42
42
|
}, z.core.$strip>], "type">;
|
|
43
43
|
export type TAuthIdentifier = z.infer<typeof AuthIdentifierSchema>;
|
|
44
|
-
export declare const
|
|
44
|
+
export declare const AbilityConditionSchema: z.ZodObject<{
|
|
45
45
|
hotelId: z.ZodOptional<z.ZodOptional<z.ZodUUID>>;
|
|
46
46
|
userId: z.ZodOptional<z.ZodOptional<z.ZodUUID>>;
|
|
47
47
|
}, z.core.$strip>;
|
|
48
|
-
export type
|
|
49
|
-
export declare const
|
|
48
|
+
export type TAbilityCondition = z.infer<typeof AbilityConditionSchema>;
|
|
49
|
+
export declare const AbilityRuleSchema: z.ZodObject<{
|
|
50
50
|
action: z.ZodEnum<{
|
|
51
51
|
manage: "manage";
|
|
52
52
|
create: "create";
|
|
@@ -75,8 +75,8 @@ export declare const AuthAbilityRuleSchema: z.ZodObject<{
|
|
|
75
75
|
userId: z.ZodOptional<z.ZodOptional<z.ZodUUID>>;
|
|
76
76
|
}, z.core.$strip>>;
|
|
77
77
|
}, z.core.$strip>;
|
|
78
|
-
export type
|
|
79
|
-
export declare const
|
|
78
|
+
export type TAbilityRule = z.infer<typeof AbilityRuleSchema>;
|
|
79
|
+
export declare const AbilityRulesSchema: z.ZodObject<{
|
|
80
80
|
rules: z.ZodArray<z.ZodObject<{
|
|
81
81
|
action: z.ZodEnum<{
|
|
82
82
|
manage: "manage";
|
|
@@ -107,7 +107,8 @@ export declare const AuthAbilityResponseSchema: z.ZodObject<{
|
|
|
107
107
|
}, z.core.$strip>>;
|
|
108
108
|
}, z.core.$strip>>;
|
|
109
109
|
}, z.core.$strip>;
|
|
110
|
-
export
|
|
110
|
+
export type TAbilityRules = z.infer<typeof AbilityRulesSchema>;
|
|
111
|
+
export declare const UserSessionSchema: z.ZodObject<{
|
|
111
112
|
id: z.ZodUUID;
|
|
112
113
|
createdAt: z.ZodDate;
|
|
113
114
|
lastUsedAt: z.ZodNullable<z.ZodDate>;
|
|
@@ -120,8 +121,8 @@ export declare const AuthSessionSchema: z.ZodObject<{
|
|
|
120
121
|
lastIp: z.ZodNullable<z.ZodString>;
|
|
121
122
|
isCurrent: z.ZodOptional<z.ZodBoolean>;
|
|
122
123
|
}, z.core.$strip>;
|
|
123
|
-
export type
|
|
124
|
-
export declare const
|
|
124
|
+
export type TUserSession = z.infer<typeof UserSessionSchema>;
|
|
125
|
+
export declare const UserSessionsSchema: z.ZodObject<{
|
|
125
126
|
sessions: z.ZodArray<z.ZodObject<{
|
|
126
127
|
id: z.ZodUUID;
|
|
127
128
|
createdAt: z.ZodDate;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth.models.d.ts","sourceRoot":"","sources":["../../auth/auth.models.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAIzB,eAAO,MAAM,cAAc,aAAoB,CAAC;AAChD,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAEvD,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"auth.models.d.ts","sourceRoot":"","sources":["../../auth/auth.models.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAIzB,eAAO,MAAM,cAAc,aAAoB,CAAC;AAChD,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAEvD,eAAO,MAAM,gBAAgB;;;iBAG3B,CAAC;AACH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAE3D,eAAO,MAAM,iBAAiB;;iBAE5B,CAAC;AAEH,eAAO,MAAM,kBAAkB;;iBAE7B,CAAC;AAEH,eAAO,MAAM,eAAe;;;iBAE1B,CAAC;AAEH,eAAO,MAAM,sBAAsB;;;iBAGjC,CAAC;AACH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAEvE,eAAO,MAAM,uBAAuB;;iBAElC,CAAC;AACH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAEzE,eAAO,MAAM,0BAA0B;;;iBAErC,CAAC;AACH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAE/E,eAAO,MAAM,oBAAoB;;;;;;;;;2BAa/B,CAAC;AACH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAEnE,eAAO,MAAM,sBAAsB;;;iBAKvB,CAAC;AACb,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAEvE,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAI5B,CAAC;AACH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE7D,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAE7B,CAAC;AACH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAE/D,eAAO,MAAM,iBAAiB;;;;;;;;;;;;iBAY5B,CAAC;AACH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE7D,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;iBAE7B,CAAC;AAEH,eAAO,MAAM,sBAAsB;;;iBAGjC,CAAC;AACH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAEvE,eAAO,MAAM,wBAAwB;;;;;;;iBAOnC,CAAC;AACH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE3E,eAAO,MAAM,YAAY;;iBAEvB,CAAC;AACH,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC"}
|
|
@@ -33,12 +33,12 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.SecretSchema = exports.HotelClientSessionSchema = exports.HotelClientLoginSchema = exports.
|
|
36
|
+
exports.SecretSchema = exports.HotelClientSessionSchema = exports.HotelClientLoginSchema = exports.UserSessionsSchema = exports.UserSessionSchema = exports.AbilityRulesSchema = exports.AbilityRuleSchema = exports.AbilityConditionSchema = exports.AuthIdentifierSchema = exports.PasswordResetConfirmSchema = exports.UserPasswordResetSchema = exports.MePasswordChangeSchema = exports.TokenPairSchema = exports.RefreshTokenSchema = exports.AccessTokenSchema = exports.LoginEmailSchema = exports.JwtTokenSchema = void 0;
|
|
37
37
|
const z = __importStar(require("zod"));
|
|
38
38
|
const common_1 = require("../common");
|
|
39
39
|
const constant_1 = require("./constant");
|
|
40
40
|
exports.JwtTokenSchema = z.string().min(1);
|
|
41
|
-
exports.
|
|
41
|
+
exports.LoginEmailSchema = z.object({
|
|
42
42
|
email: common_1.EmailSchema,
|
|
43
43
|
password: z.string().min(1),
|
|
44
44
|
});
|
|
@@ -51,14 +51,14 @@ exports.RefreshTokenSchema = z.object({
|
|
|
51
51
|
exports.TokenPairSchema = exports.AccessTokenSchema.extend({
|
|
52
52
|
...exports.RefreshTokenSchema.shape,
|
|
53
53
|
});
|
|
54
|
-
exports.
|
|
54
|
+
exports.MePasswordChangeSchema = z.object({
|
|
55
55
|
currentPassword: z.string().min(1),
|
|
56
56
|
newPassword: z.string().min(8),
|
|
57
57
|
});
|
|
58
|
-
exports.
|
|
58
|
+
exports.UserPasswordResetSchema = z.object({
|
|
59
59
|
newPassword: z.string().min(8),
|
|
60
60
|
});
|
|
61
|
-
exports.
|
|
61
|
+
exports.PasswordResetConfirmSchema = exports.UserPasswordResetSchema.extend({
|
|
62
62
|
token: z.string().min(1),
|
|
63
63
|
});
|
|
64
64
|
exports.AuthIdentifierSchema = z.discriminatedUnion('type', [
|
|
@@ -75,21 +75,21 @@ exports.AuthIdentifierSchema = z.discriminatedUnion('type', [
|
|
|
75
75
|
value: z.string().min(3),
|
|
76
76
|
}),
|
|
77
77
|
]);
|
|
78
|
-
exports.
|
|
78
|
+
exports.AbilityConditionSchema = z
|
|
79
79
|
.object({
|
|
80
80
|
hotelId: common_1.UuidSchema.optional(),
|
|
81
81
|
userId: common_1.UuidSchema.optional(),
|
|
82
82
|
})
|
|
83
83
|
.partial();
|
|
84
|
-
exports.
|
|
84
|
+
exports.AbilityRuleSchema = z.object({
|
|
85
85
|
action: z.enum(common_1.AppAbility.ACTION_VALUES),
|
|
86
86
|
subject: z.enum(common_1.AppAbility.SUBJECT_VALUES),
|
|
87
|
-
conditions: exports.
|
|
87
|
+
conditions: exports.AbilityConditionSchema.optional(),
|
|
88
88
|
});
|
|
89
|
-
exports.
|
|
90
|
-
rules: z.array(exports.
|
|
89
|
+
exports.AbilityRulesSchema = z.object({
|
|
90
|
+
rules: z.array(exports.AbilityRuleSchema),
|
|
91
91
|
});
|
|
92
|
-
exports.
|
|
92
|
+
exports.UserSessionSchema = z.object({
|
|
93
93
|
id: common_1.UuidSchema,
|
|
94
94
|
createdAt: z.date(),
|
|
95
95
|
lastUsedAt: z.date().nullable(),
|
|
@@ -102,8 +102,8 @@ exports.AuthSessionSchema = z.object({
|
|
|
102
102
|
lastIp: z.string().nullable(),
|
|
103
103
|
isCurrent: z.boolean().optional(),
|
|
104
104
|
});
|
|
105
|
-
exports.
|
|
106
|
-
sessions: z.array(exports.
|
|
105
|
+
exports.UserSessionsSchema = z.object({
|
|
106
|
+
sessions: z.array(exports.UserSessionSchema),
|
|
107
107
|
});
|
|
108
108
|
exports.HotelClientLoginSchema = z.object({
|
|
109
109
|
clientId: z.uuid(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hotel-client-login.contract.d.ts","sourceRoot":"","sources":["../../../auth/contracts/hotel-client-login.contract.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAKzB,yBAAiB,
|
|
1
|
+
{"version":3,"file":"hotel-client-login.contract.d.ts","sourceRoot":"","sources":["../../../auth/contracts/hotel-client-login.contract.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAKzB,yBAAiB,wBAAwB,CAAC;IACjC,MAAM,MAAM,qCAA4B,CAAC;IACzC,MAAM,QAAQ,uBAA6C,CAAC;IAC5D,MAAM,UAAU,QAAoB,CAAC;IAErC,MAAM,aAAa;;;qBAAyB,CAAC;IACpD,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE9C,MAAM,cAAc;;;qBAAkB,CAAC;IAC9C,KAAY,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACxD"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.HotelClientLoginContract = void 0;
|
|
4
4
|
const common_1 = require("../../common");
|
|
5
5
|
const auth_api_1 = require("../auth.api");
|
|
6
6
|
const auth_models_1 = require("../auth.models");
|
|
7
|
-
var
|
|
8
|
-
(function (
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
})(
|
|
7
|
+
var HotelClientLoginContract;
|
|
8
|
+
(function (HotelClientLoginContract) {
|
|
9
|
+
HotelClientLoginContract.getUrl = auth_api_1.AUTH_API.hotelClientLogin;
|
|
10
|
+
HotelClientLoginContract.endpoint = auth_api_1.AUTH_CONTROLLER.endpoints.hotelClientLogin;
|
|
11
|
+
HotelClientLoginContract.httpMethod = common_1.HTTP_METHODS.post;
|
|
12
|
+
HotelClientLoginContract.RequestSchema = auth_models_1.HotelClientLoginSchema;
|
|
13
|
+
HotelClientLoginContract.ResponseSchema = auth_models_1.TokenPairSchema;
|
|
14
|
+
})(HotelClientLoginContract || (exports.HotelClientLoginContract = HotelClientLoginContract = {}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hotel-client-refresh.contract.d.ts","sourceRoot":"","sources":["../../../auth/contracts/hotel-client-refresh.contract.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAKpB,yBAAiB,
|
|
1
|
+
{"version":3,"file":"hotel-client-refresh.contract.d.ts","sourceRoot":"","sources":["../../../auth/contracts/hotel-client-refresh.contract.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAKpB,yBAAiB,0BAA0B,CAAC;IACnC,MAAM,MAAM,qCAA8B,CAAC;IAC3C,MAAM,QAAQ,yBAA+C,CAAC;IAC9D,MAAM,UAAU,QAAoB,CAAC;IAErC,MAAM,aAAa;;qBAAqB,CAAC;IAChD,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE9C,MAAM,cAAc;;;qBAAkB,CAAC;IAC9C,KAAY,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACxD"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.HotelClientRefreshContract = void 0;
|
|
4
4
|
const common_1 = require("../../common");
|
|
5
5
|
const auth_api_1 = require("../auth.api");
|
|
6
6
|
const auth_models_1 = require("../auth.models");
|
|
7
|
-
var
|
|
8
|
-
(function (
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
})(
|
|
7
|
+
var HotelClientRefreshContract;
|
|
8
|
+
(function (HotelClientRefreshContract) {
|
|
9
|
+
HotelClientRefreshContract.getUrl = auth_api_1.AUTH_API.hotelClientRefresh;
|
|
10
|
+
HotelClientRefreshContract.endpoint = auth_api_1.AUTH_CONTROLLER.endpoints.hotelClientRefresh;
|
|
11
|
+
HotelClientRefreshContract.httpMethod = common_1.HTTP_METHODS.post;
|
|
12
|
+
HotelClientRefreshContract.RequestSchema = auth_models_1.RefreshTokenSchema;
|
|
13
|
+
HotelClientRefreshContract.ResponseSchema = auth_models_1.TokenPairSchema;
|
|
14
|
+
})(HotelClientRefreshContract || (exports.HotelClientRefreshContract = HotelClientRefreshContract = {}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hotel-client-secret-set.contract.d.ts","sourceRoot":"","sources":["../../../auth/contracts/hotel-client-secret-set.contract.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAKzB,yBAAiB,
|
|
1
|
+
{"version":3,"file":"hotel-client-secret-set.contract.d.ts","sourceRoot":"","sources":["../../../auth/contracts/hotel-client-secret-set.contract.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAKzB,yBAAiB,4BAA4B,CAAC;IACrC,MAAM,MAAM;;gBAAgC,CAAC;IAC7C,MAAM,QAAQ,sCAAiD,CAAC;IAChE,MAAM,UAAU,QAAoB,CAAC;IAErC,MAAM,aAAa;;qBAAe,CAAC;IAC1C,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE9C,MAAM,cAAc,WAAW,CAAC;IACvC,KAAY,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACxD"}
|
|
@@ -33,16 +33,16 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.
|
|
36
|
+
exports.HotelClientSecretSetContract = void 0;
|
|
37
37
|
const z = __importStar(require("zod"));
|
|
38
38
|
const common_1 = require("../../common");
|
|
39
39
|
const auth_api_1 = require("../auth.api");
|
|
40
40
|
const auth_models_1 = require("../auth.models");
|
|
41
|
-
var
|
|
42
|
-
(function (
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
})(
|
|
41
|
+
var HotelClientSecretSetContract;
|
|
42
|
+
(function (HotelClientSecretSetContract) {
|
|
43
|
+
HotelClientSecretSetContract.getUrl = auth_api_1.AUTH_API.hotelClientSecretSet;
|
|
44
|
+
HotelClientSecretSetContract.endpoint = auth_api_1.AUTH_CONTROLLER.endpoints.hotelClientSecretSet;
|
|
45
|
+
HotelClientSecretSetContract.httpMethod = common_1.HTTP_METHODS.post;
|
|
46
|
+
HotelClientSecretSetContract.RequestSchema = auth_models_1.SecretSchema;
|
|
47
|
+
HotelClientSecretSetContract.ResponseSchema = z.void();
|
|
48
|
+
})(HotelClientSecretSetContract || (exports.HotelClientSecretSetContract = HotelClientSecretSetContract = {}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hotel-client-session-revoke.contract.d.ts","sourceRoot":"","sources":["../../../auth/contracts/hotel-client-session-revoke.contract.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAIpB,yBAAiB,
|
|
1
|
+
{"version":3,"file":"hotel-client-session-revoke.contract.d.ts","sourceRoot":"","sources":["../../../auth/contracts/hotel-client-session-revoke.contract.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAIpB,yBAAiB,gCAAgC,CAAC;IACzC,MAAM,MAAM;;gBAAoC,CAAC;IACjD,MAAM,QAAQ,4CAAqD,CAAC;IACpE,MAAM,UAAU,QAAoB,CAAC;IAErC,MAAM,cAAc,WAAW,CAAC;IACvC,KAAY,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACxD"}
|
|
@@ -3,14 +3,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.
|
|
6
|
+
exports.HotelClientSessionRevokeContract = void 0;
|
|
7
7
|
const zod_1 = __importDefault(require("zod"));
|
|
8
8
|
const common_1 = require("../../common");
|
|
9
9
|
const auth_api_1 = require("../auth.api");
|
|
10
|
-
var
|
|
11
|
-
(function (
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
})(
|
|
10
|
+
var HotelClientSessionRevokeContract;
|
|
11
|
+
(function (HotelClientSessionRevokeContract) {
|
|
12
|
+
HotelClientSessionRevokeContract.getUrl = auth_api_1.AUTH_API.hotelClientSessionRevoke;
|
|
13
|
+
HotelClientSessionRevokeContract.endpoint = auth_api_1.AUTH_CONTROLLER.endpoints.hotelClientSessionRevoke;
|
|
14
|
+
HotelClientSessionRevokeContract.httpMethod = common_1.HTTP_METHODS.post;
|
|
15
|
+
HotelClientSessionRevokeContract.ResponseSchema = zod_1.default.void();
|
|
16
|
+
})(HotelClientSessionRevokeContract || (exports.HotelClientSessionRevokeContract = HotelClientSessionRevokeContract = {}));
|
|
@@ -8,11 +8,12 @@ export * from './user-password-reset.contract';
|
|
|
8
8
|
export * from './password-reset-request.contract';
|
|
9
9
|
export * from './me-ability.contract';
|
|
10
10
|
export * from './user-sessions-revoke-all.contract';
|
|
11
|
-
export * from './
|
|
11
|
+
export * from './me-sessions-revoke.contract';
|
|
12
12
|
export * from './me-sessions-revoke-all.contract';
|
|
13
13
|
export * from './me-sessions.contract';
|
|
14
14
|
export * from './me-hotels.contract';
|
|
15
15
|
export * from './hotel-client-login.contract';
|
|
16
16
|
export * from './hotel-client-refresh.contract';
|
|
17
17
|
export * from './hotel-client-session-revoke.contract';
|
|
18
|
+
export * from './hotel-client-secret-set.contract';
|
|
18
19
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../auth/contracts/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,+BAA+B,CAAC;AAC9C,cAAc,mCAAmC,CAAC;AAClD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,mCAAmC,CAAC;AAClD,cAAc,uBAAuB,CAAC;AACtC,cAAc,qCAAqC,CAAC;AACpD,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../auth/contracts/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,+BAA+B,CAAC;AAC9C,cAAc,mCAAmC,CAAC;AAClD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,mCAAmC,CAAC;AAClD,cAAc,uBAAuB,CAAC;AACtC,cAAc,qCAAqC,CAAC;AACpD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,mCAAmC,CAAC;AAClD,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AAErC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,iCAAiC,CAAC;AAChD,cAAc,wCAAwC,CAAC;AACvD,cAAc,oCAAoC,CAAC"}
|
|
@@ -24,10 +24,11 @@ __exportStar(require("./user-password-reset.contract"), exports);
|
|
|
24
24
|
__exportStar(require("./password-reset-request.contract"), exports);
|
|
25
25
|
__exportStar(require("./me-ability.contract"), exports);
|
|
26
26
|
__exportStar(require("./user-sessions-revoke-all.contract"), exports);
|
|
27
|
-
__exportStar(require("./
|
|
27
|
+
__exportStar(require("./me-sessions-revoke.contract"), exports);
|
|
28
28
|
__exportStar(require("./me-sessions-revoke-all.contract"), exports);
|
|
29
29
|
__exportStar(require("./me-sessions.contract"), exports);
|
|
30
30
|
__exportStar(require("./me-hotels.contract"), exports);
|
|
31
31
|
__exportStar(require("./hotel-client-login.contract"), exports);
|
|
32
32
|
__exportStar(require("./hotel-client-refresh.contract"), exports);
|
|
33
33
|
__exportStar(require("./hotel-client-session-revoke.contract"), exports);
|
|
34
|
+
__exportStar(require("./hotel-client-secret-set.contract"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"login-email.contract.d.ts","sourceRoot":"","sources":["../../../auth/contracts/login-email.contract.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAKzB,yBAAiB,
|
|
1
|
+
{"version":3,"file":"login-email.contract.d.ts","sourceRoot":"","sources":["../../../auth/contracts/login-email.contract.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAKzB,yBAAiB,kBAAkB,CAAC;IAC3B,MAAM,MAAM,qCAAsB,CAAC;IACnC,MAAM,QAAQ,eAAuC,CAAC;IACtD,MAAM,UAAU,QAAoB,CAAC;IAErC,MAAM,aAAa;;;qBAAmB,CAAC;IAC9C,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE9C,MAAM,cAAc;;qBAAoB,CAAC;IAChD,KAAY,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACxD"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.LoginEmailContract = void 0;
|
|
4
4
|
const auth_models_1 = require("../auth.models");
|
|
5
5
|
const auth_api_1 = require("../auth.api");
|
|
6
6
|
const common_1 = require("../../common");
|
|
7
|
-
var
|
|
8
|
-
(function (
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
})(
|
|
7
|
+
var LoginEmailContract;
|
|
8
|
+
(function (LoginEmailContract) {
|
|
9
|
+
LoginEmailContract.getUrl = auth_api_1.AUTH_API.loginEmail;
|
|
10
|
+
LoginEmailContract.endpoint = auth_api_1.AUTH_CONTROLLER.endpoints.loginEmail;
|
|
11
|
+
LoginEmailContract.httpMethod = common_1.HTTP_METHODS.post;
|
|
12
|
+
LoginEmailContract.RequestSchema = auth_models_1.LoginEmailSchema;
|
|
13
|
+
LoginEmailContract.ResponseSchema = auth_models_1.AccessTokenSchema;
|
|
14
|
+
})(LoginEmailContract || (exports.LoginEmailContract = LoginEmailContract = {}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logout.contract.d.ts","sourceRoot":"","sources":["../../../auth/contracts/logout.contract.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAIzB,yBAAiB,
|
|
1
|
+
{"version":3,"file":"logout.contract.d.ts","sourceRoot":"","sources":["../../../auth/contracts/logout.contract.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAIzB,yBAAiB,cAAc,CAAC;IACvB,MAAM,MAAM,qCAAkB,CAAC;IAC/B,MAAM,QAAQ,UAAmC,CAAC;IAClD,MAAM,UAAU,QAAoB,CAAC;IAErC,MAAM,cAAc,WAAW,CAAC;IACvC,KAAY,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACxD"}
|
|
@@ -33,14 +33,14 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.
|
|
36
|
+
exports.LogoutContract = void 0;
|
|
37
37
|
const z = __importStar(require("zod"));
|
|
38
38
|
const common_1 = require("../../common");
|
|
39
39
|
const auth_api_1 = require("../auth.api");
|
|
40
|
-
var
|
|
41
|
-
(function (
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
})(
|
|
40
|
+
var LogoutContract;
|
|
41
|
+
(function (LogoutContract) {
|
|
42
|
+
LogoutContract.getUrl = auth_api_1.AUTH_API.logout;
|
|
43
|
+
LogoutContract.endpoint = auth_api_1.AUTH_CONTROLLER.endpoints.logout;
|
|
44
|
+
LogoutContract.httpMethod = common_1.HTTP_METHODS.post;
|
|
45
|
+
LogoutContract.ResponseSchema = z.void();
|
|
46
|
+
})(LogoutContract || (exports.LogoutContract = LogoutContract = {}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"me-ability.contract.d.ts","sourceRoot":"","sources":["../../../auth/contracts/me-ability.contract.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAKzB,yBAAiB,
|
|
1
|
+
{"version":3,"file":"me-ability.contract.d.ts","sourceRoot":"","sources":["../../../auth/contracts/me-ability.contract.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAKzB,yBAAiB,iBAAiB,CAAC;IAC1B,MAAM,MAAM,qCAAqB,CAAC;IAClC,MAAM,QAAQ,cAAsC,CAAC;IACrD,MAAM,UAAU,OAAmB,CAAC;IAEpC,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAAqB,CAAC;IACjD,KAAY,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACxD"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.MeAbilityContract = void 0;
|
|
4
4
|
const common_1 = require("../../common");
|
|
5
5
|
const auth_api_1 = require("../auth.api");
|
|
6
6
|
const auth_models_1 = require("../auth.models");
|
|
7
|
-
var
|
|
8
|
-
(function (
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
})(
|
|
7
|
+
var MeAbilityContract;
|
|
8
|
+
(function (MeAbilityContract) {
|
|
9
|
+
MeAbilityContract.getUrl = auth_api_1.AUTH_API.meAbility;
|
|
10
|
+
MeAbilityContract.endpoint = auth_api_1.AUTH_CONTROLLER.endpoints.meAbility;
|
|
11
|
+
MeAbilityContract.httpMethod = common_1.HTTP_METHODS.get;
|
|
12
|
+
MeAbilityContract.ResponseSchema = auth_models_1.AbilityRulesSchema;
|
|
13
|
+
})(MeAbilityContract || (exports.MeAbilityContract = MeAbilityContract = {}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"me-hotels.contract.d.ts","sourceRoot":"","sources":["../../../auth/contracts/me-hotels.contract.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AASzB,yBAAiB,
|
|
1
|
+
{"version":3,"file":"me-hotels.contract.d.ts","sourceRoot":"","sources":["../../../auth/contracts/me-hotels.contract.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AASzB,yBAAiB,gBAAgB,CAAC;IACzB,MAAM,MAAM,qCAAoB,CAAC;IACjC,MAAM,QAAQ,aAAqC,CAAC;IACpD,MAAM,UAAU,OAAmB,CAAC;IAEpC,MAAM,aAAa;;;;;;;;;qBAExB,CAAC;IACH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE9C,MAAM,cAAc;;;;;;;;;;;;;;;qBAEzB,CAAC;IACH,KAAY,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACxD"}
|
|
@@ -33,7 +33,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.
|
|
36
|
+
exports.MeHotelsContract = void 0;
|
|
37
37
|
const z = __importStar(require("zod"));
|
|
38
38
|
const common_1 = require("../../common");
|
|
39
39
|
const auth_api_1 = require("../auth.api");
|
|
@@ -41,15 +41,15 @@ const hotels_1 = require("../../hotels");
|
|
|
41
41
|
const BaseQuerySchema = hotels_1.HotelListItemSchema.pick({
|
|
42
42
|
status: true,
|
|
43
43
|
}).partial();
|
|
44
|
-
var
|
|
45
|
-
(function (
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
44
|
+
var MeHotelsContract;
|
|
45
|
+
(function (MeHotelsContract) {
|
|
46
|
+
MeHotelsContract.getUrl = auth_api_1.AUTH_API.meHotels;
|
|
47
|
+
MeHotelsContract.endpoint = auth_api_1.AUTH_CONTROLLER.endpoints.meHotels;
|
|
48
|
+
MeHotelsContract.httpMethod = common_1.HTTP_METHODS.get;
|
|
49
|
+
MeHotelsContract.RequestSchema = BaseQuerySchema.extend({
|
|
50
50
|
...common_1.SearchSchema.shape,
|
|
51
51
|
});
|
|
52
|
-
|
|
52
|
+
MeHotelsContract.ResponseSchema = z.object({
|
|
53
53
|
hotels: z.array(hotels_1.HotelListItemSchema),
|
|
54
54
|
});
|
|
55
|
-
})(
|
|
55
|
+
})(MeHotelsContract || (exports.MeHotelsContract = MeHotelsContract = {}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"me-password-change.contract.d.ts","sourceRoot":"","sources":["../../../auth/contracts/me-password-change.contract.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAKzB,yBAAiB,
|
|
1
|
+
{"version":3,"file":"me-password-change.contract.d.ts","sourceRoot":"","sources":["../../../auth/contracts/me-password-change.contract.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAKzB,yBAAiB,wBAAwB,CAAC;IACjC,MAAM,MAAM,qCAA4B,CAAC;IACzC,MAAM,QAAQ,sBAA6C,CAAC;IAC5D,MAAM,UAAU,QAAoB,CAAC;IAErC,MAAM,aAAa;;;qBAAyB,CAAC;IACpD,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE9C,MAAM,cAAc,WAAW,CAAC;IACvC,KAAY,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACxD"}
|
|
@@ -33,16 +33,16 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.
|
|
36
|
+
exports.MePasswordChangeContract = void 0;
|
|
37
37
|
const z = __importStar(require("zod"));
|
|
38
38
|
const common_1 = require("../../common");
|
|
39
39
|
const auth_api_1 = require("../auth.api");
|
|
40
40
|
const auth_models_1 = require("../auth.models");
|
|
41
|
-
var
|
|
42
|
-
(function (
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
})(
|
|
41
|
+
var MePasswordChangeContract;
|
|
42
|
+
(function (MePasswordChangeContract) {
|
|
43
|
+
MePasswordChangeContract.getUrl = auth_api_1.AUTH_API.mePasswordChange;
|
|
44
|
+
MePasswordChangeContract.endpoint = auth_api_1.AUTH_CONTROLLER.endpoints.mePasswordChange;
|
|
45
|
+
MePasswordChangeContract.httpMethod = common_1.HTTP_METHODS.post;
|
|
46
|
+
MePasswordChangeContract.RequestSchema = auth_models_1.MePasswordChangeSchema;
|
|
47
|
+
MePasswordChangeContract.ResponseSchema = z.void();
|
|
48
|
+
})(MePasswordChangeContract || (exports.MePasswordChangeContract = MePasswordChangeContract = {}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"me-sessions-revoke-all.contract.d.ts","sourceRoot":"","sources":["../../../auth/contracts/me-sessions-revoke-all.contract.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAIzB,yBAAiB
|
|
1
|
+
{"version":3,"file":"me-sessions-revoke-all.contract.d.ts","sourceRoot":"","sources":["../../../auth/contracts/me-sessions-revoke-all.contract.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAIzB,yBAAiB,2BAA2B,CAAC;IACpC,MAAM,MAAM,qCAA+B,CAAC;IAC5C,MAAM,QAAQ,0BAAgD,CAAC;IAC/D,MAAM,UAAU,QAAoB,CAAC;IAErC,MAAM,cAAc,WAAW,CAAC;IACvC,KAAY,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACxD"}
|
|
@@ -33,14 +33,14 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.
|
|
36
|
+
exports.MeSessionsRevokeAllContract = void 0;
|
|
37
37
|
const z = __importStar(require("zod"));
|
|
38
38
|
const common_1 = require("../../common");
|
|
39
39
|
const auth_api_1 = require("../auth.api");
|
|
40
|
-
var
|
|
41
|
-
(function (
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
})(
|
|
40
|
+
var MeSessionsRevokeAllContract;
|
|
41
|
+
(function (MeSessionsRevokeAllContract) {
|
|
42
|
+
MeSessionsRevokeAllContract.getUrl = auth_api_1.AUTH_API.meSessionsRevokeAll;
|
|
43
|
+
MeSessionsRevokeAllContract.endpoint = auth_api_1.AUTH_CONTROLLER.endpoints.meSessionsRevokeAll;
|
|
44
|
+
MeSessionsRevokeAllContract.httpMethod = common_1.HTTP_METHODS.post;
|
|
45
|
+
MeSessionsRevokeAllContract.ResponseSchema = z.void();
|
|
46
|
+
})(MeSessionsRevokeAllContract || (exports.MeSessionsRevokeAllContract = MeSessionsRevokeAllContract = {}));
|
package/build/auth/contracts/{session-revoke.contract.d.ts → me-sessions-revoke.contract.d.ts}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as z from 'zod';
|
|
2
|
-
export declare namespace
|
|
2
|
+
export declare namespace MeSessionRevokeContract {
|
|
3
3
|
const getUrl: (params: {
|
|
4
4
|
sessionId: string | number;
|
|
5
5
|
}) => string;
|
|
6
|
-
const endpoint: "sessions/:sessionId/revoke";
|
|
6
|
+
const endpoint: "me/sessions/:sessionId/revoke";
|
|
7
7
|
const httpMethod: "POST";
|
|
8
8
|
const ResponseSchema: z.ZodVoid;
|
|
9
9
|
type TResponse = z.infer<typeof ResponseSchema>;
|
|
10
10
|
}
|
|
11
|
-
//# sourceMappingURL=
|
|
11
|
+
//# sourceMappingURL=me-sessions-revoke.contract.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"me-sessions-revoke.contract.d.ts","sourceRoot":"","sources":["../../../auth/contracts/me-sessions-revoke.contract.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAIzB,yBAAiB,uBAAuB,CAAC;IAChC,MAAM,MAAM;;gBAA4B,CAAC;IACzC,MAAM,QAAQ,iCAA6C,CAAC;IAC5D,MAAM,UAAU,QAAoB,CAAC;IAErC,MAAM,cAAc,WAAW,CAAC;IACvC,KAAY,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACxD"}
|
|
@@ -33,14 +33,14 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.
|
|
36
|
+
exports.MeSessionRevokeContract = void 0;
|
|
37
37
|
const z = __importStar(require("zod"));
|
|
38
38
|
const common_1 = require("../../common");
|
|
39
39
|
const auth_api_1 = require("../auth.api");
|
|
40
|
-
var
|
|
41
|
-
(function (
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
})(
|
|
40
|
+
var MeSessionRevokeContract;
|
|
41
|
+
(function (MeSessionRevokeContract) {
|
|
42
|
+
MeSessionRevokeContract.getUrl = auth_api_1.AUTH_API.meSessionsRevoke;
|
|
43
|
+
MeSessionRevokeContract.endpoint = auth_api_1.AUTH_CONTROLLER.endpoints.meSessionsRevoke;
|
|
44
|
+
MeSessionRevokeContract.httpMethod = common_1.HTTP_METHODS.post;
|
|
45
|
+
MeSessionRevokeContract.ResponseSchema = z.void();
|
|
46
|
+
})(MeSessionRevokeContract || (exports.MeSessionRevokeContract = MeSessionRevokeContract = {}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"me-sessions.contract.d.ts","sourceRoot":"","sources":["../../../auth/contracts/me-sessions.contract.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAKzB,yBAAiB,
|
|
1
|
+
{"version":3,"file":"me-sessions.contract.d.ts","sourceRoot":"","sources":["../../../auth/contracts/me-sessions.contract.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAKzB,yBAAiB,kBAAkB,CAAC;IAC3B,MAAM,MAAM,qCAAsB,CAAC;IACnC,MAAM,QAAQ,eAAuC,CAAC;IACtD,MAAM,UAAU,OAAmB,CAAC;IAEpC,MAAM,cAAc;;;;;;;;;;;;;;qBAAqB,CAAC;IACjD,KAAY,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACxD"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.MeSessionsContract = void 0;
|
|
4
4
|
const common_1 = require("../../common");
|
|
5
5
|
const auth_api_1 = require("../auth.api");
|
|
6
6
|
const auth_models_1 = require("../auth.models");
|
|
7
|
-
var
|
|
8
|
-
(function (
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
})(
|
|
7
|
+
var MeSessionsContract;
|
|
8
|
+
(function (MeSessionsContract) {
|
|
9
|
+
MeSessionsContract.getUrl = auth_api_1.AUTH_API.meSessions;
|
|
10
|
+
MeSessionsContract.endpoint = auth_api_1.AUTH_CONTROLLER.endpoints.meSessions;
|
|
11
|
+
MeSessionsContract.httpMethod = common_1.HTTP_METHODS.get;
|
|
12
|
+
MeSessionsContract.ResponseSchema = auth_models_1.UserSessionsSchema;
|
|
13
|
+
})(MeSessionsContract || (exports.MeSessionsContract = MeSessionsContract = {}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"me.contract.d.ts","sourceRoot":"","sources":["../../../auth/contracts/me.contract.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAKzB,yBAAiB,
|
|
1
|
+
{"version":3,"file":"me.contract.d.ts","sourceRoot":"","sources":["../../../auth/contracts/me.contract.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAKzB,yBAAiB,UAAU,CAAC;IACnB,MAAM,MAAM,qCAAc,CAAC;IAC3B,MAAM,QAAQ,MAA+B,CAAC;IAC9C,MAAM,UAAU,OAAmB,CAAC;IAEpC,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAAmB,CAAC;IAC/C,KAAY,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACxD"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.MeContract = void 0;
|
|
4
4
|
const common_1 = require("../../common");
|
|
5
5
|
const auth_api_1 = require("../auth.api");
|
|
6
6
|
const users_1 = require("../../users");
|
|
7
|
-
var
|
|
8
|
-
(function (
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
})(
|
|
7
|
+
var MeContract;
|
|
8
|
+
(function (MeContract) {
|
|
9
|
+
MeContract.getUrl = auth_api_1.AUTH_API.me;
|
|
10
|
+
MeContract.endpoint = auth_api_1.AUTH_CONTROLLER.endpoints.me;
|
|
11
|
+
MeContract.httpMethod = common_1.HTTP_METHODS.get;
|
|
12
|
+
MeContract.ResponseSchema = users_1.UserDetailSchema;
|
|
13
|
+
})(MeContract || (exports.MeContract = MeContract = {}));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as z from 'zod';
|
|
2
|
-
export declare namespace
|
|
2
|
+
export declare namespace PasswordResetConfirmContract {
|
|
3
3
|
const getUrl: (params?: {} | undefined) => string;
|
|
4
4
|
const endpoint: "password/reset/confirm";
|
|
5
5
|
const httpMethod: "POST";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"password-reset-confirm.contract.d.ts","sourceRoot":"","sources":["../../../auth/contracts/password-reset-confirm.contract.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAKzB,yBAAiB,
|
|
1
|
+
{"version":3,"file":"password-reset-confirm.contract.d.ts","sourceRoot":"","sources":["../../../auth/contracts/password-reset-confirm.contract.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAKzB,yBAAiB,4BAA4B,CAAC;IACrC,MAAM,MAAM,qCAAgC,CAAC;IAC7C,MAAM,QAAQ,0BAAiD,CAAC;IAChE,MAAM,UAAU,QAAoB,CAAC;IAErC,MAAM,aAAa;;;qBAA6B,CAAC;IACxD,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE9C,MAAM,cAAc,WAAW,CAAC;IACvC,KAAY,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACxD"}
|
|
@@ -33,16 +33,16 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.
|
|
36
|
+
exports.PasswordResetConfirmContract = void 0;
|
|
37
37
|
const z = __importStar(require("zod"));
|
|
38
38
|
const common_1 = require("../../common");
|
|
39
39
|
const auth_api_1 = require("../auth.api");
|
|
40
40
|
const auth_models_1 = require("../auth.models");
|
|
41
|
-
var
|
|
42
|
-
(function (
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
})(
|
|
41
|
+
var PasswordResetConfirmContract;
|
|
42
|
+
(function (PasswordResetConfirmContract) {
|
|
43
|
+
PasswordResetConfirmContract.getUrl = auth_api_1.AUTH_API.passwordResetConfirm;
|
|
44
|
+
PasswordResetConfirmContract.endpoint = auth_api_1.AUTH_CONTROLLER.endpoints.passwordResetConfirm;
|
|
45
|
+
PasswordResetConfirmContract.httpMethod = common_1.HTTP_METHODS.post;
|
|
46
|
+
PasswordResetConfirmContract.RequestSchema = auth_models_1.PasswordResetConfirmSchema;
|
|
47
|
+
PasswordResetConfirmContract.ResponseSchema = z.void();
|
|
48
|
+
})(PasswordResetConfirmContract || (exports.PasswordResetConfirmContract = PasswordResetConfirmContract = {}));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as z from 'zod';
|
|
2
|
-
export declare namespace
|
|
2
|
+
export declare namespace PasswordResetRequestContract {
|
|
3
3
|
const getUrl: (params?: {} | undefined) => string;
|
|
4
4
|
const endpoint: "password/reset/request";
|
|
5
5
|
const httpMethod: "POST";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"password-reset-request.contract.d.ts","sourceRoot":"","sources":["../../../auth/contracts/password-reset-request.contract.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AASzB,yBAAiB,
|
|
1
|
+
{"version":3,"file":"password-reset-request.contract.d.ts","sourceRoot":"","sources":["../../../auth/contracts/password-reset-request.contract.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AASzB,yBAAiB,4BAA4B,CAAC;IACrC,MAAM,MAAM,qCAAgC,CAAC;IAC7C,MAAM,QAAQ,0BAAiD,CAAC;IAChE,MAAM,UAAU,QAAoB,CAAC;IAErC,MAAM,aAAa;;;;;;;;;;;qBAAiC,CAAC;IAC5D,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE9C,MAAM,cAAc,WAAW,CAAC;IACvC,KAAY,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACxD"}
|
|
@@ -33,7 +33,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.
|
|
36
|
+
exports.PasswordResetRequestContract = void 0;
|
|
37
37
|
const z = __importStar(require("zod"));
|
|
38
38
|
const auth_models_1 = require("../auth.models");
|
|
39
39
|
const auth_api_1 = require("../auth.api");
|
|
@@ -41,11 +41,11 @@ const common_1 = require("../../common");
|
|
|
41
41
|
const AuthPasswordResetRequestSchema = z.object({
|
|
42
42
|
identifier: auth_models_1.AuthIdentifierSchema,
|
|
43
43
|
});
|
|
44
|
-
var
|
|
45
|
-
(function (
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
})(
|
|
44
|
+
var PasswordResetRequestContract;
|
|
45
|
+
(function (PasswordResetRequestContract) {
|
|
46
|
+
PasswordResetRequestContract.getUrl = auth_api_1.AUTH_API.passwordResetRequest;
|
|
47
|
+
PasswordResetRequestContract.endpoint = auth_api_1.AUTH_CONTROLLER.endpoints.passwordResetRequest;
|
|
48
|
+
PasswordResetRequestContract.httpMethod = common_1.HTTP_METHODS.post;
|
|
49
|
+
PasswordResetRequestContract.RequestSchema = AuthPasswordResetRequestSchema;
|
|
50
|
+
PasswordResetRequestContract.ResponseSchema = z.void();
|
|
51
|
+
})(PasswordResetRequestContract || (exports.PasswordResetRequestContract = PasswordResetRequestContract = {}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"refresh.contract.d.ts","sourceRoot":"","sources":["../../../auth/contracts/refresh.contract.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAKzB,yBAAiB,
|
|
1
|
+
{"version":3,"file":"refresh.contract.d.ts","sourceRoot":"","sources":["../../../auth/contracts/refresh.contract.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAKzB,yBAAiB,eAAe,CAAC;IACxB,MAAM,MAAM,qCAAmB,CAAC;IAChC,MAAM,QAAQ,WAAoC,CAAC;IACnD,MAAM,UAAU,QAAoB,CAAC;IAErC,MAAM,cAAc;;qBAAoB,CAAC;IAChD,KAAY,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACxD"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.RefreshContract = void 0;
|
|
4
4
|
const common_1 = require("../../common");
|
|
5
5
|
const auth_api_1 = require("../auth.api");
|
|
6
6
|
const auth_models_1 = require("../auth.models");
|
|
7
|
-
var
|
|
8
|
-
(function (
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
})(
|
|
7
|
+
var RefreshContract;
|
|
8
|
+
(function (RefreshContract) {
|
|
9
|
+
RefreshContract.getUrl = auth_api_1.AUTH_API.refresh;
|
|
10
|
+
RefreshContract.endpoint = auth_api_1.AUTH_CONTROLLER.endpoints.refresh;
|
|
11
|
+
RefreshContract.httpMethod = common_1.HTTP_METHODS.post;
|
|
12
|
+
RefreshContract.ResponseSchema = auth_models_1.AccessTokenSchema;
|
|
13
|
+
})(RefreshContract || (exports.RefreshContract = RefreshContract = {}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user-password-reset.contract.d.ts","sourceRoot":"","sources":["../../../auth/contracts/user-password-reset.contract.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAKzB,yBAAiB,
|
|
1
|
+
{"version":3,"file":"user-password-reset.contract.d.ts","sourceRoot":"","sources":["../../../auth/contracts/user-password-reset.contract.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAKzB,yBAAiB,yBAAyB,CAAC;IAClC,MAAM,MAAM;;gBAA6B,CAAC;IAC1C,MAAM,QAAQ,gCAA8C,CAAC;IAC7D,MAAM,UAAU,QAAoB,CAAC;IAErC,MAAM,aAAa;;qBAA0B,CAAC;IACrD,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE9C,MAAM,cAAc,WAAW,CAAC;IACvC,KAAY,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACxD"}
|
|
@@ -33,16 +33,16 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.
|
|
36
|
+
exports.UserPasswordResetContract = void 0;
|
|
37
37
|
const z = __importStar(require("zod"));
|
|
38
38
|
const common_1 = require("../../common");
|
|
39
39
|
const auth_api_1 = require("../auth.api");
|
|
40
40
|
const auth_models_1 = require("../auth.models");
|
|
41
|
-
var
|
|
42
|
-
(function (
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
})(
|
|
41
|
+
var UserPasswordResetContract;
|
|
42
|
+
(function (UserPasswordResetContract) {
|
|
43
|
+
UserPasswordResetContract.getUrl = auth_api_1.AUTH_API.userPasswordReset;
|
|
44
|
+
UserPasswordResetContract.endpoint = auth_api_1.AUTH_CONTROLLER.endpoints.userPasswordReset;
|
|
45
|
+
UserPasswordResetContract.httpMethod = common_1.HTTP_METHODS.post;
|
|
46
|
+
UserPasswordResetContract.RequestSchema = auth_models_1.UserPasswordResetSchema;
|
|
47
|
+
UserPasswordResetContract.ResponseSchema = z.void();
|
|
48
|
+
})(UserPasswordResetContract || (exports.UserPasswordResetContract = UserPasswordResetContract = {}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user-sessions-revoke-all.contract.d.ts","sourceRoot":"","sources":["../../../auth/contracts/user-sessions-revoke-all.contract.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAIzB,yBAAiB,
|
|
1
|
+
{"version":3,"file":"user-sessions-revoke-all.contract.d.ts","sourceRoot":"","sources":["../../../auth/contracts/user-sessions-revoke-all.contract.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAIzB,yBAAiB,6BAA6B,CAAC;IACtC,MAAM,MAAM;;gBAAiC,CAAC;IAC9C,MAAM,QAAQ,qCAAkD,CAAC;IACjE,MAAM,UAAU,QAAoB,CAAC;IAErC,MAAM,cAAc,WAAW,CAAC;IACvC,KAAY,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACxD"}
|
|
@@ -33,14 +33,14 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.
|
|
36
|
+
exports.UserSessionsRevokeAllContract = void 0;
|
|
37
37
|
const z = __importStar(require("zod"));
|
|
38
38
|
const common_1 = require("../../common");
|
|
39
39
|
const auth_api_1 = require("../auth.api");
|
|
40
|
-
var
|
|
41
|
-
(function (
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
})(
|
|
40
|
+
var UserSessionsRevokeAllContract;
|
|
41
|
+
(function (UserSessionsRevokeAllContract) {
|
|
42
|
+
UserSessionsRevokeAllContract.getUrl = auth_api_1.AUTH_API.userSessionsRevokeAll;
|
|
43
|
+
UserSessionsRevokeAllContract.endpoint = auth_api_1.AUTH_CONTROLLER.endpoints.userSessionsRevokeAll;
|
|
44
|
+
UserSessionsRevokeAllContract.httpMethod = common_1.HTTP_METHODS.post;
|
|
45
|
+
UserSessionsRevokeAllContract.ResponseSchema = z.void();
|
|
46
|
+
})(UserSessionsRevokeAllContract || (exports.UserSessionsRevokeAllContract = UserSessionsRevokeAllContract = {}));
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"session-revoke.contract.d.ts","sourceRoot":"","sources":["../../../auth/contracts/session-revoke.contract.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAIzB,yBAAiB,yBAAyB,CAAC;IAClC,MAAM,MAAM;;gBAAyB,CAAC;IACtC,MAAM,QAAQ,8BAA0C,CAAC;IACzD,MAAM,UAAU,QAAoB,CAAC;IAErC,MAAM,cAAc,WAAW,CAAC;IACvC,KAAY,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACxD"}
|