@temboplus/afloat 0.1.77-beta.2 → 0.1.77-beta.21

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 (42) hide show
  1. package/dist/index.cjs.js +1 -1
  2. package/dist/index.cjs.js.map +1 -1
  3. package/dist/index.esm.js +1 -1
  4. package/dist/index.esm.js.map +1 -1
  5. package/dist/lib/api/base-repository.d.ts +3 -1
  6. package/dist/lib/query/query.builder.d.ts +5 -1
  7. package/dist/modules/auth/auth.contract.d.ts +2 -2
  8. package/dist/modules/auth/company-membership.model.d.ts +122 -9
  9. package/dist/modules/auth/index.d.ts +0 -1
  10. package/dist/modules/auth/user.model.d.ts +238 -15
  11. package/dist/modules/contact/contact-info.model.d.ts +183 -533
  12. package/dist/modules/contact/contact.api-contract.d.ts +8 -8
  13. package/dist/modules/contact/contact.dtos.d.ts +2 -2
  14. package/dist/modules/contact/contact.model.d.ts +309 -32
  15. package/dist/modules/login/login.api-contract.d.ts +2 -2
  16. package/dist/modules/login/login.dtos.d.ts +4 -4
  17. package/dist/modules/login/login.model.d.ts +54 -24
  18. package/dist/modules/payout/payout.api-contract.d.ts +37 -37
  19. package/dist/modules/payout/payout.dtos.d.ts +47 -39
  20. package/dist/modules/payout/payout.model.d.ts +242 -2
  21. package/dist/modules/payout/payout.query.d.ts +11 -3
  22. package/dist/modules/payout/payout.repository.d.ts +48 -25
  23. package/dist/modules/profile/profile.model.d.ts +65 -30
  24. package/dist/modules/team-member/role.model.d.ts +49 -1
  25. package/dist/modules/team-member/team-member.contract.d.ts +44 -44
  26. package/dist/modules/team-member/team-member.dtos.d.ts +14 -14
  27. package/dist/modules/team-member/team-member.model.d.ts +106 -6
  28. package/dist/modules/wallet/index.d.ts +0 -1
  29. package/dist/modules/wallet/narration.model.d.ts +34 -38
  30. package/dist/modules/wallet/statement-entry.model.d.ts +172 -73
  31. package/dist/modules/wallet/wallet.contract.d.ts +6 -6
  32. package/dist/modules/wallet/wallet.dtos.d.ts +12 -12
  33. package/dist/modules/wallet/wallet.model.d.ts +56 -19
  34. package/dist/modules/wallet/wallet.query.d.ts +95 -0
  35. package/dist/modules/wallet/wallet.repository.d.ts +45 -13
  36. package/package.json +2 -2
  37. package/dist/modules/auth/auth.manager.d.ts +0 -249
  38. package/dist/modules/auth/auth.store.d.ts +0 -139
  39. package/dist/modules/auth/storage/client-store.d.ts +0 -29
  40. package/dist/modules/auth/storage/client-token-handler.d.ts +0 -31
  41. package/dist/modules/auth/storage/types.d.ts +0 -41
  42. package/dist/modules/wallet/wallet-manager.session.d.ts +0 -143
