@lssm/module.notifications 0.0.0-canary-20251207013726 → 0.0.0-canary-20251207123819

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 (110) hide show
  1. package/dist/contracts/index.js +1 -1
  2. package/dist/entities/index.js +1 -1
  3. package/package.json +15 -7
  4. package/dist/channels/index.d.ts +0 -106
  5. package/dist/contracts/index.d.ts +0 -637
  6. package/dist/entities/index.d.ts +0 -182
  7. package/dist/index.d.ts +0 -5
  8. package/dist/libs/contracts/dist/capabilities/openbanking.js +0 -1
  9. package/dist/libs/contracts/dist/client/index.js +0 -1
  10. package/dist/libs/contracts/dist/client/react/feature-render.js +0 -1
  11. package/dist/libs/contracts/dist/client/react/form-render.js +0 -1
  12. package/dist/libs/contracts/dist/client/react/index.js +0 -1
  13. package/dist/libs/contracts/dist/events.js +0 -1
  14. package/dist/libs/contracts/dist/experiments/evaluator.js +0 -1
  15. package/dist/libs/contracts/dist/graphql-federation/dist/index.js +0 -1
  16. package/dist/libs/contracts/dist/index.js +0 -1
  17. package/dist/libs/contracts/dist/install.js +0 -1
  18. package/dist/libs/contracts/dist/integrations/contracts.js +0 -1
  19. package/dist/libs/contracts/dist/integrations/index.js +0 -1
  20. package/dist/libs/contracts/dist/integrations/openbanking/contracts/accounts.js +0 -1
  21. package/dist/libs/contracts/dist/integrations/openbanking/contracts/balances.js +0 -1
  22. package/dist/libs/contracts/dist/integrations/openbanking/contracts/index.js +0 -1
  23. package/dist/libs/contracts/dist/integrations/openbanking/contracts/transactions.js +0 -1
  24. package/dist/libs/contracts/dist/integrations/openbanking/models.js +0 -1
  25. package/dist/libs/contracts/dist/integrations/openbanking/telemetry.js +0 -1
  26. package/dist/libs/contracts/dist/integrations/providers/elevenlabs.js +0 -1
  27. package/dist/libs/contracts/dist/integrations/providers/gcs-storage.js +0 -1
  28. package/dist/libs/contracts/dist/integrations/providers/gmail.js +0 -1
  29. package/dist/libs/contracts/dist/integrations/providers/google-calendar.js +0 -1
  30. package/dist/libs/contracts/dist/integrations/providers/impls/elevenlabs-voice.js +0 -1
  31. package/dist/libs/contracts/dist/integrations/providers/impls/gcs-storage.js +0 -1
  32. package/dist/libs/contracts/dist/integrations/providers/impls/gmail-inbound.js +0 -1
  33. package/dist/libs/contracts/dist/integrations/providers/impls/gmail-outbound.js +0 -1
  34. package/dist/libs/contracts/dist/integrations/providers/impls/google-calendar.js +0 -1
  35. package/dist/libs/contracts/dist/integrations/providers/impls/index.js +0 -1
  36. package/dist/libs/contracts/dist/integrations/providers/impls/mistral-embedding.js +0 -1
  37. package/dist/libs/contracts/dist/integrations/providers/impls/mistral-llm.js +0 -1
  38. package/dist/libs/contracts/dist/integrations/providers/impls/postmark-email.js +0 -1
  39. package/dist/libs/contracts/dist/integrations/providers/impls/powens-client.js +0 -1
  40. package/dist/libs/contracts/dist/integrations/providers/impls/powens-openbanking.js +0 -1
  41. package/dist/libs/contracts/dist/integrations/providers/impls/provider-factory.js +0 -1
  42. package/dist/libs/contracts/dist/integrations/providers/impls/qdrant-vector.js +0 -1
  43. package/dist/libs/contracts/dist/integrations/providers/impls/stripe-payments.js +0 -1
  44. package/dist/libs/contracts/dist/integrations/providers/impls/twilio-sms.js +0 -1
  45. package/dist/libs/contracts/dist/integrations/providers/index.js +0 -1
  46. package/dist/libs/contracts/dist/integrations/providers/mistral.js +0 -1
  47. package/dist/libs/contracts/dist/integrations/providers/postmark.js +0 -1
  48. package/dist/libs/contracts/dist/integrations/providers/powens.js +0 -1
  49. package/dist/libs/contracts/dist/integrations/providers/qdrant.js +0 -1
  50. package/dist/libs/contracts/dist/integrations/providers/stripe.js +0 -1
  51. package/dist/libs/contracts/dist/integrations/providers/twilio-sms.js +0 -1
  52. package/dist/libs/contracts/dist/integrations/runtime.js +0 -1
  53. package/dist/libs/contracts/dist/integrations/secrets/env-secret-provider.js +0 -1
  54. package/dist/libs/contracts/dist/integrations/secrets/gcp-secret-manager.js +0 -1
  55. package/dist/libs/contracts/dist/integrations/secrets/index.js +0 -1
  56. package/dist/libs/contracts/dist/integrations/secrets/manager.js +0 -1
  57. package/dist/libs/contracts/dist/integrations/secrets/provider.js +0 -1
  58. package/dist/libs/contracts/dist/jsonschema.js +0 -1
  59. package/dist/libs/contracts/dist/knowledge/contracts.js +0 -1
  60. package/dist/libs/contracts/dist/knowledge/index.js +0 -1
  61. package/dist/libs/contracts/dist/knowledge/spaces/email-threads.js +0 -1
  62. package/dist/libs/contracts/dist/knowledge/spaces/financial-docs.js +0 -1
  63. package/dist/libs/contracts/dist/knowledge/spaces/financial-overview.js +0 -1
  64. package/dist/libs/contracts/dist/knowledge/spaces/index.js +0 -1
  65. package/dist/libs/contracts/dist/knowledge/spaces/product-canon.js +0 -1
  66. package/dist/libs/contracts/dist/knowledge/spaces/support-faq.js +0 -1
  67. package/dist/libs/contracts/dist/knowledge/spaces/uploaded-docs.js +0 -1
  68. package/dist/libs/contracts/dist/onboarding-base.js +0 -1
  69. package/dist/libs/contracts/dist/ownership.js +0 -1
  70. package/dist/libs/contracts/dist/presentations.js +0 -1
  71. package/dist/libs/contracts/dist/presentations.v2.js +0 -1
  72. package/dist/libs/contracts/dist/prompt.js +0 -1
  73. package/dist/libs/contracts/dist/promptRegistry.js +0 -1
  74. package/dist/libs/contracts/dist/regenerator/index.js +0 -1
  75. package/dist/libs/contracts/dist/regenerator/service.js +0 -1
  76. package/dist/libs/contracts/dist/registry.js +0 -1
  77. package/dist/libs/contracts/dist/resources.js +0 -1
  78. package/dist/libs/contracts/dist/schema/dist/EnumType.js +0 -1
  79. package/dist/libs/contracts/dist/schema/dist/FieldType.js +0 -1
  80. package/dist/libs/contracts/dist/schema/dist/ScalarTypeEnum.js +0 -1
  81. package/dist/libs/contracts/dist/schema/dist/SchemaModel.js +0 -1
  82. package/dist/libs/contracts/dist/schema/dist/entity/defineEntity.js +0 -1
  83. package/dist/libs/contracts/dist/schema/dist/entity/index.js +0 -1
  84. package/dist/libs/contracts/dist/schema/dist/entity/types.js +0 -1
  85. package/dist/libs/contracts/dist/schema/dist/index.js +0 -1
  86. package/dist/libs/contracts/dist/server/graphql-pothos.js +0 -1
  87. package/dist/libs/contracts/dist/server/graphql-schema-export.js +0 -1
  88. package/dist/libs/contracts/dist/server/index.js +0 -1
  89. package/dist/libs/contracts/dist/server/provider-mcp.js +0 -1
  90. package/dist/libs/contracts/dist/server/rest-elysia.js +0 -1
  91. package/dist/libs/contracts/dist/server/rest-express.js +0 -1
  92. package/dist/libs/contracts/dist/server/rest-generic.js +0 -1
  93. package/dist/libs/contracts/dist/server/rest-next-app.js +0 -1
  94. package/dist/libs/contracts/dist/server/rest-next-pages.js +0 -1
  95. package/dist/libs/contracts/dist/spec.js +0 -1
  96. package/dist/libs/contracts/dist/telemetry/index.js +0 -1
  97. package/dist/libs/contracts/dist/telemetry/tracker.js +0 -1
  98. package/dist/libs/contracts/dist/tests/index.js +0 -1
  99. package/dist/libs/contracts/dist/tests/runner.js +0 -1
  100. package/dist/libs/contracts/dist/workflow/index.js +0 -1
  101. package/dist/libs/contracts/dist/workflow/runner.js +0 -1
  102. package/dist/libs/schema/dist/EnumType.js +0 -1
  103. package/dist/libs/schema/dist/FieldType.js +0 -1
  104. package/dist/libs/schema/dist/ScalarTypeEnum.js +0 -1
  105. package/dist/libs/schema/dist/SchemaModel.js +0 -1
  106. package/dist/libs/schema/dist/entity/defineEntity.js +0 -1
  107. package/dist/libs/schema/dist/entity/index.js +0 -1
  108. package/dist/libs/schema/dist/entity/types.js +0 -1
  109. package/dist/libs/schema/dist/index.js +0 -1
  110. package/dist/templates/index.d.ts +0 -91
