@temboplus/afloat 0.2.1-beta.9 → 0.2.1

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 (125) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +54 -207
  3. package/dist/index.cjs.js +1 -1
  4. package/dist/index.cjs.js.map +1 -1
  5. package/dist/index.d.ts +5 -4
  6. package/dist/index.d.ts.map +1 -0
  7. package/dist/index.esm.js +1 -1
  8. package/dist/index.esm.js.map +1 -1
  9. package/dist/lib/api/base-repository.d.ts +2 -2
  10. package/dist/lib/api/base-repository.d.ts.map +1 -0
  11. package/dist/lib/api/index.d.ts +1 -0
  12. package/dist/lib/api/index.d.ts.map +1 -0
  13. package/dist/lib/error/error.api.d.ts +3 -2
  14. package/dist/lib/error/error.api.d.ts.map +1 -0
  15. package/dist/lib/error/error.permission.d.ts +2 -1
  16. package/dist/lib/error/error.permission.d.ts.map +1 -0
  17. package/dist/lib/error/error.utils.d.ts +1 -0
  18. package/dist/lib/error/error.utils.d.ts.map +1 -0
  19. package/dist/lib/error/index.d.ts +1 -0
  20. package/dist/lib/error/index.d.ts.map +1 -0
  21. package/dist/lib/query/index.d.ts +3 -2
  22. package/dist/lib/query/index.d.ts.map +1 -0
  23. package/dist/lib/query/pagination/pagination.d.ts +1 -0
  24. package/dist/lib/query/pagination/pagination.d.ts.map +1 -0
  25. package/dist/lib/query/pagination/pagination.schemas.d.ts +8 -61
  26. package/dist/lib/query/pagination/pagination.schemas.d.ts.map +1 -0
  27. package/dist/lib/query/query.builder.d.ts +10 -3
  28. package/dist/lib/query/query.builder.d.ts.map +1 -0
  29. package/dist/lib/query/query.types.d.ts +1 -0
  30. package/dist/lib/query/query.types.d.ts.map +1 -0
  31. package/dist/modules/auth/auth.contract.d.ts +10 -69
  32. package/dist/modules/auth/auth.contract.d.ts.map +1 -0
  33. package/dist/modules/auth/auth.dtos.d.ts +8 -67
  34. package/dist/modules/auth/auth.dtos.d.ts.map +1 -0
  35. package/dist/modules/auth/auth.repository.d.ts +1 -0
  36. package/dist/modules/auth/auth.repository.d.ts.map +1 -0
  37. package/dist/modules/auth/company-membership.model.d.ts +7 -86
  38. package/dist/modules/auth/company-membership.model.d.ts.map +1 -0
  39. package/dist/modules/auth/index.d.ts +3 -2
  40. package/dist/modules/auth/index.d.ts.map +1 -0
  41. package/dist/modules/auth/user.model.d.ts +26 -163
  42. package/dist/modules/auth/user.model.d.ts.map +1 -0
  43. package/dist/modules/beneficiary/beneficiary-info.model.d.ts +30 -67
  44. package/dist/modules/beneficiary/beneficiary-info.model.d.ts.map +1 -0
  45. package/dist/modules/beneficiary/beneficiary-input-handler.d.ts +3 -2
  46. package/dist/modules/beneficiary/beneficiary-input-handler.d.ts.map +1 -0
  47. package/dist/modules/beneficiary/beneficiary.api-contract.d.ts +16 -115
  48. package/dist/modules/beneficiary/beneficiary.api-contract.d.ts.map +1 -0
  49. package/dist/modules/beneficiary/beneficiary.dtos.d.ts +6 -34
  50. package/dist/modules/beneficiary/beneficiary.dtos.d.ts.map +1 -0
  51. package/dist/modules/beneficiary/beneficiary.model.d.ts +5 -27
  52. package/dist/modules/beneficiary/beneficiary.model.d.ts.map +1 -0
  53. package/dist/modules/beneficiary/beneficiary.repository.d.ts +2 -1
  54. package/dist/modules/beneficiary/beneficiary.repository.d.ts.map +1 -0
  55. package/dist/modules/beneficiary/index.d.ts +5 -4
  56. package/dist/modules/beneficiary/index.d.ts.map +1 -0
  57. package/dist/modules/login/index.d.ts +1 -0
  58. package/dist/modules/login/index.d.ts.map +1 -0
  59. package/dist/modules/login/login.api-contract.d.ts +3 -28
  60. package/dist/modules/login/login.api-contract.d.ts.map +1 -0
  61. package/dist/modules/login/login.dtos.d.ts +5 -56
  62. package/dist/modules/login/login.dtos.d.ts.map +1 -0
  63. package/dist/modules/login/login.model.d.ts +7 -34
  64. package/dist/modules/login/login.model.d.ts.map +1 -0
  65. package/dist/modules/login/login.repository.d.ts +2 -1
  66. package/dist/modules/login/login.repository.d.ts.map +1 -0
  67. package/dist/modules/login/permission.type.d.ts +1 -0
  68. package/dist/modules/login/permission.type.d.ts.map +1 -0
  69. package/dist/modules/payout/index.d.ts +3 -2
  70. package/dist/modules/payout/index.d.ts.map +1 -0
  71. package/dist/modules/payout/payout-channel-handler.d.ts +5 -4
  72. package/dist/modules/payout/payout-channel-handler.d.ts.map +1 -0
  73. package/dist/modules/payout/payout.api-contract.d.ts +78 -666
  74. package/dist/modules/payout/payout.api-contract.d.ts.map +1 -0
  75. package/dist/modules/payout/payout.dtos.d.ts +99 -506
  76. package/dist/modules/payout/payout.dtos.d.ts.map +1 -0
  77. package/dist/modules/payout/payout.model.d.ts +8 -85
  78. package/dist/modules/payout/payout.model.d.ts.map +1 -0
  79. package/dist/modules/payout/payout.query.d.ts +3 -2
  80. package/dist/modules/payout/payout.query.d.ts.map +1 -0
  81. package/dist/modules/payout/payout.repository.d.ts +7 -6
  82. package/dist/modules/payout/payout.repository.d.ts.map +1 -0
  83. package/dist/modules/profile/index.d.ts +1 -0
  84. package/dist/modules/profile/index.d.ts.map +1 -0
  85. package/dist/modules/profile/profile.api-contract.d.ts +2 -19
  86. package/dist/modules/profile/profile.api-contract.d.ts.map +1 -0
  87. package/dist/modules/profile/profile.dtos.d.ts +3 -38
  88. package/dist/modules/profile/profile.dtos.d.ts.map +1 -0
  89. package/dist/modules/profile/profile.model.d.ts +5 -42
  90. package/dist/modules/profile/profile.model.d.ts.map +1 -0
  91. package/dist/modules/profile/profile.repository.d.ts +1 -0
  92. package/dist/modules/profile/profile.repository.d.ts.map +1 -0
  93. package/dist/modules/team-member/index.d.ts +3 -2
  94. package/dist/modules/team-member/index.d.ts.map +1 -0
  95. package/dist/modules/team-member/role.model.d.ts +6 -21
  96. package/dist/modules/team-member/role.model.d.ts.map +1 -0
  97. package/dist/modules/team-member/team-member.contract.d.ts +74 -615
  98. package/dist/modules/team-member/team-member.contract.d.ts.map +1 -0
  99. package/dist/modules/team-member/team-member.dtos.d.ts +15 -162
  100. package/dist/modules/team-member/team-member.dtos.d.ts.map +1 -0
  101. package/dist/modules/team-member/team-member.model.d.ts +7 -66
  102. package/dist/modules/team-member/team-member.model.d.ts.map +1 -0
  103. package/dist/modules/team-member/team-member.repository.d.ts +3 -2
  104. package/dist/modules/team-member/team-member.repository.d.ts.map +1 -0
  105. package/dist/modules/wallet/index.d.ts +4 -2
  106. package/dist/modules/wallet/index.d.ts.map +1 -0
  107. package/dist/modules/wallet/narration.model.d.ts +3 -8
  108. package/dist/modules/wallet/narration.model.d.ts.map +1 -0
  109. package/dist/modules/wallet/statement-entry.model.d.ts +14 -131
  110. package/dist/modules/wallet/statement-entry.model.d.ts.map +1 -0
  111. package/dist/modules/wallet/wallet.contract.d.ts +17 -90
  112. package/dist/modules/wallet/wallet.contract.d.ts.map +1 -0
  113. package/dist/modules/wallet/wallet.dtos.d.ts +33 -138
  114. package/dist/modules/wallet/wallet.dtos.d.ts.map +1 -0
  115. package/dist/modules/wallet/wallet.model.d.ts +5 -26
  116. package/dist/modules/wallet/wallet.model.d.ts.map +1 -0
  117. package/dist/modules/wallet/wallet.query.d.ts +2 -1
  118. package/dist/modules/wallet/wallet.query.d.ts.map +1 -0
  119. package/dist/modules/wallet/wallet.repository.d.ts +49 -25
  120. package/dist/modules/wallet/wallet.repository.d.ts.map +1 -0
  121. package/dist/modules/wallet/wallet.timezone.d.ts +87 -0
  122. package/dist/modules/wallet/wallet.timezone.d.ts.map +1 -0
  123. package/dist/modules/wallet/wallet.utils.d.ts +3 -2
  124. package/dist/modules/wallet/wallet.utils.d.ts.map +1 -0
  125. package/package.json +40 -29
