@livdot-tech/contracts 1.3.0 → 1.3.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.
Files changed (113) hide show
  1. package/dist/auth/index.d.mts +30 -132
  2. package/dist/auth/index.d.ts +30 -132
  3. package/dist/auth/index.js +1 -1
  4. package/dist/auth/index.mjs +1 -1
  5. package/dist/booking/index.d.mts +35 -183
  6. package/dist/booking/index.d.ts +35 -183
  7. package/dist/booking/index.js +1 -1
  8. package/dist/booking/index.mjs +1 -1
  9. package/dist/chunk-26JAML7N.js +2 -0
  10. package/dist/chunk-26JAML7N.js.map +1 -0
  11. package/dist/chunk-2HCYHD66.mjs +2 -0
  12. package/dist/chunk-2HCYHD66.mjs.map +1 -0
  13. package/dist/chunk-4YYJEPT6.js +2 -0
  14. package/dist/chunk-4YYJEPT6.js.map +1 -0
  15. package/dist/chunk-C7FWAE4X.js +2 -0
  16. package/dist/chunk-C7FWAE4X.js.map +1 -0
  17. package/dist/chunk-CWGSFDFC.mjs +2 -0
  18. package/dist/chunk-CWGSFDFC.mjs.map +1 -0
  19. package/dist/chunk-DAQYQHNR.js +2 -0
  20. package/dist/chunk-DAQYQHNR.js.map +1 -0
  21. package/dist/chunk-FE3AMYQL.mjs +2 -0
  22. package/dist/chunk-FE3AMYQL.mjs.map +1 -0
  23. package/dist/chunk-GKYB3J5L.js +2 -0
  24. package/dist/chunk-GKYB3J5L.js.map +1 -0
  25. package/dist/chunk-HKU2VYQL.mjs +2 -0
  26. package/dist/chunk-HKU2VYQL.mjs.map +1 -0
  27. package/dist/chunk-I62TAYOH.js +2 -0
  28. package/dist/chunk-I62TAYOH.js.map +1 -0
  29. package/dist/chunk-JY2QSZFF.mjs +2 -0
  30. package/dist/chunk-JY2QSZFF.mjs.map +1 -0
  31. package/dist/chunk-MIIRC5BK.mjs +2 -0
  32. package/dist/chunk-MIIRC5BK.mjs.map +1 -0
  33. package/dist/chunk-SA4F4CDG.mjs +2 -0
  34. package/dist/chunk-SA4F4CDG.mjs.map +1 -0
  35. package/dist/chunk-SOOB6WM6.mjs +2 -0
  36. package/dist/chunk-SOOB6WM6.mjs.map +1 -0
  37. package/dist/chunk-UNCRGZ3F.js +2 -0
  38. package/dist/chunk-UNCRGZ3F.js.map +1 -0
  39. package/dist/chunk-VPAZHULG.js +2 -0
  40. package/dist/chunk-VPAZHULG.js.map +1 -0
  41. package/dist/chunk-ZOBM5OSW.js +2 -0
  42. package/dist/chunk-ZOBM5OSW.js.map +1 -0
  43. package/dist/chunk-ZWWSPLKF.mjs +2 -0
  44. package/dist/chunk-ZWWSPLKF.mjs.map +1 -0
  45. package/dist/common/index.d.mts +6 -214
  46. package/dist/common/index.d.ts +6 -214
  47. package/dist/common/index.js +1 -1
  48. package/dist/common/index.mjs +1 -1
  49. package/dist/dispute/index.d.mts +12 -42
  50. package/dist/dispute/index.d.ts +12 -42
  51. package/dist/dispute/index.js +1 -1
  52. package/dist/dispute/index.mjs +1 -1
  53. package/dist/event/index.d.mts +773 -148
  54. package/dist/event/index.d.ts +773 -148
  55. package/dist/event/index.js +1 -1
  56. package/dist/event/index.mjs +1 -1
  57. package/dist/index.d.mts +2 -2
  58. package/dist/index.d.ts +2 -2
  59. package/dist/index.js +1 -1
  60. package/dist/index.mjs +1 -1
  61. package/dist/notification/index.d.mts +11 -41
  62. package/dist/notification/index.d.ts +11 -41
  63. package/dist/notification/index.js +1 -1
  64. package/dist/notification/index.mjs +1 -1
  65. package/dist/payment/index.d.mts +15 -67
  66. package/dist/payment/index.d.ts +15 -67
  67. package/dist/payment/index.js +1 -1
  68. package/dist/payment/index.mjs +1 -1
  69. package/dist/streaming/index.d.mts +8 -42
  70. package/dist/streaming/index.d.ts +8 -42
  71. package/dist/streaming/index.js +1 -1
  72. package/dist/streaming/index.mjs +1 -1
  73. package/dist/user/index.d.mts +184 -304
  74. package/dist/user/index.d.ts +184 -304
  75. package/dist/user/index.js +1 -1
  76. package/dist/user/index.mjs +1 -1
  77. package/package.json +6 -5
  78. package/dist/chunk-6GDUDLP2.js +0 -2
  79. package/dist/chunk-6GDUDLP2.js.map +0 -1
  80. package/dist/chunk-6UTUVCOM.mjs +0 -2
  81. package/dist/chunk-6UTUVCOM.mjs.map +0 -1
  82. package/dist/chunk-6ZN2TPBZ.js +0 -2
  83. package/dist/chunk-6ZN2TPBZ.js.map +0 -1
  84. package/dist/chunk-726BT6I5.js +0 -2
  85. package/dist/chunk-726BT6I5.js.map +0 -1
  86. package/dist/chunk-C2QIE2HZ.js +0 -2
  87. package/dist/chunk-C2QIE2HZ.js.map +0 -1
  88. package/dist/chunk-CIV62KPR.mjs +0 -2
  89. package/dist/chunk-CIV62KPR.mjs.map +0 -1
  90. package/dist/chunk-DF4E66H2.mjs +0 -2
  91. package/dist/chunk-DF4E66H2.mjs.map +0 -1
  92. package/dist/chunk-F663RS3D.js +0 -2
  93. package/dist/chunk-F663RS3D.js.map +0 -1
  94. package/dist/chunk-GY7PCU2T.js +0 -2
  95. package/dist/chunk-GY7PCU2T.js.map +0 -1
  96. package/dist/chunk-HI6UMYA4.mjs +0 -2
  97. package/dist/chunk-HI6UMYA4.mjs.map +0 -1
  98. package/dist/chunk-IJ2PAFAX.js +0 -2
  99. package/dist/chunk-IJ2PAFAX.js.map +0 -1
  100. package/dist/chunk-NSBUBEZK.mjs +0 -2
  101. package/dist/chunk-NSBUBEZK.mjs.map +0 -1
  102. package/dist/chunk-PHGWWUP2.mjs +0 -2
  103. package/dist/chunk-PHGWWUP2.mjs.map +0 -1
  104. package/dist/chunk-T7C4AYVD.mjs +0 -2
  105. package/dist/chunk-T7C4AYVD.mjs.map +0 -1
  106. package/dist/chunk-UDHBQDRU.js +0 -2
  107. package/dist/chunk-UDHBQDRU.js.map +0 -1
  108. package/dist/chunk-WCT4N7NS.mjs +0 -2
  109. package/dist/chunk-WCT4N7NS.mjs.map +0 -1
  110. package/dist/chunk-WEET4HBJ.mjs +0 -2
  111. package/dist/chunk-WEET4HBJ.mjs.map +0 -1
  112. package/dist/chunk-ZFINSMCH.js +0 -2
  113. package/dist/chunk-ZFINSMCH.js.map +0 -1
