@lssm/module.notifications 0.0.0-canary-20251206160926 → 0.0.0-canary-20251207012602
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/contracts/index.d.ts +160 -160
- package/dist/entities/index.d.ts +144 -144
- package/package.json +1 -1
|
@@ -1,190 +1,190 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema142 from "@lssm/lib.schema";
|
|
2
2
|
import * as _lssm_lib_contracts0 from "@lssm/lib.contracts";
|
|
3
3
|
|
|
4
4
|
//#region src/contracts/index.d.ts
|
|
5
|
-
declare const NotificationFilterEnum:
|
|
6
|
-
declare const NotificationModel:
|
|
5
|
+
declare const NotificationFilterEnum: _lssm_lib_schema142.EnumType<[string, string, string]>;
|
|
6
|
+
declare const NotificationModel: _lssm_lib_schema142.SchemaModel<{
|
|
7
7
|
id: {
|
|
8
|
-
type:
|
|
8
|
+
type: _lssm_lib_schema142.FieldType<string, string>;
|
|
9
9
|
isOptional: false;
|
|
10
10
|
};
|
|
11
11
|
userId: {
|
|
12
|
-
type:
|
|
12
|
+
type: _lssm_lib_schema142.FieldType<string, string>;
|
|
13
13
|
isOptional: false;
|
|
14
14
|
};
|
|
15
15
|
title: {
|
|
16
|
-
type:
|
|
16
|
+
type: _lssm_lib_schema142.FieldType<string, string>;
|
|
17
17
|
isOptional: false;
|
|
18
18
|
};
|
|
19
19
|
body: {
|
|
20
|
-
type:
|
|
20
|
+
type: _lssm_lib_schema142.FieldType<string, string>;
|
|
21
21
|
isOptional: false;
|
|
22
22
|
};
|
|
23
23
|
type: {
|
|
24
|
-
type:
|
|
24
|
+
type: _lssm_lib_schema142.FieldType<string, string>;
|
|
25
25
|
isOptional: false;
|
|
26
26
|
};
|
|
27
27
|
status: {
|
|
28
|
-
type:
|
|
28
|
+
type: _lssm_lib_schema142.EnumType<[string, string, string, string, string, string]>;
|
|
29
29
|
isOptional: false;
|
|
30
30
|
};
|
|
31
31
|
channels: {
|
|
32
|
-
type:
|
|
32
|
+
type: _lssm_lib_schema142.EnumType<[string, string, string, string]>;
|
|
33
33
|
isArray: true;
|
|
34
34
|
isOptional: false;
|
|
35
35
|
};
|
|
36
36
|
actionUrl: {
|
|
37
|
-
type:
|
|
37
|
+
type: _lssm_lib_schema142.FieldType<string, string>;
|
|
38
38
|
isOptional: true;
|
|
39
39
|
};
|
|
40
40
|
readAt: {
|
|
41
|
-
type:
|
|
41
|
+
type: _lssm_lib_schema142.FieldType<Date, string>;
|
|
42
42
|
isOptional: true;
|
|
43
43
|
};
|
|
44
44
|
createdAt: {
|
|
45
|
-
type:
|
|
45
|
+
type: _lssm_lib_schema142.FieldType<Date, string>;
|
|
46
46
|
isOptional: false;
|
|
47
47
|
};
|
|
48
48
|
}>;
|
|
49
|
-
declare const NotificationPreferenceModel:
|
|
49
|
+
declare const NotificationPreferenceModel: _lssm_lib_schema142.SchemaModel<{
|
|
50
50
|
userId: {
|
|
51
|
-
type:
|
|
51
|
+
type: _lssm_lib_schema142.FieldType<string, string>;
|
|
52
52
|
isOptional: false;
|
|
53
53
|
};
|
|
54
54
|
globalEnabled: {
|
|
55
|
-
type:
|
|
55
|
+
type: _lssm_lib_schema142.FieldType<boolean, boolean>;
|
|
56
56
|
isOptional: false;
|
|
57
57
|
};
|
|
58
58
|
channelPreferences: {
|
|
59
|
-
type:
|
|
59
|
+
type: _lssm_lib_schema142.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
60
60
|
isOptional: false;
|
|
61
61
|
};
|
|
62
62
|
typePreferences: {
|
|
63
|
-
type:
|
|
63
|
+
type: _lssm_lib_schema142.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
64
64
|
isOptional: false;
|
|
65
65
|
};
|
|
66
66
|
quietHoursStart: {
|
|
67
|
-
type:
|
|
67
|
+
type: _lssm_lib_schema142.FieldType<string, string>;
|
|
68
68
|
isOptional: true;
|
|
69
69
|
};
|
|
70
70
|
quietHoursEnd: {
|
|
71
|
-
type:
|
|
71
|
+
type: _lssm_lib_schema142.FieldType<string, string>;
|
|
72
72
|
isOptional: true;
|
|
73
73
|
};
|
|
74
74
|
timezone: {
|
|
75
|
-
type:
|
|
75
|
+
type: _lssm_lib_schema142.FieldType<string, string>;
|
|
76
76
|
isOptional: false;
|
|
77
77
|
};
|
|
78
78
|
digestEnabled: {
|
|
79
|
-
type:
|
|
79
|
+
type: _lssm_lib_schema142.FieldType<boolean, boolean>;
|
|
80
80
|
isOptional: false;
|
|
81
81
|
};
|
|
82
82
|
digestFrequency: {
|
|
83
|
-
type:
|
|
83
|
+
type: _lssm_lib_schema142.FieldType<string, string>;
|
|
84
84
|
isOptional: true;
|
|
85
85
|
};
|
|
86
86
|
}>;
|
|
87
|
-
declare const SendNotificationInputModel:
|
|
87
|
+
declare const SendNotificationInputModel: _lssm_lib_schema142.SchemaModel<{
|
|
88
88
|
userId: {
|
|
89
|
-
type:
|
|
89
|
+
type: _lssm_lib_schema142.FieldType<string, string>;
|
|
90
90
|
isOptional: false;
|
|
91
91
|
};
|
|
92
92
|
templateId: {
|
|
93
|
-
type:
|
|
93
|
+
type: _lssm_lib_schema142.FieldType<string, string>;
|
|
94
94
|
isOptional: true;
|
|
95
95
|
};
|
|
96
96
|
title: {
|
|
97
|
-
type:
|
|
97
|
+
type: _lssm_lib_schema142.FieldType<string, string>;
|
|
98
98
|
isOptional: true;
|
|
99
99
|
};
|
|
100
100
|
body: {
|
|
101
|
-
type:
|
|
101
|
+
type: _lssm_lib_schema142.FieldType<string, string>;
|
|
102
102
|
isOptional: true;
|
|
103
103
|
};
|
|
104
104
|
type: {
|
|
105
|
-
type:
|
|
105
|
+
type: _lssm_lib_schema142.FieldType<string, string>;
|
|
106
106
|
isOptional: false;
|
|
107
107
|
};
|
|
108
108
|
channels: {
|
|
109
|
-
type:
|
|
109
|
+
type: _lssm_lib_schema142.EnumType<[string, string, string, string]>;
|
|
110
110
|
isArray: true;
|
|
111
111
|
isOptional: true;
|
|
112
112
|
};
|
|
113
113
|
actionUrl: {
|
|
114
|
-
type:
|
|
114
|
+
type: _lssm_lib_schema142.FieldType<string, string>;
|
|
115
115
|
isOptional: true;
|
|
116
116
|
};
|
|
117
117
|
variables: {
|
|
118
|
-
type:
|
|
118
|
+
type: _lssm_lib_schema142.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
119
119
|
isOptional: true;
|
|
120
120
|
};
|
|
121
121
|
metadata: {
|
|
122
|
-
type:
|
|
122
|
+
type: _lssm_lib_schema142.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
123
123
|
isOptional: true;
|
|
124
124
|
};
|
|
125
125
|
}>;
|
|
126
|
-
declare const ListNotificationsInputModel:
|
|
126
|
+
declare const ListNotificationsInputModel: _lssm_lib_schema142.SchemaModel<{
|
|
127
127
|
status: {
|
|
128
|
-
type:
|
|
128
|
+
type: _lssm_lib_schema142.EnumType<[string, string, string]>;
|
|
129
129
|
isOptional: true;
|
|
130
130
|
};
|
|
131
131
|
type: {
|
|
132
|
-
type:
|
|
132
|
+
type: _lssm_lib_schema142.FieldType<string, string>;
|
|
133
133
|
isOptional: true;
|
|
134
134
|
};
|
|
135
135
|
limit: {
|
|
136
|
-
type:
|
|
136
|
+
type: _lssm_lib_schema142.FieldType<number, number>;
|
|
137
137
|
isOptional: true;
|
|
138
138
|
defaultValue: number;
|
|
139
139
|
};
|
|
140
140
|
offset: {
|
|
141
|
-
type:
|
|
141
|
+
type: _lssm_lib_schema142.FieldType<number, number>;
|
|
142
142
|
isOptional: true;
|
|
143
143
|
defaultValue: number;
|
|
144
144
|
};
|
|
145
145
|
}>;
|
|
146
|
-
declare const ListNotificationsOutputModel:
|
|
146
|
+
declare const ListNotificationsOutputModel: _lssm_lib_schema142.SchemaModel<{
|
|
147
147
|
notifications: {
|
|
148
|
-
type:
|
|
148
|
+
type: _lssm_lib_schema142.SchemaModel<{
|
|
149
149
|
id: {
|
|
150
|
-
type:
|
|
150
|
+
type: _lssm_lib_schema142.FieldType<string, string>;
|
|
151
151
|
isOptional: false;
|
|
152
152
|
};
|
|
153
153
|
userId: {
|
|
154
|
-
type:
|
|
154
|
+
type: _lssm_lib_schema142.FieldType<string, string>;
|
|
155
155
|
isOptional: false;
|
|
156
156
|
};
|
|
157
157
|
title: {
|
|
158
|
-
type:
|
|
158
|
+
type: _lssm_lib_schema142.FieldType<string, string>;
|
|
159
159
|
isOptional: false;
|
|
160
160
|
};
|
|
161
161
|
body: {
|
|
162
|
-
type:
|
|
162
|
+
type: _lssm_lib_schema142.FieldType<string, string>;
|
|
163
163
|
isOptional: false;
|
|
164
164
|
};
|
|
165
165
|
type: {
|
|
166
|
-
type:
|
|
166
|
+
type: _lssm_lib_schema142.FieldType<string, string>;
|
|
167
167
|
isOptional: false;
|
|
168
168
|
};
|
|
169
169
|
status: {
|
|
170
|
-
type:
|
|
170
|
+
type: _lssm_lib_schema142.EnumType<[string, string, string, string, string, string]>;
|
|
171
171
|
isOptional: false;
|
|
172
172
|
};
|
|
173
173
|
channels: {
|
|
174
|
-
type:
|
|
174
|
+
type: _lssm_lib_schema142.EnumType<[string, string, string, string]>;
|
|
175
175
|
isArray: true;
|
|
176
176
|
isOptional: false;
|
|
177
177
|
};
|
|
178
178
|
actionUrl: {
|
|
179
|
-
type:
|
|
179
|
+
type: _lssm_lib_schema142.FieldType<string, string>;
|
|
180
180
|
isOptional: true;
|
|
181
181
|
};
|
|
182
182
|
readAt: {
|
|
183
|
-
type:
|
|
183
|
+
type: _lssm_lib_schema142.FieldType<Date, string>;
|
|
184
184
|
isOptional: true;
|
|
185
185
|
};
|
|
186
186
|
createdAt: {
|
|
187
|
-
type:
|
|
187
|
+
type: _lssm_lib_schema142.FieldType<Date, string>;
|
|
188
188
|
isOptional: false;
|
|
189
189
|
};
|
|
190
190
|
}>;
|
|
@@ -192,175 +192,175 @@ declare const ListNotificationsOutputModel: _lssm_lib_schema0.SchemaModel<{
|
|
|
192
192
|
isOptional: false;
|
|
193
193
|
};
|
|
194
194
|
total: {
|
|
195
|
-
type:
|
|
195
|
+
type: _lssm_lib_schema142.FieldType<number, number>;
|
|
196
196
|
isOptional: false;
|
|
197
197
|
};
|
|
198
198
|
unreadCount: {
|
|
199
|
-
type:
|
|
199
|
+
type: _lssm_lib_schema142.FieldType<number, number>;
|
|
200
200
|
isOptional: false;
|
|
201
201
|
};
|
|
202
202
|
}>;
|
|
203
|
-
declare const UpdatePreferencesInputModel:
|
|
203
|
+
declare const UpdatePreferencesInputModel: _lssm_lib_schema142.SchemaModel<{
|
|
204
204
|
globalEnabled: {
|
|
205
|
-
type:
|
|
205
|
+
type: _lssm_lib_schema142.FieldType<boolean, boolean>;
|
|
206
206
|
isOptional: true;
|
|
207
207
|
};
|
|
208
208
|
channelPreferences: {
|
|
209
|
-
type:
|
|
209
|
+
type: _lssm_lib_schema142.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
210
210
|
isOptional: true;
|
|
211
211
|
};
|
|
212
212
|
typePreferences: {
|
|
213
|
-
type:
|
|
213
|
+
type: _lssm_lib_schema142.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
214
214
|
isOptional: true;
|
|
215
215
|
};
|
|
216
216
|
quietHoursStart: {
|
|
217
|
-
type:
|
|
217
|
+
type: _lssm_lib_schema142.FieldType<string, string>;
|
|
218
218
|
isOptional: true;
|
|
219
219
|
};
|
|
220
220
|
quietHoursEnd: {
|
|
221
|
-
type:
|
|
221
|
+
type: _lssm_lib_schema142.FieldType<string, string>;
|
|
222
222
|
isOptional: true;
|
|
223
223
|
};
|
|
224
224
|
timezone: {
|
|
225
|
-
type:
|
|
225
|
+
type: _lssm_lib_schema142.FieldType<string, string>;
|
|
226
226
|
isOptional: true;
|
|
227
227
|
};
|
|
228
228
|
digestEnabled: {
|
|
229
|
-
type:
|
|
229
|
+
type: _lssm_lib_schema142.FieldType<boolean, boolean>;
|
|
230
230
|
isOptional: true;
|
|
231
231
|
};
|
|
232
232
|
digestFrequency: {
|
|
233
|
-
type:
|
|
233
|
+
type: _lssm_lib_schema142.FieldType<string, string>;
|
|
234
234
|
isOptional: true;
|
|
235
235
|
};
|
|
236
236
|
}>;
|
|
237
237
|
/**
|
|
238
238
|
* Send a notification.
|
|
239
239
|
*/
|
|
240
|
-
declare const SendNotificationContract: _lssm_lib_contracts0.ContractSpec<
|
|
240
|
+
declare const SendNotificationContract: _lssm_lib_contracts0.ContractSpec<_lssm_lib_schema142.SchemaModel<{
|
|
241
241
|
userId: {
|
|
242
|
-
type:
|
|
242
|
+
type: _lssm_lib_schema142.FieldType<string, string>;
|
|
243
243
|
isOptional: false;
|
|
244
244
|
};
|
|
245
245
|
templateId: {
|
|
246
|
-
type:
|
|
246
|
+
type: _lssm_lib_schema142.FieldType<string, string>;
|
|
247
247
|
isOptional: true;
|
|
248
248
|
};
|
|
249
249
|
title: {
|
|
250
|
-
type:
|
|
250
|
+
type: _lssm_lib_schema142.FieldType<string, string>;
|
|
251
251
|
isOptional: true;
|
|
252
252
|
};
|
|
253
253
|
body: {
|
|
254
|
-
type:
|
|
254
|
+
type: _lssm_lib_schema142.FieldType<string, string>;
|
|
255
255
|
isOptional: true;
|
|
256
256
|
};
|
|
257
257
|
type: {
|
|
258
|
-
type:
|
|
258
|
+
type: _lssm_lib_schema142.FieldType<string, string>;
|
|
259
259
|
isOptional: false;
|
|
260
260
|
};
|
|
261
261
|
channels: {
|
|
262
|
-
type:
|
|
262
|
+
type: _lssm_lib_schema142.EnumType<[string, string, string, string]>;
|
|
263
263
|
isArray: true;
|
|
264
264
|
isOptional: true;
|
|
265
265
|
};
|
|
266
266
|
actionUrl: {
|
|
267
|
-
type:
|
|
267
|
+
type: _lssm_lib_schema142.FieldType<string, string>;
|
|
268
268
|
isOptional: true;
|
|
269
269
|
};
|
|
270
270
|
variables: {
|
|
271
|
-
type:
|
|
271
|
+
type: _lssm_lib_schema142.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
272
272
|
isOptional: true;
|
|
273
273
|
};
|
|
274
274
|
metadata: {
|
|
275
|
-
type:
|
|
275
|
+
type: _lssm_lib_schema142.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
276
276
|
isOptional: true;
|
|
277
277
|
};
|
|
278
|
-
}>,
|
|
278
|
+
}>, _lssm_lib_schema142.SchemaModel<{
|
|
279
279
|
id: {
|
|
280
|
-
type:
|
|
280
|
+
type: _lssm_lib_schema142.FieldType<string, string>;
|
|
281
281
|
isOptional: false;
|
|
282
282
|
};
|
|
283
283
|
userId: {
|
|
284
|
-
type:
|
|
284
|
+
type: _lssm_lib_schema142.FieldType<string, string>;
|
|
285
285
|
isOptional: false;
|
|
286
286
|
};
|
|
287
287
|
title: {
|
|
288
|
-
type:
|
|
288
|
+
type: _lssm_lib_schema142.FieldType<string, string>;
|
|
289
289
|
isOptional: false;
|
|
290
290
|
};
|
|
291
291
|
body: {
|
|
292
|
-
type:
|
|
292
|
+
type: _lssm_lib_schema142.FieldType<string, string>;
|
|
293
293
|
isOptional: false;
|
|
294
294
|
};
|
|
295
295
|
type: {
|
|
296
|
-
type:
|
|
296
|
+
type: _lssm_lib_schema142.FieldType<string, string>;
|
|
297
297
|
isOptional: false;
|
|
298
298
|
};
|
|
299
299
|
status: {
|
|
300
|
-
type:
|
|
300
|
+
type: _lssm_lib_schema142.EnumType<[string, string, string, string, string, string]>;
|
|
301
301
|
isOptional: false;
|
|
302
302
|
};
|
|
303
303
|
channels: {
|
|
304
|
-
type:
|
|
304
|
+
type: _lssm_lib_schema142.EnumType<[string, string, string, string]>;
|
|
305
305
|
isArray: true;
|
|
306
306
|
isOptional: false;
|
|
307
307
|
};
|
|
308
308
|
actionUrl: {
|
|
309
|
-
type:
|
|
309
|
+
type: _lssm_lib_schema142.FieldType<string, string>;
|
|
310
310
|
isOptional: true;
|
|
311
311
|
};
|
|
312
312
|
readAt: {
|
|
313
|
-
type:
|
|
313
|
+
type: _lssm_lib_schema142.FieldType<Date, string>;
|
|
314
314
|
isOptional: true;
|
|
315
315
|
};
|
|
316
316
|
createdAt: {
|
|
317
|
-
type:
|
|
317
|
+
type: _lssm_lib_schema142.FieldType<Date, string>;
|
|
318
318
|
isOptional: false;
|
|
319
319
|
};
|
|
320
320
|
}>, {
|
|
321
321
|
name: string;
|
|
322
322
|
version: number;
|
|
323
323
|
when: string;
|
|
324
|
-
payload:
|
|
324
|
+
payload: _lssm_lib_schema142.SchemaModel<{
|
|
325
325
|
id: {
|
|
326
|
-
type:
|
|
326
|
+
type: _lssm_lib_schema142.FieldType<string, string>;
|
|
327
327
|
isOptional: false;
|
|
328
328
|
};
|
|
329
329
|
userId: {
|
|
330
|
-
type:
|
|
330
|
+
type: _lssm_lib_schema142.FieldType<string, string>;
|
|
331
331
|
isOptional: false;
|
|
332
332
|
};
|
|
333
333
|
title: {
|
|
334
|
-
type:
|
|
334
|
+
type: _lssm_lib_schema142.FieldType<string, string>;
|
|
335
335
|
isOptional: false;
|
|
336
336
|
};
|
|
337
337
|
body: {
|
|
338
|
-
type:
|
|
338
|
+
type: _lssm_lib_schema142.FieldType<string, string>;
|
|
339
339
|
isOptional: false;
|
|
340
340
|
};
|
|
341
341
|
type: {
|
|
342
|
-
type:
|
|
342
|
+
type: _lssm_lib_schema142.FieldType<string, string>;
|
|
343
343
|
isOptional: false;
|
|
344
344
|
};
|
|
345
345
|
status: {
|
|
346
|
-
type:
|
|
346
|
+
type: _lssm_lib_schema142.EnumType<[string, string, string, string, string, string]>;
|
|
347
347
|
isOptional: false;
|
|
348
348
|
};
|
|
349
349
|
channels: {
|
|
350
|
-
type:
|
|
350
|
+
type: _lssm_lib_schema142.EnumType<[string, string, string, string]>;
|
|
351
351
|
isArray: true;
|
|
352
352
|
isOptional: false;
|
|
353
353
|
};
|
|
354
354
|
actionUrl: {
|
|
355
|
-
type:
|
|
355
|
+
type: _lssm_lib_schema142.FieldType<string, string>;
|
|
356
356
|
isOptional: true;
|
|
357
357
|
};
|
|
358
358
|
readAt: {
|
|
359
|
-
type:
|
|
359
|
+
type: _lssm_lib_schema142.FieldType<Date, string>;
|
|
360
360
|
isOptional: true;
|
|
361
361
|
};
|
|
362
362
|
createdAt: {
|
|
363
|
-
type:
|
|
363
|
+
type: _lssm_lib_schema142.FieldType<Date, string>;
|
|
364
364
|
isOptional: false;
|
|
365
365
|
};
|
|
366
366
|
}>;
|
|
@@ -368,67 +368,67 @@ declare const SendNotificationContract: _lssm_lib_contracts0.ContractSpec<_lssm_
|
|
|
368
368
|
/**
|
|
369
369
|
* List notifications for current user.
|
|
370
370
|
*/
|
|
371
|
-
declare const ListNotificationsContract: _lssm_lib_contracts0.ContractSpec<
|
|
371
|
+
declare const ListNotificationsContract: _lssm_lib_contracts0.ContractSpec<_lssm_lib_schema142.SchemaModel<{
|
|
372
372
|
status: {
|
|
373
|
-
type:
|
|
373
|
+
type: _lssm_lib_schema142.EnumType<[string, string, string]>;
|
|
374
374
|
isOptional: true;
|
|
375
375
|
};
|
|
376
376
|
type: {
|
|
377
|
-
type:
|
|
377
|
+
type: _lssm_lib_schema142.FieldType<string, string>;
|
|
378
378
|
isOptional: true;
|
|
379
379
|
};
|
|
380
380
|
limit: {
|
|
381
|
-
type:
|
|
381
|
+
type: _lssm_lib_schema142.FieldType<number, number>;
|
|
382
382
|
isOptional: true;
|
|
383
383
|
defaultValue: number;
|
|
384
384
|
};
|
|
385
385
|
offset: {
|
|
386
|
-
type:
|
|
386
|
+
type: _lssm_lib_schema142.FieldType<number, number>;
|
|
387
387
|
isOptional: true;
|
|
388
388
|
defaultValue: number;
|
|
389
389
|
};
|
|
390
|
-
}>,
|
|
390
|
+
}>, _lssm_lib_schema142.SchemaModel<{
|
|
391
391
|
notifications: {
|
|
392
|
-
type:
|
|
392
|
+
type: _lssm_lib_schema142.SchemaModel<{
|
|
393
393
|
id: {
|
|
394
|
-
type:
|
|
394
|
+
type: _lssm_lib_schema142.FieldType<string, string>;
|
|
395
395
|
isOptional: false;
|
|
396
396
|
};
|
|
397
397
|
userId: {
|
|
398
|
-
type:
|
|
398
|
+
type: _lssm_lib_schema142.FieldType<string, string>;
|
|
399
399
|
isOptional: false;
|
|
400
400
|
};
|
|
401
401
|
title: {
|
|
402
|
-
type:
|
|
402
|
+
type: _lssm_lib_schema142.FieldType<string, string>;
|
|
403
403
|
isOptional: false;
|
|
404
404
|
};
|
|
405
405
|
body: {
|
|
406
|
-
type:
|
|
406
|
+
type: _lssm_lib_schema142.FieldType<string, string>;
|
|
407
407
|
isOptional: false;
|
|
408
408
|
};
|
|
409
409
|
type: {
|
|
410
|
-
type:
|
|
410
|
+
type: _lssm_lib_schema142.FieldType<string, string>;
|
|
411
411
|
isOptional: false;
|
|
412
412
|
};
|
|
413
413
|
status: {
|
|
414
|
-
type:
|
|
414
|
+
type: _lssm_lib_schema142.EnumType<[string, string, string, string, string, string]>;
|
|
415
415
|
isOptional: false;
|
|
416
416
|
};
|
|
417
417
|
channels: {
|
|
418
|
-
type:
|
|
418
|
+
type: _lssm_lib_schema142.EnumType<[string, string, string, string]>;
|
|
419
419
|
isArray: true;
|
|
420
420
|
isOptional: false;
|
|
421
421
|
};
|
|
422
422
|
actionUrl: {
|
|
423
|
-
type:
|
|
423
|
+
type: _lssm_lib_schema142.FieldType<string, string>;
|
|
424
424
|
isOptional: true;
|
|
425
425
|
};
|
|
426
426
|
readAt: {
|
|
427
|
-
type:
|
|
427
|
+
type: _lssm_lib_schema142.FieldType<Date, string>;
|
|
428
428
|
isOptional: true;
|
|
429
429
|
};
|
|
430
430
|
createdAt: {
|
|
431
|
-
type:
|
|
431
|
+
type: _lssm_lib_schema142.FieldType<Date, string>;
|
|
432
432
|
isOptional: false;
|
|
433
433
|
};
|
|
434
434
|
}>;
|
|
@@ -436,200 +436,200 @@ declare const ListNotificationsContract: _lssm_lib_contracts0.ContractSpec<_lssm
|
|
|
436
436
|
isOptional: false;
|
|
437
437
|
};
|
|
438
438
|
total: {
|
|
439
|
-
type:
|
|
439
|
+
type: _lssm_lib_schema142.FieldType<number, number>;
|
|
440
440
|
isOptional: false;
|
|
441
441
|
};
|
|
442
442
|
unreadCount: {
|
|
443
|
-
type:
|
|
443
|
+
type: _lssm_lib_schema142.FieldType<number, number>;
|
|
444
444
|
isOptional: false;
|
|
445
445
|
};
|
|
446
446
|
}>, undefined>;
|
|
447
447
|
/**
|
|
448
448
|
* Mark notification as read.
|
|
449
449
|
*/
|
|
450
|
-
declare const MarkNotificationReadContract: _lssm_lib_contracts0.ContractSpec<
|
|
450
|
+
declare const MarkNotificationReadContract: _lssm_lib_contracts0.ContractSpec<_lssm_lib_schema142.SchemaModel<{
|
|
451
451
|
notificationId: {
|
|
452
|
-
type:
|
|
452
|
+
type: _lssm_lib_schema142.FieldType<string, string>;
|
|
453
453
|
isOptional: false;
|
|
454
454
|
};
|
|
455
|
-
}>,
|
|
455
|
+
}>, _lssm_lib_schema142.SchemaModel<{
|
|
456
456
|
id: {
|
|
457
|
-
type:
|
|
457
|
+
type: _lssm_lib_schema142.FieldType<string, string>;
|
|
458
458
|
isOptional: false;
|
|
459
459
|
};
|
|
460
460
|
userId: {
|
|
461
|
-
type:
|
|
461
|
+
type: _lssm_lib_schema142.FieldType<string, string>;
|
|
462
462
|
isOptional: false;
|
|
463
463
|
};
|
|
464
464
|
title: {
|
|
465
|
-
type:
|
|
465
|
+
type: _lssm_lib_schema142.FieldType<string, string>;
|
|
466
466
|
isOptional: false;
|
|
467
467
|
};
|
|
468
468
|
body: {
|
|
469
|
-
type:
|
|
469
|
+
type: _lssm_lib_schema142.FieldType<string, string>;
|
|
470
470
|
isOptional: false;
|
|
471
471
|
};
|
|
472
472
|
type: {
|
|
473
|
-
type:
|
|
473
|
+
type: _lssm_lib_schema142.FieldType<string, string>;
|
|
474
474
|
isOptional: false;
|
|
475
475
|
};
|
|
476
476
|
status: {
|
|
477
|
-
type:
|
|
477
|
+
type: _lssm_lib_schema142.EnumType<[string, string, string, string, string, string]>;
|
|
478
478
|
isOptional: false;
|
|
479
479
|
};
|
|
480
480
|
channels: {
|
|
481
|
-
type:
|
|
481
|
+
type: _lssm_lib_schema142.EnumType<[string, string, string, string]>;
|
|
482
482
|
isArray: true;
|
|
483
483
|
isOptional: false;
|
|
484
484
|
};
|
|
485
485
|
actionUrl: {
|
|
486
|
-
type:
|
|
486
|
+
type: _lssm_lib_schema142.FieldType<string, string>;
|
|
487
487
|
isOptional: true;
|
|
488
488
|
};
|
|
489
489
|
readAt: {
|
|
490
|
-
type:
|
|
490
|
+
type: _lssm_lib_schema142.FieldType<Date, string>;
|
|
491
491
|
isOptional: true;
|
|
492
492
|
};
|
|
493
493
|
createdAt: {
|
|
494
|
-
type:
|
|
494
|
+
type: _lssm_lib_schema142.FieldType<Date, string>;
|
|
495
495
|
isOptional: false;
|
|
496
496
|
};
|
|
497
497
|
}>, undefined>;
|
|
498
498
|
/**
|
|
499
499
|
* Mark all notifications as read.
|
|
500
500
|
*/
|
|
501
|
-
declare const MarkAllNotificationsReadContract: _lssm_lib_contracts0.ContractSpec<
|
|
501
|
+
declare const MarkAllNotificationsReadContract: _lssm_lib_contracts0.ContractSpec<_lssm_lib_schema142.AnySchemaModel, _lssm_lib_schema142.SchemaModel<{
|
|
502
502
|
markedCount: {
|
|
503
|
-
type:
|
|
503
|
+
type: _lssm_lib_schema142.FieldType<number, number>;
|
|
504
504
|
isOptional: false;
|
|
505
505
|
};
|
|
506
506
|
}>, undefined>;
|
|
507
507
|
/**
|
|
508
508
|
* Get notification preferences.
|
|
509
509
|
*/
|
|
510
|
-
declare const GetNotificationPreferencesContract: _lssm_lib_contracts0.ContractSpec<
|
|
510
|
+
declare const GetNotificationPreferencesContract: _lssm_lib_contracts0.ContractSpec<_lssm_lib_schema142.AnySchemaModel, _lssm_lib_schema142.SchemaModel<{
|
|
511
511
|
userId: {
|
|
512
|
-
type:
|
|
512
|
+
type: _lssm_lib_schema142.FieldType<string, string>;
|
|
513
513
|
isOptional: false;
|
|
514
514
|
};
|
|
515
515
|
globalEnabled: {
|
|
516
|
-
type:
|
|
516
|
+
type: _lssm_lib_schema142.FieldType<boolean, boolean>;
|
|
517
517
|
isOptional: false;
|
|
518
518
|
};
|
|
519
519
|
channelPreferences: {
|
|
520
|
-
type:
|
|
520
|
+
type: _lssm_lib_schema142.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
521
521
|
isOptional: false;
|
|
522
522
|
};
|
|
523
523
|
typePreferences: {
|
|
524
|
-
type:
|
|
524
|
+
type: _lssm_lib_schema142.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
525
525
|
isOptional: false;
|
|
526
526
|
};
|
|
527
527
|
quietHoursStart: {
|
|
528
|
-
type:
|
|
528
|
+
type: _lssm_lib_schema142.FieldType<string, string>;
|
|
529
529
|
isOptional: true;
|
|
530
530
|
};
|
|
531
531
|
quietHoursEnd: {
|
|
532
|
-
type:
|
|
532
|
+
type: _lssm_lib_schema142.FieldType<string, string>;
|
|
533
533
|
isOptional: true;
|
|
534
534
|
};
|
|
535
535
|
timezone: {
|
|
536
|
-
type:
|
|
536
|
+
type: _lssm_lib_schema142.FieldType<string, string>;
|
|
537
537
|
isOptional: false;
|
|
538
538
|
};
|
|
539
539
|
digestEnabled: {
|
|
540
|
-
type:
|
|
540
|
+
type: _lssm_lib_schema142.FieldType<boolean, boolean>;
|
|
541
541
|
isOptional: false;
|
|
542
542
|
};
|
|
543
543
|
digestFrequency: {
|
|
544
|
-
type:
|
|
544
|
+
type: _lssm_lib_schema142.FieldType<string, string>;
|
|
545
545
|
isOptional: true;
|
|
546
546
|
};
|
|
547
547
|
}>, undefined>;
|
|
548
548
|
/**
|
|
549
549
|
* Update notification preferences.
|
|
550
550
|
*/
|
|
551
|
-
declare const UpdateNotificationPreferencesContract: _lssm_lib_contracts0.ContractSpec<
|
|
551
|
+
declare const UpdateNotificationPreferencesContract: _lssm_lib_contracts0.ContractSpec<_lssm_lib_schema142.SchemaModel<{
|
|
552
552
|
globalEnabled: {
|
|
553
|
-
type:
|
|
553
|
+
type: _lssm_lib_schema142.FieldType<boolean, boolean>;
|
|
554
554
|
isOptional: true;
|
|
555
555
|
};
|
|
556
556
|
channelPreferences: {
|
|
557
|
-
type:
|
|
557
|
+
type: _lssm_lib_schema142.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
558
558
|
isOptional: true;
|
|
559
559
|
};
|
|
560
560
|
typePreferences: {
|
|
561
|
-
type:
|
|
561
|
+
type: _lssm_lib_schema142.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
562
562
|
isOptional: true;
|
|
563
563
|
};
|
|
564
564
|
quietHoursStart: {
|
|
565
|
-
type:
|
|
565
|
+
type: _lssm_lib_schema142.FieldType<string, string>;
|
|
566
566
|
isOptional: true;
|
|
567
567
|
};
|
|
568
568
|
quietHoursEnd: {
|
|
569
|
-
type:
|
|
569
|
+
type: _lssm_lib_schema142.FieldType<string, string>;
|
|
570
570
|
isOptional: true;
|
|
571
571
|
};
|
|
572
572
|
timezone: {
|
|
573
|
-
type:
|
|
573
|
+
type: _lssm_lib_schema142.FieldType<string, string>;
|
|
574
574
|
isOptional: true;
|
|
575
575
|
};
|
|
576
576
|
digestEnabled: {
|
|
577
|
-
type:
|
|
577
|
+
type: _lssm_lib_schema142.FieldType<boolean, boolean>;
|
|
578
578
|
isOptional: true;
|
|
579
579
|
};
|
|
580
580
|
digestFrequency: {
|
|
581
|
-
type:
|
|
581
|
+
type: _lssm_lib_schema142.FieldType<string, string>;
|
|
582
582
|
isOptional: true;
|
|
583
583
|
};
|
|
584
|
-
}>,
|
|
584
|
+
}>, _lssm_lib_schema142.SchemaModel<{
|
|
585
585
|
userId: {
|
|
586
|
-
type:
|
|
586
|
+
type: _lssm_lib_schema142.FieldType<string, string>;
|
|
587
587
|
isOptional: false;
|
|
588
588
|
};
|
|
589
589
|
globalEnabled: {
|
|
590
|
-
type:
|
|
590
|
+
type: _lssm_lib_schema142.FieldType<boolean, boolean>;
|
|
591
591
|
isOptional: false;
|
|
592
592
|
};
|
|
593
593
|
channelPreferences: {
|
|
594
|
-
type:
|
|
594
|
+
type: _lssm_lib_schema142.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
595
595
|
isOptional: false;
|
|
596
596
|
};
|
|
597
597
|
typePreferences: {
|
|
598
|
-
type:
|
|
598
|
+
type: _lssm_lib_schema142.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
599
599
|
isOptional: false;
|
|
600
600
|
};
|
|
601
601
|
quietHoursStart: {
|
|
602
|
-
type:
|
|
602
|
+
type: _lssm_lib_schema142.FieldType<string, string>;
|
|
603
603
|
isOptional: true;
|
|
604
604
|
};
|
|
605
605
|
quietHoursEnd: {
|
|
606
|
-
type:
|
|
606
|
+
type: _lssm_lib_schema142.FieldType<string, string>;
|
|
607
607
|
isOptional: true;
|
|
608
608
|
};
|
|
609
609
|
timezone: {
|
|
610
|
-
type:
|
|
610
|
+
type: _lssm_lib_schema142.FieldType<string, string>;
|
|
611
611
|
isOptional: false;
|
|
612
612
|
};
|
|
613
613
|
digestEnabled: {
|
|
614
|
-
type:
|
|
614
|
+
type: _lssm_lib_schema142.FieldType<boolean, boolean>;
|
|
615
615
|
isOptional: false;
|
|
616
616
|
};
|
|
617
617
|
digestFrequency: {
|
|
618
|
-
type:
|
|
618
|
+
type: _lssm_lib_schema142.FieldType<string, string>;
|
|
619
619
|
isOptional: true;
|
|
620
620
|
};
|
|
621
621
|
}>, undefined>;
|
|
622
622
|
/**
|
|
623
623
|
* Delete a notification.
|
|
624
624
|
*/
|
|
625
|
-
declare const DeleteNotificationContract: _lssm_lib_contracts0.ContractSpec<
|
|
625
|
+
declare const DeleteNotificationContract: _lssm_lib_contracts0.ContractSpec<_lssm_lib_schema142.SchemaModel<{
|
|
626
626
|
notificationId: {
|
|
627
|
-
type:
|
|
627
|
+
type: _lssm_lib_schema142.FieldType<string, string>;
|
|
628
628
|
isOptional: false;
|
|
629
629
|
};
|
|
630
|
-
}>,
|
|
630
|
+
}>, _lssm_lib_schema142.SchemaModel<{
|
|
631
631
|
success: {
|
|
632
|
-
type:
|
|
632
|
+
type: _lssm_lib_schema142.FieldType<boolean, boolean>;
|
|
633
633
|
isOptional: false;
|
|
634
634
|
};
|
|
635
635
|
}>, undefined>;
|
package/dist/entities/index.d.ts
CHANGED
|
@@ -1,178 +1,178 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema0 from "@lssm/lib.schema";
|
|
2
2
|
import { ModuleSchemaContribution } from "@lssm/lib.schema";
|
|
3
3
|
|
|
4
4
|
//#region src/entities/index.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Notification status enum.
|
|
7
7
|
*/
|
|
8
|
-
declare const NotificationStatusEnum:
|
|
8
|
+
declare const NotificationStatusEnum: _lssm_lib_schema0.EntityEnumDef;
|
|
9
9
|
/**
|
|
10
10
|
* Notification channel enum.
|
|
11
11
|
*/
|
|
12
|
-
declare const NotificationChannelEnum:
|
|
12
|
+
declare const NotificationChannelEnum: _lssm_lib_schema0.EntityEnumDef;
|
|
13
13
|
/**
|
|
14
14
|
* Notification entity - individual notification instance.
|
|
15
15
|
*/
|
|
16
|
-
declare const NotificationEntity:
|
|
17
|
-
id:
|
|
18
|
-
userId:
|
|
19
|
-
orgId:
|
|
20
|
-
templateId:
|
|
21
|
-
title:
|
|
22
|
-
body:
|
|
23
|
-
actionUrl:
|
|
24
|
-
imageUrl:
|
|
25
|
-
type:
|
|
26
|
-
category:
|
|
27
|
-
priority:
|
|
28
|
-
channels:
|
|
29
|
-
status:
|
|
30
|
-
sentAt:
|
|
31
|
-
deliveredAt:
|
|
32
|
-
readAt:
|
|
33
|
-
metadata:
|
|
34
|
-
variables:
|
|
35
|
-
triggeredBy:
|
|
36
|
-
sourceId:
|
|
37
|
-
sourceType:
|
|
38
|
-
createdAt:
|
|
39
|
-
updatedAt:
|
|
40
|
-
expiresAt:
|
|
41
|
-
deliveryLogs:
|
|
16
|
+
declare const NotificationEntity: _lssm_lib_schema0.EntitySpec<{
|
|
17
|
+
id: _lssm_lib_schema0.EntityScalarField;
|
|
18
|
+
userId: _lssm_lib_schema0.EntityScalarField;
|
|
19
|
+
orgId: _lssm_lib_schema0.EntityScalarField;
|
|
20
|
+
templateId: _lssm_lib_schema0.EntityScalarField;
|
|
21
|
+
title: _lssm_lib_schema0.EntityScalarField;
|
|
22
|
+
body: _lssm_lib_schema0.EntityScalarField;
|
|
23
|
+
actionUrl: _lssm_lib_schema0.EntityScalarField;
|
|
24
|
+
imageUrl: _lssm_lib_schema0.EntityScalarField;
|
|
25
|
+
type: _lssm_lib_schema0.EntityScalarField;
|
|
26
|
+
category: _lssm_lib_schema0.EntityScalarField;
|
|
27
|
+
priority: _lssm_lib_schema0.EntityEnumField;
|
|
28
|
+
channels: _lssm_lib_schema0.EntityScalarField;
|
|
29
|
+
status: _lssm_lib_schema0.EntityEnumField;
|
|
30
|
+
sentAt: _lssm_lib_schema0.EntityScalarField;
|
|
31
|
+
deliveredAt: _lssm_lib_schema0.EntityScalarField;
|
|
32
|
+
readAt: _lssm_lib_schema0.EntityScalarField;
|
|
33
|
+
metadata: _lssm_lib_schema0.EntityScalarField;
|
|
34
|
+
variables: _lssm_lib_schema0.EntityScalarField;
|
|
35
|
+
triggeredBy: _lssm_lib_schema0.EntityScalarField;
|
|
36
|
+
sourceId: _lssm_lib_schema0.EntityScalarField;
|
|
37
|
+
sourceType: _lssm_lib_schema0.EntityScalarField;
|
|
38
|
+
createdAt: _lssm_lib_schema0.EntityScalarField;
|
|
39
|
+
updatedAt: _lssm_lib_schema0.EntityScalarField;
|
|
40
|
+
expiresAt: _lssm_lib_schema0.EntityScalarField;
|
|
41
|
+
deliveryLogs: _lssm_lib_schema0.EntityRelationField;
|
|
42
42
|
}>;
|
|
43
43
|
/**
|
|
44
44
|
* Notification priority enum.
|
|
45
45
|
*/
|
|
46
|
-
declare const NotificationPriorityEnum:
|
|
46
|
+
declare const NotificationPriorityEnum: _lssm_lib_schema0.EntityEnumDef;
|
|
47
47
|
/**
|
|
48
48
|
* NotificationTemplate entity - reusable notification templates.
|
|
49
49
|
*/
|
|
50
|
-
declare const NotificationTemplateEntity:
|
|
51
|
-
id:
|
|
52
|
-
templateId:
|
|
53
|
-
name:
|
|
54
|
-
description:
|
|
55
|
-
emailSubject:
|
|
56
|
-
emailBody:
|
|
57
|
-
inAppTitle:
|
|
58
|
-
inAppBody:
|
|
59
|
-
pushTitle:
|
|
60
|
-
pushBody:
|
|
61
|
-
defaultChannels:
|
|
62
|
-
category:
|
|
63
|
-
priority:
|
|
64
|
-
variablesSchema:
|
|
65
|
-
enabled:
|
|
66
|
-
createdAt:
|
|
67
|
-
updatedAt:
|
|
50
|
+
declare const NotificationTemplateEntity: _lssm_lib_schema0.EntitySpec<{
|
|
51
|
+
id: _lssm_lib_schema0.EntityScalarField;
|
|
52
|
+
templateId: _lssm_lib_schema0.EntityScalarField;
|
|
53
|
+
name: _lssm_lib_schema0.EntityScalarField;
|
|
54
|
+
description: _lssm_lib_schema0.EntityScalarField;
|
|
55
|
+
emailSubject: _lssm_lib_schema0.EntityScalarField;
|
|
56
|
+
emailBody: _lssm_lib_schema0.EntityScalarField;
|
|
57
|
+
inAppTitle: _lssm_lib_schema0.EntityScalarField;
|
|
58
|
+
inAppBody: _lssm_lib_schema0.EntityScalarField;
|
|
59
|
+
pushTitle: _lssm_lib_schema0.EntityScalarField;
|
|
60
|
+
pushBody: _lssm_lib_schema0.EntityScalarField;
|
|
61
|
+
defaultChannels: _lssm_lib_schema0.EntityScalarField;
|
|
62
|
+
category: _lssm_lib_schema0.EntityScalarField;
|
|
63
|
+
priority: _lssm_lib_schema0.EntityEnumField;
|
|
64
|
+
variablesSchema: _lssm_lib_schema0.EntityScalarField;
|
|
65
|
+
enabled: _lssm_lib_schema0.EntityScalarField;
|
|
66
|
+
createdAt: _lssm_lib_schema0.EntityScalarField;
|
|
67
|
+
updatedAt: _lssm_lib_schema0.EntityScalarField;
|
|
68
68
|
}>;
|
|
69
69
|
/**
|
|
70
70
|
* NotificationPreference entity - user notification preferences.
|
|
71
71
|
*/
|
|
72
|
-
declare const NotificationPreferenceEntity:
|
|
73
|
-
id:
|
|
74
|
-
userId:
|
|
75
|
-
globalEnabled:
|
|
76
|
-
quietHoursStart:
|
|
77
|
-
quietHoursEnd:
|
|
78
|
-
timezone:
|
|
79
|
-
channelPreferences:
|
|
80
|
-
typePreferences:
|
|
81
|
-
digestEnabled:
|
|
82
|
-
digestFrequency:
|
|
83
|
-
digestTime:
|
|
84
|
-
createdAt:
|
|
85
|
-
updatedAt:
|
|
72
|
+
declare const NotificationPreferenceEntity: _lssm_lib_schema0.EntitySpec<{
|
|
73
|
+
id: _lssm_lib_schema0.EntityScalarField;
|
|
74
|
+
userId: _lssm_lib_schema0.EntityScalarField;
|
|
75
|
+
globalEnabled: _lssm_lib_schema0.EntityScalarField;
|
|
76
|
+
quietHoursStart: _lssm_lib_schema0.EntityScalarField;
|
|
77
|
+
quietHoursEnd: _lssm_lib_schema0.EntityScalarField;
|
|
78
|
+
timezone: _lssm_lib_schema0.EntityScalarField;
|
|
79
|
+
channelPreferences: _lssm_lib_schema0.EntityScalarField;
|
|
80
|
+
typePreferences: _lssm_lib_schema0.EntityScalarField;
|
|
81
|
+
digestEnabled: _lssm_lib_schema0.EntityScalarField;
|
|
82
|
+
digestFrequency: _lssm_lib_schema0.EntityScalarField;
|
|
83
|
+
digestTime: _lssm_lib_schema0.EntityScalarField;
|
|
84
|
+
createdAt: _lssm_lib_schema0.EntityScalarField;
|
|
85
|
+
updatedAt: _lssm_lib_schema0.EntityScalarField;
|
|
86
86
|
}>;
|
|
87
87
|
/**
|
|
88
88
|
* DeliveryLog entity - track delivery attempts per channel.
|
|
89
89
|
*/
|
|
90
|
-
declare const DeliveryLogEntity:
|
|
91
|
-
id:
|
|
92
|
-
notificationId:
|
|
93
|
-
channel:
|
|
94
|
-
status:
|
|
95
|
-
attemptedAt:
|
|
96
|
-
deliveredAt:
|
|
97
|
-
responseCode:
|
|
98
|
-
responseMessage:
|
|
99
|
-
externalId:
|
|
100
|
-
metadata:
|
|
101
|
-
notification:
|
|
90
|
+
declare const DeliveryLogEntity: _lssm_lib_schema0.EntitySpec<{
|
|
91
|
+
id: _lssm_lib_schema0.EntityScalarField;
|
|
92
|
+
notificationId: _lssm_lib_schema0.EntityScalarField;
|
|
93
|
+
channel: _lssm_lib_schema0.EntityEnumField;
|
|
94
|
+
status: _lssm_lib_schema0.EntityEnumField;
|
|
95
|
+
attemptedAt: _lssm_lib_schema0.EntityScalarField;
|
|
96
|
+
deliveredAt: _lssm_lib_schema0.EntityScalarField;
|
|
97
|
+
responseCode: _lssm_lib_schema0.EntityScalarField;
|
|
98
|
+
responseMessage: _lssm_lib_schema0.EntityScalarField;
|
|
99
|
+
externalId: _lssm_lib_schema0.EntityScalarField;
|
|
100
|
+
metadata: _lssm_lib_schema0.EntityScalarField;
|
|
101
|
+
notification: _lssm_lib_schema0.EntityRelationField;
|
|
102
102
|
}>;
|
|
103
103
|
/**
|
|
104
104
|
* All notification entities for schema composition.
|
|
105
105
|
*/
|
|
106
|
-
declare const notificationEntities: (
|
|
107
|
-
id:
|
|
108
|
-
userId:
|
|
109
|
-
orgId:
|
|
110
|
-
templateId:
|
|
111
|
-
title:
|
|
112
|
-
body:
|
|
113
|
-
actionUrl:
|
|
114
|
-
imageUrl:
|
|
115
|
-
type:
|
|
116
|
-
category:
|
|
117
|
-
priority:
|
|
118
|
-
channels:
|
|
119
|
-
status:
|
|
120
|
-
sentAt:
|
|
121
|
-
deliveredAt:
|
|
122
|
-
readAt:
|
|
123
|
-
metadata:
|
|
124
|
-
variables:
|
|
125
|
-
triggeredBy:
|
|
126
|
-
sourceId:
|
|
127
|
-
sourceType:
|
|
128
|
-
createdAt:
|
|
129
|
-
updatedAt:
|
|
130
|
-
expiresAt:
|
|
131
|
-
deliveryLogs:
|
|
132
|
-
}> |
|
|
133
|
-
id:
|
|
134
|
-
templateId:
|
|
135
|
-
name:
|
|
136
|
-
description:
|
|
137
|
-
emailSubject:
|
|
138
|
-
emailBody:
|
|
139
|
-
inAppTitle:
|
|
140
|
-
inAppBody:
|
|
141
|
-
pushTitle:
|
|
142
|
-
pushBody:
|
|
143
|
-
defaultChannels:
|
|
144
|
-
category:
|
|
145
|
-
priority:
|
|
146
|
-
variablesSchema:
|
|
147
|
-
enabled:
|
|
148
|
-
createdAt:
|
|
149
|
-
updatedAt:
|
|
150
|
-
}> |
|
|
151
|
-
id:
|
|
152
|
-
userId:
|
|
153
|
-
globalEnabled:
|
|
154
|
-
quietHoursStart:
|
|
155
|
-
quietHoursEnd:
|
|
156
|
-
timezone:
|
|
157
|
-
channelPreferences:
|
|
158
|
-
typePreferences:
|
|
159
|
-
digestEnabled:
|
|
160
|
-
digestFrequency:
|
|
161
|
-
digestTime:
|
|
162
|
-
createdAt:
|
|
163
|
-
updatedAt:
|
|
164
|
-
}> |
|
|
165
|
-
id:
|
|
166
|
-
notificationId:
|
|
167
|
-
channel:
|
|
168
|
-
status:
|
|
169
|
-
attemptedAt:
|
|
170
|
-
deliveredAt:
|
|
171
|
-
responseCode:
|
|
172
|
-
responseMessage:
|
|
173
|
-
externalId:
|
|
174
|
-
metadata:
|
|
175
|
-
notification:
|
|
106
|
+
declare const notificationEntities: (_lssm_lib_schema0.EntitySpec<{
|
|
107
|
+
id: _lssm_lib_schema0.EntityScalarField;
|
|
108
|
+
userId: _lssm_lib_schema0.EntityScalarField;
|
|
109
|
+
orgId: _lssm_lib_schema0.EntityScalarField;
|
|
110
|
+
templateId: _lssm_lib_schema0.EntityScalarField;
|
|
111
|
+
title: _lssm_lib_schema0.EntityScalarField;
|
|
112
|
+
body: _lssm_lib_schema0.EntityScalarField;
|
|
113
|
+
actionUrl: _lssm_lib_schema0.EntityScalarField;
|
|
114
|
+
imageUrl: _lssm_lib_schema0.EntityScalarField;
|
|
115
|
+
type: _lssm_lib_schema0.EntityScalarField;
|
|
116
|
+
category: _lssm_lib_schema0.EntityScalarField;
|
|
117
|
+
priority: _lssm_lib_schema0.EntityEnumField;
|
|
118
|
+
channels: _lssm_lib_schema0.EntityScalarField;
|
|
119
|
+
status: _lssm_lib_schema0.EntityEnumField;
|
|
120
|
+
sentAt: _lssm_lib_schema0.EntityScalarField;
|
|
121
|
+
deliveredAt: _lssm_lib_schema0.EntityScalarField;
|
|
122
|
+
readAt: _lssm_lib_schema0.EntityScalarField;
|
|
123
|
+
metadata: _lssm_lib_schema0.EntityScalarField;
|
|
124
|
+
variables: _lssm_lib_schema0.EntityScalarField;
|
|
125
|
+
triggeredBy: _lssm_lib_schema0.EntityScalarField;
|
|
126
|
+
sourceId: _lssm_lib_schema0.EntityScalarField;
|
|
127
|
+
sourceType: _lssm_lib_schema0.EntityScalarField;
|
|
128
|
+
createdAt: _lssm_lib_schema0.EntityScalarField;
|
|
129
|
+
updatedAt: _lssm_lib_schema0.EntityScalarField;
|
|
130
|
+
expiresAt: _lssm_lib_schema0.EntityScalarField;
|
|
131
|
+
deliveryLogs: _lssm_lib_schema0.EntityRelationField;
|
|
132
|
+
}> | _lssm_lib_schema0.EntitySpec<{
|
|
133
|
+
id: _lssm_lib_schema0.EntityScalarField;
|
|
134
|
+
templateId: _lssm_lib_schema0.EntityScalarField;
|
|
135
|
+
name: _lssm_lib_schema0.EntityScalarField;
|
|
136
|
+
description: _lssm_lib_schema0.EntityScalarField;
|
|
137
|
+
emailSubject: _lssm_lib_schema0.EntityScalarField;
|
|
138
|
+
emailBody: _lssm_lib_schema0.EntityScalarField;
|
|
139
|
+
inAppTitle: _lssm_lib_schema0.EntityScalarField;
|
|
140
|
+
inAppBody: _lssm_lib_schema0.EntityScalarField;
|
|
141
|
+
pushTitle: _lssm_lib_schema0.EntityScalarField;
|
|
142
|
+
pushBody: _lssm_lib_schema0.EntityScalarField;
|
|
143
|
+
defaultChannels: _lssm_lib_schema0.EntityScalarField;
|
|
144
|
+
category: _lssm_lib_schema0.EntityScalarField;
|
|
145
|
+
priority: _lssm_lib_schema0.EntityEnumField;
|
|
146
|
+
variablesSchema: _lssm_lib_schema0.EntityScalarField;
|
|
147
|
+
enabled: _lssm_lib_schema0.EntityScalarField;
|
|
148
|
+
createdAt: _lssm_lib_schema0.EntityScalarField;
|
|
149
|
+
updatedAt: _lssm_lib_schema0.EntityScalarField;
|
|
150
|
+
}> | _lssm_lib_schema0.EntitySpec<{
|
|
151
|
+
id: _lssm_lib_schema0.EntityScalarField;
|
|
152
|
+
userId: _lssm_lib_schema0.EntityScalarField;
|
|
153
|
+
globalEnabled: _lssm_lib_schema0.EntityScalarField;
|
|
154
|
+
quietHoursStart: _lssm_lib_schema0.EntityScalarField;
|
|
155
|
+
quietHoursEnd: _lssm_lib_schema0.EntityScalarField;
|
|
156
|
+
timezone: _lssm_lib_schema0.EntityScalarField;
|
|
157
|
+
channelPreferences: _lssm_lib_schema0.EntityScalarField;
|
|
158
|
+
typePreferences: _lssm_lib_schema0.EntityScalarField;
|
|
159
|
+
digestEnabled: _lssm_lib_schema0.EntityScalarField;
|
|
160
|
+
digestFrequency: _lssm_lib_schema0.EntityScalarField;
|
|
161
|
+
digestTime: _lssm_lib_schema0.EntityScalarField;
|
|
162
|
+
createdAt: _lssm_lib_schema0.EntityScalarField;
|
|
163
|
+
updatedAt: _lssm_lib_schema0.EntityScalarField;
|
|
164
|
+
}> | _lssm_lib_schema0.EntitySpec<{
|
|
165
|
+
id: _lssm_lib_schema0.EntityScalarField;
|
|
166
|
+
notificationId: _lssm_lib_schema0.EntityScalarField;
|
|
167
|
+
channel: _lssm_lib_schema0.EntityEnumField;
|
|
168
|
+
status: _lssm_lib_schema0.EntityEnumField;
|
|
169
|
+
attemptedAt: _lssm_lib_schema0.EntityScalarField;
|
|
170
|
+
deliveredAt: _lssm_lib_schema0.EntityScalarField;
|
|
171
|
+
responseCode: _lssm_lib_schema0.EntityScalarField;
|
|
172
|
+
responseMessage: _lssm_lib_schema0.EntityScalarField;
|
|
173
|
+
externalId: _lssm_lib_schema0.EntityScalarField;
|
|
174
|
+
metadata: _lssm_lib_schema0.EntityScalarField;
|
|
175
|
+
notification: _lssm_lib_schema0.EntityRelationField;
|
|
176
176
|
}>)[];
|
|
177
177
|
/**
|
|
178
178
|
* Module schema contribution for notifications.
|
package/package.json
CHANGED