@@ -15,33 +15,7 @@ export declare const teamManagementContract: {
15
15
  createdAt: z.ZodOptional<z.ZodString>;
16
16
  updatedAt: z.ZodOptional<z.ZodString>;
17
17
  eager: z.ZodOptional<z.ZodString>;
18
- }, "strip", z.ZodTypeAny, {
19
- type?: string | undefined;
20
- name?: string | undefined;
21
- createdAt?: string | undefined;
22
- eager?: string | undefined;
23
- id?: string | undefined;
24
- profileId?: string | undefined;
25
- identity?: string | undefined;
26
- roleId?: string | undefined;
27
- isActive?: number | undefined;
28
- isArchived?: number | undefined;
29
- resetPassword?: number | undefined;
30
- updatedAt?: string | undefined;
31
- }, {
32
- type?: string | undefined;
33
- name?: string | undefined;
34
- createdAt?: string | undefined;
35
- eager?: string | undefined;
36
- id?: string | undefined;
37
- profileId?: string | undefined;
38
- identity?: string | undefined;
39
- roleId?: string | undefined;
40
- isActive?: number | undefined;
41
- isArchived?: number | undefined;
42
- resetPassword?: number | undefined;
43
- updatedAt?: string | undefined;
44
- }>;
18
+ }, z.core.$strip>;
45
19
  summary: "List all team members";
