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

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