@@ -4,104 +4,60 @@ import { z } from 'zod';
4
4
  * Zod schema for registration request.
5
5
  */
6
6
  declare const RegisterRequestSchema: z.ZodObject<{
7
- email: z.ZodString;
7
+ email: z.ZodEmail;
8
8
  password: z.ZodString;
9
9
  firstName: z.ZodString;
10
10
  lastName: z.ZodString;
11
- role: z.ZodOptional<z.ZodNativeEnum<{
11
+ role: z.ZodOptional<z.ZodEnum<{
12
12
  readonly HOST: 1;
13
13
  readonly PRODUCER: 2;
14
14
  readonly VIEWER: 4;
15
15
  }>>;
16
- }, "strip", z.ZodTypeAny, {
17
- email: string;
18
- firstName: string;
19
- lastName: string;
20
- password: string;
21
- role?: 1 | 2 | 4 | undefined;
22
- }, {
23
- email: string;
24
- firstName: string;
25
- lastName: string;
26
- password: string;
27
- role?: 1 | 2 | 4 | undefined;
28
- }>;
16
+ }, z.core.$strip>;
29
17
  /**
30
18
  * Zod schema for registration response.
31
19
  */
32
20
  declare const RegisterResponseSchema: z.ZodObject<{
33
21
  username: z.ZodString;
34
22
  reference: z.ZodString;
35
- role: z.ZodOptional<z.ZodNativeEnum<{
23
+ role: z.ZodOptional<z.ZodEnum<{
36
24
  readonly HOST: 1;
37
25
  readonly PRODUCER: 2;
38
26
  readonly VIEWER: 4;
39
27
  }>>;
40
- }, "strip", z.ZodTypeAny, {
41
- username: string;
42
- reference: string;
43
- role?: 1 | 2 | 4 | undefined;
44
- }, {
45
- username: string;
46
- reference: string;
47
- role?: 1 | 2 | 4 | undefined;
48
- }>;
28
+ }, z.core.$strip>;
49
29
  /**
50
30
  * Zod schema for login request.
51
31
  */