46
20
  method: "GET";
47
21
  path: "/login";
@@ -60,92 +34,26 @@ export declare const teamManagementContract: {
60
34
  id: z.ZodString;
61
35
  name: z.ZodString;
62
36
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
63
- access: z.ZodArray<z.ZodString, "many">;
37
+ access: z.ZodArray<z.ZodString>;
64
38
  createdAt: z.ZodString;
65
39
  updatedAt: z.ZodString;
66
- }, "strip", z.ZodTypeAny, {
67
- name: string;
68
- createdAt: string;
69
- id: string;
70
- updatedAt: string;
71
- access: string[];
72
- description?: string | null | undefined;
73
- }, {
74
- name: string;
75
- createdAt: string;
76
- id: string;
77
- updatedAt: string;
78
- access: string[];
79
- description?: string | null | undefined;
80
- }>>;
40
+ }, z.core.$strip>>;
81
41
  createdAt: z.ZodString;
82
42
  updatedAt: z.ZodString;
83
- }, "strip", z.ZodTypeAny, {
84
- type: string;
85
- name: string;
86
- createdAt: string;
87
- id: string;
88
- profileId: string;
89
- identity: string;
90
- roleId: string;
91
- isActive: boolean;
92
- isArchived: boolean;
93
- resetPassword: boolean;
94
- updatedAt: string;
95
- role?: {
96
- name: string;
97
- createdAt: string;
98
- id: string;
99
- updatedAt: string;
100
- access: string[];
101
- description?: string | null | undefined;
102
- } | undefined;
103
- }, {
104
- type: string;
105
- name: string;
106
- createdAt: string;
107
- id: string;
108
- profileId: string;
109
- identity: string;
110
- roleId: string;
111
- isActive: boolean;
112
- isArchived: boolean;
113
- resetPassword: boolean;
114
- updatedAt: string;
115
- role?: {
116
- name: string;
117
- createdAt: string;
118
- id: string;
119
- updatedAt: string;
120
- access: string[];
121
- description?: string | null | undefined;
122
- } | undefined;
123
- }>, "many">;
43
+ }, z.core.$strip>>;
124
44
  401: z.ZodObject<{
125
45
  message: z.ZodOptional<z.ZodString>;
126
- }, "strip", z.ZodTypeAny, {
127
- message?: string | undefined;
128
- }, {
129
- message?: string | undefined;
130
- }>;
46
+ }, z.core.$strip>;
131
47
  403: z.ZodObject<{
132
48
  message: z.ZodOptional<z.ZodString>;
133
- }, "strip", z.ZodTypeAny, {
134
- message?: string | undefined;
135
- }, {
136
- message?: string | undefined;
137
- }>;
49
+ }, z.core.$strip>;
138
50
  };
139
51
  };
140
52
  getTeamMember: {
141
53
  description: "Retrieve detailed information about a specific team member";
142
54
  pathParams: z.ZodObject<{
143
55
  id: z.ZodString;
144
- }, "strip", z.ZodTypeAny, {
145
- id: string;
146
- }, {
147
- id: string;
148
- }>;
56
+ }, z.core.$strip>;
149
57
  query: z.ZodObject<{
150
58
  id: z.ZodOptional<z.ZodString>;
151
59
  name: z.ZodOptional<z.ZodString>;
@@ -159,33 +67,7 @@ export declare const teamManagementContract: {
159
67
  createdAt: z.ZodOptional<z.ZodString>;
160
68
  updatedAt: z.ZodOptional<z.ZodString>;
161
69
  eager: z.ZodOptional<z.ZodString>;
162
- }, "strip", z.ZodTypeAny, {
163
- type?: string | undefined;
164
- name?: string | undefined;
165
- createdAt?: string | undefined;
166
- eager?: string | undefined;
167
- id?: string | undefined;
168
- profileId?: string | undefined;
169
- identity?: string | undefined;
170
- roleId?: string | undefined;
171
- isActive?: number | undefined;
172
- isArchived?: number | undefined;
173
- resetPassword?: number | undefined;
174
- updatedAt?: string | undefined;
175
- }, {
176
- type?: string | undefined;
177
- name?: string | undefined;
178
- createdAt?: string | undefined;
179
- eager?: string | undefined;
180
- id?: string | undefined;
181
- profileId?: string | undefined;
182
- identity?: string | undefined;
183
- roleId?: string | undefined;
184
- isActive?: number | undefined;
185
- isArchived?: number | undefined;
186
- resetPassword?: number | undefined;
187
- updatedAt?: string | undefined;
188
- }>;
70
+ }, z.core.$strip>;
189
71
  summary: "Get team member details";
