alepha 0.12.1 → 0.13.1

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 (198) hide show
  1. package/dist/api-notifications/index.d.ts +111 -111
  2. package/dist/api-users/index.d.ts +1240 -1240
  3. package/dist/api-verifications/index.d.ts +94 -94
  4. package/dist/cli/{dist-Sz2EXvQX.cjs → dist-Dl9Vl7Ur.js} +17 -13
  5. package/dist/cli/{dist-BBPjuQ56.js.map → dist-Dl9Vl7Ur.js.map} +1 -1
  6. package/dist/cli/index.d.ts +3 -11
  7. package/dist/cli/index.js +106 -74
  8. package/dist/cli/index.js.map +1 -1
  9. package/dist/email/index.js +71 -73
  10. package/dist/email/index.js.map +1 -1
  11. package/dist/orm/index.d.ts +1 -1
  12. package/dist/orm/index.js.map +1 -1
  13. package/dist/queue/index.d.ts +4 -4
  14. package/dist/redis/index.d.ts +10 -10
  15. package/dist/retry/index.d.ts +1 -1
  16. package/dist/retry/index.js +2 -2
  17. package/dist/retry/index.js.map +1 -1
  18. package/dist/scheduler/index.d.ts +6 -6
  19. package/dist/server/index.js +1 -1
  20. package/dist/server/index.js.map +1 -1
  21. package/dist/server-auth/index.d.ts +193 -193
  22. package/dist/server-health/index.d.ts +17 -17
  23. package/dist/server-links/index.d.ts +34 -34
  24. package/dist/server-metrics/index.js +170 -174
  25. package/dist/server-metrics/index.js.map +1 -1
  26. package/dist/server-security/index.d.ts +9 -9
  27. package/dist/vite/index.js +4 -5
  28. package/dist/vite/index.js.map +1 -1
  29. package/dist/websocket/index.d.ts +7 -7
  30. package/package.json +52 -103
  31. package/src/cli/apps/AlephaPackageBuilderCli.ts +7 -2
  32. package/src/cli/assets/appRouterTs.ts +9 -0
  33. package/src/cli/assets/indexHtml.ts +2 -1
  34. package/src/cli/assets/mainBrowserTs.ts +10 -0
  35. package/src/cli/commands/CoreCommands.ts +6 -5
  36. package/src/cli/commands/DrizzleCommands.ts +65 -57
  37. package/src/cli/commands/VerifyCommands.ts +1 -1
  38. package/src/cli/services/ProjectUtils.ts +44 -38
  39. package/src/orm/providers/DrizzleKitProvider.ts +1 -1
  40. package/src/retry/descriptors/$retry.ts +5 -3
  41. package/src/server/providers/NodeHttpServerProvider.ts +1 -1
  42. package/src/vite/helpers/boot.ts +3 -3
  43. package/dist/api-files/index.cjs +0 -1293
  44. package/dist/api-files/index.cjs.map +0 -1
  45. package/dist/api-files/index.d.cts +0 -829
  46. package/dist/api-jobs/index.cjs +0 -274
  47. package/dist/api-jobs/index.cjs.map +0 -1
  48. package/dist/api-jobs/index.d.cts +0 -654
  49. package/dist/api-notifications/index.cjs +0 -380
  50. package/dist/api-notifications/index.cjs.map +0 -1
  51. package/dist/api-notifications/index.d.cts +0 -289
  52. package/dist/api-parameters/index.cjs +0 -66
  53. package/dist/api-parameters/index.cjs.map +0 -1
  54. package/dist/api-parameters/index.d.cts +0 -84
  55. package/dist/api-users/index.cjs +0 -6009
  56. package/dist/api-users/index.cjs.map +0 -1
  57. package/dist/api-users/index.d.cts +0 -4740
  58. package/dist/api-verifications/index.cjs +0 -407
  59. package/dist/api-verifications/index.cjs.map +0 -1
  60. package/dist/api-verifications/index.d.cts +0 -207
  61. package/dist/batch/index.cjs +0 -408
  62. package/dist/batch/index.cjs.map +0 -1
  63. package/dist/batch/index.d.cts +0 -330
  64. package/dist/bin/index.cjs +0 -17
  65. package/dist/bin/index.cjs.map +0 -1
  66. package/dist/bin/index.d.cts +0 -1
  67. package/dist/bucket/index.cjs +0 -303
  68. package/dist/bucket/index.cjs.map +0 -1
  69. package/dist/bucket/index.d.cts +0 -355
  70. package/dist/cache/index.cjs +0 -241
  71. package/dist/cache/index.cjs.map +0 -1
  72. package/dist/cache/index.d.cts +0 -202
  73. package/dist/cache-redis/index.cjs +0 -84
  74. package/dist/cache-redis/index.cjs.map +0 -1
  75. package/dist/cache-redis/index.d.cts +0 -40
  76. package/dist/cli/chunk-DSlc6foC.cjs +0 -43
  77. package/dist/cli/dist-BBPjuQ56.js +0 -2778
  78. package/dist/cli/dist-Sz2EXvQX.cjs.map +0 -1
  79. package/dist/cli/index.cjs +0 -1241
  80. package/dist/cli/index.cjs.map +0 -1
  81. package/dist/cli/index.d.cts +0 -422
  82. package/dist/command/index.cjs +0 -693
  83. package/dist/command/index.cjs.map +0 -1
  84. package/dist/command/index.d.cts +0 -340
  85. package/dist/core/index.cjs +0 -2264
  86. package/dist/core/index.cjs.map +0 -1
  87. package/dist/core/index.d.cts +0 -1927
  88. package/dist/datetime/index.cjs +0 -318
  89. package/dist/datetime/index.cjs.map +0 -1
  90. package/dist/datetime/index.d.cts +0 -145
  91. package/dist/email/index.cjs +0 -10874
  92. package/dist/email/index.cjs.map +0 -1
  93. package/dist/email/index.d.cts +0 -186
  94. package/dist/fake/index.cjs +0 -34641
  95. package/dist/fake/index.cjs.map +0 -1
  96. package/dist/fake/index.d.cts +0 -74
  97. package/dist/file/index.cjs +0 -1212
  98. package/dist/file/index.cjs.map +0 -1
  99. package/dist/file/index.d.cts +0 -698
  100. package/dist/lock/index.cjs +0 -226
  101. package/dist/lock/index.cjs.map +0 -1
  102. package/dist/lock/index.d.cts +0 -361
  103. package/dist/lock-redis/index.cjs +0 -113
  104. package/dist/lock-redis/index.cjs.map +0 -1
  105. package/dist/lock-redis/index.d.cts +0 -24
  106. package/dist/logger/index.cjs +0 -521
  107. package/dist/logger/index.cjs.map +0 -1
  108. package/dist/logger/index.d.cts +0 -281
  109. package/dist/orm/index.cjs +0 -2986
  110. package/dist/orm/index.cjs.map +0 -1
  111. package/dist/orm/index.d.cts +0 -2213
  112. package/dist/queue/index.cjs +0 -1044
  113. package/dist/queue/index.cjs.map +0 -1
  114. package/dist/queue/index.d.cts +0 -1265
  115. package/dist/queue-redis/index.cjs +0 -873
  116. package/dist/queue-redis/index.cjs.map +0 -1
  117. package/dist/queue-redis/index.d.cts +0 -82
  118. package/dist/redis/index.cjs +0 -153
  119. package/dist/redis/index.cjs.map +0 -1
  120. package/dist/redis/index.d.cts +0 -82
  121. package/dist/retry/index.cjs +0 -146
  122. package/dist/retry/index.cjs.map +0 -1
  123. package/dist/retry/index.d.cts +0 -172
  124. package/dist/router/index.cjs +0 -111
  125. package/dist/router/index.cjs.map +0 -1
  126. package/dist/router/index.d.cts +0 -46
  127. package/dist/scheduler/index.cjs +0 -576
  128. package/dist/scheduler/index.cjs.map +0 -1
  129. package/dist/scheduler/index.d.cts +0 -145
  130. package/dist/security/index.cjs +0 -2402
  131. package/dist/security/index.cjs.map +0 -1
  132. package/dist/security/index.d.cts +0 -598
  133. package/dist/server/index.cjs +0 -1680
  134. package/dist/server/index.cjs.map +0 -1
  135. package/dist/server/index.d.cts +0 -810
  136. package/dist/server-auth/index.cjs +0 -3146
  137. package/dist/server-auth/index.cjs.map +0 -1
  138. package/dist/server-auth/index.d.cts +0 -1164
  139. package/dist/server-cache/index.cjs +0 -252
  140. package/dist/server-cache/index.cjs.map +0 -1
  141. package/dist/server-cache/index.d.cts +0 -164
  142. package/dist/server-compress/index.cjs +0 -141
  143. package/dist/server-compress/index.cjs.map +0 -1
  144. package/dist/server-compress/index.d.cts +0 -38
  145. package/dist/server-cookies/index.cjs +0 -234
  146. package/dist/server-cookies/index.cjs.map +0 -1
  147. package/dist/server-cookies/index.d.cts +0 -144
  148. package/dist/server-cors/index.cjs +0 -201
  149. package/dist/server-cors/index.cjs.map +0 -1
  150. package/dist/server-cors/index.d.cts +0 -140
  151. package/dist/server-health/index.cjs +0 -62
  152. package/dist/server-health/index.cjs.map +0 -1
  153. package/dist/server-health/index.d.cts +0 -58
  154. package/dist/server-helmet/index.cjs +0 -131
  155. package/dist/server-helmet/index.cjs.map +0 -1
  156. package/dist/server-helmet/index.d.cts +0 -97
  157. package/dist/server-links/index.cjs +0 -992
  158. package/dist/server-links/index.cjs.map +0 -1
  159. package/dist/server-links/index.d.cts +0 -513
  160. package/dist/server-metrics/index.cjs +0 -4535
  161. package/dist/server-metrics/index.cjs.map +0 -1
  162. package/dist/server-metrics/index.d.cts +0 -35
  163. package/dist/server-multipart/index.cjs +0 -237
  164. package/dist/server-multipart/index.cjs.map +0 -1
  165. package/dist/server-multipart/index.d.cts +0 -50
  166. package/dist/server-proxy/index.cjs +0 -186
  167. package/dist/server-proxy/index.cjs.map +0 -1
  168. package/dist/server-proxy/index.d.cts +0 -234
  169. package/dist/server-rate-limit/index.cjs +0 -241
  170. package/dist/server-rate-limit/index.cjs.map +0 -1
  171. package/dist/server-rate-limit/index.d.cts +0 -183
  172. package/dist/server-security/index.cjs +0 -316
  173. package/dist/server-security/index.cjs.map +0 -1
  174. package/dist/server-security/index.d.cts +0 -173
  175. package/dist/server-static/index.cjs +0 -170
  176. package/dist/server-static/index.cjs.map +0 -1
  177. package/dist/server-static/index.d.cts +0 -121
  178. package/dist/server-swagger/index.cjs +0 -1021
  179. package/dist/server-swagger/index.cjs.map +0 -1
  180. package/dist/server-swagger/index.d.cts +0 -382
  181. package/dist/sms/index.cjs +0 -221
  182. package/dist/sms/index.cjs.map +0 -1
  183. package/dist/sms/index.d.cts +0 -130
  184. package/dist/thread/index.cjs +0 -350
  185. package/dist/thread/index.cjs.map +0 -1
  186. package/dist/thread/index.d.cts +0 -260
  187. package/dist/topic/index.cjs +0 -282
  188. package/dist/topic/index.cjs.map +0 -1
  189. package/dist/topic/index.d.cts +0 -523
  190. package/dist/topic-redis/index.cjs +0 -71
  191. package/dist/topic-redis/index.cjs.map +0 -1
  192. package/dist/topic-redis/index.d.cts +0 -42
  193. package/dist/vite/index.cjs +0 -1077
  194. package/dist/vite/index.cjs.map +0 -1
  195. package/dist/vite/index.d.cts +0 -542
  196. package/dist/websocket/index.cjs +0 -1117
  197. package/dist/websocket/index.cjs.map +0 -1
  198. package/dist/websocket/index.d.cts +0 -861