52
32
  declare const LoginRequestSchema: z.ZodObject<{
53
- email: z.ZodString;
33
+ email: z.ZodEmail;
54
34
  password: z.ZodString;
55
- role: z.ZodOptional<z.ZodNativeEnum<{
35
+ role: z.ZodOptional<z.ZodEnum<{
56
36
  readonly HOST: 1;
57
37
  readonly PRODUCER: 2;
58
38
  readonly VIEWER: 4;
59
39
  }>>;
60
- }, "strip", z.ZodTypeAny, {
61
- email: string;
62
- password: string;
63
- role?: 1 | 2 | 4 | undefined;
64
- }, {
65
- email: string;
66
- password: string;
67
- role?: 1 | 2 | 4 | undefined;
68
- }>;
40
+ }, z.core.$strip>;
69
41
  declare const VerifyOtpRequestSchema: z.ZodObject<{
70
42
  otp: z.ZodString;
71
43
  reference: z.ZodString;
72
- type: z.ZodEnum<["registration", "passwordReset"]>;
73
- }, "strip", z.ZodTypeAny, {
74
- type: "registration" | "passwordReset";
75
- reference: string;
76
- otp: string;
77
- }, {
78
- type: "registration" | "passwordReset";
79
- reference: string;
80
- otp: string;
81
- }>;
44
+ type: z.ZodEnum<{
45
+ registration: "registration";
46
+ passwordReset: "passwordReset";
47
+ }>;
48
+ }, z.core.$strip>;
82
49
  declare const ResendOtpRequestSchema: z.ZodObject<{
83
50
  reference: z.ZodString;
84
- type: z.ZodEnum<["registration", "passwordReset"]>;
85
- }, "strip", z.ZodTypeAny, {
86
- type: "registration" | "passwordReset";
87
- reference: string;
88
- }, {
89
- type: "registration" | "passwordReset";
90
- reference: string;
91
- }>;
51
+ type: z.ZodEnum<{
52
+ registration: "registration";
53
+ passwordReset: "passwordReset";
54
+ }>;
55
+ }, z.core.$strip>;
92
56
  declare const VerifyOtpResponseSchema: z.ZodObject<{
93
57
  isValid: z.ZodBoolean;
94
58
  message: z.ZodString;
95
59
  reference: z.ZodOptional<z.ZodString>;
96
- }, "strip", z.ZodTypeAny, {
97
- message: string;
98
- isValid: boolean;
99
- reference?: string | undefined;
100
- }, {
101
- message: string;
102
- isValid: boolean;
103
- reference?: string | undefined;
104
- }>;
60
+ }, z.core.$strip>;
105
61
  /**
106
62
  * Zod schema for login response.
107
63
  */