190
72
  method: "GET";
191
73
  path: "/login/:id";
@@ -204,88 +86,22 @@ export declare const teamManagementContract: {
204
86
  id: z.ZodString;
205
87
  name: z.ZodString;
206
88
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
207
- access: z.ZodArray<z.ZodString, "many">;
89
+ access: z.ZodArray<z.ZodString>;
208
90
  createdAt: z.ZodString;
209
91
  updatedAt: z.ZodString;
210
- }, "strip", z.ZodTypeAny, {
211
- name: string;
212
- createdAt: string;
213
- id: string;
214
- updatedAt: string;
215
- access: string[];
216
- description?: string | null | undefined;
217
- }, {
218
- name: string;
219
- createdAt: string;
220
- id: string;
221
- updatedAt: string;
222
- access: string[];
223
- description?: string | null | undefined;
224
- }>>;
92
+ }, z.core.$strip>>;
225
93
  createdAt: z.ZodString;
226
94
  updatedAt: z.ZodString;
227
- }, "strip", z.ZodTypeAny, {
228
- type: string;
229
- name: string;
230
- createdAt: string;
231
- id: string;
232
- profileId: string;
233
- identity: string;
234
- roleId: string;
235
- isActive: boolean;
236
- isArchived: boolean;
237
- resetPassword: boolean;
238
- updatedAt: string;
239
- role?: {
240
- name: string;
241
- createdAt: string;
242
- id: string;
243
- updatedAt: string;
244
- access: string[];
245
- description?: string | null | undefined;
246
- } | undefined;
247
- }, {
248
- type: string;
249
- name: string;
250
- createdAt: string;
251
- id: string;
252
- profileId: string;
253
- identity: string;
254
- roleId: string;
255
- isActive: boolean;
256
- isArchived: boolean;
257
- resetPassword: boolean;
258
- updatedAt: string;
259
- role?: {
260
- name: string;
261
- createdAt: string;
262
- id: string;
263
- updatedAt: string;
264
- access: string[];
265
- description?: string | null | undefined;
266
- } | undefined;
267
- }>;
95
+ }, z.core.$strip>;
268
96
  401: z.ZodObject<{
269
97
  message: z.ZodOptional<z.ZodString>;
270
- }, "strip", z.ZodTypeAny, {
271
- message?: string | undefined;
272
- }, {
273
- message?: string | undefined;
274
- }>;
98
+ }, z.core.$strip>;
275
99
  403: z.ZodObject<{
276
100
  message: z.ZodOptional<z.ZodString>;
277
- }, "strip", z.ZodTypeAny, {
278
- message?: string | undefined;
279
- }, {
280
- message?: string | undefined;
281
- }>;
101
+ }, z.core.$strip>;
282
102
  404: z.ZodObject<{
283
103
  message: z.ZodOptional<z.ZodString>;
284
- }, "strip", z.ZodTypeAny, {
285
- message?: string | undefined;
286
- }, {
287
- message?: string | undefined;
288
- }>;
104
+ }, z.core.$strip>;
289
105
  };
290
106
  };
291
107
  createTeamMember: {
@@ -295,22 +111,10 @@ export declare const teamManagementContract: {
295
111
  body: z.ZodObject<{
296
112
  name: z.ZodString;
297
113
  identity: z.ZodString;
298
- password: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>>;
114
+ password: z.ZodOptional<z.ZodString>;
299
115
  roleId: z.ZodOptional<z.ZodString>;
300
116
  resetPassword: z.ZodOptional<z.ZodBoolean>;
301
- }, "strip", z.ZodTypeAny, {
302
- name: string;
303
- identity: string;
304
- roleId?: string | undefined;
305
- resetPassword?: boolean | undefined;
306
- password?: string | undefined;
307
- }, {
308
- name: string;
309
- identity: string;
310
- roleId?: string | undefined;
311
- resetPassword?: boolean | undefined;
312
- password?: string | undefined;
313
- }>;
117
+ }, z.core.$strip>;
314
118
  path: "/login";
315
119
  responses: {
316
120
  201: z.ZodObject<{
@@ -325,94 +129,36 @@ export declare const teamManagementContract: {
325
129
  isArchived: z.ZodBoolean;
326
130
  createdAt: z.ZodString;
327
131
  updatedAt: z.ZodString;
328
- }, "strip", z.ZodTypeAny, {
329
- type: string;
330
- name: string;
331
- createdAt: string;
332
- id: string;
333
- profileId: string;
334
- identity: string;
335
- roleId: string;
336
- isActive: boolean;
337
- isArchived: boolean;
338
- resetPassword: boolean;
339
- updatedAt: string;
340
- }, {
341
- type: string;
342
- name: string;
343
- createdAt: string;
344
- id: string;
345
- profileId: string;
346
- identity: string;
347
- roleId: string;
348
- isActive: boolean;
349
- isArchived: boolean;
350
- resetPassword: boolean;
351
- updatedAt: string;
352
- }>;
132
+ }, z.core.$strip>;
353
133
  400: z.ZodObject<{
354
134
  message: z.ZodOptional<z.ZodString>;
355
- errors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
356
- }, "strip", z.ZodTypeAny, {
357
- message?: string | undefined;
358
- errors?: string[] | undefined;
359
- }, {
360
- message?: string | undefined;
361
- errors?: string[] | undefined;
362
- }>;
135
+ errors: z.ZodOptional<z.ZodArray<z.ZodString>>;
136
+ }, z.core.$strip>;
363
137
  401: z.ZodObject<{
364
138
  message: z.ZodOptional<z.ZodString>;
365
- }, "strip", z.ZodTypeAny, {
366
- message?: string | undefined;
367
- }, {
368
- message?: string | undefined;
369
- }>;
139
+ }, z.core.$strip>;
370
140
  403: z.ZodObject<{
371
141
  message: z.ZodOptional<z.ZodString>;
372
- }, "strip", z.ZodTypeAny, {
373
- message?: string | undefined;
374
- }, {
375
- message?: string | undefined;
376
- }>;
142
+ }, z.core.$strip>;
377
143
  409: z.ZodObject<{
378
144
  message: z.ZodOptional<z.ZodString>;
379
- }, "strip", z.ZodTypeAny, {
380
- message?: string | undefined;
381
- }, {
382
- message?: string | undefined;
383
- }>;
145
+ }, z.core.$strip>;
384
146
  };