@@ -1,9 +1,9 @@
1
- import * as alepha34 from "alepha";
1
+ import * as alepha122 from "alepha";
2
2
  import { Alepha, Descriptor, KIND, Static, StaticEncode, TObject } from "alepha";
3
3
  import * as alepha_batch0 from "alepha/batch";
4
4
  import { DateTimeProvider } from "alepha/datetime";
5
5
  import * as alepha_logger0 from "alepha/logger";
6
- import * as alepha_orm0 from "alepha/orm";
6
+ import * as alepha_orm50 from "alepha/orm";
7
7
  import * as alepha_queue0 from "alepha/queue";
8
8
  import { EmailProvider } from "alepha/email";
9
9
 
@@ -11,33 +11,33 @@ import { EmailProvider } from "alepha/email";
11
11
  declare class NotificationController {}
12
12
  //#endregion
13
13
  //#region src/api-notifications/schemas/notificationCreateSchema.d.ts
14
- declare const notificationCreateSchema: alepha34.TObject<{
15
- type: alepha34.TUnsafe<"email" | "sms">;
16
- template: alepha34.TString;
17
- contact: alepha34.TString;
18
- variables: alepha34.TOptional<alepha34.TRecord<"^.*$", alepha34.TAny>>;
14
+ declare const notificationCreateSchema: alepha122.TObject<{
15
+ type: alepha122.TUnsafe<"email" | "sms">;
16
+ template: alepha122.TString;
17
+ contact: alepha122.TString;
18
+ variables: alepha122.TOptional<alepha122.TRecord<"^.*$", alepha122.TAny>>;
19
19
  }>;
20
20
  type NotificationCreate = Static<typeof notificationCreateSchema>;
21
21
  //#endregion
22
22
  //#region src/api-notifications/entities/notifications.d.ts
23
- declare const notifications: alepha_orm0.EntityDescriptor<alepha34.TObject<{
24
- id: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha34.TString, typeof alepha_orm0.PG_PRIMARY_KEY>, typeof alepha_orm0.PG_DEFAULT>;
25
- version: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha34.TInteger, typeof alepha_orm0.PG_VERSION>, typeof alepha_orm0.PG_DEFAULT>;
26
- createdAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha34.TString, typeof alepha_orm0.PG_CREATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
27
- updatedAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha34.TString, typeof alepha_orm0.PG_UPDATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
28
- type: alepha34.TUnsafe<"email" | "sms">;
29
- template: alepha34.TString;
30
- category: alepha34.TOptional<alepha34.TString>;
31
- critical: alepha34.TOptional<alepha34.TBoolean>;
32
- sensitive: alepha34.TOptional<alepha34.TBoolean>;
33
- contact: alepha34.TString;
34
- variables: alepha34.TOptional<alepha34.TRecord<"^.*$", alepha34.TAny>>;
35
- scheduledAt: alepha34.TOptional<alepha34.TString>;
36
- sentAt: alepha34.TOptional<alepha34.TString>;
37
- error: alepha34.TOptional<alepha34.TObject<{
38
- at: alepha34.TString;
39
- name: alepha34.TString;
40
- message: alepha34.TString;
23
+ declare const notifications: alepha_orm50.EntityDescriptor<alepha122.TObject<{
24
+ id: alepha_orm50.PgAttr<alepha_orm50.PgAttr<alepha122.TString, typeof alepha_orm50.PG_PRIMARY_KEY>, typeof alepha_orm50.PG_DEFAULT>;
25
+ version: alepha_orm50.PgAttr<alepha_orm50.PgAttr<alepha122.TInteger, typeof alepha_orm50.PG_VERSION>, typeof alepha_orm50.PG_DEFAULT>;
26
+ createdAt: alepha_orm50.PgAttr<alepha_orm50.PgAttr<alepha122.TString, typeof alepha_orm50.PG_CREATED_AT>, typeof alepha_orm50.PG_DEFAULT>;
27
+ updatedAt: alepha_orm50.PgAttr<alepha_orm50.PgAttr<alepha122.TString, typeof alepha_orm50.PG_UPDATED_AT>, typeof alepha_orm50.PG_DEFAULT>;
28
+ type: alepha122.TUnsafe<"email" | "sms">;
29
+ template: alepha122.TString;
30
+ category: alepha122.TOptional<alepha122.TString>;
31
+ critical: alepha122.TOptional<alepha122.TBoolean>;
32
+ sensitive: alepha122.TOptional<alepha122.TBoolean>;
33
+ contact: alepha122.TString;
34
+ variables: alepha122.TOptional<alepha122.TRecord<"^.*$", alepha122.TAny>>;
35
+ scheduledAt: alepha122.TOptional<alepha122.TString>;
36
+ sentAt: alepha122.TOptional<alepha122.TString>;
37
+ error: alepha122.TOptional<alepha122.TObject<{
38
+ at: alepha122.TString;
39
+ name: alepha122.TString;
40
+ message: alepha122.TString;
41
41
  }>>;
42
42
  }>>;
43
43
  type NotificationEntity = Static<typeof notifications.schema>;
@@ -55,24 +55,24 @@ interface SmsSendOptions {
55
55
  declare class NotificationSenderService {
56
56
  protected readonly alepha: Alepha;
57
57
  protected readonly log: alepha_logger0.Logger;
58
- protected readonly notificationRepository: alepha_orm0.Repository<alepha34.TObject<{
59
- id: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha34.TString, typeof alepha_orm0.PG_PRIMARY_KEY>, typeof alepha_orm0.PG_DEFAULT>;
60
- version: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha34.TInteger, typeof alepha_orm0.PG_VERSION>, typeof alepha_orm0.PG_DEFAULT>;
61
- createdAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha34.TString, typeof alepha_orm0.PG_CREATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
62
- updatedAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha34.TString, typeof alepha_orm0.PG_UPDATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
63
- type: alepha34.TUnsafe<"email" | "sms">;
64
- template: alepha34.TString;
65
- category: alepha34.TOptional<alepha34.TString>;
66
- critical: alepha34.TOptional<alepha34.TBoolean>;
67
- sensitive: alepha34.TOptional<alepha34.TBoolean>;
68
- contact: alepha34.TString;
69
- variables: alepha34.TOptional<alepha34.TRecord<"^.*$", alepha34.TAny>>;
70
- scheduledAt: alepha34.TOptional<alepha34.TString>;
71
- sentAt: alepha34.TOptional<alepha34.TString>;
72
- error: alepha34.TOptional<alepha34.TObject<{
73
- at: alepha34.TString;
74
- name: alepha34.TString;
75
- message: alepha34.TString;
58
+ protected readonly notificationRepository: alepha_orm50.Repository<alepha122.TObject<{
59
+ id: alepha_orm50.PgAttr<alepha_orm50.PgAttr<alepha122.TString, typeof alepha_orm50.PG_PRIMARY_KEY>, typeof alepha_orm50.PG_DEFAULT>;
60
+ version: alepha_orm50.PgAttr<alepha_orm50.PgAttr<alepha122.TInteger, typeof alepha_orm50.PG_VERSION>, typeof alepha_orm50.PG_DEFAULT>;
61
+ createdAt: alepha_orm50.PgAttr<alepha_orm50.PgAttr<alepha122.TString, typeof alepha_orm50.PG_CREATED_AT>, typeof alepha_orm50.PG_DEFAULT>;
62
+ updatedAt: alepha_orm50.PgAttr<alepha_orm50.PgAttr<alepha122.TString, typeof alepha_orm50.PG_UPDATED_AT>, typeof alepha_orm50.PG_DEFAULT>;
63
+ type: alepha122.TUnsafe<"email" | "sms">;
64
+ template: alepha122.TString;
65
+ category: alepha122.TOptional<alepha122.TString>;
66
+ critical: alepha122.TOptional<alepha122.TBoolean>;
67
+ sensitive: alepha122.TOptional<alepha122.TBoolean>;
68
+ contact: alepha122.TString;
69
+ variables: alepha122.TOptional<alepha122.TRecord<"^.*$", alepha122.TAny>>;
70
+ scheduledAt: alepha122.TOptional<alepha122.TString>;
71
+ sentAt: alepha122.TOptional<alepha122.TString>;
72
+ error: alepha122.TOptional<alepha122.TObject<{
73
+ at: alepha122.TString;
74
+ name: alepha122.TString;
75
+ message: alepha122.TString;
76
76
  }>>;
77
77
  }>>;
78
78
  protected readonly dateTimeProvider: DateTimeProvider;
@@ -89,15 +89,15 @@ declare class NotificationSenderService {
89
89
  body: string;
90
90
  };
91
91
  protected load(notification: NotificationEntity): {
92
- template: NotificationDescriptor<alepha34.TObject<alepha34.TProperties>>;
92
+ template: NotificationDescriptor<alepha122.TObject<alepha122.TProperties>>;
93
93
  variables: Record<string, any>;
94
94
  contact: string;
95
95
  };
96
96
  }
97
97
  //#endregion
98
98
  //#region src/api-notifications/services/NotificationService.d.ts
99
- declare const notificationServiceEnvSchema: alepha34.TObject<{
100
- NOTIFICATION_QUEUE: alepha34.TOptional<alepha34.TBoolean>;
99
+ declare const notificationServiceEnvSchema: alepha122.TObject<{
100
+ NOTIFICATION_QUEUE: alepha122.TOptional<alepha122.TBoolean>;
101
101
  }>;
102
102
  declare module "alepha" {
103
103
  interface Env extends Partial<Static<typeof notificationServiceEnvSchema>> {}
@@ -108,71 +108,71 @@ declare class NotificationService {
108
108
  protected readonly env: {
109
109
  NOTIFICATION_QUEUE?: boolean | undefined;
110
110
  };
111
- protected readonly notificationRepository: alepha_orm0.Repository<alepha34.TObject<{
112
- id: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha34.TString, typeof alepha_orm0.PG_PRIMARY_KEY>, typeof alepha_orm0.PG_DEFAULT>;
113
- version: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha34.TInteger, typeof alepha_orm0.PG_VERSION>, typeof alepha_orm0.PG_DEFAULT>;
114
- createdAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha34.TString, typeof alepha_orm0.PG_CREATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
115
- updatedAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha34.TString, typeof alepha_orm0.PG_UPDATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
116
- type: alepha34.TUnsafe<"email" | "sms">;
117
- template: alepha34.TString;
118
- category: alepha34.TOptional<alepha34.TString>;
119
- critical: alepha34.TOptional<alepha34.TBoolean>;
120
- sensitive: alepha34.TOptional<alepha34.TBoolean>;
121
- contact: alepha34.TString;
122
- variables: alepha34.TOptional<alepha34.TRecord<"^.*$", alepha34.TAny>>;
123
- scheduledAt: alepha34.TOptional<alepha34.TString>;
124
- sentAt: alepha34.TOptional<alepha34.TString>;
125
- error: alepha34.TOptional<alepha34.TObject<{
126
- at: alepha34.TString;
127
- name: alepha34.TString;
128
- message: alepha34.TString;
111
+ protected readonly notificationRepository: alepha_orm50.Repository<alepha122.TObject<{
112
+ id: alepha_orm50.PgAttr<alepha_orm50.PgAttr<alepha122.TString, typeof alepha_orm50.PG_PRIMARY_KEY>, typeof alepha_orm50.PG_DEFAULT>;
113
+ version: alepha_orm50.PgAttr<alepha_orm50.PgAttr<alepha122.TInteger, typeof alepha_orm50.PG_VERSION>, typeof alepha_orm50.PG_DEFAULT>;
114
+ createdAt: alepha_orm50.PgAttr<alepha_orm50.PgAttr<alepha122.TString, typeof alepha_orm50.PG_CREATED_AT>, typeof alepha_orm50.PG_DEFAULT>;
115
+ updatedAt: alepha_orm50.PgAttr<alepha_orm50.PgAttr<alepha122.TString, typeof alepha_orm50.PG_UPDATED_AT>, typeof alepha_orm50.PG_DEFAULT>;
116
+ type: alepha122.TUnsafe<"email" | "sms">;
117
+ template: alepha122.TString;
118
+ category: alepha122.TOptional<alepha122.TString>;
119
+ critical: alepha122.TOptional<alepha122.TBoolean>;
120
+ sensitive: alepha122.TOptional<alepha122.TBoolean>;
121
+ contact: alepha122.TString;
122
+ variables: alepha122.TOptional<alepha122.TRecord<"^.*$", alepha122.TAny>>;
123
+ scheduledAt: alepha122.TOptional<alepha122.TString>;
124
+ sentAt: alepha122.TOptional<alepha122.TString>;
125
+ error: alepha122.TOptional<alepha122.TObject<{
126
+ at: alepha122.TString;
127
+ name: alepha122.TString;
128
+ message: alepha122.TString;
129
129
  }>>;
130
130
  }>>;
131
131
  protected readonly dateTimeProvider: DateTimeProvider;
132
132
  protected readonly notificationSenderService: NotificationSenderService;
133
- readonly notificationBatch: alepha_batch0.BatchDescriptor<alepha34.TObject<{
134
- type: alepha34.TUnsafe<"email" | "sms">;
135
- template: alepha34.TString;
136
- contact: alepha34.TString;
137
- variables: alepha34.TOptional<alepha34.TRecord<"^.*$", alepha34.TAny>>;
133
+ readonly notificationBatch: alepha_batch0.BatchDescriptor<alepha122.TObject<{
134
+ type: alepha122.TUnsafe<"email" | "sms">;
135
+ template: alepha122.TString;
136
+ contact: alepha122.TString;
137
+ variables: alepha122.TOptional<alepha122.TRecord<"^.*$", alepha122.TAny>>;
138
138
  }>, Promise<void>>;
139
- findNotificationById(id: string): Promise<alepha_orm0.PgStatic<alepha34.TObject<{
140
- id: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha34.TString, typeof alepha_orm0.PG_PRIMARY_KEY>, typeof alepha_orm0.PG_DEFAULT>;
141
- version: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha34.TInteger, typeof alepha_orm0.PG_VERSION>, typeof alepha_orm0.PG_DEFAULT>;
142
- createdAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha34.TString, typeof alepha_orm0.PG_CREATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
143
- updatedAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha34.TString, typeof alepha_orm0.PG_UPDATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
144
- type: alepha34.TUnsafe<"email" | "sms">;
145
- template: alepha34.TString;
146
- category: alepha34.TOptional<alepha34.TString>;
147
- critical: alepha34.TOptional<alepha34.TBoolean>;
148
- sensitive: alepha34.TOptional<alepha34.TBoolean>;
149
- contact: alepha34.TString;
150
- variables: alepha34.TOptional<alepha34.TRecord<"^.*$", alepha34.TAny>>;
151
- scheduledAt: alepha34.TOptional<alepha34.TString>;
152
- sentAt: alepha34.TOptional<alepha34.TString>;
153
- error: alepha34.TOptional<alepha34.TObject<{
154
- at: alepha34.TString;
155
- name: alepha34.TString;
156
- message: alepha34.TString;
139
+ findNotificationById(id: string): Promise<alepha_orm50.PgStatic<alepha122.TObject<{
140
+ id: alepha_orm50.PgAttr<alepha_orm50.PgAttr<alepha122.TString, typeof alepha_orm50.PG_PRIMARY_KEY>, typeof alepha_orm50.PG_DEFAULT>;
141
+ version: alepha_orm50.PgAttr<alepha_orm50.PgAttr<alepha122.TInteger, typeof alepha_orm50.PG_VERSION>, typeof alepha_orm50.PG_DEFAULT>;
142
+ createdAt: alepha_orm50.PgAttr<alepha_orm50.PgAttr<alepha122.TString, typeof alepha_orm50.PG_CREATED_AT>, typeof alepha_orm50.PG_DEFAULT>;
143
+ updatedAt: alepha_orm50.PgAttr<alepha_orm50.PgAttr<alepha122.TString, typeof alepha_orm50.PG_UPDATED_AT>, typeof alepha_orm50.PG_DEFAULT>;
144
+ type: alepha122.TUnsafe<"email" | "sms">;
145
+ template: alepha122.TString;
146
+ category: alepha122.TOptional<alepha122.TString>;
147
+ critical: alepha122.TOptional<alepha122.TBoolean>;
148
+ sensitive: alepha122.TOptional<alepha122.TBoolean>;
149
+ contact: alepha122.TString;
150
+ variables: alepha122.TOptional<alepha122.TRecord<"^.*$", alepha122.TAny>>;
151
+ scheduledAt: alepha122.TOptional<alepha122.TString>;
152
+ sentAt: alepha122.TOptional<alepha122.TString>;
153
+ error: alepha122.TOptional<alepha122.TObject<{
154
+ at: alepha122.TString;
155
+ name: alepha122.TString;
156
+ message: alepha122.TString;
157
157
  }>>;
158
- }>, alepha_orm0.PgRelationMap<alepha34.TObject<{
159
- id: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha34.TString, typeof alepha_orm0.PG_PRIMARY_KEY>, typeof alepha_orm0.PG_DEFAULT>;
160
- version: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha34.TInteger, typeof alepha_orm0.PG_VERSION>, typeof alepha_orm0.PG_DEFAULT>;
161
- createdAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha34.TString, typeof alepha_orm0.PG_CREATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
162
- updatedAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha34.TString, typeof alepha_orm0.PG_UPDATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
163
- type: alepha34.TUnsafe<"email" | "sms">;
164
- template: alepha34.TString;
165
- category: alepha34.TOptional<alepha34.TString>;
166
- critical: alepha34.TOptional<alepha34.TBoolean>;
167
- sensitive: alepha34.TOptional<alepha34.TBoolean>;
168
- contact: alepha34.TString;
169
- variables: alepha34.TOptional<alepha34.TRecord<"^.*$", alepha34.TAny>>;
170
- scheduledAt: alepha34.TOptional<alepha34.TString>;
171
- sentAt: alepha34.TOptional<alepha34.TString>;
172
- error: alepha34.TOptional<alepha34.TObject<{
173
- at: alepha34.TString;
174
- name: alepha34.TString;
175
- message: alepha34.TString;
158
+ }>, alepha_orm50.PgRelationMap<alepha122.TObject<{
159
+ id: alepha_orm50.PgAttr<alepha_orm50.PgAttr<alepha122.TString, typeof alepha_orm50.PG_PRIMARY_KEY>, typeof alepha_orm50.PG_DEFAULT>;
160
+ version: alepha_orm50.PgAttr<alepha_orm50.PgAttr<alepha122.TInteger, typeof alepha_orm50.PG_VERSION>, typeof alepha_orm50.PG_DEFAULT>;
161
+ createdAt: alepha_orm50.PgAttr<alepha_orm50.PgAttr<alepha122.TString, typeof alepha_orm50.PG_CREATED_AT>, typeof alepha_orm50.PG_DEFAULT>;
162
+ updatedAt: alepha_orm50.PgAttr<alepha_orm50.PgAttr<alepha122.TString, typeof alepha_orm50.PG_UPDATED_AT>, typeof alepha_orm50.PG_DEFAULT>;
163
+ type: alepha122.TUnsafe<"email" | "sms">;
164
+ template: alepha122.TString;
165
+ category: alepha122.TOptional<alepha122.TString>;
166
+ critical: alepha122.TOptional<alepha122.TBoolean>;
167
+ sensitive: alepha122.TOptional<alepha122.TBoolean>;
168
+ contact: alepha122.TString;
169
+ variables: alepha122.TOptional<alepha122.TRecord<"^.*$", alepha122.TAny>>;
170
+ scheduledAt: alepha122.TOptional<alepha122.TString>;
171
+ sentAt: alepha122.TOptional<alepha122.TString>;
172
+ error: alepha122.TOptional<alepha122.TObject<{
173
+ at: alepha122.TString;
174
+ name: alepha122.TString;
175
+ message: alepha122.TString;
176
176
  }>>;
177
177
  }>>>>;
178
178
  /**
@@ -262,15 +262,15 @@ declare class MemorySmsProvider extends SmsProvider {
262
262
  //#region src/api-notifications/queues/NotificationQueues.d.ts
263
263
  declare class NotificationQueues {
264
264
  protected readonly notificationSenderService: NotificationSenderService;
265
- readonly processNotification: alepha_queue0.QueueDescriptor<alepha34.TObject<{
266
- notificationId: alepha34.TString;
265
+ readonly processNotification: alepha_queue0.QueueDescriptor<alepha122.TObject<{
266
+ notificationId: alepha122.TString;
267
267
  }>>;
268
268
  }
269
269
  //#endregion
270
270
  //#region src/api-notifications/schemas/notificationContactPreferencesSchema.d.ts
271
- declare const notificationContactPreferencesSchema: alepha34.TObject<{
272
- language: alepha34.TOptional<alepha34.TString>;
273
- exclude: alepha34.TArray<alepha34.TString>;
271
+ declare const notificationContactPreferencesSchema: alepha122.TObject<{
272
+ language: alepha122.TOptional<alepha122.TString>;
273
+ exclude: alepha122.TArray<alepha122.TString>;
274
274
  }>;
275
275
  type NotificationContactPreferences = Static<typeof notificationContactPreferencesSchema>;
276
276
  //#endregion
@@ -283,7 +283,7 @@ type NotificationContactPreferences = Static<typeof notificationContactPreferenc
283
283
  *
284
284
  * @module alepha.api.notifications
285
285
  */
286
- declare const AlephaApiNotifications: alepha34.Service<alepha34.Module>;
286
+ declare const AlephaApiNotifications: alepha122.Service<alepha122.Module>;
287
287
  //#endregion
288
288
  export { $notification, AlephaApiNotifications, MemorySmsProvider, NotificationContactPreferences, NotificationController, NotificationCreate, NotificationDescriptor, NotificationDescriptorOptions, NotificationEntity, NotificationJobs, NotificationMessage, NotificationPushOptions, NotificationQueues, NotificationSenderService, NotificationService, SmsProvider, SmsRecord, SmsSendOptions, notificationContactPreferencesSchema, notificationCreateSchema, notificationServiceEnvSchema, notifications };
289
289
  //# sourceMappingURL=index.d.ts.map