@@ -111,114 +67,56 @@ declare const LoginResponseSchema: z.ZodObject<{
111
67
  IdToken: z.ZodString;
112
68
  ExpiresIn: z.ZodNumber;
113
69
  TokenType: z.ZodLiteral<"Bearer">;
114
- }, "strip", z.ZodTypeAny, {
115
- AccessToken: string;
116
- RefreshToken: string;
117
- IdToken: string;
118
- ExpiresIn: number;
119
- TokenType: "Bearer";
120
- }, {
121
- AccessToken: string;
122
- RefreshToken: string;
123
- IdToken: string;
124
- ExpiresIn: number;
125
- TokenType: "Bearer";
126
- }>;
70
+ }, z.core.$strip>;
127
71
  /**
128
72
  * Zod schema for refresh token request.
129
73
  */
130
74
  declare const RefreshTokenRequestSchema: z.ZodObject<{
131
75
  refreshToken: z.ZodString;
132
- }, "strip", z.ZodTypeAny, {
133
- refreshToken: string;
134
- }, {
135
- refreshToken: string;
136
- }>;
76
+ }, z.core.$strip>;
137
77
  declare const LogoutRequestSchema: z.ZodObject<{
138
78
  refreshToken: z.ZodString;
139
79
  accessToken: z.ZodString;
140
- }, "strip", z.ZodTypeAny, {
141
- refreshToken: string;
142
- accessToken: string;
143
- }, {
144
- refreshToken: string;
145
- accessToken: string;
146
- }>;
80
+ }, z.core.$strip>;
147
81
  /**
148
82
  * Zod schema for forgot password request.
149
83
  */
150
84
  declare const ForgotPasswordRequestSchema: z.ZodObject<{
151
- email: z.ZodString;
152
- }, "strip", z.ZodTypeAny, {
153
- email: string;
154
- }, {
155
- email: string;
156
- }>;
85
+ email: z.ZodEmail;
86
+ }, z.core.$strip>;
157
87
  declare const ForgotPasswordResponseSchema: z.ZodObject<{
158
88
  destination: z.ZodString;
159
89
  deliveryMedium: z.ZodString;
160
90
  attributeName: z.ZodString;
161
- }, "strip", z.ZodTypeAny, {
162
- destination: string;
163
- deliveryMedium: string;
164
- attributeName: string;
165
- }, {
166
- destination: string;
167
- deliveryMedium: string;
168
- attributeName: string;
169
- }>;
91
+ }, z.core.$strip>;
170
92
  /**
171
93
  * Zod schema for reset password request.
172
94
  */
173
95
  declare const ResetPasswordRequestSchema: z.ZodObject<{
174
96
  token: z.ZodString;
175
97
  newPassword: z.ZodString;
176
- }, "strip", z.ZodTypeAny, {
177
- token: string;
178
- newPassword: string;
179
- }, {
180
- token: string;
181
- newPassword: string;
182
- }>;
98
+ }, z.core.$strip>;
183
99
  /**
184
100
  * Zod schema for change password request.
185
101
  */
186
102
  declare const ChangePasswordRequestSchema: z.ZodObject<{
187
103
  currentPassword: z.ZodString;
188
104
  newPassword: z.ZodString;
189
- }, "strip", z.ZodTypeAny, {
190
- newPassword: string;
191
- currentPassword: string;
192
- }, {
193
- newPassword: string;
194
- currentPassword: string;
195
- }>;
105
+ }, z.core.$strip>;
196
106
  /**
197
107
  * Zod schema for AWS Cognito token payload.
198
108
  */
