@lssm/lib.identity-rbac 0.0.0-canary-20251207012602 → 0.0.0-canary-20251207013726

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/events.d.ts CHANGED
@@ -1,366 +1,366 @@
1
- import * as _lssm_lib_schema0 from "@lssm/lib.schema";
1
+ import * as _lssm_lib_schema720 from "@lssm/lib.schema";
2
2
  import { SchemaModel } from "@lssm/lib.schema";
3
- import * as _lssm_lib_contracts0 from "@lssm/lib.contracts";
3
+ import * as _lssm_lib_contracts20 from "@lssm/lib.contracts";
4
4
 
5
5
  //#region src/events.d.ts
6
6
  /**
7
7
  * Emitted when a new user is created.
8
8
  */
9
- declare const UserCreatedEvent: _lssm_lib_contracts0.EventSpec<SchemaModel<{
9
+ declare const UserCreatedEvent: _lssm_lib_contracts20.EventSpec<SchemaModel<{
10
10
  userId: {
11
- type: _lssm_lib_schema0.FieldType<string, string>;
11
+ type: _lssm_lib_schema720.FieldType<string, string>;
12
12
  isOptional: false;
13
13
  };
14
14
  email: {
15
- type: _lssm_lib_schema0.FieldType<string, string>;
15
+ type: _lssm_lib_schema720.FieldType<string, string>;
16
16
  isOptional: false;
17
17
  };
18
18
  name: {
19
- type: _lssm_lib_schema0.FieldType<string, string>;
19
+ type: _lssm_lib_schema720.FieldType<string, string>;
20
20
  isOptional: true;
21
21
  };
22
22
  createdAt: {
23
- type: _lssm_lib_schema0.FieldType<Date, string>;
23
+ type: _lssm_lib_schema720.FieldType<Date, string>;
24
24
  isOptional: false;
25
25
  };
26
26
  }>>;
27
27
  /**
28
28
  * Emitted when a user profile is updated.
29
29
  */
30
- declare const UserUpdatedEvent: _lssm_lib_contracts0.EventSpec<SchemaModel<{
30
+ declare const UserUpdatedEvent: _lssm_lib_contracts20.EventSpec<SchemaModel<{
31
31
  userId: {
32
- type: _lssm_lib_schema0.FieldType<string, string>;
32
+ type: _lssm_lib_schema720.FieldType<string, string>;
33
33
  isOptional: false;
34
34
  };
35
35
  updatedFields: {
36
- type: _lssm_lib_schema0.FieldType<string, string>;
36
+ type: _lssm_lib_schema720.FieldType<string, string>;
37
37
  isOptional: false;
38
38
  isArray: true;
39
39
  };
40
40
  updatedAt: {
41
- type: _lssm_lib_schema0.FieldType<Date, string>;
41
+ type: _lssm_lib_schema720.FieldType<Date, string>;
42
42
  isOptional: false;
43
43
  };
44
44
  }>>;
45
45
  /**
46
46
  * Emitted when a user is deleted.
47
47
  */
48
- declare const UserDeletedEvent: _lssm_lib_contracts0.EventSpec<SchemaModel<{
48
+ declare const UserDeletedEvent: _lssm_lib_contracts20.EventSpec<SchemaModel<{
49
49
  userId: {
50
- type: _lssm_lib_schema0.FieldType<string, string>;
50
+ type: _lssm_lib_schema720.FieldType<string, string>;
51
51
  isOptional: false;
52
52
  };
53
53
  email: {
54
- type: _lssm_lib_schema0.FieldType<string, string>;
54
+ type: _lssm_lib_schema720.FieldType<string, string>;
55
55
  isOptional: false;
56
56
  };
57
57
  deletedAt: {
58
- type: _lssm_lib_schema0.FieldType<Date, string>;
58
+ type: _lssm_lib_schema720.FieldType<Date, string>;
59
59
  isOptional: false;
60
60
  };
61
61
  }>>;
62
62
  /**
63
63
  * Emitted when a user's email is verified.
64
64
  */
65
- declare const UserEmailVerifiedEvent: _lssm_lib_contracts0.EventSpec<SchemaModel<{
65
+ declare const UserEmailVerifiedEvent: _lssm_lib_contracts20.EventSpec<SchemaModel<{
66
66
  userId: {
67
- type: _lssm_lib_schema0.FieldType<string, string>;
67
+ type: _lssm_lib_schema720.FieldType<string, string>;
68
68
  isOptional: false;
69
69
  };
70
70
  email: {
71
- type: _lssm_lib_schema0.FieldType<string, string>;
71
+ type: _lssm_lib_schema720.FieldType<string, string>;
72
72
  isOptional: false;
73
73
  };
74
74
  verifiedAt: {
75
- type: _lssm_lib_schema0.FieldType<Date, string>;
75
+ type: _lssm_lib_schema720.FieldType<Date, string>;
76
76
  isOptional: false;
77
77
  };
78
78
  }>>;
79
79
  /**
80
80
  * Emitted when a new organization is created.
81
81
  */
82
- declare const OrgCreatedEvent: _lssm_lib_contracts0.EventSpec<SchemaModel<{
82
+ declare const OrgCreatedEvent: _lssm_lib_contracts20.EventSpec<SchemaModel<{
83
83
  orgId: {
84
- type: _lssm_lib_schema0.FieldType<string, string>;
84
+ type: _lssm_lib_schema720.FieldType<string, string>;
85
85
  isOptional: false;
86
86
  };
87
87
  name: {
88
- type: _lssm_lib_schema0.FieldType<string, string>;
88
+ type: _lssm_lib_schema720.FieldType<string, string>;
89
89
  isOptional: false;
90
90
  };
91
91
  slug: {
92
- type: _lssm_lib_schema0.FieldType<string, string>;
92
+ type: _lssm_lib_schema720.FieldType<string, string>;
93
93
  isOptional: true;
94
94
  };
95
95
  createdBy: {
96
- type: _lssm_lib_schema0.FieldType<string, string>;
96
+ type: _lssm_lib_schema720.FieldType<string, string>;
97
97
  isOptional: false;
98
98
  };
99
99
  createdAt: {
100
- type: _lssm_lib_schema0.FieldType<Date, string>;
100
+ type: _lssm_lib_schema720.FieldType<Date, string>;
101
101
  isOptional: false;
102
102
  };
103
103
  }>>;
104
104
  /**
105
105
  * Emitted when an organization is updated.
106
106
  */
107
- declare const OrgUpdatedEvent: _lssm_lib_contracts0.EventSpec<SchemaModel<{
107
+ declare const OrgUpdatedEvent: _lssm_lib_contracts20.EventSpec<SchemaModel<{
108
108
  orgId: {
109
- type: _lssm_lib_schema0.FieldType<string, string>;
109
+ type: _lssm_lib_schema720.FieldType<string, string>;
110
110
  isOptional: false;
111
111
  };
112
112
  updatedFields: {
113
- type: _lssm_lib_schema0.FieldType<string, string>;
113
+ type: _lssm_lib_schema720.FieldType<string, string>;
114
114
  isOptional: false;
115
115
  isArray: true;
116
116
  };
117
117
  updatedBy: {
118
- type: _lssm_lib_schema0.FieldType<string, string>;
118
+ type: _lssm_lib_schema720.FieldType<string, string>;
119
119
  isOptional: false;
120
120
  };
121
121
  updatedAt: {
122
- type: _lssm_lib_schema0.FieldType<Date, string>;
122
+ type: _lssm_lib_schema720.FieldType<Date, string>;
123
123
  isOptional: false;
124
124
  };
125
125
  }>>;
126
126
  /**
127
127
  * Emitted when an organization is deleted.
128
128
  */
129
- declare const OrgDeletedEvent: _lssm_lib_contracts0.EventSpec<SchemaModel<{
129
+ declare const OrgDeletedEvent: _lssm_lib_contracts20.EventSpec<SchemaModel<{
130
130
  orgId: {
131
- type: _lssm_lib_schema0.FieldType<string, string>;
131
+ type: _lssm_lib_schema720.FieldType<string, string>;
132
132
  isOptional: false;
133
133
  };
134
134
  name: {
135
- type: _lssm_lib_schema0.FieldType<string, string>;
135
+ type: _lssm_lib_schema720.FieldType<string, string>;
136
136
  isOptional: false;
137
137
  };
138
138
  deletedBy: {
139
- type: _lssm_lib_schema0.FieldType<string, string>;
139
+ type: _lssm_lib_schema720.FieldType<string, string>;
140
140
  isOptional: false;
141
141
  };
142
142
  deletedAt: {
143
- type: _lssm_lib_schema0.FieldType<Date, string>;
143
+ type: _lssm_lib_schema720.FieldType<Date, string>;
144
144
  isOptional: false;
145
145
  };
146
146
  }>>;
147
147
  /**
148
148
  * Emitted when a member joins an organization.
149
149
  */
150
- declare const OrgMemberAddedEvent: _lssm_lib_contracts0.EventSpec<SchemaModel<{
150
+ declare const OrgMemberAddedEvent: _lssm_lib_contracts20.EventSpec<SchemaModel<{
151
151
  orgId: {
152
- type: _lssm_lib_schema0.FieldType<string, string>;
152
+ type: _lssm_lib_schema720.FieldType<string, string>;
153
153
  isOptional: false;
154
154
  };
155
155
  userId: {
156
- type: _lssm_lib_schema0.FieldType<string, string>;
156
+ type: _lssm_lib_schema720.FieldType<string, string>;
157
157
  isOptional: false;
158
158
  };
159
159
  role: {
160
- type: _lssm_lib_schema0.FieldType<string, string>;
160
+ type: _lssm_lib_schema720.FieldType<string, string>;
161
161
  isOptional: false;
162
162
  };
163
163
  invitedBy: {
164
- type: _lssm_lib_schema0.FieldType<string, string>;
164
+ type: _lssm_lib_schema720.FieldType<string, string>;
165
165
  isOptional: true;
166
166
  };
167
167
  joinedAt: {
168
- type: _lssm_lib_schema0.FieldType<Date, string>;
168
+ type: _lssm_lib_schema720.FieldType<Date, string>;
169
169
  isOptional: false;
170
170
  };
171
171
  }>>;
172
172
  /**
173
173
  * Emitted when a member leaves or is removed from an organization.
174
174
  */
175
- declare const OrgMemberRemovedEvent: _lssm_lib_contracts0.EventSpec<SchemaModel<{
175
+ declare const OrgMemberRemovedEvent: _lssm_lib_contracts20.EventSpec<SchemaModel<{
176
176
  orgId: {
177
- type: _lssm_lib_schema0.FieldType<string, string>;
177
+ type: _lssm_lib_schema720.FieldType<string, string>;
178
178
  isOptional: false;
179
179
  };
180
180
  userId: {
181
- type: _lssm_lib_schema0.FieldType<string, string>;
181
+ type: _lssm_lib_schema720.FieldType<string, string>;
182
182
  isOptional: false;
183
183
  };
184
184
  removedBy: {
185
- type: _lssm_lib_schema0.FieldType<string, string>;
185
+ type: _lssm_lib_schema720.FieldType<string, string>;
186
186
  isOptional: true;
187
187
  };
188
188
  reason: {
189
- type: _lssm_lib_schema0.FieldType<string, string>;
189
+ type: _lssm_lib_schema720.FieldType<string, string>;
190
190
  isOptional: true;
191
191
  };
192
192
  removedAt: {
193
- type: _lssm_lib_schema0.FieldType<Date, string>;
193
+ type: _lssm_lib_schema720.FieldType<Date, string>;
194
194
  isOptional: false;
195
195
  };
196
196
  }>>;
197
197
  /**
198
198
  * Emitted when a member's role is changed.
199
199
  */
200
- declare const OrgMemberRoleChangedEvent: _lssm_lib_contracts0.EventSpec<SchemaModel<{
200
+ declare const OrgMemberRoleChangedEvent: _lssm_lib_contracts20.EventSpec<SchemaModel<{
201
201
  orgId: {
202
- type: _lssm_lib_schema0.FieldType<string, string>;
202
+ type: _lssm_lib_schema720.FieldType<string, string>;
203
203
  isOptional: false;
204
204
  };
205
205
  userId: {
206
- type: _lssm_lib_schema0.FieldType<string, string>;
206
+ type: _lssm_lib_schema720.FieldType<string, string>;
207
207
  isOptional: false;
208
208
  };
209
209
  previousRole: {
210
- type: _lssm_lib_schema0.FieldType<string, string>;
210
+ type: _lssm_lib_schema720.FieldType<string, string>;
211
211
  isOptional: false;
212
212
  };
213
213
  newRole: {
214
- type: _lssm_lib_schema0.FieldType<string, string>;
214
+ type: _lssm_lib_schema720.FieldType<string, string>;
215
215
  isOptional: false;
216
216
  };
217
217
  changedBy: {
218
- type: _lssm_lib_schema0.FieldType<string, string>;
218
+ type: _lssm_lib_schema720.FieldType<string, string>;
219
219
  isOptional: false;
220
220
  };
221
221
  changedAt: {
222
- type: _lssm_lib_schema0.FieldType<Date, string>;
222
+ type: _lssm_lib_schema720.FieldType<Date, string>;
223
223
  isOptional: false;
224
224
  };
225
225
  }>>;
226
226
  /**
227
227
  * Emitted when an invitation is sent.
228
228
  */
229
- declare const OrgInviteSentEvent: _lssm_lib_contracts0.EventSpec<SchemaModel<{
229
+ declare const OrgInviteSentEvent: _lssm_lib_contracts20.EventSpec<SchemaModel<{
230
230
  invitationId: {
231
- type: _lssm_lib_schema0.FieldType<string, string>;
231
+ type: _lssm_lib_schema720.FieldType<string, string>;
232
232
  isOptional: false;
233
233
  };
234
234
  orgId: {
235
- type: _lssm_lib_schema0.FieldType<string, string>;
235
+ type: _lssm_lib_schema720.FieldType<string, string>;
236
236
  isOptional: false;
237
237
  };
238
238
  email: {
239
- type: _lssm_lib_schema0.FieldType<string, string>;
239
+ type: _lssm_lib_schema720.FieldType<string, string>;
240
240
  isOptional: false;
241
241
  };
242
242
  role: {
243
- type: _lssm_lib_schema0.FieldType<string, string>;
243
+ type: _lssm_lib_schema720.FieldType<string, string>;
244
244
  isOptional: false;
245
245
  };
246
246
  invitedBy: {
247
- type: _lssm_lib_schema0.FieldType<string, string>;
247
+ type: _lssm_lib_schema720.FieldType<string, string>;
248
248
  isOptional: false;
249
249
  };
250
250
  expiresAt: {
251
- type: _lssm_lib_schema0.FieldType<Date, string>;
251
+ type: _lssm_lib_schema720.FieldType<Date, string>;
252
252
  isOptional: true;
253
253
  };
254
254
  sentAt: {
255
- type: _lssm_lib_schema0.FieldType<Date, string>;
255
+ type: _lssm_lib_schema720.FieldType<Date, string>;
256
256
  isOptional: false;
257
257
  };
258
258
  }>>;
259
259
  /**
260
260
  * Emitted when an invitation is accepted.
261
261
  */
262
- declare const OrgInviteAcceptedEvent: _lssm_lib_contracts0.EventSpec<SchemaModel<{
262
+ declare const OrgInviteAcceptedEvent: _lssm_lib_contracts20.EventSpec<SchemaModel<{
263
263
  invitationId: {
264
- type: _lssm_lib_schema0.FieldType<string, string>;
264
+ type: _lssm_lib_schema720.FieldType<string, string>;
265
265
  isOptional: false;
266
266
  };
267
267
  orgId: {
268
- type: _lssm_lib_schema0.FieldType<string, string>;
268
+ type: _lssm_lib_schema720.FieldType<string, string>;
269
269
  isOptional: false;
270
270
  };
271
271
  userId: {
272
- type: _lssm_lib_schema0.FieldType<string, string>;
272
+ type: _lssm_lib_schema720.FieldType<string, string>;
273
273
  isOptional: false;
274
274
  };
275
275
  acceptedAt: {
276
- type: _lssm_lib_schema0.FieldType<Date, string>;
276
+ type: _lssm_lib_schema720.FieldType<Date, string>;
277
277
  isOptional: false;
278
278
  };
279
279
  }>>;
280
280
  /**
281
281
  * Emitted when an invitation is declined.
282
282
  */
283
- declare const OrgInviteDeclinedEvent: _lssm_lib_contracts0.EventSpec<SchemaModel<{
283
+ declare const OrgInviteDeclinedEvent: _lssm_lib_contracts20.EventSpec<SchemaModel<{
284
284
  invitationId: {
285
- type: _lssm_lib_schema0.FieldType<string, string>;
285
+ type: _lssm_lib_schema720.FieldType<string, string>;
286
286
  isOptional: false;
287
287
  };
288
288
  orgId: {
289
- type: _lssm_lib_schema0.FieldType<string, string>;
289
+ type: _lssm_lib_schema720.FieldType<string, string>;
290
290
  isOptional: false;
291
291
  };
292
292
  declinedAt: {
293
- type: _lssm_lib_schema0.FieldType<Date, string>;
293
+ type: _lssm_lib_schema720.FieldType<Date, string>;
294
294
  isOptional: false;
295
295
  };
296
296
  }>>;
297
297
  /**
298
298
  * Emitted when a role is assigned to a user or organization.
299
299
  */
300
- declare const RoleAssignedEvent: _lssm_lib_contracts0.EventSpec<SchemaModel<{
300
+ declare const RoleAssignedEvent: _lssm_lib_contracts20.EventSpec<SchemaModel<{
301
301
  bindingId: {
302
- type: _lssm_lib_schema0.FieldType<string, string>;
302
+ type: _lssm_lib_schema720.FieldType<string, string>;
303
303
  isOptional: false;
304
304
  };
305
305
  roleId: {
306
- type: _lssm_lib_schema0.FieldType<string, string>;
306
+ type: _lssm_lib_schema720.FieldType<string, string>;
307
307
  isOptional: false;
308
308
  };
309
309
  roleName: {
310
- type: _lssm_lib_schema0.FieldType<string, string>;
310
+ type: _lssm_lib_schema720.FieldType<string, string>;
311
311
  isOptional: false;
312
312
  };
313
313
  targetType: {
314
- type: _lssm_lib_schema0.FieldType<string, string>;
314
+ type: _lssm_lib_schema720.FieldType<string, string>;
315
315
  isOptional: false;
316
316
  };
317
317
  targetId: {
318
- type: _lssm_lib_schema0.FieldType<string, string>;
318
+ type: _lssm_lib_schema720.FieldType<string, string>;
319
319
  isOptional: false;
320
320
  };
321
321
  assignedBy: {
322
- type: _lssm_lib_schema0.FieldType<string, string>;
322
+ type: _lssm_lib_schema720.FieldType<string, string>;
323
323
  isOptional: false;
324
324
  };
325
325
  expiresAt: {
326
- type: _lssm_lib_schema0.FieldType<Date, string>;
326
+ type: _lssm_lib_schema720.FieldType<Date, string>;
327
327
  isOptional: true;
328
328
  };
329
329
  assignedAt: {
330
- type: _lssm_lib_schema0.FieldType<Date, string>;
330
+ type: _lssm_lib_schema720.FieldType<Date, string>;
331
331
  isOptional: false;
332
332
  };
333
333
  }>>;
334
334
  /**
335
335
  * Emitted when a role is revoked from a user or organization.
336
336
  */
337
- declare const RoleRevokedEvent: _lssm_lib_contracts0.EventSpec<SchemaModel<{
337
+ declare const RoleRevokedEvent: _lssm_lib_contracts20.EventSpec<SchemaModel<{
338
338
  bindingId: {
339
- type: _lssm_lib_schema0.FieldType<string, string>;
339
+ type: _lssm_lib_schema720.FieldType<string, string>;
340
340
  isOptional: false;
341
341
  };
342
342
  roleId: {
343
- type: _lssm_lib_schema0.FieldType<string, string>;
343
+ type: _lssm_lib_schema720.FieldType<string, string>;
344
344
  isOptional: false;
345
345
  };
346
346
  roleName: {
347
- type: _lssm_lib_schema0.FieldType<string, string>;
347
+ type: _lssm_lib_schema720.FieldType<string, string>;
348
348
  isOptional: false;
349
349
  };
350
350
  targetType: {
351
- type: _lssm_lib_schema0.FieldType<string, string>;
351
+ type: _lssm_lib_schema720.FieldType<string, string>;
352
352
  isOptional: false;
353
353
  };
354
354
  targetId: {
355
- type: _lssm_lib_schema0.FieldType<string, string>;
355
+ type: _lssm_lib_schema720.FieldType<string, string>;
356
356
  isOptional: false;
357
357
  };
358
358
  revokedBy: {
359
- type: _lssm_lib_schema0.FieldType<string, string>;
359
+ type: _lssm_lib_schema720.FieldType<string, string>;
360
360
  isOptional: false;
361
361
  };
362
362
  revokedAt: {
363
- type: _lssm_lib_schema0.FieldType<Date, string>;
363
+ type: _lssm_lib_schema720.FieldType<Date, string>;
364
364
  isOptional: false;
365
365
  };
366
366
  }>>;
@@ -368,319 +368,319 @@ declare const RoleRevokedEvent: _lssm_lib_contracts0.EventSpec<SchemaModel<{
368
368
  * All identity-rbac events.
369
369
  */
370
370
  declare const IdentityRbacEvents: {
371
- UserCreatedEvent: _lssm_lib_contracts0.EventSpec<SchemaModel<{
371
+ UserCreatedEvent: _lssm_lib_contracts20.EventSpec<SchemaModel<{
372
372
  userId: {
373
- type: _lssm_lib_schema0.FieldType<string, string>;
373
+ type: _lssm_lib_schema720.FieldType<string, string>;
374
374
  isOptional: false;
375
375
  };
376
376
  email: {
377
- type: _lssm_lib_schema0.FieldType<string, string>;
377
+ type: _lssm_lib_schema720.FieldType<string, string>;
378
378
  isOptional: false;
379
379
  };
380
380
  name: {
381
- type: _lssm_lib_schema0.FieldType<string, string>;
381
+ type: _lssm_lib_schema720.FieldType<string, string>;
382
382
  isOptional: true;
383
383
  };
384
384
  createdAt: {
385
- type: _lssm_lib_schema0.FieldType<Date, string>;
385
+ type: _lssm_lib_schema720.FieldType<Date, string>;
386
386
  isOptional: false;
387
387
  };
388
388
  }>>;
389
- UserUpdatedEvent: _lssm_lib_contracts0.EventSpec<SchemaModel<{
389
+ UserUpdatedEvent: _lssm_lib_contracts20.EventSpec<SchemaModel<{
390
390
  userId: {
391
- type: _lssm_lib_schema0.FieldType<string, string>;
391
+ type: _lssm_lib_schema720.FieldType<string, string>;
392
392
  isOptional: false;
393
393
  };
394
394
  updatedFields: {
395
- type: _lssm_lib_schema0.FieldType<string, string>;
395
+ type: _lssm_lib_schema720.FieldType<string, string>;
396
396
  isOptional: false;
397
397
  isArray: true;
398
398
  };
399
399
  updatedAt: {
400
- type: _lssm_lib_schema0.FieldType<Date, string>;
400
+ type: _lssm_lib_schema720.FieldType<Date, string>;
401
401
  isOptional: false;
402
402
  };
403
403
  }>>;
404
- UserDeletedEvent: _lssm_lib_contracts0.EventSpec<SchemaModel<{
404
+ UserDeletedEvent: _lssm_lib_contracts20.EventSpec<SchemaModel<{
405
405
  userId: {
406
- type: _lssm_lib_schema0.FieldType<string, string>;
406
+ type: _lssm_lib_schema720.FieldType<string, string>;
407
407
  isOptional: false;
408
408
  };
409
409
  email: {
410
- type: _lssm_lib_schema0.FieldType<string, string>;
410
+ type: _lssm_lib_schema720.FieldType<string, string>;
411
411
  isOptional: false;
412
412
  };
413
413
  deletedAt: {
414
- type: _lssm_lib_schema0.FieldType<Date, string>;
414
+ type: _lssm_lib_schema720.FieldType<Date, string>;
415
415
  isOptional: false;
416
416
  };
417
417
  }>>;
418
- UserEmailVerifiedEvent: _lssm_lib_contracts0.EventSpec<SchemaModel<{
418
+ UserEmailVerifiedEvent: _lssm_lib_contracts20.EventSpec<SchemaModel<{
419
419
  userId: {
420
- type: _lssm_lib_schema0.FieldType<string, string>;
420
+ type: _lssm_lib_schema720.FieldType<string, string>;
421
421
  isOptional: false;
422
422
  };
423
423
  email: {
424
- type: _lssm_lib_schema0.FieldType<string, string>;
424
+ type: _lssm_lib_schema720.FieldType<string, string>;
425
425
  isOptional: false;
426
426
  };
427
427
  verifiedAt: {
428
- type: _lssm_lib_schema0.FieldType<Date, string>;
428
+ type: _lssm_lib_schema720.FieldType<Date, string>;
429
429
  isOptional: false;
430
430
  };
431
431
  }>>;
432
- OrgCreatedEvent: _lssm_lib_contracts0.EventSpec<SchemaModel<{
432
+ OrgCreatedEvent: _lssm_lib_contracts20.EventSpec<SchemaModel<{
433
433
  orgId: {
434
- type: _lssm_lib_schema0.FieldType<string, string>;
434
+ type: _lssm_lib_schema720.FieldType<string, string>;
435
435
  isOptional: false;
436
436
  };
437
437
  name: {
438
- type: _lssm_lib_schema0.FieldType<string, string>;
438
+ type: _lssm_lib_schema720.FieldType<string, string>;
439
439
  isOptional: false;
440
440
  };
441
441
  slug: {
442
- type: _lssm_lib_schema0.FieldType<string, string>;
442
+ type: _lssm_lib_schema720.FieldType<string, string>;
443
443
  isOptional: true;
444
444
  };
445
445
  createdBy: {
446
- type: _lssm_lib_schema0.FieldType<string, string>;
446
+ type: _lssm_lib_schema720.FieldType<string, string>;
447
447
  isOptional: false;
448
448
  };
449
449
  createdAt: {
450
- type: _lssm_lib_schema0.FieldType<Date, string>;
450
+ type: _lssm_lib_schema720.FieldType<Date, string>;
451
451
  isOptional: false;
452
452
  };
453
453
  }>>;
454
- OrgUpdatedEvent: _lssm_lib_contracts0.EventSpec<SchemaModel<{
454
+ OrgUpdatedEvent: _lssm_lib_contracts20.EventSpec<SchemaModel<{
455
455
  orgId: {
456
- type: _lssm_lib_schema0.FieldType<string, string>;
456
+ type: _lssm_lib_schema720.FieldType<string, string>;
457
457
  isOptional: false;
458
458
  };
459
459
  updatedFields: {
460
- type: _lssm_lib_schema0.FieldType<string, string>;
460
+ type: _lssm_lib_schema720.FieldType<string, string>;
461
461
  isOptional: false;
462
462
  isArray: true;
463
463
  };
464
464
  updatedBy: {
465
- type: _lssm_lib_schema0.FieldType<string, string>;
465
+ type: _lssm_lib_schema720.FieldType<string, string>;
466
466
  isOptional: false;
467
467
  };
468
468
  updatedAt: {
469
- type: _lssm_lib_schema0.FieldType<Date, string>;
469
+ type: _lssm_lib_schema720.FieldType<Date, string>;
470
470
  isOptional: false;
471
471
  };
472
472
  }>>;
473
- OrgDeletedEvent: _lssm_lib_contracts0.EventSpec<SchemaModel<{
473
+ OrgDeletedEvent: _lssm_lib_contracts20.EventSpec<SchemaModel<{
474
474
  orgId: {
475
- type: _lssm_lib_schema0.FieldType<string, string>;
475
+ type: _lssm_lib_schema720.FieldType<string, string>;
476
476
  isOptional: false;
477
477
  };
478
478
  name: {
479
- type: _lssm_lib_schema0.FieldType<string, string>;
479
+ type: _lssm_lib_schema720.FieldType<string, string>;
480
480
  isOptional: false;
481
481
  };
482
482
  deletedBy: {
483
- type: _lssm_lib_schema0.FieldType<string, string>;
483
+ type: _lssm_lib_schema720.FieldType<string, string>;
484
484
  isOptional: false;
485
485
  };
486
486
  deletedAt: {
487
- type: _lssm_lib_schema0.FieldType<Date, string>;
487
+ type: _lssm_lib_schema720.FieldType<Date, string>;
488
488
  isOptional: false;
489
489
  };
490
490
  }>>;
491
- OrgMemberAddedEvent: _lssm_lib_contracts0.EventSpec<SchemaModel<{
491
+ OrgMemberAddedEvent: _lssm_lib_contracts20.EventSpec<SchemaModel<{
492
492
  orgId: {
493
- type: _lssm_lib_schema0.FieldType<string, string>;
493
+ type: _lssm_lib_schema720.FieldType<string, string>;
494
494
  isOptional: false;
495
495
  };
496
496
  userId: {
497
- type: _lssm_lib_schema0.FieldType<string, string>;
497
+ type: _lssm_lib_schema720.FieldType<string, string>;
498
498
  isOptional: false;
499
499
  };
500
500
  role: {
501
- type: _lssm_lib_schema0.FieldType<string, string>;
501
+ type: _lssm_lib_schema720.FieldType<string, string>;
502
502
  isOptional: false;
503
503
  };
504
504
  invitedBy: {
505
- type: _lssm_lib_schema0.FieldType<string, string>;
505
+ type: _lssm_lib_schema720.FieldType<string, string>;
506
506
  isOptional: true;
507
507
  };
508
508
  joinedAt: {
509
- type: _lssm_lib_schema0.FieldType<Date, string>;
509
+ type: _lssm_lib_schema720.FieldType<Date, string>;
510
510
  isOptional: false;
511
511
  };
512
512
  }>>;
513
- OrgMemberRemovedEvent: _lssm_lib_contracts0.EventSpec<SchemaModel<{
513
+ OrgMemberRemovedEvent: _lssm_lib_contracts20.EventSpec<SchemaModel<{
514
514
  orgId: {
515
- type: _lssm_lib_schema0.FieldType<string, string>;
515
+ type: _lssm_lib_schema720.FieldType<string, string>;
516
516
  isOptional: false;
517
517
  };
518
518
  userId: {
519
- type: _lssm_lib_schema0.FieldType<string, string>;
519
+ type: _lssm_lib_schema720.FieldType<string, string>;
520
520
  isOptional: false;
521
521
  };
522
522
  removedBy: {
523
- type: _lssm_lib_schema0.FieldType<string, string>;
523
+ type: _lssm_lib_schema720.FieldType<string, string>;
524
524
  isOptional: true;
525
525
  };
526
526
  reason: {
527
- type: _lssm_lib_schema0.FieldType<string, string>;
527
+ type: _lssm_lib_schema720.FieldType<string, string>;
528
528
  isOptional: true;
529
529
  };
530
530
  removedAt: {
531
- type: _lssm_lib_schema0.FieldType<Date, string>;
531
+ type: _lssm_lib_schema720.FieldType<Date, string>;
532
532
  isOptional: false;
533
533
  };
534
534
  }>>;
535
- OrgMemberRoleChangedEvent: _lssm_lib_contracts0.EventSpec<SchemaModel<{
535
+ OrgMemberRoleChangedEvent: _lssm_lib_contracts20.EventSpec<SchemaModel<{
536
536
  orgId: {
537
- type: _lssm_lib_schema0.FieldType<string, string>;
537
+ type: _lssm_lib_schema720.FieldType<string, string>;
538
538
  isOptional: false;
539
539
  };
540
540
  userId: {
541
- type: _lssm_lib_schema0.FieldType<string, string>;
541
+ type: _lssm_lib_schema720.FieldType<string, string>;
542
542
  isOptional: false;
543
543
  };
544
544
  previousRole: {
545
- type: _lssm_lib_schema0.FieldType<string, string>;
545
+ type: _lssm_lib_schema720.FieldType<string, string>;
546
546
  isOptional: false;
547
547
  };
548
548
  newRole: {
549
- type: _lssm_lib_schema0.FieldType<string, string>;
549
+ type: _lssm_lib_schema720.FieldType<string, string>;
550
550
  isOptional: false;
551
551
  };
552
552
  changedBy: {
553
- type: _lssm_lib_schema0.FieldType<string, string>;
553
+ type: _lssm_lib_schema720.FieldType<string, string>;
554
554
  isOptional: false;
555
555
  };
556
556
  changedAt: {
557
- type: _lssm_lib_schema0.FieldType<Date, string>;
557
+ type: _lssm_lib_schema720.FieldType<Date, string>;
558
558
  isOptional: false;
559
559
  };
560
560
  }>>;
561
- OrgInviteSentEvent: _lssm_lib_contracts0.EventSpec<SchemaModel<{
561
+ OrgInviteSentEvent: _lssm_lib_contracts20.EventSpec<SchemaModel<{
562
562
  invitationId: {
563
- type: _lssm_lib_schema0.FieldType<string, string>;
563
+ type: _lssm_lib_schema720.FieldType<string, string>;
564
564
  isOptional: false;
565
565
  };
566
566
  orgId: {
567
- type: _lssm_lib_schema0.FieldType<string, string>;
567
+ type: _lssm_lib_schema720.FieldType<string, string>;
568
568
  isOptional: false;
569
569
  };
570
570
  email: {
571
- type: _lssm_lib_schema0.FieldType<string, string>;
571
+ type: _lssm_lib_schema720.FieldType<string, string>;
572
572
  isOptional: false;
573
573
  };
574
574
  role: {
575
- type: _lssm_lib_schema0.FieldType<string, string>;
575
+ type: _lssm_lib_schema720.FieldType<string, string>;
576
576
  isOptional: false;
577
577
  };
578
578
  invitedBy: {
579
- type: _lssm_lib_schema0.FieldType<string, string>;
579
+ type: _lssm_lib_schema720.FieldType<string, string>;
580
580
  isOptional: false;
581
581
  };
582
582
  expiresAt: {
583
- type: _lssm_lib_schema0.FieldType<Date, string>;
583
+ type: _lssm_lib_schema720.FieldType<Date, string>;
584
584
  isOptional: true;
585
585
  };
586
586
  sentAt: {
587
- type: _lssm_lib_schema0.FieldType<Date, string>;
587
+ type: _lssm_lib_schema720.FieldType<Date, string>;
588
588
  isOptional: false;
589
589
  };
590
590
  }>>;
591
- OrgInviteAcceptedEvent: _lssm_lib_contracts0.EventSpec<SchemaModel<{
591
+ OrgInviteAcceptedEvent: _lssm_lib_contracts20.EventSpec<SchemaModel<{
592
592
  invitationId: {
593
- type: _lssm_lib_schema0.FieldType<string, string>;
593
+ type: _lssm_lib_schema720.FieldType<string, string>;
594
594
  isOptional: false;
595
595
  };
596
596
  orgId: {
597
- type: _lssm_lib_schema0.FieldType<string, string>;
597
+ type: _lssm_lib_schema720.FieldType<string, string>;
598
598
  isOptional: false;
599
599
  };
600
600
  userId: {
601
- type: _lssm_lib_schema0.FieldType<string, string>;
601
+ type: _lssm_lib_schema720.FieldType<string, string>;
602
602
  isOptional: false;
603
603
  };
604
604
  acceptedAt: {
605
- type: _lssm_lib_schema0.FieldType<Date, string>;
605
+ type: _lssm_lib_schema720.FieldType<Date, string>;
606
606
  isOptional: false;
607
607
  };
608
608
  }>>;
609
- OrgInviteDeclinedEvent: _lssm_lib_contracts0.EventSpec<SchemaModel<{
609
+ OrgInviteDeclinedEvent: _lssm_lib_contracts20.EventSpec<SchemaModel<{
610
610
  invitationId: {
611
- type: _lssm_lib_schema0.FieldType<string, string>;
611
+ type: _lssm_lib_schema720.FieldType<string, string>;
612
612
  isOptional: false;
613
613
  };
614
614
  orgId: {
615
- type: _lssm_lib_schema0.FieldType<string, string>;
615
+ type: _lssm_lib_schema720.FieldType<string, string>;
616
616
  isOptional: false;
617
617
  };
618
618
  declinedAt: {
619
- type: _lssm_lib_schema0.FieldType<Date, string>;
619
+ type: _lssm_lib_schema720.FieldType<Date, string>;
620
620
  isOptional: false;
621
621
  };
622
622
  }>>;
623
- RoleAssignedEvent: _lssm_lib_contracts0.EventSpec<SchemaModel<{
623
+ RoleAssignedEvent: _lssm_lib_contracts20.EventSpec<SchemaModel<{
624
624
  bindingId: {
625
- type: _lssm_lib_schema0.FieldType<string, string>;
625
+ type: _lssm_lib_schema720.FieldType<string, string>;
626
626
  isOptional: false;
627
627
  };
628
628
  roleId: {
629
- type: _lssm_lib_schema0.FieldType<string, string>;
629
+ type: _lssm_lib_schema720.FieldType<string, string>;
630
630
  isOptional: false;
631
631
  };
632
632
  roleName: {
633
- type: _lssm_lib_schema0.FieldType<string, string>;
633
+ type: _lssm_lib_schema720.FieldType<string, string>;
634
634
  isOptional: false;
635
635
  };
636
636
  targetType: {
637
- type: _lssm_lib_schema0.FieldType<string, string>;
637
+ type: _lssm_lib_schema720.FieldType<string, string>;
638
638
  isOptional: false;
639
639
  };
640
640
  targetId: {
641
- type: _lssm_lib_schema0.FieldType<string, string>;
641
+ type: _lssm_lib_schema720.FieldType<string, string>;
642
642
  isOptional: false;
643
643
  };
644
644
  assignedBy: {
645
- type: _lssm_lib_schema0.FieldType<string, string>;
645
+ type: _lssm_lib_schema720.FieldType<string, string>;
646
646
  isOptional: false;
647
647
  };
648
648
  expiresAt: {
649
- type: _lssm_lib_schema0.FieldType<Date, string>;
649
+ type: _lssm_lib_schema720.FieldType<Date, string>;
650
650
  isOptional: true;
651
651
  };
652
652
  assignedAt: {
653
- type: _lssm_lib_schema0.FieldType<Date, string>;
653
+ type: _lssm_lib_schema720.FieldType<Date, string>;
654
654
  isOptional: false;
655
655
  };
656
656
  }>>;
657
- RoleRevokedEvent: _lssm_lib_contracts0.EventSpec<SchemaModel<{
657
+ RoleRevokedEvent: _lssm_lib_contracts20.EventSpec<SchemaModel<{
658
658
  bindingId: {
659
- type: _lssm_lib_schema0.FieldType<string, string>;
659
+ type: _lssm_lib_schema720.FieldType<string, string>;
660
660
  isOptional: false;
661
661
  };
662
662
  roleId: {
663
- type: _lssm_lib_schema0.FieldType<string, string>;
663
+ type: _lssm_lib_schema720.FieldType<string, string>;
664
664
  isOptional: false;
665
665
  };
666
666
  roleName: {
667
- type: _lssm_lib_schema0.FieldType<string, string>;
667
+ type: _lssm_lib_schema720.FieldType<string, string>;
668
668
  isOptional: false;
669
669
  };
670
670
  targetType: {
671
- type: _lssm_lib_schema0.FieldType<string, string>;
671
+ type: _lssm_lib_schema720.FieldType<string, string>;
672
672
  isOptional: false;
673
673
  };
674
674
  targetId: {
675
- type: _lssm_lib_schema0.FieldType<string, string>;
675
+ type: _lssm_lib_schema720.FieldType<string, string>;
676
676
  isOptional: false;
677
677
  };
678
678
  revokedBy: {
679
- type: _lssm_lib_schema0.FieldType<string, string>;
679
+ type: _lssm_lib_schema720.FieldType<string, string>;
680
680
  isOptional: false;
681
681
  };
682
682
  revokedAt: {
683
- type: _lssm_lib_schema0.FieldType<Date, string>;
683
+ type: _lssm_lib_schema720.FieldType<Date, string>;
684
684
  isOptional: false;
685
685
  };
686
686
  }>>;