385
147
  };
386
148
  updateTeamMember: {
387
149
  description: "Update team member information, role, status, or force password reset";
388
150
  pathParams: z.ZodObject<{
389
151
  id: z.ZodString;
390
- }, "strip", z.ZodTypeAny, {
391
- id: string;
392
- }, {
393
- id: string;
394
- }>;
152
+ }, z.core.$strip>;
395
153
  summary: "Update team member";
396
154
  method: "PATCH";
397
155
  body: z.ZodObject<{
398
156
  name: z.ZodOptional<z.ZodString>;
399
157
  roleId: z.ZodOptional<z.ZodString>;
400
- password: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>>;
158
+ password: z.ZodOptional<z.ZodString>;
401
159
  resetPassword: z.ZodOptional<z.ZodBoolean>;
402
160
  isActive: z.ZodOptional<z.ZodBoolean>;
403
- }, "strip", z.ZodTypeAny, {
404
- name?: string | undefined;
405
- roleId?: string | undefined;
406
- isActive?: boolean | undefined;
407
- resetPassword?: boolean | undefined;
408
- password?: string | undefined;
409
- }, {
410
- name?: string | undefined;
411
- roleId?: string | undefined;
412
- isActive?: boolean | undefined;
413
- resetPassword?: boolean | undefined;
414
- password?: string | undefined;
415
- }>;
161
+ }, z.core.$strip>;
416
162
  path: "/login/:id";
417
163
  responses: {
418
164
  200: z.ZodObject<{
@@ -429,112 +175,36 @@ export declare const teamManagementContract: {
429
175
  id: z.ZodString;
430
176
  name: z.ZodString;
431
177
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
432
- access: z.ZodArray<z.ZodString, "many">;
178
+ access: z.ZodArray<z.ZodString>;
433
179
  createdAt: z.ZodString;
434
180
  updatedAt: z.ZodString;
435
- }, "strip", z.ZodTypeAny, {
436
- name: string;
437
- createdAt: string;
438
- id: string;
439
- updatedAt: string;
440
- access: string[];
441
- description?: string | null | undefined;
442
- }, {
443
- name: string;
444
- createdAt: string;
445
- id: string;
446
- updatedAt: string;
447
- access: string[];
448
- description?: string | null | undefined;
449
- }>>;
181
+ }, z.core.$strip>>;
450
182
  createdAt: z.ZodString;
451
183
  updatedAt: z.ZodString;
452
- }, "strip", z.ZodTypeAny, {
453
- type: string;
454
- name: string;
455
- createdAt: string;
456
- id: string;
457
- profileId: string;
458
- identity: string;
459
- roleId: string;
460
- isActive: boolean;
461
- isArchived: boolean;
462
- resetPassword: boolean;
463
- updatedAt: string;
464
- role?: {
465
- name: string;
466
- createdAt: string;
467
- id: string;
468
- updatedAt: string;
469
- access: string[];
470
- description?: string | null | undefined;
471
- } | undefined;
472
- }, {
473
- type: string;
474
- name: string;
475
- createdAt: string;
476
- id: string;
477
- profileId: string;
478
- identity: string;
479
- roleId: string;
480
- isActive: boolean;
481
- isArchived: boolean;
482
- resetPassword: boolean;
483
- updatedAt: string;
484
- role?: {
485
- name: string;
486
- createdAt: string;
487
- id: string;
488
- updatedAt: string;
489
- access: string[];
490
- description?: string | null | undefined;
491
- } | undefined;
492
- }>;
184
+ }, z.core.$strip>;
493
185
  400: z.ZodObject<{
494
186
  message: z.ZodOptional<z.ZodString>;
495
- errors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
496
- }, "strip", z.ZodTypeAny, {
497
- message?: string | undefined;
498
- errors?: string[] | undefined;
499
- }, {
500
- message?: string | undefined;
501
- errors?: string[] | undefined;
502
- }>;
187
+ errors: z.ZodOptional<z.ZodArray<z.ZodString>>;
188
+ }, z.core.$strip>;
503
189
  401: z.ZodObject<{
504
190
  message: z.ZodOptional<z.ZodString>;
505
- }, "strip", z.ZodTypeAny, {
506
- message?: string | undefined;
507
- }, {
508
- message?: string | undefined;
509
- }>;
191
+ }, z.core.$strip>;
510
192
  403: z.ZodObject<{
511
193
  message: z.ZodOptional<z.ZodString>;
512
- }, "strip", z.ZodTypeAny, {
513
- message?: string | undefined;
514
- }, {
515
- message?: string | undefined;
516
- }>;
194
+ }, z.core.$strip>;
517
195
  404: z.ZodObject<{
518
196
  message: z.ZodOptional<z.ZodString>;
519
- }, "strip", z.ZodTypeAny, {
520
- message?: string | undefined;
521
- }, {
522
- message?: string | undefined;
523
- }>;
197
+ }, z.core.$strip>;
524
198
  };