199
109
  declare const CognitoTokenPayloadSchema: z.ZodObject<{
200
110
  sub: z.ZodString;
201
- email: z.ZodString;
202
- role: z.ZodNativeEnum<{
111
+ email: z.ZodEmail;
112
+ role: z.ZodEnum<{
203
113
  readonly HOST: 1;
204
114
  readonly PRODUCER: 2;
205
115
  readonly VIEWER: 4;
206
116
  }>;
207
117
  iat: z.ZodNumber;
208
118
  exp: z.ZodNumber;
209
- }, "strip", z.ZodTypeAny, {
210
- email: string;
211
- role: 1 | 2 | 4;
212
- sub: string;
213
- iat: number;
214
- exp: number;
215
- }, {
216
- email: string;
217
- role: 1 | 2 | 4;
218
- sub: string;
219
- iat: number;
220
- exp: number;
221
- }>;
119
+ }, z.core.$strip>;
222
120
 
223
121
  type RegisterRequest = z.infer<typeof RegisterRequestSchema>;
224
122
  type LoginRequest = z.infer<typeof LoginRequestSchema>;
@@ -4,104 +4,60 @@ import { z } from 'zod';
4
4
  * Zod schema for registration request.
5
5
  */
6
6
  declare const RegisterRequestSchema: z.ZodObject<{
7
- email: z.ZodString;
7
+ email: z.ZodEmail;
8
8
  password: z.ZodString;
9
9
  firstName: z.ZodString;
10
10
  lastName: z.ZodString;
11
- role: z.ZodOptional<z.ZodNativeEnum<{
11
+ role: z.ZodOptional<z.ZodEnum<{
12
12
  readonly HOST: 1;
13
13
  readonly PRODUCER: 2;
14
14
  readonly VIEWER: 4;
15
15
  }>>;
16
- }, "strip", z.ZodTypeAny, {
17
- email: string;
18
- firstName: string;
19
- lastName: string;
20
- password: string;
21
- role?: 1 | 2 | 4 | undefined;
22
- }, {
23
- email: string;
24
- firstName: string;
25
- lastName: string;
26
- password: string;
27
- role?: 1 | 2 | 4 | undefined;
28
- }>;
16
+ }, z.core.$strip>;
29
17
  /**
30
18
  * Zod schema for registration response.
31
19
  */
32
20
  declare const RegisterResponseSchema: z.ZodObject<{
33
21
  username: z.ZodString;
34
22
  reference: z.ZodString;
35
- role: z.ZodOptional<z.ZodNativeEnum<{
23
+ role: z.ZodOptional<z.ZodEnum<{
36
24
  readonly HOST: 1;
37
25
  readonly PRODUCER: 2;
38
26
  readonly VIEWER: 4;
39
27
  }>>;
40
- }, "strip", z.ZodTypeAny, {
41
- username: string;
42
- reference: string;
43
- role?: 1 | 2 | 4 | undefined;
44
- }, {
45
- username: string;
46
- reference: string;
47
- role?: 1 | 2 | 4 | undefined;
48
- }>;
28
+ }, z.core.$strip>;
49
29
  /**
50
30
  * Zod schema for login request.
51
31
  */