@@ -1,637 +0,0 @@
1
- import * as _lssm_lib_schema0 from "@lssm/lib.schema";
2
- import * as _lssm_lib_contracts0 from "@lssm/lib.contracts";
3
-
4
- //#region src/contracts/index.d.ts
5
- declare const NotificationFilterEnum: _lssm_lib_schema0.EnumType<[string, string, string]>;
6
- declare const NotificationModel: _lssm_lib_schema0.SchemaModel<{
7
- id: {
8
- type: _lssm_lib_schema0.FieldType<string, string>;
9
- isOptional: false;
10
- };
11
- userId: {
12
- type: _lssm_lib_schema0.FieldType<string, string>;
13
- isOptional: false;
14
- };
15
- title: {
16
- type: _lssm_lib_schema0.FieldType<string, string>;
17
- isOptional: false;
18
- };
19
- body: {
20
- type: _lssm_lib_schema0.FieldType<string, string>;
21
- isOptional: false;
22
- };
23
- type: {
24
- type: _lssm_lib_schema0.FieldType<string, string>;
25
- isOptional: false;
26
- };
27
- status: {
28
- type: _lssm_lib_schema0.EnumType<[string, string, string, string, string, string]>;
29
- isOptional: false;
30
- };
31
- channels: {
32
- type: _lssm_lib_schema0.EnumType<[string, string, string, string]>;
33
- isArray: true;
34
- isOptional: false;
35
- };
36
- actionUrl: {
37
- type: _lssm_lib_schema0.FieldType<string, string>;
38
- isOptional: true;
39
- };
40
- readAt: {
41
- type: _lssm_lib_schema0.FieldType<Date, string>;
42
- isOptional: true;
43
- };
44
- createdAt: {
45
- type: _lssm_lib_schema0.FieldType<Date, string>;
46
- isOptional: false;
47
- };
48
- }>;
49
- declare const NotificationPreferenceModel: _lssm_lib_schema0.SchemaModel<{
50
- userId: {
51
- type: _lssm_lib_schema0.FieldType<string, string>;
52
- isOptional: false;
53
- };
54
- globalEnabled: {
55
- type: _lssm_lib_schema0.FieldType<boolean, boolean>;
56
- isOptional: false;
57
- };
58
- channelPreferences: {
59
- type: _lssm_lib_schema0.FieldType<Record<string, unknown>, Record<string, unknown>>;
60
- isOptional: false;
61
- };
62
- typePreferences: {
63
- type: _lssm_lib_schema0.FieldType<Record<string, unknown>, Record<string, unknown>>;
64
- isOptional: false;
65
- };
66
- quietHoursStart: {
67
- type: _lssm_lib_schema0.FieldType<string, string>;
68
- isOptional: true;
69
- };
70
- quietHoursEnd: {
71
- type: _lssm_lib_schema0.FieldType<string, string>;
72
- isOptional: true;
73
- };
74
- timezone: {
75
- type: _lssm_lib_schema0.FieldType<string, string>;
76
- isOptional: false;
77
- };
78
- digestEnabled: {
79
- type: _lssm_lib_schema0.FieldType<boolean, boolean>;
80
- isOptional: false;
81
- };
82
- digestFrequency: {
83
- type: _lssm_lib_schema0.FieldType<string, string>;
84
- isOptional: true;
85
- };
86
- }>;
87
- declare const SendNotificationInputModel: _lssm_lib_schema0.SchemaModel<{
88
- userId: {
89
- type: _lssm_lib_schema0.FieldType<string, string>;
90
- isOptional: false;
91
- };
92
- templateId: {
93
- type: _lssm_lib_schema0.FieldType<string, string>;
94
- isOptional: true;
95
- };
96
- title: {
97
- type: _lssm_lib_schema0.FieldType<string, string>;
98
- isOptional: true;
99
- };
100
- body: {
101
- type: _lssm_lib_schema0.FieldType<string, string>;
102
- isOptional: true;
103
- };
104
- type: {
105
- type: _lssm_lib_schema0.FieldType<string, string>;
106
- isOptional: false;
107
- };
108
- channels: {
109
- type: _lssm_lib_schema0.EnumType<[string, string, string, string]>;
110
- isArray: true;
111
- isOptional: true;
112
- };
113
- actionUrl: {
114
- type: _lssm_lib_schema0.FieldType<string, string>;
115
- isOptional: true;
116
- };
117
- variables: {
118
- type: _lssm_lib_schema0.FieldType<Record<string, unknown>, Record<string, unknown>>;
119
- isOptional: true;
120
- };
121
- metadata: {
122
- type: _lssm_lib_schema0.FieldType<Record<string, unknown>, Record<string, unknown>>;
123
- isOptional: true;
124
- };
125
- }>;
126
- declare const ListNotificationsInputModel: _lssm_lib_schema0.SchemaModel<{
127
- status: {
128
- type: _lssm_lib_schema0.EnumType<[string, string, string]>;
129
- isOptional: true;
130
- };
131
- type: {
132
- type: _lssm_lib_schema0.FieldType<string, string>;
133
- isOptional: true;
134
- };
135
- limit: {
136
- type: _lssm_lib_schema0.FieldType<number, number>;
137
- isOptional: true;
138
- defaultValue: number;
139
- };
140
- offset: {
141
- type: _lssm_lib_schema0.FieldType<number, number>;
142
- isOptional: true;
143
- defaultValue: number;
144
- };
145
- }>;
146
- declare const ListNotificationsOutputModel: _lssm_lib_schema0.SchemaModel<{
147
- notifications: {
148
- type: _lssm_lib_schema0.SchemaModel<{
149
- id: {
150
- type: _lssm_lib_schema0.FieldType<string, string>;
151
- isOptional: false;
152
- };
153
- userId: {
154
- type: _lssm_lib_schema0.FieldType<string, string>;
155
- isOptional: false;
156
- };
157
- title: {
158
- type: _lssm_lib_schema0.FieldType<string, string>;
159
- isOptional: false;
160
- };
161
- body: {
162
- type: _lssm_lib_schema0.FieldType<string, string>;
163
- isOptional: false;
164
- };
165
- type: {
166
- type: _lssm_lib_schema0.FieldType<string, string>;
167
- isOptional: false;
168
- };
169
- status: {
170
- type: _lssm_lib_schema0.EnumType<[string, string, string, string, string, string]>;
171
- isOptional: false;
172
- };
173
- channels: {
174
- type: _lssm_lib_schema0.EnumType<[string, string, string, string]>;
175
- isArray: true;
176
- isOptional: false;
177
- };
178
- actionUrl: {
179
- type: _lssm_lib_schema0.FieldType<string, string>;
180
- isOptional: true;
181
- };
182
- readAt: {
183
- type: _lssm_lib_schema0.FieldType<Date, string>;
184
- isOptional: true;
185
- };
186
- createdAt: {
187
- type: _lssm_lib_schema0.FieldType<Date, string>;
188
- isOptional: false;
189
- };
190
- }>;
191
- isArray: true;
192
- isOptional: false;
193
- };
194
- total: {
195
- type: _lssm_lib_schema0.FieldType<number, number>;
196
- isOptional: false;
197
- };
198
- unreadCount: {
199
- type: _lssm_lib_schema0.FieldType<number, number>;
200
- isOptional: false;
201
- };
202
- }>;
203
- declare const UpdatePreferencesInputModel: _lssm_lib_schema0.SchemaModel<{
204
- globalEnabled: {
205
- type: _lssm_lib_schema0.FieldType<boolean, boolean>;
206
- isOptional: true;
207
- };
208
- channelPreferences: {
209
- type: _lssm_lib_schema0.FieldType<Record<string, unknown>, Record<string, unknown>>;
210
- isOptional: true;
211
- };
212
- typePreferences: {
213
- type: _lssm_lib_schema0.FieldType<Record<string, unknown>, Record<string, unknown>>;
214
- isOptional: true;
215
- };
216
- quietHoursStart: {
217
- type: _lssm_lib_schema0.FieldType<string, string>;
218
- isOptional: true;
219
- };
220
- quietHoursEnd: {
221
- type: _lssm_lib_schema0.FieldType<string, string>;
222
- isOptional: true;
223
- };
224
- timezone: {
225
- type: _lssm_lib_schema0.FieldType<string, string>;
226
- isOptional: true;
227
- };
228
- digestEnabled: {
229
- type: _lssm_lib_schema0.FieldType<boolean, boolean>;
230
- isOptional: true;
231
- };
232
- digestFrequency: {
233
- type: _lssm_lib_schema0.FieldType<string, string>;
234
- isOptional: true;
235
- };
236
- }>;
237
- /**
238
- * Send a notification.
239
- */
240
- declare const SendNotificationContract: _lssm_lib_contracts0.ContractSpec<_lssm_lib_schema0.SchemaModel<{
241
- userId: {
242
- type: _lssm_lib_schema0.FieldType<string, string>;
243
- isOptional: false;
244
- };
245
- templateId: {
246
- type: _lssm_lib_schema0.FieldType<string, string>;
247
- isOptional: true;
248
- };
249
- title: {
250
- type: _lssm_lib_schema0.FieldType<string, string>;
251
- isOptional: true;
252
- };
253
- body: {
254
- type: _lssm_lib_schema0.FieldType<string, string>;
255
- isOptional: true;
256
- };
257
- type: {
258
- type: _lssm_lib_schema0.FieldType<string, string>;
259
- isOptional: false;
260
- };
261
- channels: {
262
- type: _lssm_lib_schema0.EnumType<[string, string, string, string]>;
263
- isArray: true;
264
- isOptional: true;
265
- };
266
- actionUrl: {
267
- type: _lssm_lib_schema0.FieldType<string, string>;
268
- isOptional: true;
269
- };
270
- variables: {
271
- type: _lssm_lib_schema0.FieldType<Record<string, unknown>, Record<string, unknown>>;
272
- isOptional: true;
273
- };
274
- metadata: {
275
- type: _lssm_lib_schema0.FieldType<Record<string, unknown>, Record<string, unknown>>;
276
- isOptional: true;
277
- };
278
- }>, _lssm_lib_schema0.SchemaModel<{
279
- id: {
280
- type: _lssm_lib_schema0.FieldType<string, string>;
281
- isOptional: false;
282
- };
283
- userId: {
284
- type: _lssm_lib_schema0.FieldType<string, string>;
285
- isOptional: false;
286
- };
287
- title: {
288
- type: _lssm_lib_schema0.FieldType<string, string>;
289
- isOptional: false;
290
- };
291
- body: {
292
- type: _lssm_lib_schema0.FieldType<string, string>;
293
- isOptional: false;
294
- };
295
- type: {
296
- type: _lssm_lib_schema0.FieldType<string, string>;
297
- isOptional: false;
298
- };
299
- status: {
300
- type: _lssm_lib_schema0.EnumType<[string, string, string, string, string, string]>;
301
- isOptional: false;
302
- };
303
- channels: {
304
- type: _lssm_lib_schema0.EnumType<[string, string, string, string]>;
305
- isArray: true;
306
- isOptional: false;
307
- };
308
- actionUrl: {
309
- type: _lssm_lib_schema0.FieldType<string, string>;
310
- isOptional: true;
311
- };
312
- readAt: {
313
- type: _lssm_lib_schema0.FieldType<Date, string>;
314
- isOptional: true;
315
- };
316
- createdAt: {
317
- type: _lssm_lib_schema0.FieldType<Date, string>;
318
- isOptional: false;
319
- };
320
- }>, {
321
- name: string;
322
- version: number;
323
- when: string;
324
- payload: _lssm_lib_schema0.SchemaModel<{
325
- id: {
326
- type: _lssm_lib_schema0.FieldType<string, string>;
327
- isOptional: false;
328
- };
329
- userId: {
330
- type: _lssm_lib_schema0.FieldType<string, string>;
331
- isOptional: false;
332
- };
333
- title: {
334
- type: _lssm_lib_schema0.FieldType<string, string>;
335
- isOptional: false;
336
- };
337
- body: {
338
- type: _lssm_lib_schema0.FieldType<string, string>;
339
- isOptional: false;
340
- };
341
- type: {
342
- type: _lssm_lib_schema0.FieldType<string, string>;
343
- isOptional: false;
344
- };
345
- status: {
346
- type: _lssm_lib_schema0.EnumType<[string, string, string, string, string, string]>;
347
- isOptional: false;
348
- };
349
- channels: {
350
- type: _lssm_lib_schema0.EnumType<[string, string, string, string]>;
351
- isArray: true;
352
- isOptional: false;
353
- };
354
- actionUrl: {
355
- type: _lssm_lib_schema0.FieldType<string, string>;
356
- isOptional: true;
357
- };
358
- readAt: {
359
- type: _lssm_lib_schema0.FieldType<Date, string>;
360
- isOptional: true;
361
- };
362
- createdAt: {
363
- type: _lssm_lib_schema0.FieldType<Date, string>;
364
- isOptional: false;
365
- };
366
- }>;
367
- }[]>;
368
- /**
369
- * List notifications for current user.
370
- */
371
- declare const ListNotificationsContract: _lssm_lib_contracts0.ContractSpec<_lssm_lib_schema0.SchemaModel<{
372
- status: {
373
- type: _lssm_lib_schema0.EnumType<[string, string, string]>;
374
- isOptional: true;
375
- };
376
- type: {
377
- type: _lssm_lib_schema0.FieldType<string, string>;
378
- isOptional: true;
379
- };
380
- limit: {
381
- type: _lssm_lib_schema0.FieldType<number, number>;
382
- isOptional: true;
383
- defaultValue: number;
384
- };
385
- offset: {
386
- type: _lssm_lib_schema0.FieldType<number, number>;
387
- isOptional: true;
388
- defaultValue: number;
389
- };
390
- }>, _lssm_lib_schema0.SchemaModel<{
391
- notifications: {
392
- type: _lssm_lib_schema0.SchemaModel<{
393
- id: {
394
- type: _lssm_lib_schema0.FieldType<string, string>;
395
- isOptional: false;
396
- };
397
- userId: {
398
- type: _lssm_lib_schema0.FieldType<string, string>;
399
- isOptional: false;
400
- };
401
- title: {
402
- type: _lssm_lib_schema0.FieldType<string, string>;
403
- isOptional: false;
404
- };
405
- body: {
406
- type: _lssm_lib_schema0.FieldType<string, string>;
407
- isOptional: false;
408
- };
409
- type: {
410
- type: _lssm_lib_schema0.FieldType<string, string>;
411
- isOptional: false;
412
- };
413
- status: {
414
- type: _lssm_lib_schema0.EnumType<[string, string, string, string, string, string]>;
415
- isOptional: false;
416
- };
417
- channels: {
418
- type: _lssm_lib_schema0.EnumType<[string, string, string, string]>;
419
- isArray: true;
420
- isOptional: false;
421
- };
422
- actionUrl: {
423
- type: _lssm_lib_schema0.FieldType<string, string>;
424
- isOptional: true;
425
- };
426
- readAt: {
427
- type: _lssm_lib_schema0.FieldType<Date, string>;
428
- isOptional: true;
429
- };
430
- createdAt: {
431
- type: _lssm_lib_schema0.FieldType<Date, string>;
432
- isOptional: false;
433
- };
434
- }>;
435
- isArray: true;
436
- isOptional: false;
437
- };
438
- total: {
439
- type: _lssm_lib_schema0.FieldType<number, number>;
440
- isOptional: false;
441
- };
442
- unreadCount: {
443
- type: _lssm_lib_schema0.FieldType<number, number>;
444
- isOptional: false;
445
- };
446
- }>, undefined>;
447
- /**
448
- * Mark notification as read.
449
- */
450
- declare const MarkNotificationReadContract: _lssm_lib_contracts0.ContractSpec<_lssm_lib_schema0.SchemaModel<{
451
- notificationId: {
452
- type: _lssm_lib_schema0.FieldType<string, string>;
453
- isOptional: false;
454
- };
455
- }>, _lssm_lib_schema0.SchemaModel<{
456
- id: {
457
- type: _lssm_lib_schema0.FieldType<string, string>;
458
- isOptional: false;
459
- };
460
- userId: {
461
- type: _lssm_lib_schema0.FieldType<string, string>;
462
- isOptional: false;
463
- };
464
- title: {
465
- type: _lssm_lib_schema0.FieldType<string, string>;
466
- isOptional: false;
467
- };
468
- body: {
469
- type: _lssm_lib_schema0.FieldType<string, string>;
470
- isOptional: false;
471
- };
472
- type: {
473
- type: _lssm_lib_schema0.FieldType<string, string>;
474
- isOptional: false;
475
- };
476
- status: {
477
- type: _lssm_lib_schema0.EnumType<[string, string, string, string, string, string]>;
478
- isOptional: false;
479
- };
480
- channels: {
481
- type: _lssm_lib_schema0.EnumType<[string, string, string, string]>;
482
- isArray: true;
483
- isOptional: false;
484
- };
485
- actionUrl: {
486
- type: _lssm_lib_schema0.FieldType<string, string>;
487
- isOptional: true;
488
- };
489
- readAt: {
490
- type: _lssm_lib_schema0.FieldType<Date, string>;
491
- isOptional: true;
492
- };
493
- createdAt: {
494
- type: _lssm_lib_schema0.FieldType<Date, string>;
495
- isOptional: false;
496
- };
497
- }>, undefined>;
498
- /**
499
- * Mark all notifications as read.
500
- */
501
- declare const MarkAllNotificationsReadContract: _lssm_lib_contracts0.ContractSpec<_lssm_lib_schema0.AnySchemaModel, _lssm_lib_schema0.SchemaModel<{
502
- markedCount: {
503
- type: _lssm_lib_schema0.FieldType<number, number>;
504
- isOptional: false;
505
- };
506
- }>, undefined>;
507
- /**
508
- * Get notification preferences.
509
- */
510
- declare const GetNotificationPreferencesContract: _lssm_lib_contracts0.ContractSpec<_lssm_lib_schema0.AnySchemaModel, _lssm_lib_schema0.SchemaModel<{
511
- userId: {
512
- type: _lssm_lib_schema0.FieldType<string, string>;
513
- isOptional: false;
514
- };
515
- globalEnabled: {
516
- type: _lssm_lib_schema0.FieldType<boolean, boolean>;
517
- isOptional: false;
518
- };
519
- channelPreferences: {
520
- type: _lssm_lib_schema0.FieldType<Record<string, unknown>, Record<string, unknown>>;
521
- isOptional: false;
522
- };
523
- typePreferences: {
524
- type: _lssm_lib_schema0.FieldType<Record<string, unknown>, Record<string, unknown>>;
525
- isOptional: false;
526
- };
527
- quietHoursStart: {
528
- type: _lssm_lib_schema0.FieldType<string, string>;
529
- isOptional: true;
530
- };
531
- quietHoursEnd: {
532
- type: _lssm_lib_schema0.FieldType<string, string>;
533
- isOptional: true;
534
- };
535
- timezone: {
536
- type: _lssm_lib_schema0.FieldType<string, string>;
537
- isOptional: false;
538
- };
539
- digestEnabled: {
540
- type: _lssm_lib_schema0.FieldType<boolean, boolean>;
541
- isOptional: false;
542
- };
543
- digestFrequency: {
544
- type: _lssm_lib_schema0.FieldType<string, string>;
545
- isOptional: true;
546
- };
547
- }>, undefined>;
548
- /**
549
- * Update notification preferences.
550
- */
551
- declare const UpdateNotificationPreferencesContract: _lssm_lib_contracts0.ContractSpec<_lssm_lib_schema0.SchemaModel<{
552
- globalEnabled: {
553
- type: _lssm_lib_schema0.FieldType<boolean, boolean>;
554
- isOptional: true;
555
- };
556
- channelPreferences: {
557
- type: _lssm_lib_schema0.FieldType<Record<string, unknown>, Record<string, unknown>>;
558
- isOptional: true;
559
- };
560
- typePreferences: {
561
- type: _lssm_lib_schema0.FieldType<Record<string, unknown>, Record<string, unknown>>;
562
- isOptional: true;
563
- };
564
- quietHoursStart: {
565
- type: _lssm_lib_schema0.FieldType<string, string>;
566
- isOptional: true;
567
- };
568
- quietHoursEnd: {
569
- type: _lssm_lib_schema0.FieldType<string, string>;
570
- isOptional: true;
571
- };
572
- timezone: {
573
- type: _lssm_lib_schema0.FieldType<string, string>;
574
- isOptional: true;
575
- };
576
- digestEnabled: {
577
- type: _lssm_lib_schema0.FieldType<boolean, boolean>;
578
- isOptional: true;
579
- };
580
- digestFrequency: {
581
- type: _lssm_lib_schema0.FieldType<string, string>;
582
- isOptional: true;
583
- };
584
- }>, _lssm_lib_schema0.SchemaModel<{
585
- userId: {
586
- type: _lssm_lib_schema0.FieldType<string, string>;
587
- isOptional: false;
588
- };
589
- globalEnabled: {
590
- type: _lssm_lib_schema0.FieldType<boolean, boolean>;
591
- isOptional: false;
592
- };
593
- channelPreferences: {
594
- type: _lssm_lib_schema0.FieldType<Record<string, unknown>, Record<string, unknown>>;
595
- isOptional: false;
596
- };
597
- typePreferences: {
598
- type: _lssm_lib_schema0.FieldType<Record<string, unknown>, Record<string, unknown>>;
599
- isOptional: false;
600
- };
601
- quietHoursStart: {
602
- type: _lssm_lib_schema0.FieldType<string, string>;
603
- isOptional: true;
604
- };
605
- quietHoursEnd: {
606
- type: _lssm_lib_schema0.FieldType<string, string>;
607
- isOptional: true;
608
- };
609
- timezone: {
610
- type: _lssm_lib_schema0.FieldType<string, string>;
611
- isOptional: false;
612
- };
613
- digestEnabled: {
614
- type: _lssm_lib_schema0.FieldType<boolean, boolean>;
615
- isOptional: false;
616
- };
617
- digestFrequency: {
618
- type: _lssm_lib_schema0.FieldType<string, string>;
619
- isOptional: true;
620
- };
621
- }>, undefined>;
622
- /**
623
- * Delete a notification.
624
- */
625
- declare const DeleteNotificationContract: _lssm_lib_contracts0.ContractSpec<_lssm_lib_schema0.SchemaModel<{
626
- notificationId: {
627
- type: _lssm_lib_schema0.FieldType<string, string>;
628
- isOptional: false;
629
- };
630
- }>, _lssm_lib_schema0.SchemaModel<{
631
- success: {
632
- type: _lssm_lib_schema0.FieldType<boolean, boolean>;
633
- isOptional: false;
634
- };
635
- }>, undefined>;
636
- //#endregion
637
- export { DeleteNotificationContract, GetNotificationPreferencesContract, ListNotificationsContract, ListNotificationsInputModel, ListNotificationsOutputModel, MarkAllNotificationsReadContract, MarkNotificationReadContract, NotificationFilterEnum, NotificationModel, NotificationPreferenceModel, SendNotificationContract, SendNotificationInputModel, UpdateNotificationPreferencesContract, UpdatePreferencesInputModel };