525
199
  };
526
200
  archiveTeamMember: {
527
201
  description: "Archive (soft delete) a team member account";
528
202
  pathParams: z.ZodObject<{
529
203
  id: z.ZodString;
530
- }, "strip", z.ZodTypeAny, {
531
- id: string;
532
- }, {
533
- id: string;
534
- }>;
204
+ }, z.core.$strip>;
535
205
  summary: "Archive team member";
536
206
  method: "POST";
537
- body: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
207
+ body: z.ZodObject<{}, z.core.$strip>;
538
208
  path: "/login/:id/archive";
539
209
  responses: {
540
210
  201: z.ZodObject<{
@@ -551,102 +221,35 @@ export declare const teamManagementContract: {
551
221
  id: z.ZodString;
552
222
  name: z.ZodString;
553
223
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
554
- access: z.ZodArray<z.ZodString, "many">;
224
+ access: z.ZodArray<z.ZodString>;
555
225
  createdAt: z.ZodString;
556
226
  updatedAt: z.ZodString;
557
- }, "strip", z.ZodTypeAny, {
558
- name: string;
559
- createdAt: string;
560
- id: string;
561
- updatedAt: string;
562
- access: string[];
563
- description?: string | null | undefined;
564
- }, {
565
- name: string;
566
- createdAt: string;
567
- id: string;
568
- updatedAt: string;
569
- access: string[];
570
- description?: string | null | undefined;
571
- }>>;
227
+ }, z.core.$strip>>;
572
228
  createdAt: z.ZodString;
573
229
  updatedAt: z.ZodString;
574
- }, "strip", z.ZodTypeAny, {
575
- type: string;
576
- name: string;
577
- createdAt: string;
578
- id: string;
579
- profileId: string;
580
- identity: string;
581
- roleId: string;
582
- isActive: boolean;
583
- isArchived: boolean;
584
- resetPassword: boolean;
585
- updatedAt: string;
586
- role?: {
587
- name: string;
588
- createdAt: string;
589
- id: string;
590
- updatedAt: string;
591
- access: string[];
592
- description?: string | null | undefined;
593
- } | undefined;
594
- }, {
595
- type: string;
596
- name: string;
597
- createdAt: string;
598
- id: string;
599
- profileId: string;
600
- identity: string;
601
- roleId: string;
602
- isActive: boolean;
603
- isArchived: boolean;
604
- resetPassword: boolean;
605
- updatedAt: string;
606
- role?: {
607
- name: string;
608
- createdAt: string;
609
- id: string;
610
- updatedAt: string;
611
- access: string[];
612
- description?: string | null | undefined;
613
- } | undefined;
614
- }>;
230
+ }, z.core.$strip>;
615
231
  401: z.ZodObject<{
616
232
  message: z.ZodOptional<z.ZodString>;
617
- }, "strip", z.ZodTypeAny, {
618
- message?: string | undefined;
619
- }, {
620
- message?: string | undefined;
621
- }>;
233
+ }, z.core.$strip>;
622
234
  403: z.ZodObject<{
623
235
  message: z.ZodOptional<z.ZodString>;
624
- }, "strip", z.ZodTypeAny, {
625
- message?: string | undefined;
626
- }, {
627
- message?: string | undefined;
628
- }>;
236
+ }, z.core.$strip>;
629
237
  404: z.ZodObject<{
630
238
  message: z.ZodOptional<z.ZodString>;
631
- }, "strip", z.ZodTypeAny, {
632
- message?: string | undefined;
633
- }, {
634
- message?: string | undefined;
635
- }>;
239
+ }, z.core.$strip>;
240
+ 409: z.ZodObject<{
241
+ message: z.ZodOptional<z.ZodString>;
242
+ }, z.core.$strip>;
636
243
  };
637
244
  };