52
32
  declare const LoginRequestSchema: z.ZodObject<{
53
- email: z.ZodString;
33
+ email: z.ZodEmail;
54
34
  password: z.ZodString;
55
- role: z.ZodOptional<z.ZodNativeEnum<{
35
+ role: z.ZodOptional<z.ZodEnum<{
56
36
  readonly HOST: 1;
57
37
  readonly PRODUCER: 2;
58
38
  readonly VIEWER: 4;
59
39
  }>>;
60
- }, "strip", z.ZodTypeAny, {
61
- email: string;
62
- password: string;
63
- role?: 1 | 2 | 4 | undefined;
64
- }, {
65
- email: string;
66
- password: string;
67
- role?: 1 | 2 | 4 | undefined;
68
- }>;
40
+ }, z.core.$strip>;
69
41
  declare const VerifyOtpRequestSchema: z.ZodObject<{
70
42
  otp: z.ZodString;
71
43
  reference: z.ZodString;
72
- type: z.ZodEnum<["registration", "passwordReset"]>;
73
- }, "strip", z.ZodTypeAny, {
74
- type: "registration" | "passwordReset";
75
- reference: string;
76
- otp: string;
77
- }, {
78
- type: "registration" | "passwordReset";
79
- reference: string;
80
- otp: string;
81
- }>;
44
+ type: z.ZodEnum<{
45
+ registration: "registration";
46
+ passwordReset: "passwordReset";
47
+ }>;
48
+ }, z.core.$strip>;
82
49
  declare const ResendOtpRequestSchema: z.ZodObject<{
83
50
  reference: z.ZodString;
84
- type: z.ZodEnum<["registration", "passwordReset"]>;
85
- }, "strip", z.ZodTypeAny, {
86
- type: "registration" | "passwordReset";
87
- reference: string;
88
- }, {
89
- type: "registration" | "passwordReset";
90
- reference: string;
91
- }>;
51
+ type: z.ZodEnum<{
52
+ registration: "registration";
53
+ passwordReset: "passwordReset";
54
+ }>;
55
+ }, z.core.$strip>;
92
56
  declare const VerifyOtpResponseSchema: z.ZodObject<{
93
57
  isValid: z.ZodBoolean;
94
58
  message: z.ZodString;
95
59
  reference: z.ZodOptional<z.ZodString>;
96
- }, "strip", z.ZodTypeAny, {
97
- message: string;
98
- isValid: boolean;
99
- reference?: string | undefined;
100
- }, {
101
- message: string;
102
- isValid: boolean;
103
- reference?: string | undefined;
104
- }>;
60
+ }, z.core.$strip>;
105
61
  /**
106
62
  * Zod schema for login response.
107
63
  */
@@ -111,114 +67,56 @@ declare const LoginResponseSchema: z.ZodObject<{
111
67
  IdToken: z.ZodString;
112
68
  ExpiresIn: z.ZodNumber;
113
69
  TokenType: z.ZodLiteral<"Bearer">;
114
- }, "strip", z.ZodTypeAny, {
115
- AccessToken: string;
116
- RefreshToken: string;
117
- IdToken: string;
118
- ExpiresIn: number;
119
- TokenType: "Bearer";
120
- }, {
121
- AccessToken: string;
122
- RefreshToken: string;
123
- IdToken: string;
124
- ExpiresIn: number;
125
- TokenType: "Bearer";
126
- }>;
70
+ }, z.core.$strip>;
127
71
  /**
128
72
  * Zod schema for refresh token request.
129
73
  */
130
74
  declare const RefreshTokenRequestSchema: z.ZodObject<{
131
75
  refreshToken: z.ZodString;
132
- }, "strip", z.ZodTypeAny, {
133
- refreshToken: string;
134
- }, {
135
- refreshToken: string;
136
- }>;
76
+ }, z.core.$strip>;
137
77
  declare const LogoutRequestSchema: z.ZodObject<{
138
78
  refreshToken: z.ZodString;
139
79
  accessToken: z.ZodString;
140
- }, "strip", z.ZodTypeAny, {
141
- refreshToken: string;
142
- accessToken: string;
143
- }, {
144
- refreshToken: string;
145
- accessToken: string;
146
- }>;
80
+ }, z.core.$strip>;
147
81
  /**
148
82
  * Zod schema for forgot password request.
149
83
  */
150
84
  declare const ForgotPasswordRequestSchema: z.ZodObject<{
151
- email: z.ZodString;
152
- }, "strip", z.ZodTypeAny, {
153
- email: string;
154
- }, {
155
- email: string;
156
- }>;
85
+ email: z.ZodEmail;
86
+ }, z.core.$strip>;
157
87
  declare const ForgotPasswordResponseSchema: z.ZodObject<{
158
88
  destination: z.ZodString;
159
89
  deliveryMedium: z.ZodString;
160
90
  attributeName: z.ZodString;
161
- }, "strip", z.ZodTypeAny, {
162
- destination: string;
163
- deliveryMedium: string;
164
- attributeName: string;
165
- }, {
166
- destination: string;
167
- deliveryMedium: string;
168
- attributeName: string;
169
- }>;
91
+ }, z.core.$strip>;
170
92
  /**
171
93
  * Zod schema for reset password request.
172
94
  */
