@lssm/lib.identity-rbac 0.0.0-canary-20251206181705 → 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.
@@ -1,89 +1,89 @@
1
- import * as _lssm_lib_schema300 from "@lssm/lib.schema";
1
+ import * as _lssm_lib_schema249 from "@lssm/lib.schema";
2
2
  import { SchemaModel } from "@lssm/lib.schema";
3
- import * as _lssm_lib_contracts29 from "@lssm/lib.contracts";
3
+ import * as _lssm_lib_contracts12 from "@lssm/lib.contracts";
4
4
 
5
5
  //#region src/contracts/organization.d.ts
6
6
  declare const OrganizationModel: SchemaModel<{
7
7
  id: {
8
- type: _lssm_lib_schema300.FieldType<string, string>;
8
+ type: _lssm_lib_schema249.FieldType<string, string>;
9
9
  isOptional: false;
10
10
  };
11
11
  name: {
12
- type: _lssm_lib_schema300.FieldType<string, string>;
12
+ type: _lssm_lib_schema249.FieldType<string, string>;
13
13
  isOptional: false;
14
14
  };
15
15
  slug: {
16
- type: _lssm_lib_schema300.FieldType<string, string>;
16
+ type: _lssm_lib_schema249.FieldType<string, string>;
17
17
  isOptional: true;
18
18
  };
19
19
  logo: {
20
- type: _lssm_lib_schema300.FieldType<string, string>;
20
+ type: _lssm_lib_schema249.FieldType<string, string>;
21
21
  isOptional: true;
22
22
  };
23
23
  description: {
24
- type: _lssm_lib_schema300.FieldType<string, string>;
24
+ type: _lssm_lib_schema249.FieldType<string, string>;
25
25
  isOptional: true;
26
26
  };
27
27
  type: {
28
- type: _lssm_lib_schema300.FieldType<string, string>;
28
+ type: _lssm_lib_schema249.FieldType<string, string>;
29
29
  isOptional: false;
30
30
  };
31
31
  onboardingCompleted: {
32
- type: _lssm_lib_schema300.FieldType<boolean, boolean>;
32
+ type: _lssm_lib_schema249.FieldType<boolean, boolean>;
33
33
  isOptional: false;
34
34
  };
35
35
  createdAt: {
36
- type: _lssm_lib_schema300.FieldType<Date, string>;
36
+ type: _lssm_lib_schema249.FieldType<Date, string>;
37
37
  isOptional: false;
38
38
  };
39
39
  }>;
40
40
  declare const MemberUserModel: SchemaModel<{
41
41
  id: {
42
- type: _lssm_lib_schema300.FieldType<string, string>;
42
+ type: _lssm_lib_schema249.FieldType<string, string>;
43
43
  isOptional: false;
44
44
  };
45
45
  email: {
46
- type: _lssm_lib_schema300.FieldType<string, string>;
46
+ type: _lssm_lib_schema249.FieldType<string, string>;
47
47
  isOptional: false;
48
48
  };
49
49
  name: {
50
- type: _lssm_lib_schema300.FieldType<string, string>;
50
+ type: _lssm_lib_schema249.FieldType<string, string>;
51
51
  isOptional: true;
52
52
  };
53
53
  }>;