@@ -18,6 +18,8 @@ export declare const teamManagementContract: {
18
18
  }, "strip", z.ZodTypeAny, {
19
19
  type?: string | undefined;
20
20
  name?: string | undefined;
21
+ createdAt?: string | undefined;
22
+ eager?: string | undefined;
21
23
  id?: string | undefined;
22
24
  profileId?: string | undefined;
23
25
  identity?: string | undefined;
@@ -25,12 +27,12 @@ export declare const teamManagementContract: {
25
27
  isActive?: number | undefined;
26
28
  isArchived?: number | undefined;
27
29
  resetPassword?: number | undefined;
28
- createdAt?: string | undefined;
29
30
  updatedAt?: string | undefined;
30
- eager?: string | undefined;
31
31
  }, {
32
32
  type?: string | undefined;
33
33
  name?: string | undefined;
34
+ createdAt?: string | undefined;
35
+ eager?: string | undefined;
34
36
  id?: string | undefined;
35
37
  profileId?: string | undefined;
36
38
  identity?: string | undefined;
@@ -38,9 +40,7 @@ export declare const teamManagementContract: {
38
40
  isActive?: number | undefined;
39
41
  isArchived?: number | undefined;
40
42
  resetPassword?: number | undefined;
41
- createdAt?: string | undefined;
42
43
  updatedAt?: string | undefined;
43
- eager?: string | undefined;
44
44
  }>;
45
45
  summary: "List all team members";
46
46
  method: "GET";
@@ -65,15 +65,15 @@ export declare const teamManagementContract: {
65
65
  updatedAt: z.ZodString;
66
66
  }, "strip", z.ZodTypeAny, {
67
67
  name: string;
68
- id: string;
69
68
  createdAt: string;
69
+ id: string;
70
70
  updatedAt: string;
71
71
  access: string[];
72
72
  description?: string | undefined;
73
73
  }, {
74
74
  name: string;
75
- id: string;
76
75
  createdAt: string;
76
+ id: string;
77
77
  updatedAt: string;
78
78
  access: string[];
79
79
  description?: string | undefined;
@@ -83,6 +83,7 @@ export declare const teamManagementContract: {
83
83
  }, "strip", z.ZodTypeAny, {
84
84
  type: string;
85
85
  name: string;
86
+ createdAt: string;
86
87
  id: string;
87
88
  profileId: string;
88
89
  identity: string;
@@ -90,12 +91,11 @@ export declare const teamManagementContract: {
90
91
  isActive: boolean;
91
92
  isArchived: boolean;
92
93
  resetPassword: boolean;
93
- createdAt: string;
94
94
  updatedAt: string;
95
95
  role?: {
96
96
  name: string;
97
- id: string;
98
97
  createdAt: string;
98
+ id: string;
99
99
  updatedAt: string;
100
100
  access: string[];
101
101
  description?: string | undefined;
@@ -103,6 +103,7 @@ export declare const teamManagementContract: {
103
103
  }, {
104
104
  type: string;
105
105
  name: string;
106
+ createdAt: string;
106
107
  id: string;
107
108
  profileId: string;
108
109
  identity: string;
@@ -110,12 +111,11 @@ export declare const teamManagementContract: {
110
111
  isActive: boolean;
111
112
  isArchived: boolean;
112
113
  resetPassword: boolean;
113
- createdAt: string;
114
114
  updatedAt: string;
115
115
  role?: {
116
116
  name: string;
117
- id: string;
118
117
  createdAt: string;
118
+ id: string;
119
119
  updatedAt: string;
120
120
  access: string[];
121
121
  description?: string | undefined;
@@ -162,6 +162,8 @@ export declare const teamManagementContract: {
162
162
  }, "strip", z.ZodTypeAny, {
163
163
  type?: string | undefined;
164
164
  name?: string | undefined;
165
+ createdAt?: string | undefined;
166
+ eager?: string | undefined;
165
167
  id?: string | undefined;
166
168
  profileId?: string | undefined;
167
169
  identity?: string | undefined;
@@ -169,12 +171,12 @@ export declare const teamManagementContract: {
169
171
  isActive?: number | undefined;
170
172
  isArchived?: number | undefined;
171
173
  resetPassword?: number | undefined;
172
- createdAt?: string | undefined;
173
174
  updatedAt?: string | undefined;
174
- eager?: string | undefined;
175
175
  }, {
176
176
  type?: string | undefined;
177
177
  name?: string | undefined;
178
+ createdAt?: string | undefined;
179
+ eager?: string | undefined;
178
180
  id?: string | undefined;
179
181
  profileId?: string | undefined;
180
182
  identity?: string | undefined;
@@ -182,9 +184,7 @@ export declare const teamManagementContract: {
182
184
  isActive?: number | undefined;
183
185
  isArchived?: number | undefined;
184
186
  resetPassword?: number | undefined;
185
- createdAt?: string | undefined;
186
187
  updatedAt?: string | undefined;
187
- eager?: string | undefined;
188
188
  }>;
189
189
  summary: "Get team member details";
190
190
  method: "GET";
@@ -209,15 +209,15 @@ export declare const teamManagementContract: {
209
209
  updatedAt: z.ZodString;
210
210
  }, "strip", z.ZodTypeAny, {
211
211
  name: string;
212
- id: string;
213
212
  createdAt: string;
213
+ id: string;
214
214
  updatedAt: string;
215
215
  access: string[];
216
216
  description?: string | undefined;
217
217
  }, {
218
218
  name: string;
219
- id: string;
220
219
  createdAt: string;
220
+ id: string;
221
221
  updatedAt: string;
222
222
  access: string[];
223
223
  description?: string | undefined;
@@ -227,6 +227,7 @@ export declare const teamManagementContract: {
227
227
  }, "strip", z.ZodTypeAny, {
228
228
  type: string;
229
229
  name: string;
230
+ createdAt: string;
230
231
  id: string;
231
232
  profileId: string;
232
233
  identity: string;
@@ -234,12 +235,11 @@ export declare const teamManagementContract: {
234
235
  isActive: boolean;
235
236
  isArchived: boolean;
236
237
  resetPassword: boolean;
237
- createdAt: string;
238
238
  updatedAt: string;
239
239
  role?: {
240
240
  name: string;
241
- id: string;
242
241
  createdAt: string;
242
+ id: string;
243
243
  updatedAt: string;
244
244
  access: string[];
245
245
  description?: string | undefined;
@@ -247,6 +247,7 @@ export declare const teamManagementContract: {
247
247
  }, {
248
248
  type: string;
249
249
  name: string;
250
+ createdAt: string;
250
251
  id: string;
251
252
  profileId: string;
252
253
  identity: string;
@@ -254,12 +255,11 @@ export declare const teamManagementContract: {
254
255
  isActive: boolean;
255
256
  isArchived: boolean;
256
257
  resetPassword: boolean;
257
- createdAt: string;
258
258
  updatedAt: string;
259
259
  role?: {
260
260
  name: string;
261
- id: string;
262
261
  createdAt: string;
262
+ id: string;
263
263
  updatedAt: string;
264
264
  access: string[];
265
265
  description?: string | undefined;
@@ -328,6 +328,7 @@ export declare const teamManagementContract: {
328
328
  }, "strip", z.ZodTypeAny, {
329
329
  type: string;
330
330
  name: string;
331
+ createdAt: string;
331
332
  id: string;
332
333
  profileId: string;
333
334
  identity: string;
@@ -335,11 +336,11 @@ export declare const teamManagementContract: {
335
336
  isActive: boolean;
336
337
  isArchived: boolean;
337
338
  resetPassword: boolean;
338
- createdAt: string;
339
339
  updatedAt: string;
340
340
  }, {
341
341
  type: string;
342
342
  name: string;
343
+ createdAt: string;
343
344
  id: string;
344
345
  profileId: string;
345
346
  identity: string;
@@ -347,7 +348,6 @@ export declare const teamManagementContract: {
347
348
  isActive: boolean;
348
349
  isArchived: boolean;
349
350
  resetPassword: boolean;
350
- createdAt: string;
351
351
  updatedAt: string;
352
352
  }>;
353
353
  400: z.ZodObject<{
@@ -434,15 +434,15 @@ export declare const teamManagementContract: {
434
434
  updatedAt: z.ZodString;
435
435
  }, "strip", z.ZodTypeAny, {
436
436
  name: string;
437
- id: string;
438
437
  createdAt: string;
438
+ id: string;
439
439
  updatedAt: string;
440
440
  access: string[];
441
441
  description?: string | undefined;
442
442
  }, {
443
443
  name: string;
444
- id: string;
445
444
  createdAt: string;
445
+ id: string;
446
446
  updatedAt: string;
447
447
  access: string[];
448
448
  description?: string | undefined;
@@ -452,6 +452,7 @@ export declare const teamManagementContract: {
452
452
  }, "strip", z.ZodTypeAny, {
453
453
  type: string;
454
454
  name: string;
455
+ createdAt: string;
455
456
  id: string;
456
457
  profileId: string;
457
458
  identity: string;
@@ -459,12 +460,11 @@ export declare const teamManagementContract: {
459
460
  isActive: boolean;
460
461
  isArchived: boolean;
461
462
  resetPassword: boolean;
462
- createdAt: string;
463
463
  updatedAt: string;
464
464
  role?: {
465
465
  name: string;
466
- id: string;
467
466
  createdAt: string;
467
+ id: string;
468
468
  updatedAt: string;
469
469
  access: string[];
470
470
  description?: string | undefined;
@@ -472,6 +472,7 @@ export declare const teamManagementContract: {
472
472
  }, {
473
473
  type: string;
474
474
  name: string;
475
+ createdAt: string;
475
476
  id: string;
476
477
  profileId: string;
477
478
  identity: string;
@@ -479,12 +480,11 @@ export declare const teamManagementContract: {
479
480
  isActive: boolean;
480
481
  isArchived: boolean;
481
482
  resetPassword: boolean;
482
- createdAt: string;
483
483
  updatedAt: string;
484
484
  role?: {
485
485
  name: string;
486
- id: string;
487
486
  createdAt: string;
487
+ id: string;
488
488
  updatedAt: string;
489
489
  access: string[];
490
490
  description?: string | undefined;
@@ -556,15 +556,15 @@ export declare const teamManagementContract: {
556
556
  updatedAt: z.ZodString;
557
557
  }, "strip", z.ZodTypeAny, {
558
558
  name: string;
559
- id: string;
560
559
  createdAt: string;
560
+ id: string;
561
561
  updatedAt: string;
562
562
  access: string[];
563
563
  description?: string | undefined;
564
564
  }, {
565
565
  name: string;
566
- id: string;
567
566
  createdAt: string;
567
+ id: string;
568
568
  updatedAt: string;
569
569
  access: string[];
570
570
  description?: string | undefined;
@@ -574,6 +574,7 @@ export declare const teamManagementContract: {
574
574
  }, "strip", z.ZodTypeAny, {
575
575
  type: string;
576
576
  name: string;
577
+ createdAt: string;
577
578
  id: string;
578
579
  profileId: string;
579
580
  identity: string;
@@ -581,12 +582,11 @@ export declare const teamManagementContract: {
581
582
  isActive: boolean;
582
583
  isArchived: boolean;
583
584
  resetPassword: boolean;
584
- createdAt: string;
585
585
  updatedAt: string;
586
586
  role?: {
587
587
  name: string;
588
- id: string;
589
588
  createdAt: string;
589
+ id: string;
590
590
  updatedAt: string;
591
591
  access: string[];
592
592
  description?: string | undefined;
@@ -594,6 +594,7 @@ export declare const teamManagementContract: {
594
594
  }, {
595
595
  type: string;
596
596
  name: string;
597
+ createdAt: string;
597
598
  id: string;
598
599
  profileId: string;
599
600
  identity: string;
@@ -601,12 +602,11 @@ export declare const teamManagementContract: {
601
602
  isActive: boolean;
602
603
  isArchived: boolean;
603
604
  resetPassword: boolean;
604
- createdAt: string;
605
605
  updatedAt: string;
606
606
  role?: {
607
607
  name: string;
608
- id: string;
609
608
  createdAt: string;
609
+ id: string;
610
610
  updatedAt: string;
611
611
  access: string[];
612
612
  description?: string | undefined;
@@ -668,15 +668,15 @@ export declare const teamManagementContract: {
668
668
  updatedAt: z.ZodString;
669
669
  }, "strip", z.ZodTypeAny, {
670
670
  name: string;
671
- id: string;
672
671
  createdAt: string;
672
+ id: string;
673
673
  updatedAt: string;
674
674
  access: string[];
675
675
  description?: string | undefined;
676
676
  }, {
677
677
  name: string;
678
- id: string;
679
678
  createdAt: string;
679
+ id: string;
680
680
  updatedAt: string;
681
681
  access: string[];
682
682
  description?: string | undefined;
@@ -686,6 +686,7 @@ export declare const teamManagementContract: {
686
686
  }, "strip", z.ZodTypeAny, {
687
687
  type: string;
688
688
  name: string;
689
+ createdAt: string;
689
690
  id: string;
690
691
  profileId: string;
691
692
  identity: string;
@@ -693,12 +694,11 @@ export declare const teamManagementContract: {
693
694
  isActive: boolean;
694
695
  isArchived: boolean;
695
696
  resetPassword: boolean;
696
- createdAt: string;
697
697
  updatedAt: string;
698
698
  role?: {
699
699
  name: string;
700
- id: string;
701
700
  createdAt: string;
701
+ id: string;
702
702
  updatedAt: string;
703
703
  access: string[];
704
704
  description?: string | undefined;
@@ -706,6 +706,7 @@ export declare const teamManagementContract: {
706
706
  }, {
707
707
  type: string;
708
708
  name: string;
709
+ createdAt: string;
709
710
  id: string;
710
711
  profileId: string;
711
712
  identity: string;
@@ -713,12 +714,11 @@ export declare const teamManagementContract: {
713
714
  isActive: boolean;
714
715
  isArchived: boolean;
715
716
  resetPassword: boolean;
716
- createdAt: string;
717
717
  updatedAt: string;
718
718
  role?: {
719
719
  name: string;
720
- id: string;
721
720
  createdAt: string;
721
+ id: string;
722
722
  updatedAt: string;
723
723
  access: string[];
724
724
  description?: string | undefined;
@@ -822,15 +822,15 @@ export declare const teamManagementContract: {
822
822
  updatedAt: z.ZodString;
823
823
  }, "strip", z.ZodTypeAny, {
824
824
  name: string;
825
- id: string;
826
825
  createdAt: string;
826
+ id: string;
827
827
  updatedAt: string;
828
828
  access: string[];
829
829
  description?: string | undefined;
830
830
  }, {
831
831
  name: string;
832
- id: string;
833
832
  createdAt: string;
833
+ id: string;
834
834
  updatedAt: string;
835
835
  access: string[];
836
836
  description?: string | undefined;
@@ -873,15 +873,15 @@ export declare const teamManagementContract: {
873
873
  updatedAt: z.ZodString;
874
874
  }, "strip", z.ZodTypeAny, {
875
875
  name: string;
876
- id: string;
877
876
  createdAt: string;
877
+ id: string;
878
878
  updatedAt: string;
879
879
  access: string[];
880
880
  description?: string | undefined;
881
881
  }, {
882
882
  name: string;
883
- id: string;
884
883
  createdAt: string;
884
+ id: string;
885
885
  updatedAt: string;
886
886
  access: string[];
887
887
  description?: string | undefined;
@@ -13,15 +13,15 @@ export declare const TeamManagementDTOSchemas: {
13
13
  updatedAt: z.ZodString;
14
14
  }, "strip", z.ZodTypeAny, {
15
15
  name: string;
16
- id: string;
17
16
  createdAt: string;
17
+ id: string;
18
18
  updatedAt: string;
19
19
  access: string[];
20
20
  description?: string | undefined;
21
21
  }, {
22
22
  name: string;
23
- id: string;
24
23
  createdAt: string;
24
+ id: string;
25
25
  updatedAt: string;
26
26
  access: string[];
27
27
  description?: string | undefined;
@@ -45,15 +45,15 @@ export declare const TeamManagementDTOSchemas: {
45
45
  updatedAt: z.ZodString;
46
46
  }, "strip", z.ZodTypeAny, {
47
47
  name: string;
48
- id: string;
49
48
  createdAt: string;
49
+ id: string;
50
50
  updatedAt: string;
51
51
  access: string[];
52
52
  description?: string | undefined;
53
53
  }, {
54
54
  name: string;
55
- id: string;
56
55
  createdAt: string;
56
+ id: string;
57
57
  updatedAt: string;
58
58
  access: string[];
59
59
  description?: string | undefined;
@@ -63,6 +63,7 @@ export declare const TeamManagementDTOSchemas: {
63
63
  }, "strip", z.ZodTypeAny, {
64
64
  type: string;
65
65
  name: string;
66
+ createdAt: string;
66
67
  id: string;
67
68
  profileId: string;
68
69
  identity: string;
@@ -70,12 +71,11 @@ export declare const TeamManagementDTOSchemas: {
70
71
  isActive: boolean;
71
72
  isArchived: boolean;
72
73
  resetPassword: boolean;
73
- createdAt: string;
74
74
  updatedAt: string;
75
75
  role?: {
76
76
  name: string;
77
- id: string;
78
77
  createdAt: string;
78
+ id: string;
79
79
  updatedAt: string;
80
80
  access: string[];
81
81
  description?: string | undefined;
@@ -83,6 +83,7 @@ export declare const TeamManagementDTOSchemas: {
83
83
  }, {
84
84
  type: string;
85
85
  name: string;
86
+ createdAt: string;
86
87
  id: string;
87
88
  profileId: string;
88
89
  identity: string;
@@ -90,12 +91,11 @@ export declare const TeamManagementDTOSchemas: {
90
91
  isActive: boolean;
91
92
  isArchived: boolean;
92
93
  resetPassword: boolean;
93
- createdAt: string;
94
94
  updatedAt: string;
95
95
  role?: {
96
96
  name: string;
97
- id: string;
98
97
  createdAt: string;
98
+ id: string;
99
99
  updatedAt: string;
100
100
  access: string[];
101
101
  description?: string | undefined;
@@ -117,6 +117,8 @@ export declare const TeamManagementDTOSchemas: {
117
117
  }, "strip", z.ZodTypeAny, {
118
118
  type?: string | undefined;
119
119
  name?: string | undefined;
120
+ createdAt?: string | undefined;
121
+ eager?: string | undefined;
120
122
  id?: string | undefined;
121
123
  profileId?: string | undefined;
122
124
  identity?: string | undefined;
@@ -124,12 +126,12 @@ export declare const TeamManagementDTOSchemas: {
124
126
  isActive?: number | undefined;
125
127
  isArchived?: number | undefined;
126
128
  resetPassword?: number | undefined;
127
- createdAt?: string | undefined;
128
129
  updatedAt?: string | undefined;
129
- eager?: string | undefined;
130
130
  }, {
131
131
  type?: string | undefined;
132
132
  name?: string | undefined;
133
+ createdAt?: string | undefined;
134
+ eager?: string | undefined;
133
135
  id?: string | undefined;
134
136
  profileId?: string | undefined;
135
137
  identity?: string | undefined;
@@ -137,9 +139,7 @@ export declare const TeamManagementDTOSchemas: {
137
139
  isActive?: number | undefined;
138
140
  isArchived?: number | undefined;
139
141
  resetPassword?: number | undefined;
140
- createdAt?: string | undefined;
141
142
  updatedAt?: string | undefined;
142
- eager?: string | undefined;
143
143
  }>;
144
144
  createTeamMemberRequest: z.ZodObject<{
145
145
  name: z.ZodString;
@@ -204,6 +204,7 @@ export declare const TeamManagementDTOSchemas: {
204
204
  }, "strip", z.ZodTypeAny, {
205
205
  type: string;
206
206
  name: string;
207
+ createdAt: string;
207
208
  id: string;
208
209
  profileId: string;
209
210
  identity: string;
@@ -211,11 +212,11 @@ export declare const TeamManagementDTOSchemas: {
211
212
  isActive: boolean;
212
213
  isArchived: boolean;
213
214
  resetPassword: boolean;
214
- createdAt: string;
215
215
  updatedAt: string;
216
216
  }, {
217
217
  type: string;
218
218
  name: string;
219
+ createdAt: string;
219
220
  id: string;
220
221
  profileId: string;
221
222
  identity: string;
@@ -223,7 +224,6 @@ export declare const TeamManagementDTOSchemas: {
223
224
  isActive: boolean;
224
225
  isArchived: boolean;
225
226
  resetPassword: boolean;
226
- createdAt: string;
227
227
  updatedAt: string;
228
228
  }>;
229
229
  password: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>;
@@ -1,3 +1,4 @@
1
+ import z from "zod";
1
2
  import { Role } from "./role.model.js";
2
3
  import { RoleDTO } from "./team-member.dtos.js";
3
4
  export interface TeamMemberData {
@@ -14,6 +15,93 @@ export interface TeamMemberData {
14
15
  createdAt: string;
15
16
  updatedAt: string;
16
17
  }
18
+ /**
19
+ * Zod schema for TeamMember JSON serialization
20
+ */
21
+ export declare const TeamMemberJSONSchema: z.ZodObject<{
22
+ id: z.ZodString;
23
+ name: z.ZodString;
24
+ identity: z.ZodString;
25
+ type: z.ZodString;
26
+ profileId: z.ZodString;
27
+ roleId: z.ZodString;
28
+ resetPassword: z.ZodBoolean;
29
+ isActive: z.ZodBoolean;
30
+ isArchived: z.ZodBoolean;
31
+ role: z.ZodOptional<z.ZodObject<{
32
+ id: z.ZodString;
33
+ name: z.ZodString;
34
+ description: z.ZodOptional<z.ZodString>;
35
+ access: z.ZodArray<z.ZodString, "many">;
36
+ createdAt: z.ZodString;
37
+ updatedAt: z.ZodString;
38
+ version: z.ZodDefault<z.ZodOptional<z.ZodString>>;
39
+ }, "strip", z.ZodTypeAny, {
40
+ name: string;
41
+ createdAt: string;
42
+ id: string;
43
+ version: string;
44
+ updatedAt: string;
45
+ access: string[];
46
+ description?: string | undefined;
47
+ }, {
48
+ name: string;
49
+ createdAt: string;
50
+ id: string;
51
+ updatedAt: string;
52
+ access: string[];
53
+ version?: string | undefined;
54
+ description?: string | undefined;
55
+ }>>;
56
+ createdAt: z.ZodString;
57
+ updatedAt: z.ZodString;
58
+ version: z.ZodDefault<z.ZodOptional<z.ZodString>>;
59
+ }, "strip", z.ZodTypeAny, {
60
+ type: string;
61
+ name: string;
62
+ createdAt: string;
63
+ id: string;
64
+ version: string;
65
+ profileId: string;
66
+ identity: string;
67
+ roleId: string;
68
+ isActive: boolean;
69
+ isArchived: boolean;
70
+ resetPassword: boolean;
71
+ updatedAt: string;
72
+ role?: {
73
+ name: string;
74
+ createdAt: string;
75
+ id: string;
76
+ version: string;
77
+ updatedAt: string;
78
+ access: string[];
79
+ description?: string | undefined;
80
+ } | undefined;
81
+ }, {
82
+ type: string;
83
+ name: string;
84
+ createdAt: string;
85
+ id: string;
86
+ profileId: string;
87
+ identity: string;
88
+ roleId: string;
89
+ isActive: boolean;
90
+ isArchived: boolean;
91
+ resetPassword: boolean;
92
+ updatedAt: string;
93
+ version?: string | undefined;
94
+ role?: {
95
+ name: string;
96
+ createdAt: string;
97
+ id: string;
98
+ updatedAt: string;
99
+ access: string[];
100
+ version?: string | undefined;
101
+ description?: string | undefined;
102
+ } | undefined;
103
+ }>;
104
+ export type TeamMemberJSON = z.infer<typeof TeamMemberJSONSchema>;
17
105
  /**
18
106
  * Represents a team member from the admin management perspective.
19
107
  *
@@ -123,15 +211,27 @@ export declare class TeamMember {
123
211
  */
124
212
  getLastUpdateInfo(): string;
125
213
  /**
126
- * Converts the TeamMember instance to a plain object.
214
+ * Serializes the TeamMember instance to a JSON-compatible object
215
+ */
216
+ toJSON(): TeamMemberJSON;
217
+ /**
218
+ * Serializes the TeamMember instance to a JSON string
219
+ */
220
+ toJSONString(): string;
221
+ /**
222
+ * Creates a TeamMember instance from a JSON-compatible object or string
223
+ */
224
+ static fromJSON(json: TeamMemberJSON | string): TeamMember | undefined;
225
+ /**
226
+ * Type guard using Zod schema validation
127
227
  */
128
- toObject(): any;
228
+ static isTeamMemberJSON(obj: unknown): obj is TeamMemberJSON;
129
229
  /**
130
- * Converts the TeamMember instance to a JSON string.
230
+ * Creates multiple TeamMember instances from a JSON array
131
231
  */
132
- toJson(): string;
232
+ static fromJSONArray(jsonArray: TeamMemberJSON[] | string): TeamMember[];
133
233
  /**
134
- * Alias for toJson() to maintain consistency with other models
234
+ * Serializes an array of TeamMember instances to JSON
135
235
  */
136
- toJSON(): any;
236
+ static toJSONArray(members: TeamMember[]): TeamMemberJSON[];
137
237
  }