638
245
  unArchiveTeamMember: {
639
246
  description: "Unarchive a previously archived team member account";
640
247
  pathParams: z.ZodObject<{
641
248
  id: z.ZodString;
642
- }, "strip", z.ZodTypeAny, {
643
- id: string;
644
- }, {
645
- id: string;
646
- }>;
249
+ }, z.core.$strip>;
647
250
  summary: "Unarchive team member";
648
251
  method: "POST";
649
- body: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
252
+ body: z.ZodObject<{}, z.core.$strip>;
650
253
  path: "/login/:id/unarchive";
651
254
  responses: {
652
255
  201: z.ZodObject<{
@@ -663,148 +266,55 @@ export declare const teamManagementContract: {
663
266
  id: z.ZodString;
664
267
  name: z.ZodString;
665
268
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
666
- access: z.ZodArray<z.ZodString, "many">;
269
+ access: z.ZodArray<z.ZodString>;
667
270
  createdAt: z.ZodString;
668
271
  updatedAt: z.ZodString;
669
- }, "strip", z.ZodTypeAny, {
670
- name: string;
671
- createdAt: string;
672
- id: string;
673
- updatedAt: string;
674
- access: string[];
675
- description?: string | null | undefined;
676
- }, {
677
- name: string;
678
- createdAt: string;
679
- id: string;
680
- updatedAt: string;
681
- access: string[];
682
- description?: string | null | undefined;
683
- }>>;
272
+ }, z.core.$strip>>;
684
273
  createdAt: z.ZodString;
685
274
  updatedAt: z.ZodString;
686
- }, "strip", z.ZodTypeAny, {
687
- type: string;
688
- name: string;
689
- createdAt: string;
690
- id: string;
691
- profileId: string;
692
- identity: string;
693
- roleId: string;
694
- isActive: boolean;
695
- isArchived: boolean;
696
- resetPassword: boolean;
697
- updatedAt: string;
698
- role?: {
699
- name: string;
700
- createdAt: string;
701
- id: string;
702
- updatedAt: string;
703
- access: string[];
704
- description?: string | null | undefined;
705
- } | undefined;
706
- }, {
707
- type: string;
708
- name: string;
709
- createdAt: string;
710
- id: string;
711
- profileId: string;
712
- identity: string;
713
- roleId: string;
714
- isActive: boolean;
715
- isArchived: boolean;
716
- resetPassword: boolean;
717
- updatedAt: string;
718
- role?: {
719
- name: string;
720
- createdAt: string;
721
- id: string;
722
- updatedAt: string;
723
- access: string[];
724
- description?: string | null | undefined;
725
- } | undefined;
726
- }>;
275
+ }, z.core.$strip>;
727
276
  401: z.ZodObject<{
728
277
  message: z.ZodOptional<z.ZodString>;
729
- }, "strip", z.ZodTypeAny, {
730
- message?: string | undefined;
731
- }, {
732
- message?: string | undefined;
733
- }>;
278
+ }, z.core.$strip>;
734
279
  403: z.ZodObject<{
735
280
  message: z.ZodOptional<z.ZodString>;
736
- }, "strip", z.ZodTypeAny, {
737
- message?: string | undefined;
738
- }, {
739
- message?: string | undefined;
740
- }>;
281
+ }, z.core.$strip>;
741
282
  404: z.ZodObject<{
742
283
  message: z.ZodOptional<z.ZodString>;
743
- }, "strip", z.ZodTypeAny, {
744
- message?: string | undefined;
745
- }, {
746
- message?: string | undefined;
747
- }>;
284
+ }, z.core.$strip>;
285
+ 409: z.ZodObject<{
286
+ message: z.ZodOptional<z.ZodString>;
287
+ }, z.core.$strip>;
748
288
  };
749
289
  };
750
290
  resetPassword: {
751
291
  description: "Reset a team member's password and optionally send notification";
752
292
  pathParams: z.ZodObject<{
753
293
  id: z.ZodString;
754
- }, "strip", z.ZodTypeAny, {
755
- id: string;
756
- }, {
757
- id: string;
758
- }>;
294
+ }, z.core.$strip>;
759
295
  summary: "Reset team member password";
760
296
  method: "POST";
761
297
  body: z.ZodObject<{
762
- newPassword: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>>;
298
+ newPassword: z.ZodOptional<z.ZodString>;
763
299
  sendNotification: z.ZodOptional<z.ZodBoolean>;
764
- }, "strip", z.ZodTypeAny, {
765
- newPassword?: string | undefined;
766
- sendNotification?: boolean | undefined;
767
- }, {
768
- newPassword?: string | undefined;
769
- sendNotification?: boolean | undefined;
770
- }>;
300
+ }, z.core.$strip>;
771
301
  path: "/login/:id/reset-password";