173
95
  declare const ResetPasswordRequestSchema: z.ZodObject<{
174
96
  token: z.ZodString;
175
97
  newPassword: z.ZodString;
176
- }, "strip", z.ZodTypeAny, {
177
- token: string;
178
- newPassword: string;
179
- }, {
180
- token: string;
181
- newPassword: string;
182
- }>;
98
+ }, z.core.$strip>;
183
99
  /**
184
100
  * Zod schema for change password request.
185
101
  */
186
102
  declare const ChangePasswordRequestSchema: z.ZodObject<{
187
103
  currentPassword: z.ZodString;
188
104
  newPassword: z.ZodString;
189
- }, "strip", z.ZodTypeAny, {
190
- newPassword: string;
191
- currentPassword: string;
192
- }, {
193
- newPassword: string;
194
- currentPassword: string;
195
- }>;
105
+ }, z.core.$strip>;
196
106
  /**
197
107
  * Zod schema for AWS Cognito token payload.
198
108
  */
199
109
  declare const CognitoTokenPayloadSchema: z.ZodObject<{
200
110
  sub: z.ZodString;
201
- email: z.ZodString;
202
- role: z.ZodNativeEnum<{
111
+ email: z.ZodEmail;
112
+ role: z.ZodEnum<{
203
113
  readonly HOST: 1;
204
114
  readonly PRODUCER: 2;
205
115
  readonly VIEWER: 4;
206
116
  }>;
207
117
  iat: z.ZodNumber;
208
118
  exp: z.ZodNumber;
209
- }, "strip", z.ZodTypeAny, {
210
- email: string;
211
- role: 1 | 2 | 4;
212
- sub: string;
213
- iat: number;
214
- exp: number;
215
- }, {
216
- email: string;
217
- role: 1 | 2 | 4;
218
- sub: string;
219
- iat: number;
220
- exp: number;
221
- }>;
119
+ }, z.core.$strip>;
222
120
 
223
121
  type RegisterRequest = z.infer<typeof RegisterRequestSchema>;
224
122
  type LoginRequest = z.infer<typeof LoginRequestSchema>;