54
54
  declare const MemberModel: SchemaModel<{
55
55
  id: {
56
- type: _lssm_lib_schema300.FieldType<string, string>;
56
+ type: _lssm_lib_schema249.FieldType<string, string>;
57
57
  isOptional: false;
58
58
  };
59
59
  userId: {
60
- type: _lssm_lib_schema300.FieldType<string, string>;
60
+ type: _lssm_lib_schema249.FieldType<string, string>;
61
61
  isOptional: false;
62
62
  };
63
63
  organizationId: {
64
- type: _lssm_lib_schema300.FieldType<string, string>;
64
+ type: _lssm_lib_schema249.FieldType<string, string>;
65
65
  isOptional: false;
66
66
  };
67
67
  role: {
68
- type: _lssm_lib_schema300.FieldType<string, string>;
68
+ type: _lssm_lib_schema249.FieldType<string, string>;
69
69
  isOptional: false;
70
70
  };
71
71
  createdAt: {
72
- type: _lssm_lib_schema300.FieldType<Date, string>;
72
+ type: _lssm_lib_schema249.FieldType<Date, string>;
73
73
  isOptional: false;
74
74
  };
75
75
  user: {
76
76
  type: SchemaModel<{
77
77
  id: {
78
- type: _lssm_lib_schema300.FieldType<string, string>;
78
+ type: _lssm_lib_schema249.FieldType<string, string>;
79
79
  isOptional: false;
80
80
  };
81
81
  email: {
82
- type: _lssm_lib_schema300.FieldType<string, string>;
82
+ type: _lssm_lib_schema249.FieldType<string, string>;
83
83
  isOptional: false;
84
84
  };
85
85
  name: {
86
- type: _lssm_lib_schema300.FieldType<string, string>;
86
+ type: _lssm_lib_schema249.FieldType<string, string>;
87
87
  isOptional: true;
88
88
  };
89
89
  }>;
@@ -92,131 +92,131 @@ declare const MemberModel: SchemaModel<{
92
92
  }>;
93
93
  declare const InvitationModel: SchemaModel<{
94
94
  id: {
95
- type: _lssm_lib_schema300.FieldType<string, string>;
95
+ type: _lssm_lib_schema249.FieldType<string, string>;
96
96
  isOptional: false;
97
97
  };
98
98
  email: {
99
- type: _lssm_lib_schema300.FieldType<string, string>;
99
+ type: _lssm_lib_schema249.FieldType<string, string>;
100
100
  isOptional: false;
101
101
  };
102
102
  role: {
103
- type: _lssm_lib_schema300.FieldType<string, string>;
103
+ type: _lssm_lib_schema249.FieldType<string, string>;
104
104
  isOptional: true;
105
105
  };
106
106
  status: {
107
- type: _lssm_lib_schema300.FieldType<string, string>;
107
+ type: _lssm_lib_schema249.FieldType<string, string>;
108
108
  isOptional: false;
109
109
  };
110
110
  expiresAt: {
111
- type: _lssm_lib_schema300.FieldType<Date, string>;
111
+ type: _lssm_lib_schema249.FieldType<Date, string>;
112
112
  isOptional: true;
113
113
  };
114
114
  createdAt: {
115
- type: _lssm_lib_schema300.FieldType<Date, string>;
115
+ type: _lssm_lib_schema249.FieldType<Date, string>;
116
116
  isOptional: false;
117
117
  };
118
118
  }>;
119
119
  declare const CreateOrgInputModel: SchemaModel<{
120
120
  name: {
121
- type: _lssm_lib_schema300.FieldType<string, string>;
121
+ type: _lssm_lib_schema249.FieldType<string, string>;
122
122
  isOptional: false;
123
123
  };
124
124
  slug: {
125
- type: _lssm_lib_schema300.FieldType<string, string>;
125
+ type: _lssm_lib_schema249.FieldType<string, string>;
126
126
  isOptional: true;
127
127
  };
128
128
  description: {
129
- type: _lssm_lib_schema300.FieldType<string, string>;
129
+ type: _lssm_lib_schema249.FieldType<string, string>;
130
130
  isOptional: true;
131
131
  };
132
132
  type: {
133
- type: _lssm_lib_schema300.FieldType<string, string>;
133
+ type: _lssm_lib_schema249.FieldType<string, string>;
134
134
  isOptional: true;
135
135
  };
136
136
  }>;
137
137
  declare const GetOrgInputModel: SchemaModel<{
138
138
  orgId: {
139
- type: _lssm_lib_schema300.FieldType<string, string>;
139
+ type: _lssm_lib_schema249.FieldType<string, string>;
140
140
  isOptional: false;
141
141
  };
142
142
  }>;
143
143
  declare const UpdateOrgInputModel: SchemaModel<{
144
144
  orgId: {
145
- type: _lssm_lib_schema300.FieldType<string, string>;
145
+ type: _lssm_lib_schema249.FieldType<string, string>;
146
146
  isOptional: false;
147
147
  };
148
148
  name: {
149
- type: _lssm_lib_schema300.FieldType<string, string>;
149
+ type: _lssm_lib_schema249.FieldType<string, string>;
150
150
  isOptional: true;
151
151
  };
152
152
  slug: {
153
- type: _lssm_lib_schema300.FieldType<string, string>;
153
+ type: _lssm_lib_schema249.FieldType<string, string>;
154
154
  isOptional: true;
155
155
  };
156
156
  logo: {
157
- type: _lssm_lib_schema300.FieldType<string, string>;
157
+ type: _lssm_lib_schema249.FieldType<string, string>;
158
158
  isOptional: true;
159
159
  };
160
160
  description: {
161
- type: _lssm_lib_schema300.FieldType<string, string>;
161
+ type: _lssm_lib_schema249.FieldType<string, string>;
162
162
  isOptional: true;
163
163
  };
164
164
  }>;
165
165
  declare const InviteMemberInputModel: SchemaModel<{
166
166
  orgId: {
167
- type: _lssm_lib_schema300.FieldType<string, string>;
167
+ type: _lssm_lib_schema249.FieldType<string, string>;
168
168
  isOptional: false;
169
169
  };
170
170
  email: {
171
- type: _lssm_lib_schema300.FieldType<string, string>;
171
+ type: _lssm_lib_schema249.FieldType<string, string>;
172
172
  isOptional: false;
173
173
  };
174
174
  role: {
175
- type: _lssm_lib_schema300.FieldType<string, string>;
175
+ type: _lssm_lib_schema249.FieldType<string, string>;
176
176
  isOptional: false;
177
177
  };
178
178
  teamId: {
179
- type: _lssm_lib_schema300.FieldType<string, string>;
179
+ type: _lssm_lib_schema249.FieldType<string, string>;
180
180
  isOptional: true;
181
181
  };
182
182
  }>;
183
183
  declare const AcceptInviteInputModel: SchemaModel<{
184
184
  invitationId: {
185
- type: _lssm_lib_schema300.FieldType<string, string>;
185
+ type: _lssm_lib_schema249.FieldType<string, string>;
186
186
  isOptional: false;
187
187
  };
188
188
  }>;
189
189
  declare const RemoveMemberInputModel: SchemaModel<{
190
190
  orgId: {
191
- type: _lssm_lib_schema300.FieldType<string, string>;
191
+ type: _lssm_lib_schema249.FieldType<string, string>;
192
192
  isOptional: false;
193
193
  };
194
194
  userId: {
195
- type: _lssm_lib_schema300.FieldType<string, string>;
195
+ type: _lssm_lib_schema249.FieldType<string, string>;
196
196
  isOptional: false;
197
197
  };
198
198
  }>;
199
199
  declare const MemberRemovedPayloadModel: SchemaModel<{
200
200
  orgId: {
201
- type: _lssm_lib_schema300.FieldType<string, string>;
201
+ type: _lssm_lib_schema249.FieldType<string, string>;
202
202
  isOptional: false;
203
203
  };
204
204
  userId: {
205
- type: _lssm_lib_schema300.FieldType<string, string>;
205
+ type: _lssm_lib_schema249.FieldType<string, string>;
206
206
  isOptional: false;
207
207
  };
208
208
  }>;
209
209
  declare const ListMembersInputModel: SchemaModel<{
210
210
  orgId: {
211
- type: _lssm_lib_schema300.FieldType<string, string>;
211
+ type: _lssm_lib_schema249.FieldType<string, string>;
212
212
  isOptional: false;
213
213
  };
214
214
  limit: {
215
- type: _lssm_lib_schema300.FieldType<number, number>;
215
+ type: _lssm_lib_schema249.FieldType<number, number>;
216
216
  isOptional: true;
217
217
  };
218
218
  offset: {
219
- type: _lssm_lib_schema300.FieldType<number, number>;
219
+ type: _lssm_lib_schema249.FieldType<number, number>;
220
220
  isOptional: true;
221
221
  };
222
222
  }>;
@@ -224,37 +224,37 @@ declare const ListMembersOutputModel: SchemaModel<{
224
224
  members: {
225
225
  type: SchemaModel<{
226
226
  id: {
227
- type: _lssm_lib_schema300.FieldType<string, string>;
227
+ type: _lssm_lib_schema249.FieldType<string, string>;
228
228
  isOptional: false;
229
229
  };
230
230
  userId: {
231
- type: _lssm_lib_schema300.FieldType<string, string>;
231
+ type: _lssm_lib_schema249.FieldType<string, string>;
232
232
  isOptional: false;
233
233
  };
234
234
  organizationId: {
235
- type: _lssm_lib_schema300.FieldType<string, string>;
235
+ type: _lssm_lib_schema249.FieldType<string, string>;
236
236
  isOptional: false;
237
237
  };
238
238
  role: {
239
- type: _lssm_lib_schema300.FieldType<string, string>;
239
+ type: _lssm_lib_schema249.FieldType<string, string>;
240
240
  isOptional: false;
241
241
  };
242
242
  createdAt: {
243
- type: _lssm_lib_schema300.FieldType<Date, string>;
243
+ type: _lssm_lib_schema249.FieldType<Date, string>;
244
244
  isOptional: false;
245
245
  };
246
246
  user: {
247
247
  type: SchemaModel<{
248
248
  id: {
249
- type: _lssm_lib_schema300.FieldType<string, string>;
249
+ type: _lssm_lib_schema249.FieldType<string, string>;
250
250
  isOptional: false;
251
251
  };
252
252
  email: {
253
- type: _lssm_lib_schema300.FieldType<string, string>;
253
+ type: _lssm_lib_schema249.FieldType<string, string>;
254
254
  isOptional: false;
255
255
  };
256
256
  name: {
257
- type: _lssm_lib_schema300.FieldType<string, string>;
257
+ type: _lssm_lib_schema249.FieldType<string, string>;
258
258
  isOptional: true;
259
259
  };
260
260
  }>;
@@ -265,45 +265,45 @@ declare const ListMembersOutputModel: SchemaModel<{
265
265
  isArray: true;
266
266
  };
267
267
  total: {
268
- type: _lssm_lib_schema300.FieldType<number, number>;
268
+ type: _lssm_lib_schema249.FieldType<number, number>;
269
269
  isOptional: false;
270
270
  };
271
271
  }>;
272
272
  declare const OrganizationWithRoleModel: SchemaModel<{
273
273
  id: {
274
- type: _lssm_lib_schema300.FieldType<string, string>;
274
+ type: _lssm_lib_schema249.FieldType<string, string>;
275
275
  isOptional: false;
276
276
  };
277
277
  name: {
278
- type: _lssm_lib_schema300.FieldType<string, string>;
278
+ type: _lssm_lib_schema249.FieldType<string, string>;
279
279
  isOptional: false;
280
280
  };
281
281
  slug: {
282
- type: _lssm_lib_schema300.FieldType<string, string>;
282
+ type: _lssm_lib_schema249.FieldType<string, string>;
283
283
  isOptional: true;
284
284
  };
285
285
  logo: {
286
- type: _lssm_lib_schema300.FieldType<string, string>;
286
+ type: _lssm_lib_schema249.FieldType<string, string>;
287
287
  isOptional: true;
288
288
  };
289
289
  description: {
290
- type: _lssm_lib_schema300.FieldType<string, string>;
290
+ type: _lssm_lib_schema249.FieldType<string, string>;
291
291
  isOptional: true;
292
292
  };
293
293
  type: {
294
- type: _lssm_lib_schema300.FieldType<string, string>;
294
+ type: _lssm_lib_schema249.FieldType<string, string>;
295
295
  isOptional: false;
296
296
  };
297
297
  onboardingCompleted: {
298
- type: _lssm_lib_schema300.FieldType<boolean, boolean>;
298
+ type: _lssm_lib_schema249.FieldType<boolean, boolean>;
299
299
  isOptional: false;
300
300
  };
301
301
  createdAt: {
302
- type: _lssm_lib_schema300.FieldType<Date, string>;
302
+ type: _lssm_lib_schema249.FieldType<Date, string>;
303
303
  isOptional: false;
304
304
  };
305
305
  role: {
306
- type: _lssm_lib_schema300.FieldType<string, string>;
306
+ type: _lssm_lib_schema249.FieldType<string, string>;
307
307
  isOptional: false;
308
308
  };
309
309
  }>;
@@ -311,39 +311,39 @@ declare const ListUserOrgsOutputModel: SchemaModel<{
311
311
  organizations: {
312
312
  type: SchemaModel<{
313
313
  id: {
314
- type: _lssm_lib_schema300.FieldType<string, string>;
314
+ type: _lssm_lib_schema249.FieldType<string, string>;
315
315
  isOptional: false;
316
316
  };
317
317
  name: {
318
- type: _lssm_lib_schema300.FieldType<string, string>;
318
+ type: _lssm_lib_schema249.FieldType<string, string>;
319
319
  isOptional: false;
320
320
  };
321
321
  slug: {
322
- type: _lssm_lib_schema300.FieldType<string, string>;
322
+ type: _lssm_lib_schema249.FieldType<string, string>;
323
323
  isOptional: true;
324
324
  };
325
325
  logo: {
326
- type: _lssm_lib_schema300.FieldType<string, string>;
326
+ type: _lssm_lib_schema249.FieldType<string, string>;
327
327
  isOptional: true;
328
328
  };
329
329
  description: {
330
- type: _lssm_lib_schema300.FieldType<string, string>;
330
+ type: _lssm_lib_schema249.FieldType<string, string>;
331
331
  isOptional: true;
332
332
  };
333
333
  type: {
334
- type: _lssm_lib_schema300.FieldType<string, string>;
334
+ type: _lssm_lib_schema249.FieldType<string, string>;
335
335
  isOptional: false;
336
336
  };
337
337
  onboardingCompleted: {
338
- type: _lssm_lib_schema300.FieldType<boolean, boolean>;
338
+ type: _lssm_lib_schema249.FieldType<boolean, boolean>;
339
339
  isOptional: false;
340
340
  };
341
341
  createdAt: {
342
- type: _lssm_lib_schema300.FieldType<Date, string>;
342
+ type: _lssm_lib_schema249.FieldType<Date, string>;
343
343
  isOptional: false;
344
344
  };
345
345
  role: {
346
- type: _lssm_lib_schema300.FieldType<string, string>;
346
+ type: _lssm_lib_schema249.FieldType<string, string>;
347
347
  isOptional: false;
348
348
  };
349
349
  }>;
@@ -354,54 +354,54 @@ declare const ListUserOrgsOutputModel: SchemaModel<{
354
354
  /**
355
355
  * Create a new organization.
356
356
  */
357
- declare const CreateOrgContract: _lssm_lib_contracts29.ContractSpec<SchemaModel<{
357
+ declare const CreateOrgContract: _lssm_lib_contracts12.ContractSpec<SchemaModel<{
358
358
  name: {
359
- type: _lssm_lib_schema300.FieldType<string, string>;
359
+ type: _lssm_lib_schema249.FieldType<string, string>;
360
360
  isOptional: false;
361
361
  };
362
362
  slug: {
363
- type: _lssm_lib_schema300.FieldType<string, string>;
363
+ type: _lssm_lib_schema249.FieldType<string, string>;
364
364
  isOptional: true;
365
365
  };
366
366
  description: {
367
- type: _lssm_lib_schema300.FieldType<string, string>;
367
+ type: _lssm_lib_schema249.FieldType<string, string>;
368
368
  isOptional: true;
369
369
  };
370
370
  type: {
371
- type: _lssm_lib_schema300.FieldType<string, string>;
371
+ type: _lssm_lib_schema249.FieldType<string, string>;
372
372
  isOptional: true;
373
373
  };
374
374
  }>, SchemaModel<{
375
375
  id: {
376
- type: _lssm_lib_schema300.FieldType<string, string>;
376
+ type: _lssm_lib_schema249.FieldType<string, string>;
377
377
  isOptional: false;
378
378
  };
379
379
  name: {
380
- type: _lssm_lib_schema300.FieldType<string, string>;
380
+ type: _lssm_lib_schema249.FieldType<string, string>;
381
381
  isOptional: false;
382
382
  };
383
383
  slug: {
384
- type: _lssm_lib_schema300.FieldType<string, string>;
384
+ type: _lssm_lib_schema249.FieldType<string, string>;
385
385
  isOptional: true;
386
386
  };
387
387
  logo: {
388
- type: _lssm_lib_schema300.FieldType<string, string>;
388
+ type: _lssm_lib_schema249.FieldType<string, string>;
389
389
  isOptional: true;
390
390
  };
391
391
  description: {
392
- type: _lssm_lib_schema300.FieldType<string, string>;
392
+ type: _lssm_lib_schema249.FieldType<string, string>;
393
393
  isOptional: true;
394
394
  };
395
395
  type: {
396
- type: _lssm_lib_schema300.FieldType<string, string>;
396
+ type: _lssm_lib_schema249.FieldType<string, string>;
397
397
  isOptional: false;
398
398
  };
399
399
  onboardingCompleted: {
400
- type: _lssm_lib_schema300.FieldType<boolean, boolean>;
400
+ type: _lssm_lib_schema249.FieldType<boolean, boolean>;
401
401
  isOptional: false;
402
402
  };
403
403
  createdAt: {
404
- type: _lssm_lib_schema300.FieldType<Date, string>;
404
+ type: _lssm_lib_schema249.FieldType<Date, string>;
405
405
  isOptional: false;
406
406
  };
407
407
  }>, {
@@ -410,35 +410,35 @@ declare const CreateOrgContract: _lssm_lib_contracts29.ContractSpec<SchemaModel<
410
410
  when: string;
411
411
  payload: SchemaModel<{
412
412
  id: {
413
- type: _lssm_lib_schema300.FieldType<string, string>;
413
+ type: _lssm_lib_schema249.FieldType<string, string>;
414
414
  isOptional: false;
415
415
  };
416
416
  name: {
417
- type: _lssm_lib_schema300.FieldType<string, string>;
417
+ type: _lssm_lib_schema249.FieldType<string, string>;
418
418
  isOptional: false;
419
419
  };
420
420
  slug: {
421
- type: _lssm_lib_schema300.FieldType<string, string>;
421
+ type: _lssm_lib_schema249.FieldType<string, string>;
422
422
  isOptional: true;
423
423
  };
424
424
  logo: {
425
- type: _lssm_lib_schema300.FieldType<string, string>;
425
+ type: _lssm_lib_schema249.FieldType<string, string>;
426
426
  isOptional: true;
427
427
  };
428
428
  description: {
429
- type: _lssm_lib_schema300.FieldType<string, string>;
429
+ type: _lssm_lib_schema249.FieldType<string, string>;
430
430
  isOptional: true;
431
431
  };
432
432
  type: {
433
- type: _lssm_lib_schema300.FieldType<string, string>;
433
+ type: _lssm_lib_schema249.FieldType<string, string>;
434
434
  isOptional: false;
435
435
  };
436
436
  onboardingCompleted: {
437
- type: _lssm_lib_schema300.FieldType<boolean, boolean>;
437
+ type: _lssm_lib_schema249.FieldType<boolean, boolean>;
438
438
  isOptional: false;
439
439
  };
440
440
  createdAt: {
441
- type: _lssm_lib_schema300.FieldType<Date, string>;
441
+ type: _lssm_lib_schema249.FieldType<Date, string>;
442
442
  isOptional: false;
443
443
  };
444
444
  }>;
@@ -446,100 +446,100 @@ declare const CreateOrgContract: _lssm_lib_contracts29.ContractSpec<SchemaModel<
446
446
  /**
447
447
  * Get organization details.
448
448
  */
449
- declare const GetOrgContract: _lssm_lib_contracts29.ContractSpec<SchemaModel<{
449
+ declare const GetOrgContract: _lssm_lib_contracts12.ContractSpec<SchemaModel<{
450
450
  orgId: {
451
- type: _lssm_lib_schema300.FieldType<string, string>;
451
+ type: _lssm_lib_schema249.FieldType<string, string>;
452
452
  isOptional: false;
453
453
  };
454
454
  }>, SchemaModel<{
455
455
  id: {
456
- type: _lssm_lib_schema300.FieldType<string, string>;
456
+ type: _lssm_lib_schema249.FieldType<string, string>;
457
457
  isOptional: false;
458
458
  };
459
459
  name: {
460
- type: _lssm_lib_schema300.FieldType<string, string>;
460
+ type: _lssm_lib_schema249.FieldType<string, string>;
461
461
  isOptional: false;
462
462
  };
463
463
  slug: {
464
- type: _lssm_lib_schema300.FieldType<string, string>;
464
+ type: _lssm_lib_schema249.FieldType<string, string>;
465
465
  isOptional: true;
466
466
  };
467
467
  logo: {
468
- type: _lssm_lib_schema300.FieldType<string, string>;
468
+ type: _lssm_lib_schema249.FieldType<string, string>;
469
469
  isOptional: true;
470
470
  };
471
471
  description: {
472
- type: _lssm_lib_schema300.FieldType<string, string>;
472
+ type: _lssm_lib_schema249.FieldType<string, string>;
473
473
  isOptional: true;
474
474
  };
475
475
  type: {
476
- type: _lssm_lib_schema300.FieldType<string, string>;
476
+ type: _lssm_lib_schema249.FieldType<string, string>;
477
477
  isOptional: false;
478
478
  };
479
479
  onboardingCompleted: {
480
- type: _lssm_lib_schema300.FieldType<boolean, boolean>;
480
+ type: _lssm_lib_schema249.FieldType<boolean, boolean>;
481
481
  isOptional: false;
482
482
  };
483
483
  createdAt: {
484
- type: _lssm_lib_schema300.FieldType<Date, string>;
484
+ type: _lssm_lib_schema249.FieldType<Date, string>;
485
485
  isOptional: false;
486
486
  };
487
487
  }>, undefined>;
488
488
  /**
489
489
  * Update organization.
490
490
  */
491
- declare const UpdateOrgContract: _lssm_lib_contracts29.ContractSpec<SchemaModel<{
491
+ declare const UpdateOrgContract: _lssm_lib_contracts12.ContractSpec<SchemaModel<{
492
492
  orgId: {
493
- type: _lssm_lib_schema300.FieldType<string, string>;
493
+ type: _lssm_lib_schema249.FieldType<string, string>;
494
494
  isOptional: false;
495
495
  };
496
496
  name: {
497
- type: _lssm_lib_schema300.FieldType<string, string>;
497
+ type: _lssm_lib_schema249.FieldType<string, string>;
498
498
  isOptional: true;
499
499
  };
500
500
  slug: {
501
- type: _lssm_lib_schema300.FieldType<string, string>;
501
+ type: _lssm_lib_schema249.FieldType<string, string>;
502
502
  isOptional: true;
503
503
  };
504
504
  logo: {
505
- type: _lssm_lib_schema300.FieldType<string, string>;
505
+ type: _lssm_lib_schema249.FieldType<string, string>;
506
506
  isOptional: true;
507
507
  };
508
508
  description: {
509
- type: _lssm_lib_schema300.FieldType<string, string>;
509
+ type: _lssm_lib_schema249.FieldType<string, string>;
510
510
  isOptional: true;
511
511
  };
512
512
  }>, SchemaModel<{
513
513
  id: {
514
- type: _lssm_lib_schema300.FieldType<string, string>;
514
+ type: _lssm_lib_schema249.FieldType<string, string>;
515
515
  isOptional: false;
516
516
  };
517
517
  name: {
518
- type: _lssm_lib_schema300.FieldType<string, string>;
518
+ type: _lssm_lib_schema249.FieldType<string, string>;
519
519
  isOptional: false;
520
520
  };
521
521
  slug: {
522
- type: _lssm_lib_schema300.FieldType<string, string>;
522
+ type: _lssm_lib_schema249.FieldType<string, string>;
523
523
  isOptional: true;
524
524
  };
525
525
  logo: {
526
- type: _lssm_lib_schema300.FieldType<string, string>;
526
+ type: _lssm_lib_schema249.FieldType<string, string>;
527
527
  isOptional: true;
528
528
  };
529
529
  description: {
530
- type: _lssm_lib_schema300.FieldType<string, string>;
530
+ type: _lssm_lib_schema249.FieldType<string, string>;
531
531
  isOptional: true;
532
532
  };
533
533
  type: {
534
- type: _lssm_lib_schema300.FieldType<string, string>;
534
+ type: _lssm_lib_schema249.FieldType<string, string>;
535
535
  isOptional: false;
536
536
  };
537
537
  onboardingCompleted: {
538
- type: _lssm_lib_schema300.FieldType<boolean, boolean>;
538
+ type: _lssm_lib_schema249.FieldType<boolean, boolean>;
539
539
  isOptional: false;
540
540
  };
541
541
  createdAt: {
542
- type: _lssm_lib_schema300.FieldType<Date, string>;
542
+ type: _lssm_lib_schema249.FieldType<Date, string>;
543
543
  isOptional: false;
544
544
  };
545
545
  }>, {
@@ -548,35 +548,35 @@ declare const UpdateOrgContract: _lssm_lib_contracts29.ContractSpec<SchemaModel<
548
548
  when: string;
549
549
  payload: SchemaModel<{
550
550
  id: {
551
- type: _lssm_lib_schema300.FieldType<string, string>;
551
+ type: _lssm_lib_schema249.FieldType<string, string>;
552
552
  isOptional: false;
553
553
  };
554
554
  name: {
555
- type: _lssm_lib_schema300.FieldType<string, string>;
555
+ type: _lssm_lib_schema249.FieldType<string, string>;
556
556
  isOptional: false;
557
557
  };
558
558
  slug: {
559
- type: _lssm_lib_schema300.FieldType<string, string>;
559
+ type: _lssm_lib_schema249.FieldType<string, string>;
560
560
  isOptional: true;
561
561
  };
562
562
  logo: {
563
- type: _lssm_lib_schema300.FieldType<string, string>;
563
+ type: _lssm_lib_schema249.FieldType<string, string>;
564
564
  isOptional: true;
565
565
  };
566
566
  description: {
567
- type: _lssm_lib_schema300.FieldType<string, string>;
567
+ type: _lssm_lib_schema249.FieldType<string, string>;
568
568
  isOptional: true;
569
569
  };
570
570
  type: {
571
- type: _lssm_lib_schema300.FieldType<string, string>;
571
+ type: _lssm_lib_schema249.FieldType<string, string>;
572
572
  isOptional: false;
573
573
  };
574
574
  onboardingCompleted: {
575
- type: _lssm_lib_schema300.FieldType<boolean, boolean>;
575
+ type: _lssm_lib_schema249.FieldType<boolean, boolean>;
576
576
  isOptional: false;
577
577
  };
578
578
  createdAt: {
579
- type: _lssm_lib_schema300.FieldType<Date, string>;
579
+ type: _lssm_lib_schema249.FieldType<Date, string>;
580
580
  isOptional: false;
581
581
  };
582
582
  }>;
@@ -584,46 +584,46 @@ declare const UpdateOrgContract: _lssm_lib_contracts29.ContractSpec<SchemaModel<
584
584
  /**
585
585
  * Invite a member to the organization.
586
586
  */
587
- declare const InviteMemberContract: _lssm_lib_contracts29.ContractSpec<SchemaModel<{
587
+ declare const InviteMemberContract: _lssm_lib_contracts12.ContractSpec<SchemaModel<{
588
588
  orgId: {
589
- type: _lssm_lib_schema300.FieldType<string, string>;
589
+ type: _lssm_lib_schema249.FieldType<string, string>;
590
590
  isOptional: false;
591
591
  };
592
592
  email: {
593
- type: _lssm_lib_schema300.FieldType<string, string>;
593
+ type: _lssm_lib_schema249.FieldType<string, string>;
594
594
  isOptional: false;
595
595
  };
596
596
  role: {
597
- type: _lssm_lib_schema300.FieldType<string, string>;
597
+ type: _lssm_lib_schema249.FieldType<string, string>;
598
598
  isOptional: false;
599
599
  };
600
600
  teamId: {
601
- type: _lssm_lib_schema300.FieldType<string, string>;
601
+ type: _lssm_lib_schema249.FieldType<string, string>;
602
602
  isOptional: true;
603
603
  };
604
604
  }>, SchemaModel<{
605
605
  id: {
606
- type: _lssm_lib_schema300.FieldType<string, string>;
606
+ type: _lssm_lib_schema249.FieldType<string, string>;
607
607
  isOptional: false;
608
608
  };
609
609
  email: {
610
- type: _lssm_lib_schema300.FieldType<string, string>;
610
+ type: _lssm_lib_schema249.FieldType<string, string>;
611
611
  isOptional: false;
612
612
  };
613
613
  role: {
614
- type: _lssm_lib_schema300.FieldType<string, string>;
614
+ type: _lssm_lib_schema249.FieldType<string, string>;
615
615
  isOptional: true;
616
616
  };
617
617
  status: {
618
- type: _lssm_lib_schema300.FieldType<string, string>;
618
+ type: _lssm_lib_schema249.FieldType<string, string>;
619
619
  isOptional: false;
620
620
  };
621
621
  expiresAt: {
622
- type: _lssm_lib_schema300.FieldType<Date, string>;
622
+ type: _lssm_lib_schema249.FieldType<Date, string>;
623
623
  isOptional: true;
624
624
  };
625
625
  createdAt: {
626
- type: _lssm_lib_schema300.FieldType<Date, string>;
626
+ type: _lssm_lib_schema249.FieldType<Date, string>;
627
627
  isOptional: false;
628
628
  };
629
629
  }>, {
@@ -632,27 +632,27 @@ declare const InviteMemberContract: _lssm_lib_contracts29.ContractSpec<SchemaMod
632
632
  when: string;
633
633
  payload: SchemaModel<{
634
634
  id: {
635
- type: _lssm_lib_schema300.FieldType<string, string>;
635
+ type: _lssm_lib_schema249.FieldType<string, string>;
636
636
  isOptional: false;
637
637
  };
638
638
  email: {
639
- type: _lssm_lib_schema300.FieldType<string, string>;
639
+ type: _lssm_lib_schema249.FieldType<string, string>;
640
640
  isOptional: false;
641
641
  };
642
642
  role: {
643
- type: _lssm_lib_schema300.FieldType<string, string>;
643
+ type: _lssm_lib_schema249.FieldType<string, string>;
644
644
  isOptional: true;
645
645
  };
646
646
  status: {
647
- type: _lssm_lib_schema300.FieldType<string, string>;
647
+ type: _lssm_lib_schema249.FieldType<string, string>;
648
648
  isOptional: false;
649
649
  };
650
650
  expiresAt: {
651
- type: _lssm_lib_schema300.FieldType<Date, string>;
651
+ type: _lssm_lib_schema249.FieldType<Date, string>;
652
652
  isOptional: true;
653
653
  };
654
654
  createdAt: {
655
- type: _lssm_lib_schema300.FieldType<Date, string>;
655
+ type: _lssm_lib_schema249.FieldType<Date, string>;
656
656
  isOptional: false;
657
657
  };
658
658
  }>;
@@ -660,44 +660,44 @@ declare const InviteMemberContract: _lssm_lib_contracts29.ContractSpec<SchemaMod
660
660
  /**
661
661
  * Accept an invitation.
662
662
  */
663
- declare const AcceptInviteContract: _lssm_lib_contracts29.ContractSpec<SchemaModel<{
663
+ declare const AcceptInviteContract: _lssm_lib_contracts12.ContractSpec<SchemaModel<{
664
664
  invitationId: {
665
- type: _lssm_lib_schema300.FieldType<string, string>;
665
+ type: _lssm_lib_schema249.FieldType<string, string>;
666
666
  isOptional: false;
667
667
  };
668
668
  }>, SchemaModel<{
669
669
  id: {
670
- type: _lssm_lib_schema300.FieldType<string, string>;
670
+ type: _lssm_lib_schema249.FieldType<string, string>;
671
671
  isOptional: false;
672
672
  };
673
673
  userId: {
674
- type: _lssm_lib_schema300.FieldType<string, string>;
674
+ type: _lssm_lib_schema249.FieldType<string, string>;
675
675
  isOptional: false;
676
676
  };
677
677
  organizationId: {
678
- type: _lssm_lib_schema300.FieldType<string, string>;
678
+ type: _lssm_lib_schema249.FieldType<string, string>;
679
679
  isOptional: false;
680
680
  };
681
681
  role: {
682
- type: _lssm_lib_schema300.FieldType<string, string>;
682
+ type: _lssm_lib_schema249.FieldType<string, string>;
683
683
  isOptional: false;
684
684
  };
685
685
  createdAt: {
686
- type: _lssm_lib_schema300.FieldType<Date, string>;
686
+ type: _lssm_lib_schema249.FieldType<Date, string>;
687
687
  isOptional: false;
688
688
  };
689
689
  user: {
690
690
  type: SchemaModel<{
691
691
  id: {
692
- type: _lssm_lib_schema300.FieldType<string, string>;
692
+ type: _lssm_lib_schema249.FieldType<string, string>;
693
693
  isOptional: false;
694
694
  };
695
695
  email: {
696
- type: _lssm_lib_schema300.FieldType<string, string>;
696
+ type: _lssm_lib_schema249.FieldType<string, string>;
697
697
  isOptional: false;
698
698
  };
699
699
  name: {
700
- type: _lssm_lib_schema300.FieldType<string, string>;
700
+ type: _lssm_lib_schema249.FieldType<string, string>;
701
701
  isOptional: true;
702
702
  };
703
703
  }>;
@@ -709,37 +709,37 @@ declare const AcceptInviteContract: _lssm_lib_contracts29.ContractSpec<SchemaMod
709
709
  when: string;
710
710
  payload: SchemaModel<{
711
711
  id: {
712
- type: _lssm_lib_schema300.FieldType<string, string>;
712
+ type: _lssm_lib_schema249.FieldType<string, string>;
713
713
  isOptional: false;
714
714
  };
715
715
  userId: {
716
- type: _lssm_lib_schema300.FieldType<string, string>;
716
+ type: _lssm_lib_schema249.FieldType<string, string>;
717
717
  isOptional: false;
718
718
  };
719
719
  organizationId: {
720
- type: _lssm_lib_schema300.FieldType<string, string>;
720
+ type: _lssm_lib_schema249.FieldType<string, string>;
721
721
  isOptional: false;
722
722
  };
723
723
  role: {
724
- type: _lssm_lib_schema300.FieldType<string, string>;
724
+ type: _lssm_lib_schema249.FieldType<string, string>;
725
725
  isOptional: false;
726
726
  };
727
727
  createdAt: {
728
- type: _lssm_lib_schema300.FieldType<Date, string>;
728
+ type: _lssm_lib_schema249.FieldType<Date, string>;
729
729
  isOptional: false;
730
730
  };
731
731
  user: {
732
732
  type: SchemaModel<{
733
733
  id: {
734
- type: _lssm_lib_schema300.FieldType<string, string>;
734
+ type: _lssm_lib_schema249.FieldType<string, string>;
735
735
  isOptional: false;
736
736
  };
737
737
  email: {
738
- type: _lssm_lib_schema300.FieldType<string, string>;
738
+ type: _lssm_lib_schema249.FieldType<string, string>;
739
739
  isOptional: false;
740
740
  };
741
741
  name: {
742
- type: _lssm_lib_schema300.FieldType<string, string>;
742
+ type: _lssm_lib_schema249.FieldType<string, string>;
743
743
  isOptional: true;
744
744
  };
745
745
  }>;
@@ -750,18 +750,18 @@ declare const AcceptInviteContract: _lssm_lib_contracts29.ContractSpec<SchemaMod
750
750
  /**
751
751
  * Remove a member from the organization.
752
752
  */
753
- declare const RemoveMemberContract: _lssm_lib_contracts29.ContractSpec<SchemaModel<{
753
+ declare const RemoveMemberContract: _lssm_lib_contracts12.ContractSpec<SchemaModel<{
754
754
  orgId: {
755
- type: _lssm_lib_schema300.FieldType<string, string>;
755
+ type: _lssm_lib_schema249.FieldType<string, string>;
756
756
  isOptional: false;
757
757
  };
758
758
  userId: {
759
- type: _lssm_lib_schema300.FieldType<string, string>;
759
+ type: _lssm_lib_schema249.FieldType<string, string>;
760
760
  isOptional: false;
761
761
  };
762
762
  }>, SchemaModel<{
763
763
  success: {
764
- type: _lssm_lib_schema300.FieldType<boolean, boolean>;
764
+ type: _lssm_lib_schema249.FieldType<boolean, boolean>;
765
765
  isOptional: false;
766
766
  };
767
767
  }>, {
@@ -770,11 +770,11 @@ declare const RemoveMemberContract: _lssm_lib_contracts29.ContractSpec<SchemaMod
770
770
  when: string;
771
771
  payload: SchemaModel<{
772
772
  orgId: {
773
- type: _lssm_lib_schema300.FieldType<string, string>;
773
+ type: _lssm_lib_schema249.FieldType<string, string>;
774
774
  isOptional: false;
775
775
  };
776
776
  userId: {
777
- type: _lssm_lib_schema300.FieldType<string, string>;
777
+ type: _lssm_lib_schema249.FieldType<string, string>;
778
778
  isOptional: false;
779
779
  };
780
780
  }>;
@@ -782,54 +782,54 @@ declare const RemoveMemberContract: _lssm_lib_contracts29.ContractSpec<SchemaMod
782
782
  /**
783
783
  * List organization members.
784
784
  */
785
- declare const ListMembersContract: _lssm_lib_contracts29.ContractSpec<SchemaModel<{
785
+ declare const ListMembersContract: _lssm_lib_contracts12.ContractSpec<SchemaModel<{
786
786
  orgId: {
787
- type: _lssm_lib_schema300.FieldType<string, string>;
787
+ type: _lssm_lib_schema249.FieldType<string, string>;
788
788
  isOptional: false;
789
789
  };
790
790
  limit: {
791
- type: _lssm_lib_schema300.FieldType<number, number>;
791
+ type: _lssm_lib_schema249.FieldType<number, number>;
792
792
  isOptional: true;
793
793
  };
794
794
  offset: {
795
- type: _lssm_lib_schema300.FieldType<number, number>;
795
+ type: _lssm_lib_schema249.FieldType<number, number>;
796
796
  isOptional: true;
797
797
  };
798
798
  }>, SchemaModel<{
799
799
  members: {
800
800
  type: SchemaModel<{
801
801
  id: {
802
- type: _lssm_lib_schema300.FieldType<string, string>;
802
+ type: _lssm_lib_schema249.FieldType<string, string>;
803
803
  isOptional: false;
804
804
  };
805
805
  userId: {
806
- type: _lssm_lib_schema300.FieldType<string, string>;
806
+ type: _lssm_lib_schema249.FieldType<string, string>;
807
807
  isOptional: false;
808
808
  };
809
809
  organizationId: {
810
- type: _lssm_lib_schema300.FieldType<string, string>;
810
+ type: _lssm_lib_schema249.FieldType<string, string>;
811
811
  isOptional: false;
812
812
  };
813
813
  role: {
814
- type: _lssm_lib_schema300.FieldType<string, string>;
814
+ type: _lssm_lib_schema249.FieldType<string, string>;
815
815
  isOptional: false;
816
816
  };
817
817
  createdAt: {
818
- type: _lssm_lib_schema300.FieldType<Date, string>;
818
+ type: _lssm_lib_schema249.FieldType<Date, string>;
819
819
  isOptional: false;
820
820
  };
821
821
  user: {
822
822
  type: SchemaModel<{
823
823
  id: {
824
- type: _lssm_lib_schema300.FieldType<string, string>;
824
+ type: _lssm_lib_schema249.FieldType<string, string>;
825
825
  isOptional: false;
826
826
  };
827
827
  email: {
828
- type: _lssm_lib_schema300.FieldType<string, string>;
828
+ type: _lssm_lib_schema249.FieldType<string, string>;
829
829
  isOptional: false;
830
830
  };
831
831
  name: {
832
- type: _lssm_lib_schema300.FieldType<string, string>;
832
+ type: _lssm_lib_schema249.FieldType<string, string>;
833
833
  isOptional: true;
834
834
  };
835
835
  }>;
@@ -840,50 +840,50 @@ declare const ListMembersContract: _lssm_lib_contracts29.ContractSpec<SchemaMode
840
840
  isArray: true;
841
841
  };
842
842
  total: {
843
- type: _lssm_lib_schema300.FieldType<number, number>;
843
+ type: _lssm_lib_schema249.FieldType<number, number>;
844
844
  isOptional: false;
845
845
  };
846
846
  }>, undefined>;
847
847
  /**
848
848
  * List user's organizations.
849
849
  */
850
- declare const ListUserOrgsContract: _lssm_lib_contracts29.ContractSpec<_lssm_lib_schema300.AnySchemaModel, SchemaModel<{
850
+ declare const ListUserOrgsContract: _lssm_lib_contracts12.ContractSpec<_lssm_lib_schema249.AnySchemaModel, SchemaModel<{
851
851
  organizations: {
852
852
  type: SchemaModel<{
853
853
  id: {
854
- type: _lssm_lib_schema300.FieldType<string, string>;
854
+ type: _lssm_lib_schema249.FieldType<string, string>;
855
855
  isOptional: false;
856
856
  };
857
857
  name: {
858
- type: _lssm_lib_schema300.FieldType<string, string>;
858
+ type: _lssm_lib_schema249.FieldType<string, string>;
859
859
  isOptional: false;
860
860
  };
861
861
  slug: {
862
- type: _lssm_lib_schema300.FieldType<string, string>;
862
+ type: _lssm_lib_schema249.FieldType<string, string>;
863
863
  isOptional: true;
864
864
  };
865
865
  logo: {
866
- type: _lssm_lib_schema300.FieldType<string, string>;
866
+ type: _lssm_lib_schema249.FieldType<string, string>;
867
867
  isOptional: true;
868
868
  };
869
869
  description: {
870
- type: _lssm_lib_schema300.FieldType<string, string>;
870
+ type: _lssm_lib_schema249.FieldType<string, string>;
871
871
  isOptional: true;
872
872
  };
873
873
  type: {
874
- type: _lssm_lib_schema300.FieldType<string, string>;
874
+ type: _lssm_lib_schema249.FieldType<string, string>;
875
875
  isOptional: false;
876
876
  };
877
877
  onboardingCompleted: {
878
- type: _lssm_lib_schema300.FieldType<boolean, boolean>;
878
+ type: _lssm_lib_schema249.FieldType<boolean, boolean>;
879
879
  isOptional: false;
880
880
  };
881
881
  createdAt: {
882
- type: _lssm_lib_schema300.FieldType<Date, string>;
882
+ type: _lssm_lib_schema249.FieldType<Date, string>;
883
883
  isOptional: false;
884
884
  };
885
885
  role: {
886
- type: _lssm_lib_schema300.FieldType<string, string>;
886
+ type: _lssm_lib_schema249.FieldType<string, string>;
887
887
  isOptional: false;
888
888
  };
889
889
  }>;