@temboplus/afloat 0.1.76-beta.0 → 0.1.77-beta.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/lib/error/error.permission.d.ts +1 -1
- package/dist/modules/auth/auth.contract.d.ts +6 -6
- package/dist/modules/auth/auth.manager.d.ts +1 -1
- package/dist/modules/auth/company-membership.model.d.ts +171 -0
- package/dist/modules/auth/index.d.ts +1 -1
- package/dist/modules/auth/user.model.d.ts +330 -33
- package/dist/modules/contact/contact-info.model.d.ts +183 -533
- package/dist/modules/contact/contact.api-contract.d.ts +16 -16
- package/dist/modules/contact/contact.dtos.d.ts +4 -4
- package/dist/modules/contact/contact.model.d.ts +309 -32
- package/dist/modules/login/index.d.ts +2 -0
- package/dist/modules/login/login.api-contract.d.ts +34 -5
- package/dist/modules/login/login.dtos.d.ts +85 -0
- package/dist/modules/login/login.model.d.ts +168 -1
- package/dist/modules/{auth → login}/permission.type.d.ts +8 -8
- package/dist/modules/payout/payout.api-contract.d.ts +46 -46
- package/dist/modules/payout/payout.dtos.d.ts +30 -24
- package/dist/modules/payout/payout.model.d.ts +242 -2
- package/dist/modules/payout/payout.query.d.ts +7 -0
- package/dist/modules/profile/profile.model.d.ts +65 -30
- package/dist/modules/team-member/index.d.ts +4 -0
- package/dist/modules/team-member/role.model.d.ts +61 -0
- package/dist/modules/{user/user.contract.d.ts → team-member/team-member.contract.d.ts} +238 -127
- package/dist/modules/team-member/team-member.dtos.d.ts +261 -0
- package/dist/modules/team-member/team-member.model.d.ts +237 -0
- package/dist/modules/team-member/team-member.repository.d.ts +179 -0
- package/dist/modules/wallet/narration.model.d.ts +34 -38
- package/dist/modules/wallet/statement-entry.model.d.ts +172 -73
- package/dist/modules/wallet/wallet.contract.d.ts +4 -4
- package/dist/modules/wallet/wallet.dtos.d.ts +8 -8
- package/dist/modules/wallet/wallet.model.d.ts +56 -19
- package/dist/modules/wallet/wallet.query.d.ts +95 -0
- package/dist/modules/wallet/wallet.repository.d.ts +45 -13
- package/package.json +2 -2
- package/dist/modules/user/index.d.ts +0 -4
- package/dist/modules/user/role.model.d.ts +0 -13
- package/dist/modules/user/user.dtos.d.ts +0 -145
- package/dist/modules/user/user.model.d.ts +0 -108
- package/dist/modules/user/user.repository.d.ts +0 -179
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
export declare const
|
|
3
|
-
|
|
4
|
-
description: "Retrieve a list of all
|
|
2
|
+
export declare const teamManagementContract: {
|
|
3
|
+
getTeamMembers: {
|
|
4
|
+
description: "Retrieve a list of all team member accounts in the system";
|
|
5
5
|
query: z.ZodObject<{
|
|
6
6
|
id: z.ZodOptional<z.ZodString>;
|
|
7
7
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -15,34 +15,34 @@ export declare const userManagementContract: {
|
|
|
15
15
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
16
16
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
17
17
|
eager: z.ZodOptional<z.ZodString>;
|
|
18
|
-
},
|
|
18
|
+
}, "strip", z.ZodTypeAny, {
|
|
19
19
|
type?: string | undefined;
|
|
20
20
|
name?: string | undefined;
|
|
21
21
|
id?: string | undefined;
|
|
22
|
-
resetPassword?: number | undefined;
|
|
23
|
-
identity?: string | undefined;
|
|
24
|
-
createdAt?: string | undefined;
|
|
25
|
-
eager?: string | undefined;
|
|
26
22
|
profileId?: string | undefined;
|
|
27
|
-
|
|
23
|
+
identity?: string | undefined;
|
|
28
24
|
roleId?: string | undefined;
|
|
29
25
|
isActive?: number | undefined;
|
|
30
26
|
isArchived?: number | undefined;
|
|
27
|
+
resetPassword?: number | undefined;
|
|
28
|
+
createdAt?: string | undefined;
|
|
29
|
+
updatedAt?: string | undefined;
|
|
30
|
+
eager?: string | undefined;
|
|
31
31
|
}, {
|
|
32
32
|
type?: string | undefined;
|
|
33
33
|
name?: string | undefined;
|
|
34
34
|
id?: string | undefined;
|
|
35
|
-
resetPassword?: number | undefined;
|
|
36
|
-
identity?: string | undefined;
|
|
37
|
-
createdAt?: string | undefined;
|
|
38
|
-
eager?: string | undefined;
|
|
39
35
|
profileId?: string | undefined;
|
|
40
|
-
|
|
36
|
+
identity?: string | undefined;
|
|
41
37
|
roleId?: string | undefined;
|
|
42
38
|
isActive?: number | undefined;
|
|
43
39
|
isArchived?: number | undefined;
|
|
40
|
+
resetPassword?: number | undefined;
|
|
41
|
+
createdAt?: string | undefined;
|
|
42
|
+
updatedAt?: string | undefined;
|
|
43
|
+
eager?: string | undefined;
|
|
44
44
|
}>;
|
|
45
|
-
summary: "List all
|
|
45
|
+
summary: "List all team members";
|
|
46
46
|
method: "GET";
|
|
47
47
|
path: "/login";
|
|
48
48
|
responses: {
|
|
@@ -56,47 +56,68 @@ export declare const userManagementContract: {
|
|
|
56
56
|
resetPassword: z.ZodBoolean;
|
|
57
57
|
isActive: z.ZodBoolean;
|
|
58
58
|
isArchived: z.ZodBoolean;
|
|
59
|
-
role: z.ZodOptional<z.
|
|
59
|
+
role: z.ZodOptional<z.ZodObject<{
|
|
60
|
+
id: z.ZodString;
|
|
61
|
+
name: z.ZodString;
|
|
62
|
+
description: z.ZodOptional<z.ZodString>;
|
|
63
|
+
access: z.ZodArray<z.ZodString, "many">;
|
|
64
|
+
createdAt: z.ZodString;
|
|
65
|
+
updatedAt: z.ZodString;
|
|
66
|
+
}, "strip", z.ZodTypeAny, {
|
|
67
|
+
name: string;
|
|
68
|
+
id: string;
|
|
69
|
+
createdAt: string;
|
|
70
|
+
updatedAt: string;
|
|
71
|
+
access: string[];
|
|
72
|
+
description?: string | undefined;
|
|
73
|
+
}, {
|
|
74
|
+
name: string;
|
|
75
|
+
id: string;
|
|
76
|
+
createdAt: string;
|
|
77
|
+
updatedAt: string;
|
|
78
|
+
access: string[];
|
|
79
|
+
description?: string | undefined;
|
|
80
|
+
}>>;
|
|
60
81
|
createdAt: z.ZodString;
|
|
61
82
|
updatedAt: z.ZodString;
|
|
62
|
-
},
|
|
83
|
+
}, "strip", z.ZodTypeAny, {
|
|
63
84
|
type: string;
|
|
64
85
|
name: string;
|
|
65
86
|
id: string;
|
|
66
|
-
resetPassword: boolean;
|
|
67
|
-
identity: string;
|
|
68
|
-
createdAt: string;
|
|
69
87
|
profileId: string;
|
|
70
|
-
|
|
88
|
+
identity: string;
|
|
71
89
|
roleId: string;
|
|
72
90
|
isActive: boolean;
|
|
73
91
|
isArchived: boolean;
|
|
92
|
+
resetPassword: boolean;
|
|
93
|
+
createdAt: string;
|
|
94
|
+
updatedAt: string;
|
|
74
95
|
role?: {
|
|
75
96
|
name: string;
|
|
76
97
|
id: string;
|
|
77
|
-
access: string[];
|
|
78
98
|
createdAt: string;
|
|
79
99
|
updatedAt: string;
|
|
100
|
+
access: string[];
|
|
80
101
|
description?: string | undefined;
|
|
81
102
|
} | undefined;
|
|
82
103
|
}, {
|
|
83
104
|
type: string;
|
|
84
105
|
name: string;
|
|
85
106
|
id: string;
|
|
86
|
-
resetPassword: boolean;
|
|
87
|
-
identity: string;
|
|
88
|
-
createdAt: string;
|
|
89
107
|
profileId: string;
|
|
90
|
-
|
|
108
|
+
identity: string;
|
|
91
109
|
roleId: string;
|
|
92
110
|
isActive: boolean;
|
|
93
111
|
isArchived: boolean;
|
|
112
|
+
resetPassword: boolean;
|
|
113
|
+
createdAt: string;
|
|
114
|
+
updatedAt: string;
|
|
94
115
|
role?: {
|
|
95
116
|
name: string;
|
|
96
117
|
id: string;
|
|
97
|
-
access: string[];
|
|
98
118
|
createdAt: string;
|
|
99
119
|
updatedAt: string;
|
|
120
|
+
access: string[];
|
|
100
121
|
description?: string | undefined;
|
|
101
122
|
} | undefined;
|
|
102
123
|
}>, "many">;
|
|
@@ -116,8 +137,8 @@ export declare const userManagementContract: {
|
|
|
116
137
|
}>;
|
|
117
138
|
};
|
|
118
139
|
};
|
|
119
|
-
|
|
120
|
-
description: "Retrieve detailed information about a specific
|
|
140
|
+
getTeamMember: {
|
|
141
|
+
description: "Retrieve detailed information about a specific team member";
|
|
121
142
|
pathParams: z.ZodObject<{
|
|
122
143
|
id: z.ZodString;
|
|
123
144
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -138,34 +159,34 @@ export declare const userManagementContract: {
|
|
|
138
159
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
139
160
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
140
161
|
eager: z.ZodOptional<z.ZodString>;
|
|
141
|
-
},
|
|
162
|
+
}, "strip", z.ZodTypeAny, {
|
|
142
163
|
type?: string | undefined;
|
|
143
164
|
name?: string | undefined;
|
|
144
165
|
id?: string | undefined;
|
|
145
|
-
resetPassword?: number | undefined;
|
|
146
|
-
identity?: string | undefined;
|
|
147
|
-
createdAt?: string | undefined;
|
|
148
|
-
eager?: string | undefined;
|
|
149
166
|
profileId?: string | undefined;
|
|
150
|
-
|
|
167
|
+
identity?: string | undefined;
|
|
151
168
|
roleId?: string | undefined;
|
|
152
169
|
isActive?: number | undefined;
|
|
153
170
|
isArchived?: number | undefined;
|
|
171
|
+
resetPassword?: number | undefined;
|
|
172
|
+
createdAt?: string | undefined;
|
|
173
|
+
updatedAt?: string | undefined;
|
|
174
|
+
eager?: string | undefined;
|
|
154
175
|
}, {
|
|
155
176
|
type?: string | undefined;
|
|
156
177
|
name?: string | undefined;
|
|
157
178
|
id?: string | undefined;
|
|
158
|
-
resetPassword?: number | undefined;
|
|
159
|
-
identity?: string | undefined;
|
|
160
|
-
createdAt?: string | undefined;
|
|
161
|
-
eager?: string | undefined;
|
|
162
179
|
profileId?: string | undefined;
|
|
163
|
-
|
|
180
|
+
identity?: string | undefined;
|
|
164
181
|
roleId?: string | undefined;
|
|
165
182
|
isActive?: number | undefined;
|
|
166
183
|
isArchived?: number | undefined;
|
|
184
|
+
resetPassword?: number | undefined;
|
|
185
|
+
createdAt?: string | undefined;
|
|
186
|
+
updatedAt?: string | undefined;
|
|
187
|
+
eager?: string | undefined;
|
|
167
188
|
}>;
|
|
168
|
-
summary: "Get
|
|
189
|
+
summary: "Get team member details";
|
|
169
190
|
method: "GET";
|
|
170
191
|
path: "/login/:id";
|
|
171
192
|
responses: {
|
|
@@ -179,47 +200,68 @@ export declare const userManagementContract: {
|
|
|
179
200
|
resetPassword: z.ZodBoolean;
|
|
180
201
|
isActive: z.ZodBoolean;
|
|
181
202
|
isArchived: z.ZodBoolean;
|
|
182
|
-
role: z.ZodOptional<z.
|
|
203
|
+
role: z.ZodOptional<z.ZodObject<{
|
|
204
|
+
id: z.ZodString;
|
|
205
|
+
name: z.ZodString;
|
|
206
|
+
description: z.ZodOptional<z.ZodString>;
|
|
207
|
+
access: z.ZodArray<z.ZodString, "many">;
|
|
208
|
+
createdAt: z.ZodString;
|
|
209
|
+
updatedAt: z.ZodString;
|
|
210
|
+
}, "strip", z.ZodTypeAny, {
|
|
211
|
+
name: string;
|
|
212
|
+
id: string;
|
|
213
|
+
createdAt: string;
|
|
214
|
+
updatedAt: string;
|
|
215
|
+
access: string[];
|
|
216
|
+
description?: string | undefined;
|
|
217
|
+
}, {
|
|
218
|
+
name: string;
|
|
219
|
+
id: string;
|
|
220
|
+
createdAt: string;
|
|
221
|
+
updatedAt: string;
|
|
222
|
+
access: string[];
|
|
223
|
+
description?: string | undefined;
|
|
224
|
+
}>>;
|
|
183
225
|
createdAt: z.ZodString;
|
|
184
226
|
updatedAt: z.ZodString;
|
|
185
|
-
},
|
|
227
|
+
}, "strip", z.ZodTypeAny, {
|
|
186
228
|
type: string;
|
|
187
229
|
name: string;
|
|
188
230
|
id: string;
|
|
189
|
-
resetPassword: boolean;
|
|
190
|
-
identity: string;
|
|
191
|
-
createdAt: string;
|
|
192
231
|
profileId: string;
|
|
193
|
-
|
|
232
|
+
identity: string;
|
|
194
233
|
roleId: string;
|
|
195
234
|
isActive: boolean;
|
|
196
235
|
isArchived: boolean;
|
|
236
|
+
resetPassword: boolean;
|
|
237
|
+
createdAt: string;
|
|
238
|
+
updatedAt: string;
|
|
197
239
|
role?: {
|
|
198
240
|
name: string;
|
|
199
241
|
id: string;
|
|
200
|
-
access: string[];
|
|
201
242
|
createdAt: string;
|
|
202
243
|
updatedAt: string;
|
|
244
|
+
access: string[];
|
|
203
245
|
description?: string | undefined;
|
|
204
246
|
} | undefined;
|
|
205
247
|
}, {
|
|
206
248
|
type: string;
|
|
207
249
|
name: string;
|
|
208
250
|
id: string;
|
|
209
|
-
resetPassword: boolean;
|
|
210
|
-
identity: string;
|
|
211
|
-
createdAt: string;
|
|
212
251
|
profileId: string;
|
|
213
|
-
|
|
252
|
+
identity: string;
|
|
214
253
|
roleId: string;
|
|
215
254
|
isActive: boolean;
|
|
216
255
|
isArchived: boolean;
|
|
256
|
+
resetPassword: boolean;
|
|
257
|
+
createdAt: string;
|
|
258
|
+
updatedAt: string;
|
|
217
259
|
role?: {
|
|
218
260
|
name: string;
|
|
219
261
|
id: string;
|
|
220
|
-
access: string[];
|
|
221
262
|
createdAt: string;
|
|
222
263
|
updatedAt: string;
|
|
264
|
+
access: string[];
|
|
223
265
|
description?: string | undefined;
|
|
224
266
|
} | undefined;
|
|
225
267
|
}>;
|
|
@@ -246,9 +288,9 @@ export declare const userManagementContract: {
|
|
|
246
288
|
}>;
|
|
247
289
|
};
|
|
248
290
|
};
|
|
249
|
-
|
|
250
|
-
description: "Create a new
|
|
251
|
-
summary: "Create new
|
|
291
|
+
createTeamMember: {
|
|
292
|
+
description: "Create a new team member account with specified role and permissions";
|
|
293
|
+
summary: "Create new team member";
|
|
252
294
|
method: "POST";
|
|
253
295
|
body: z.ZodObject<{
|
|
254
296
|
name: z.ZodString;
|
|
@@ -256,18 +298,18 @@ export declare const userManagementContract: {
|
|
|
256
298
|
password: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>>;
|
|
257
299
|
roleId: z.ZodOptional<z.ZodString>;
|
|
258
300
|
resetPassword: z.ZodOptional<z.ZodBoolean>;
|
|
259
|
-
},
|
|
301
|
+
}, "strip", z.ZodTypeAny, {
|
|
260
302
|
name: string;
|
|
261
303
|
identity: string;
|
|
304
|
+
roleId?: string | undefined;
|
|
262
305
|
resetPassword?: boolean | undefined;
|
|
263
306
|
password?: string | undefined;
|
|
264
|
-
roleId?: string | undefined;
|
|
265
307
|
}, {
|
|
266
308
|
name: string;
|
|
267
309
|
identity: string;
|
|
310
|
+
roleId?: string | undefined;
|
|
268
311
|
resetPassword?: boolean | undefined;
|
|
269
312
|
password?: string | undefined;
|
|
270
|
-
roleId?: string | undefined;
|
|
271
313
|
}>;
|
|
272
314
|
path: "/login";
|
|
273
315
|
responses: {
|
|
@@ -277,30 +319,36 @@ export declare const userManagementContract: {
|
|
|
277
319
|
identity: z.ZodString;
|
|
278
320
|
type: z.ZodString;
|
|
279
321
|
profileId: z.ZodString;
|
|
322
|
+
resetPassword: z.ZodBoolean;
|
|
280
323
|
roleId: z.ZodString;
|
|
281
324
|
isActive: z.ZodBoolean;
|
|
282
325
|
isArchived: z.ZodBoolean;
|
|
283
326
|
createdAt: z.ZodString;
|
|
284
|
-
|
|
327
|
+
updatedAt: z.ZodString;
|
|
328
|
+
}, "strip", z.ZodTypeAny, {
|
|
285
329
|
type: string;
|
|
286
330
|
name: string;
|
|
287
331
|
id: string;
|
|
288
|
-
identity: string;
|
|
289
|
-
createdAt: string;
|
|
290
332
|
profileId: string;
|
|
333
|
+
identity: string;
|
|
291
334
|
roleId: string;
|
|
292
335
|
isActive: boolean;
|
|
293
336
|
isArchived: boolean;
|
|
337
|
+
resetPassword: boolean;
|
|
338
|
+
createdAt: string;
|
|
339
|
+
updatedAt: string;
|
|
294
340
|
}, {
|
|
295
341
|
type: string;
|
|
296
342
|
name: string;
|
|
297
343
|
id: string;
|
|
298
|
-
identity: string;
|
|
299
|
-
createdAt: string;
|
|
300
344
|
profileId: string;
|
|
345
|
+
identity: string;
|
|
301
346
|
roleId: string;
|
|
302
347
|
isActive: boolean;
|
|
303
348
|
isArchived: boolean;
|
|
349
|
+
resetPassword: boolean;
|
|
350
|
+
createdAt: string;
|
|
351
|
+
updatedAt: string;
|
|
304
352
|
}>;
|
|
305
353
|
400: z.ZodObject<{
|
|
306
354
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -335,8 +383,8 @@ export declare const userManagementContract: {
|
|
|
335
383
|
}>;
|
|
336
384
|
};
|
|
337
385
|
};
|
|
338
|
-
|
|
339
|
-
description: "Update
|
|
386
|
+
updateTeamMember: {
|
|
387
|
+
description: "Update team member information, role, status, or force password reset";
|
|
340
388
|
pathParams: z.ZodObject<{
|
|
341
389
|
id: z.ZodString;
|
|
342
390
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -344,7 +392,7 @@ export declare const userManagementContract: {
|
|
|
344
392
|
}, {
|
|
345
393
|
id: string;
|
|
346
394
|
}>;
|
|
347
|
-
summary: "Update
|
|
395
|
+
summary: "Update team member";
|
|
348
396
|
method: "PATCH";
|
|
349
397
|
body: z.ZodObject<{
|
|
350
398
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -352,18 +400,18 @@ export declare const userManagementContract: {
|
|
|
352
400
|
password: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>>;
|
|
353
401
|
resetPassword: z.ZodOptional<z.ZodBoolean>;
|
|
354
402
|
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
355
|
-
},
|
|
403
|
+
}, "strip", z.ZodTypeAny, {
|
|
356
404
|
name?: string | undefined;
|
|
357
|
-
resetPassword?: boolean | undefined;
|
|
358
|
-
password?: string | undefined;
|
|
359
405
|
roleId?: string | undefined;
|
|
360
406
|
isActive?: boolean | undefined;
|
|
361
|
-
}, {
|
|
362
|
-
name?: string | undefined;
|
|
363
407
|
resetPassword?: boolean | undefined;
|
|
364
408
|
password?: string | undefined;
|
|
409
|
+
}, {
|
|
410
|
+
name?: string | undefined;
|
|
365
411
|
roleId?: string | undefined;
|
|
366
412
|
isActive?: boolean | undefined;
|
|
413
|
+
resetPassword?: boolean | undefined;
|
|
414
|
+
password?: string | undefined;
|
|
367
415
|
}>;
|
|
368
416
|
path: "/login/:id";
|
|
369
417
|
responses: {
|
|
@@ -377,47 +425,68 @@ export declare const userManagementContract: {
|
|
|
377
425
|
resetPassword: z.ZodBoolean;
|
|
378
426
|
isActive: z.ZodBoolean;
|
|
379
427
|
isArchived: z.ZodBoolean;
|
|
380
|
-
role: z.ZodOptional<z.
|
|
428
|
+
role: z.ZodOptional<z.ZodObject<{
|
|
429
|
+
id: z.ZodString;
|
|
430
|
+
name: z.ZodString;
|
|
431
|
+
description: z.ZodOptional<z.ZodString>;
|
|
432
|
+
access: z.ZodArray<z.ZodString, "many">;
|
|
433
|
+
createdAt: z.ZodString;
|
|
434
|
+
updatedAt: z.ZodString;
|
|
435
|
+
}, "strip", z.ZodTypeAny, {
|
|
436
|
+
name: string;
|
|
437
|
+
id: string;
|
|
438
|
+
createdAt: string;
|
|
439
|
+
updatedAt: string;
|
|
440
|
+
access: string[];
|
|
441
|
+
description?: string | undefined;
|
|
442
|
+
}, {
|
|
443
|
+
name: string;
|
|
444
|
+
id: string;
|
|
445
|
+
createdAt: string;
|
|
446
|
+
updatedAt: string;
|
|
447
|
+
access: string[];
|
|
448
|
+
description?: string | undefined;
|
|
449
|
+
}>>;
|
|
381
450
|
createdAt: z.ZodString;
|
|
382
451
|
updatedAt: z.ZodString;
|
|
383
|
-
},
|
|
452
|
+
}, "strip", z.ZodTypeAny, {
|
|
384
453
|
type: string;
|
|
385
454
|
name: string;
|
|
386
455
|
id: string;
|
|
387
|
-
resetPassword: boolean;
|
|
388
|
-
identity: string;
|
|
389
|
-
createdAt: string;
|
|
390
456
|
profileId: string;
|
|
391
|
-
|
|
457
|
+
identity: string;
|
|
392
458
|
roleId: string;
|
|
393
459
|
isActive: boolean;
|
|
394
460
|
isArchived: boolean;
|
|
461
|
+
resetPassword: boolean;
|
|
462
|
+
createdAt: string;
|
|
463
|
+
updatedAt: string;
|
|
395
464
|
role?: {
|
|
396
465
|
name: string;
|
|
397
466
|
id: string;
|
|
398
|
-
access: string[];
|
|
399
467
|
createdAt: string;
|
|
400
468
|
updatedAt: string;
|
|
469
|
+
access: string[];
|
|
401
470
|
description?: string | undefined;
|
|
402
471
|
} | undefined;
|
|
403
472
|
}, {
|
|
404
473
|
type: string;
|
|
405
474
|
name: string;
|
|
406
475
|
id: string;
|
|
407
|
-
resetPassword: boolean;
|
|
408
|
-
identity: string;
|
|
409
|
-
createdAt: string;
|
|
410
476
|
profileId: string;
|
|
411
|
-
|
|
477
|
+
identity: string;
|
|
412
478
|
roleId: string;
|
|
413
479
|
isActive: boolean;
|
|
414
480
|
isArchived: boolean;
|
|
481
|
+
resetPassword: boolean;
|
|
482
|
+
createdAt: string;
|
|
483
|
+
updatedAt: string;
|
|
415
484
|
role?: {
|
|
416
485
|
name: string;
|
|
417
486
|
id: string;
|
|
418
|
-
access: string[];
|
|
419
487
|
createdAt: string;
|
|
420
488
|
updatedAt: string;
|
|
489
|
+
access: string[];
|
|
421
490
|
description?: string | undefined;
|
|
422
491
|
} | undefined;
|
|
423
492
|
}>;
|
|
@@ -454,8 +523,8 @@ export declare const userManagementContract: {
|
|
|
454
523
|
}>;
|
|
455
524
|
};
|
|
456
525
|
};
|
|
457
|
-
|
|
458
|
-
description: "Archive (soft delete) a
|
|
526
|
+
archiveTeamMember: {
|
|
527
|
+
description: "Archive (soft delete) a team member account";
|
|
459
528
|
pathParams: z.ZodObject<{
|
|
460
529
|
id: z.ZodString;
|
|
461
530
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -463,7 +532,7 @@ export declare const userManagementContract: {
|
|
|
463
532
|
}, {
|
|
464
533
|
id: string;
|
|
465
534
|
}>;
|
|
466
|
-
summary: "Archive
|
|
535
|
+
summary: "Archive team member";
|
|
467
536
|
method: "POST";
|
|
468
537
|
body: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
469
538
|
path: "/login/:id/archive";
|
|
@@ -478,47 +547,68 @@ export declare const userManagementContract: {
|
|
|
478
547
|
resetPassword: z.ZodBoolean;
|
|
479
548
|
isActive: z.ZodBoolean;
|
|
480
549
|
isArchived: z.ZodBoolean;
|
|
481
|
-
role: z.ZodOptional<z.
|
|
550
|
+
role: z.ZodOptional<z.ZodObject<{
|
|
551
|
+
id: z.ZodString;
|
|
552
|
+
name: z.ZodString;
|
|
553
|
+
description: z.ZodOptional<z.ZodString>;
|
|
554
|
+
access: z.ZodArray<z.ZodString, "many">;
|
|
555
|
+
createdAt: z.ZodString;
|
|
556
|
+
updatedAt: z.ZodString;
|
|
557
|
+
}, "strip", z.ZodTypeAny, {
|
|
558
|
+
name: string;
|
|
559
|
+
id: string;
|
|
560
|
+
createdAt: string;
|
|
561
|
+
updatedAt: string;
|
|
562
|
+
access: string[];
|
|
563
|
+
description?: string | undefined;
|
|
564
|
+
}, {
|
|
565
|
+
name: string;
|
|
566
|
+
id: string;
|
|
567
|
+
createdAt: string;
|
|
568
|
+
updatedAt: string;
|
|
569
|
+
access: string[];
|
|
570
|
+
description?: string | undefined;
|
|
571
|
+
}>>;
|
|
482
572
|
createdAt: z.ZodString;
|
|
483
573
|
updatedAt: z.ZodString;
|
|
484
|
-
},
|
|
574
|
+
}, "strip", z.ZodTypeAny, {
|
|
485
575
|
type: string;
|
|
486
576
|
name: string;
|
|
487
577
|
id: string;
|
|
488
|
-
resetPassword: boolean;
|
|
489
|
-
identity: string;
|
|
490
|
-
createdAt: string;
|
|
491
578
|
profileId: string;
|
|
492
|
-
|
|
579
|
+
identity: string;
|
|
493
580
|
roleId: string;
|
|
494
581
|
isActive: boolean;
|
|
495
582
|
isArchived: boolean;
|
|
583
|
+
resetPassword: boolean;
|
|
584
|
+
createdAt: string;
|
|
585
|
+
updatedAt: string;
|
|
496
586
|
role?: {
|
|
497
587
|
name: string;
|
|
498
588
|
id: string;
|
|
499
|
-
access: string[];
|
|
500
589
|
createdAt: string;
|
|
501
590
|
updatedAt: string;
|
|
591
|
+
access: string[];
|
|
502
592
|
description?: string | undefined;
|
|
503
593
|
} | undefined;
|
|
504
594
|
}, {
|
|
505
595
|
type: string;
|
|
506
596
|
name: string;
|
|
507
597
|
id: string;
|
|
508
|
-
resetPassword: boolean;
|
|
509
|
-
identity: string;
|
|
510
|
-
createdAt: string;
|
|
511
598
|
profileId: string;
|
|
512
|
-
|
|
599
|
+
identity: string;
|
|
513
600
|
roleId: string;
|
|
514
601
|
isActive: boolean;
|
|
515
602
|
isArchived: boolean;
|
|
603
|
+
resetPassword: boolean;
|
|
604
|
+
createdAt: string;
|
|
605
|
+
updatedAt: string;
|
|
516
606
|
role?: {
|
|
517
607
|
name: string;
|
|
518
608
|
id: string;
|
|
519
|
-
access: string[];
|
|
520
609
|
createdAt: string;
|
|
521
610
|
updatedAt: string;
|
|
611
|
+
access: string[];
|
|
522
612
|
description?: string | undefined;
|
|
523
613
|
} | undefined;
|
|
524
614
|
}>;
|
|
@@ -545,8 +635,8 @@ export declare const userManagementContract: {
|
|
|
545
635
|
}>;
|
|
546
636
|
};
|
|
547
637
|
};
|
|
548
|
-
|
|
549
|
-
description: "
|
|
638
|
+
unArchiveTeamMember: {
|
|
639
|
+
description: "Unarchive a previously archived team member account";
|
|
550
640
|
pathParams: z.ZodObject<{
|
|
551
641
|
id: z.ZodString;
|
|
552
642
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -554,7 +644,7 @@ export declare const userManagementContract: {
|
|
|
554
644
|
}, {
|
|
555
645
|
id: string;
|
|
556
646
|
}>;
|
|
557
|
-
summary: "
|
|
647
|
+
summary: "Unarchive team member";
|
|
558
648
|
method: "POST";
|
|
559
649
|
body: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
560
650
|
path: "/login/:id/unarchive";
|
|
@@ -569,47 +659,68 @@ export declare const userManagementContract: {
|
|
|
569
659
|
resetPassword: z.ZodBoolean;
|
|
570
660
|
isActive: z.ZodBoolean;
|
|
571
661
|
isArchived: z.ZodBoolean;
|
|
572
|
-
role: z.ZodOptional<z.
|
|
662
|
+
role: z.ZodOptional<z.ZodObject<{
|
|
663
|
+
id: z.ZodString;
|
|
664
|
+
name: z.ZodString;
|
|
665
|
+
description: z.ZodOptional<z.ZodString>;
|
|
666
|
+
access: z.ZodArray<z.ZodString, "many">;
|
|
667
|
+
createdAt: z.ZodString;
|
|
668
|
+
updatedAt: z.ZodString;
|
|
669
|
+
}, "strip", z.ZodTypeAny, {
|
|
670
|
+
name: string;
|
|
671
|
+
id: string;
|
|
672
|
+
createdAt: string;
|
|
673
|
+
updatedAt: string;
|
|
674
|
+
access: string[];
|
|
675
|
+
description?: string | undefined;
|
|
676
|
+
}, {
|
|
677
|
+
name: string;
|
|
678
|
+
id: string;
|
|
679
|
+
createdAt: string;
|
|
680
|
+
updatedAt: string;
|
|
681
|
+
access: string[];
|
|
682
|
+
description?: string | undefined;
|
|
683
|
+
}>>;
|
|
573
684
|
createdAt: z.ZodString;
|
|
574
685
|
updatedAt: z.ZodString;
|
|
575
|
-
},
|
|
686
|
+
}, "strip", z.ZodTypeAny, {
|
|
576
687
|
type: string;
|
|
577
688
|
name: string;
|
|
578
689
|
id: string;
|
|
579
|
-
resetPassword: boolean;
|
|
580
|
-
identity: string;
|
|
581
|
-
createdAt: string;
|
|
582
690
|
profileId: string;
|
|
583
|
-
|
|
691
|
+
identity: string;
|
|
584
692
|
roleId: string;
|
|
585
693
|
isActive: boolean;
|
|
586
694
|
isArchived: boolean;
|
|
695
|
+
resetPassword: boolean;
|
|
696
|
+
createdAt: string;
|
|
697
|
+
updatedAt: string;
|
|
587
698
|
role?: {
|
|
588
699
|
name: string;
|
|
589
700
|
id: string;
|
|
590
|
-
access: string[];
|
|
591
701
|
createdAt: string;
|
|
592
702
|
updatedAt: string;
|
|
703
|
+
access: string[];
|
|
593
704
|
description?: string | undefined;
|
|
594
705
|
} | undefined;
|
|
595
706
|
}, {
|
|
596
707
|
type: string;
|
|
597
708
|
name: string;
|
|
598
709
|
id: string;
|
|
599
|
-
resetPassword: boolean;
|
|
600
|
-
identity: string;
|
|
601
|
-
createdAt: string;
|
|
602
710
|
profileId: string;
|
|
603
|
-
|
|
711
|
+
identity: string;
|
|
604
712
|
roleId: string;
|
|
605
713
|
isActive: boolean;
|
|
606
714
|
isArchived: boolean;
|
|
715
|
+
resetPassword: boolean;
|
|
716
|
+
createdAt: string;
|
|
717
|
+
updatedAt: string;
|
|
607
718
|
role?: {
|
|
608
719
|
name: string;
|
|
609
720
|
id: string;
|
|
610
|
-
access: string[];
|
|
611
721
|
createdAt: string;
|
|
612
722
|
updatedAt: string;
|
|
723
|
+
access: string[];
|
|
613
724
|
description?: string | undefined;
|
|
614
725
|
} | undefined;
|
|
615
726
|
}>;
|
|
@@ -637,7 +748,7 @@ export declare const userManagementContract: {
|
|
|
637
748
|
};
|
|
638
749
|
};
|
|
639
750
|
resetPassword: {
|
|
640
|
-
description: "Reset a
|
|
751
|
+
description: "Reset a team member's password and optionally send notification";
|
|
641
752
|
pathParams: z.ZodObject<{
|
|
642
753
|
id: z.ZodString;
|
|
643
754
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -645,12 +756,12 @@ export declare const userManagementContract: {
|
|
|
645
756
|
}, {
|
|
646
757
|
id: string;
|
|
647
758
|
}>;
|
|
648
|
-
summary: "Reset
|
|
759
|
+
summary: "Reset team member password";
|
|
649
760
|
method: "POST";
|
|
650
761
|
body: z.ZodObject<{
|
|
651
762
|
newPassword: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>>;
|
|
652
763
|
sendNotification: z.ZodOptional<z.ZodBoolean>;
|
|
653
|
-
},
|
|
764
|
+
}, "strip", z.ZodTypeAny, {
|
|
654
765
|
newPassword?: string | undefined;
|
|
655
766
|
sendNotification?: boolean | undefined;
|
|
656
767
|
}, {
|
|
@@ -706,22 +817,22 @@ export declare const userManagementContract: {
|
|
|
706
817
|
id: z.ZodString;
|
|
707
818
|
name: z.ZodString;
|
|
708
819
|
description: z.ZodOptional<z.ZodString>;
|
|
709
|
-
access: z.ZodArray<z.ZodString>;
|
|
820
|
+
access: z.ZodArray<z.ZodString, "many">;
|
|
710
821
|
createdAt: z.ZodString;
|
|
711
822
|
updatedAt: z.ZodString;
|
|
712
|
-
},
|
|
823
|
+
}, "strip", z.ZodTypeAny, {
|
|
713
824
|
name: string;
|
|
714
825
|
id: string;
|
|
715
|
-
access: string[];
|
|
716
826
|
createdAt: string;
|
|
717
827
|
updatedAt: string;
|
|
828
|
+
access: string[];
|
|
718
829
|
description?: string | undefined;
|
|
719
830
|
}, {
|
|
720
831
|
name: string;
|
|
721
832
|
id: string;
|
|
722
|
-
access: string[];
|
|
723
833
|
createdAt: string;
|
|
724
834
|
updatedAt: string;
|
|
835
|
+
access: string[];
|
|
725
836
|
description?: string | undefined;
|
|
726
837
|
}>, "many">;
|
|
727
838
|
401: z.ZodObject<{
|
|
@@ -757,22 +868,22 @@ export declare const userManagementContract: {
|
|
|
757
868
|
id: z.ZodString;
|
|
758
869
|
name: z.ZodString;
|
|
759
870
|
description: z.ZodOptional<z.ZodString>;
|
|
760
|
-
access: z.ZodArray<z.ZodString>;
|
|
871
|
+
access: z.ZodArray<z.ZodString, "many">;
|
|
761
872
|
createdAt: z.ZodString;
|
|
762
873
|
updatedAt: z.ZodString;
|
|
763
|
-
},
|
|
874
|
+
}, "strip", z.ZodTypeAny, {
|
|
764
875
|
name: string;
|
|
765
876
|
id: string;
|
|
766
|
-
access: string[];
|
|
767
877
|
createdAt: string;
|
|
768
878
|
updatedAt: string;
|
|
879
|
+
access: string[];
|
|
769
880
|
description?: string | undefined;
|
|
770
881
|
}, {
|
|
771
882
|
name: string;
|
|
772
883
|
id: string;
|
|
773
|
-
access: string[];
|
|
774
884
|
createdAt: string;
|
|
775
885
|
updatedAt: string;
|
|
886
|
+
access: string[];
|
|
776
887
|
description?: string | undefined;
|
|
777
888
|
}>;
|
|
778
889
|
401: z.ZodObject<{
|
|
@@ -800,7 +911,7 @@ export declare const userManagementContract: {
|
|
|
800
911
|
};
|
|
801
912
|
};
|
|
802
913
|
/**
|
|
803
|
-
* TypeScript type for the complete
|
|
914
|
+
* TypeScript type for the complete team management contract.
|
|
804
915
|
* Use this type for strongly typed API client implementations.
|
|
805
916
|
*/
|
|
806
|
-
export type
|
|
917
|
+
export type TeamManagementContract = typeof teamManagementContract;
|