772
302
  responses: {
773
303
  201: z.ZodObject<{
774
304
  success: z.ZodBoolean;
775
- }, "strip", z.ZodTypeAny, {
776
- success: boolean;
777
- }, {
778
- success: boolean;
779
- }>;
305
+ }, z.core.$strip>;
780
306
  400: z.ZodObject<{
781
307
  message: z.ZodOptional<z.ZodString>;
782
- }, "strip", z.ZodTypeAny, {
783
- message?: string | undefined;
784
- }, {
785
- message?: string | undefined;
786
- }>;
308
+ }, z.core.$strip>;
787
309
  401: z.ZodObject<{
788
310
  message: z.ZodOptional<z.ZodString>;
789
- }, "strip", z.ZodTypeAny, {
790
- message?: string | undefined;
791
- }, {
792
- message?: string | undefined;
793
- }>;
311
+ }, z.core.$strip>;
794
312
  403: z.ZodObject<{
795
313
  message: z.ZodOptional<z.ZodString>;
796
- }, "strip", z.ZodTypeAny, {
797
- message?: string | undefined;
798
- }, {
799
- message?: string | undefined;
800
- }>;
314
+ }, z.core.$strip>;
801
315
  404: z.ZodObject<{
802
316
  message: z.ZodOptional<z.ZodString>;
803
- }, "strip", z.ZodTypeAny, {
804
- message?: string | undefined;
805
- }, {
806
- message?: string | undefined;
807
- }>;
317
+ }, z.core.$strip>;
808
318
  };
809
319
  };
810
320
  getRoles: {
@@ -817,49 +327,23 @@ export declare const teamManagementContract: {
817
327
  id: z.ZodString;
818
328
  name: z.ZodString;
819
329
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
820
- access: z.ZodArray<z.ZodString, "many">;
330
+ access: z.ZodArray<z.ZodString>;
821
331
  createdAt: z.ZodString;
822
332
  updatedAt: z.ZodString;
823
- }, "strip", z.ZodTypeAny, {
824
- name: string;
825
- createdAt: string;
826
- id: string;
827
- updatedAt: string;
828
- access: string[];
829
- description?: string | null | undefined;
830
- }, {
831
- name: string;
832
- createdAt: string;
833
- id: string;
834
- updatedAt: string;
835
- access: string[];
836
- description?: string | null | undefined;
837
- }>, "many">;
333
+ }, z.core.$strip>>;
838
334
  401: z.ZodObject<{
839
335
  message: z.ZodOptional<z.ZodString>;
840
- }, "strip", z.ZodTypeAny, {
841
- message?: string | undefined;
842
- }, {
843
- message?: string | undefined;
844
- }>;
336
+ }, z.core.$strip>;
845
337
  403: z.ZodObject<{
846
338
  message: z.ZodOptional<z.ZodString>;
847
- }, "strip", z.ZodTypeAny, {
848
- message?: string | undefined;
849
- }, {
850
- message?: string | undefined;
851
- }>;
339
+ }, z.core.$strip>;
852
340
  };
853
341
  };
854
342
  getRole: {
855
343
  description: "Retrieve detailed information about a specific role";
856
344
  pathParams: z.ZodObject<{
857
345
  id: z.ZodString;
858
- }, "strip", z.ZodTypeAny, {
859
- id: string;
860
- }, {
861
- id: string;
862
- }>;
346
+ }, z.core.$strip>;
863
347
  summary: "Get role details";
864
348
  method: "GET";
865
349
  path: "/role/:id";
@@ -868,45 +352,19 @@ export declare const teamManagementContract: {
868
352
  id: z.ZodString;
869
353
  name: z.ZodString;
870
354
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
871
- access: z.ZodArray<z.ZodString, "many">;
355
+ access: z.ZodArray<z.ZodString>;
872
356
  createdAt: z.ZodString;
873
357
  updatedAt: z.ZodString;
874
- }, "strip", z.ZodTypeAny, {
875
- name: string;
876
- createdAt: string;
877
- id: string;
878
- updatedAt: string;
879
- access: string[];
880
- description?: string | null | undefined;
881
- }, {
882
- name: string;
883
- createdAt: string;
884
- id: string;
885
- updatedAt: string;
886
- access: string[];
887
- description?: string | null | undefined;
888
- }>;
358
+ }, z.core.$strip>;
889
359
  401: z.ZodObject<{
890
360
  message: z.ZodOptional<z.ZodString>;
891
- }, "strip", z.ZodTypeAny, {
892
- message?: string | undefined;
893
- }, {
894
- message?: string | undefined;
895
- }>;
361
+ }, z.core.$strip>;
896
362
  403: z.ZodObject<{
897
363
  message: z.ZodOptional<z.ZodString>;
898
- }, "strip", z.ZodTypeAny, {
899
- message?: string | undefined;
900
- }, {
901
- message?: string | undefined;
902
- }>;
364
+ }, z.core.$strip>;
903
365
  404: z.ZodObject<{
904
366
  message: z.ZodOptional<z.ZodString>;
905
- }, "strip", z.ZodTypeAny, {
906
- message?: string | undefined;
907
- }, {
908
- message?: string | undefined;
909
- }>;
367
+ }, z.core.$strip>;
910
368
  };
911
369
  };
912
370
  };
@@ -915,3 +373,4 @@ export declare const teamManagementContract: {
915
373
  * Use this type for strongly typed API client implementations.
916
374
  */
917
375
  export type TeamManagementContract = typeof teamManagementContract;
376
+ //# sourceMappingURL=team-member.contract.d.ts.map