@@ -1,2 +1,2 @@
1
- 'use strict';var chunk6GDUDLP2_js=require('../chunk-6GDUDLP2.js');require('../chunk-UDHBQDRU.js');Object.defineProperty(exports,"ChangePasswordRequestSchema",{enumerable:true,get:function(){return chunk6GDUDLP2_js.m}});Object.defineProperty(exports,"CognitoTokenPayloadSchema",{enumerable:true,get:function(){return chunk6GDUDLP2_js.n}});Object.defineProperty(exports,"ForgotPasswordRequestSchema",{enumerable:true,get:function(){return chunk6GDUDLP2_js.j}});Object.defineProperty(exports,"ForgotPasswordResponseSchema",{enumerable:true,get:function(){return chunk6GDUDLP2_js.k}});Object.defineProperty(exports,"LoginRequestSchema",{enumerable:true,get:function(){return chunk6GDUDLP2_js.c}});Object.defineProperty(exports,"LoginResponseSchema",{enumerable:true,get:function(){return chunk6GDUDLP2_js.g}});Object.defineProperty(exports,"LogoutRequestSchema",{enumerable:true,get:function(){return chunk6GDUDLP2_js.i}});Object.defineProperty(exports,"RefreshTokenRequestSchema",{enumerable:true,get:function(){return chunk6GDUDLP2_js.h}});Object.defineProperty(exports,"RegisterRequestSchema",{enumerable:true,get:function(){return chunk6GDUDLP2_js.a}});Object.defineProperty(exports,"RegisterResponseSchema",{enumerable:true,get:function(){return chunk6GDUDLP2_js.b}});Object.defineProperty(exports,"ResendOtpRequestSchema",{enumerable:true,get:function(){return chunk6GDUDLP2_js.e}});Object.defineProperty(exports,"ResetPasswordRequestSchema",{enumerable:true,get:function(){return chunk6GDUDLP2_js.l}});Object.defineProperty(exports,"VerifyOtpRequestSchema",{enumerable:true,get:function(){return chunk6GDUDLP2_js.d}});Object.defineProperty(exports,"VerifyOtpResponseSchema",{enumerable:true,get:function(){return chunk6GDUDLP2_js.f}});//# sourceMappingURL=index.js.map
1
+ 'use strict';var chunk26JAML7N_js=require('../chunk-26JAML7N.js');require('../chunk-UNCRGZ3F.js'),require('../chunk-I62TAYOH.js');Object.defineProperty(exports,"ChangePasswordRequestSchema",{enumerable:true,get:function(){return chunk26JAML7N_js.m}});Object.defineProperty(exports,"CognitoTokenPayloadSchema",{enumerable:true,get:function(){return chunk26JAML7N_js.n}});Object.defineProperty(exports,"ForgotPasswordRequestSchema",{enumerable:true,get:function(){return chunk26JAML7N_js.j}});Object.defineProperty(exports,"ForgotPasswordResponseSchema",{enumerable:true,get:function(){return chunk26JAML7N_js.k}});Object.defineProperty(exports,"LoginRequestSchema",{enumerable:true,get:function(){return chunk26JAML7N_js.c}});Object.defineProperty(exports,"LoginResponseSchema",{enumerable:true,get:function(){return chunk26JAML7N_js.g}});Object.defineProperty(exports,"LogoutRequestSchema",{enumerable:true,get:function(){return chunk26JAML7N_js.i}});Object.defineProperty(exports,"RefreshTokenRequestSchema",{enumerable:true,get:function(){return chunk26JAML7N_js.h}});Object.defineProperty(exports,"RegisterRequestSchema",{enumerable:true,get:function(){return chunk26JAML7N_js.a}});Object.defineProperty(exports,"RegisterResponseSchema",{enumerable:true,get:function(){return chunk26JAML7N_js.b}});Object.defineProperty(exports,"ResendOtpRequestSchema",{enumerable:true,get:function(){return chunk26JAML7N_js.e}});Object.defineProperty(exports,"ResetPasswordRequestSchema",{enumerable:true,get:function(){return chunk26JAML7N_js.l}});Object.defineProperty(exports,"VerifyOtpRequestSchema",{enumerable:true,get:function(){return chunk26JAML7N_js.d}});Object.defineProperty(exports,"VerifyOtpResponseSchema",{enumerable:true,get:function(){return chunk26JAML7N_js.f}});//# sourceMappingURL=index.js.map
2
2
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
- export{m as ChangePasswordRequestSchema,n as CognitoTokenPayloadSchema,j as ForgotPasswordRequestSchema,k as ForgotPasswordResponseSchema,c as LoginRequestSchema,g as LoginResponseSchema,i as LogoutRequestSchema,h as RefreshTokenRequestSchema,a as RegisterRequestSchema,b as RegisterResponseSchema,e as ResendOtpRequestSchema,l as ResetPasswordRequestSchema,d as VerifyOtpRequestSchema,f as VerifyOtpResponseSchema}from'../chunk-WCT4N7NS.mjs';import'../chunk-PHGWWUP2.mjs';//# sourceMappingURL=index.mjs.map
1
+ export{m as ChangePasswordRequestSchema,n as CognitoTokenPayloadSchema,j as ForgotPasswordRequestSchema,k as ForgotPasswordResponseSchema,c as LoginRequestSchema,g as LoginResponseSchema,i as LogoutRequestSchema,h as RefreshTokenRequestSchema,a as RegisterRequestSchema,b as RegisterResponseSchema,e as ResendOtpRequestSchema,l as ResetPasswordRequestSchema,d as VerifyOtpRequestSchema,f as VerifyOtpResponseSchema}from'../chunk-HKU2VYQL.mjs';import'../chunk-JY2QSZFF.mjs';import'../chunk-2HCYHD66.mjs';//# sourceMappingURL=index.mjs.map
2
2
  //# sourceMappingURL=index.mjs.map