@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.
- package/LICENSE +21 -0
- package/README.md +54 -207
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +5 -4
- package/dist/index.d.ts.map +1 -0
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/lib/api/base-repository.d.ts +2 -2
- package/dist/lib/api/base-repository.d.ts.map +1 -0
- package/dist/lib/api/index.d.ts +1 -0
- package/dist/lib/api/index.d.ts.map +1 -0
- package/dist/lib/error/error.api.d.ts +3 -2
- package/dist/lib/error/error.api.d.ts.map +1 -0
- package/dist/lib/error/error.permission.d.ts +2 -1
- package/dist/lib/error/error.permission.d.ts.map +1 -0
- package/dist/lib/error/error.utils.d.ts +1 -0
- package/dist/lib/error/error.utils.d.ts.map +1 -0
- package/dist/lib/error/index.d.ts +1 -0
- package/dist/lib/error/index.d.ts.map +1 -0
- package/dist/lib/query/index.d.ts +3 -2
- package/dist/lib/query/index.d.ts.map +1 -0
- package/dist/lib/query/pagination/pagination.d.ts +1 -0
- package/dist/lib/query/pagination/pagination.d.ts.map +1 -0
- package/dist/lib/query/pagination/pagination.schemas.d.ts +8 -61
- package/dist/lib/query/pagination/pagination.schemas.d.ts.map +1 -0
- package/dist/lib/query/query.builder.d.ts +10 -3
- package/dist/lib/query/query.builder.d.ts.map +1 -0
- package/dist/lib/query/query.types.d.ts +1 -0
- package/dist/lib/query/query.types.d.ts.map +1 -0
- package/dist/modules/auth/auth.contract.d.ts +10 -69
- package/dist/modules/auth/auth.contract.d.ts.map +1 -0
- package/dist/modules/auth/auth.dtos.d.ts +8 -67
- package/dist/modules/auth/auth.dtos.d.ts.map +1 -0
- package/dist/modules/auth/auth.repository.d.ts +1 -0
- package/dist/modules/auth/auth.repository.d.ts.map +1 -0
- package/dist/modules/auth/company-membership.model.d.ts +7 -86
- package/dist/modules/auth/company-membership.model.d.ts.map +1 -0
- package/dist/modules/auth/index.d.ts +3 -2
- package/dist/modules/auth/index.d.ts.map +1 -0
- package/dist/modules/auth/user.model.d.ts +26 -163
- package/dist/modules/auth/user.model.d.ts.map +1 -0
- package/dist/modules/beneficiary/beneficiary-info.model.d.ts +30 -67
- package/dist/modules/beneficiary/beneficiary-info.model.d.ts.map +1 -0
- package/dist/modules/beneficiary/beneficiary-input-handler.d.ts +3 -2
- package/dist/modules/beneficiary/beneficiary-input-handler.d.ts.map +1 -0
- package/dist/modules/beneficiary/beneficiary.api-contract.d.ts +16 -115
- package/dist/modules/beneficiary/beneficiary.api-contract.d.ts.map +1 -0
- package/dist/modules/beneficiary/beneficiary.dtos.d.ts +6 -34
- package/dist/modules/beneficiary/beneficiary.dtos.d.ts.map +1 -0
- package/dist/modules/beneficiary/beneficiary.model.d.ts +5 -27
- package/dist/modules/beneficiary/beneficiary.model.d.ts.map +1 -0
- package/dist/modules/beneficiary/beneficiary.repository.d.ts +2 -1
- package/dist/modules/beneficiary/beneficiary.repository.d.ts.map +1 -0
- package/dist/modules/beneficiary/index.d.ts +5 -4
- package/dist/modules/beneficiary/index.d.ts.map +1 -0
- package/dist/modules/login/index.d.ts +1 -0
- package/dist/modules/login/index.d.ts.map +1 -0
- package/dist/modules/login/login.api-contract.d.ts +3 -28
- package/dist/modules/login/login.api-contract.d.ts.map +1 -0
- package/dist/modules/login/login.dtos.d.ts +5 -56
- package/dist/modules/login/login.dtos.d.ts.map +1 -0
- package/dist/modules/login/login.model.d.ts +7 -34
- package/dist/modules/login/login.model.d.ts.map +1 -0
- package/dist/modules/login/login.repository.d.ts +2 -1
- package/dist/modules/login/login.repository.d.ts.map +1 -0
- package/dist/modules/login/permission.type.d.ts +1 -0
- package/dist/modules/login/permission.type.d.ts.map +1 -0
- package/dist/modules/payout/index.d.ts +3 -2
- package/dist/modules/payout/index.d.ts.map +1 -0
- package/dist/modules/payout/payout-channel-handler.d.ts +5 -4
- package/dist/modules/payout/payout-channel-handler.d.ts.map +1 -0
- package/dist/modules/payout/payout.api-contract.d.ts +78 -666
- package/dist/modules/payout/payout.api-contract.d.ts.map +1 -0
- package/dist/modules/payout/payout.dtos.d.ts +99 -506
- package/dist/modules/payout/payout.dtos.d.ts.map +1 -0
- package/dist/modules/payout/payout.model.d.ts +8 -85
- package/dist/modules/payout/payout.model.d.ts.map +1 -0
- package/dist/modules/payout/payout.query.d.ts +3 -2
- package/dist/modules/payout/payout.query.d.ts.map +1 -0
- package/dist/modules/payout/payout.repository.d.ts +7 -6
- package/dist/modules/payout/payout.repository.d.ts.map +1 -0
- package/dist/modules/profile/index.d.ts +1 -0
- package/dist/modules/profile/index.d.ts.map +1 -0
- package/dist/modules/profile/profile.api-contract.d.ts +2 -19
- package/dist/modules/profile/profile.api-contract.d.ts.map +1 -0
- package/dist/modules/profile/profile.dtos.d.ts +3 -38
- package/dist/modules/profile/profile.dtos.d.ts.map +1 -0
- package/dist/modules/profile/profile.model.d.ts +5 -42
- package/dist/modules/profile/profile.model.d.ts.map +1 -0
- package/dist/modules/profile/profile.repository.d.ts +1 -0
- package/dist/modules/profile/profile.repository.d.ts.map +1 -0
- package/dist/modules/team-member/index.d.ts +3 -2
- package/dist/modules/team-member/index.d.ts.map +1 -0
- package/dist/modules/team-member/role.model.d.ts +6 -21
- package/dist/modules/team-member/role.model.d.ts.map +1 -0
- package/dist/modules/team-member/team-member.contract.d.ts +74 -615
- package/dist/modules/team-member/team-member.contract.d.ts.map +1 -0
- package/dist/modules/team-member/team-member.dtos.d.ts +15 -162
- package/dist/modules/team-member/team-member.dtos.d.ts.map +1 -0
- package/dist/modules/team-member/team-member.model.d.ts +7 -66
- package/dist/modules/team-member/team-member.model.d.ts.map +1 -0
- package/dist/modules/team-member/team-member.repository.d.ts +3 -2
- package/dist/modules/team-member/team-member.repository.d.ts.map +1 -0
- package/dist/modules/wallet/index.d.ts +4 -2
- package/dist/modules/wallet/index.d.ts.map +1 -0
- package/dist/modules/wallet/narration.model.d.ts +3 -8
- package/dist/modules/wallet/narration.model.d.ts.map +1 -0
- package/dist/modules/wallet/statement-entry.model.d.ts +14 -131
- package/dist/modules/wallet/statement-entry.model.d.ts.map +1 -0
- package/dist/modules/wallet/wallet.contract.d.ts +17 -90
- package/dist/modules/wallet/wallet.contract.d.ts.map +1 -0
- package/dist/modules/wallet/wallet.dtos.d.ts +33 -138
- package/dist/modules/wallet/wallet.dtos.d.ts.map +1 -0
- package/dist/modules/wallet/wallet.model.d.ts +5 -26
- package/dist/modules/wallet/wallet.model.d.ts.map +1 -0
- package/dist/modules/wallet/wallet.query.d.ts +2 -1
- package/dist/modules/wallet/wallet.query.d.ts.map +1 -0
- package/dist/modules/wallet/wallet.repository.d.ts +49 -25
- package/dist/modules/wallet/wallet.repository.d.ts.map +1 -0
- package/dist/modules/wallet/wallet.timezone.d.ts +87 -0
- package/dist/modules/wallet/wallet.timezone.d.ts.map +1 -0
- package/dist/modules/wallet/wallet.utils.d.ts +3 -2
- package/dist/modules/wallet/wallet.utils.d.ts.map +1 -0
- package/package.json +40 -29
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"team-member.contract.d.ts","sourceRoot":"","sources":["../../../src/modules/team-member/team-member.contract.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0NjC,CAAC;AAEH;;;GAGG;AACH,MAAM,MAAM,sBAAsB,GAAG,OAAO,sBAAsB,CAAC"}
|
|
@@ -8,24 +8,10 @@ export declare const TeamManagementDTOSchemas: {
|
|
|
8
8
|
id: z.ZodString;
|
|
9
9
|
name: z.ZodString;
|
|
10
10
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
-
access: z.ZodArray<z.ZodString
|
|
11
|
+
access: z.ZodArray<z.ZodString>;
|
|
12
12
|
createdAt: z.ZodString;
|
|
13
13
|
updatedAt: z.ZodString;
|
|
14
|
-
},
|
|
15
|
-
name: string;
|
|
16
|
-
createdAt: string;
|
|
17
|
-
id: string;
|
|
18
|
-
updatedAt: string;
|
|
19
|
-
access: string[];
|
|
20
|
-
description?: string | null | undefined;
|
|
21
|
-
}, {
|
|
22
|
-
name: string;
|
|
23
|
-
createdAt: string;
|
|
24
|
-
id: string;
|
|
25
|
-
updatedAt: string;
|
|
26
|
-
access: string[];
|
|
27
|
-
description?: string | null | undefined;
|
|
28
|
-
}>;
|
|
14
|
+
}, z.core.$strip>;
|
|
29
15
|
teamMember: z.ZodObject<{
|
|
30
16
|
id: z.ZodString;
|
|
31
17
|
name: z.ZodString;
|
|
@@ -40,67 +26,13 @@ export declare const TeamManagementDTOSchemas: {
|
|
|
40
26
|
id: z.ZodString;
|
|
41
27
|
name: z.ZodString;
|
|
42
28
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
|
-
access: z.ZodArray<z.ZodString
|
|
29
|
+
access: z.ZodArray<z.ZodString>;
|
|
44
30
|
createdAt: z.ZodString;
|
|
45
31
|
updatedAt: z.ZodString;
|
|
46
|
-
},
|
|
47
|
-
name: string;
|
|
48
|
-
createdAt: string;
|
|
49
|
-
id: string;
|
|
50
|
-
updatedAt: string;
|
|
51
|
-
access: string[];
|
|
52
|
-
description?: string | null | undefined;
|
|
53
|
-
}, {
|
|
54
|
-
name: string;
|
|
55
|
-
createdAt: string;
|
|
56
|
-
id: string;
|
|
57
|
-
updatedAt: string;
|
|
58
|
-
access: string[];
|
|
59
|
-
description?: string | null | undefined;
|
|
60
|
-
}>>;
|
|
32
|
+
}, z.core.$strip>>;
|
|
61
33
|
createdAt: z.ZodString;
|
|
62
34
|
updatedAt: z.ZodString;
|
|
63
|
-
},
|
|
64
|
-
type: string;
|
|
65
|
-
name: string;
|
|
66
|
-
createdAt: string;
|
|
67
|
-
id: string;
|
|
68
|
-
profileId: string;
|
|
69
|
-
identity: string;
|
|
70
|
-
roleId: string;
|
|
71
|
-
isActive: boolean;
|
|
72
|
-
isArchived: boolean;
|
|
73
|
-
resetPassword: boolean;
|
|
74
|
-
updatedAt: string;
|
|
75
|
-
role?: {
|
|
76
|
-
name: string;
|
|
77
|
-
createdAt: string;
|
|
78
|
-
id: string;
|
|
79
|
-
updatedAt: string;
|
|
80
|
-
access: string[];
|
|
81
|
-
description?: string | null | undefined;
|
|
82
|
-
} | undefined;
|
|
83
|
-
}, {
|
|
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
|
-
}>;
|
|
35
|
+
}, z.core.$strip>;
|
|
104
36
|
teamMemberQueryParams: z.ZodObject<{
|
|
105
37
|
id: z.ZodOptional<z.ZodString>;
|
|
106
38
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -114,81 +46,25 @@ export declare const TeamManagementDTOSchemas: {
|
|
|
114
46
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
115
47
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
116
48
|
eager: z.ZodOptional<z.ZodString>;
|
|
117
|
-
},
|
|
118
|
-
type?: string | undefined;
|
|
119
|
-
name?: string | undefined;
|
|
120
|
-
createdAt?: string | undefined;
|
|
121
|
-
eager?: string | undefined;
|
|
122
|
-
id?: string | undefined;
|
|
123
|
-
profileId?: string | undefined;
|
|
124
|
-
identity?: string | undefined;
|
|
125
|
-
roleId?: string | undefined;
|
|
126
|
-
isActive?: number | undefined;
|
|
127
|
-
isArchived?: number | undefined;
|
|
128
|
-
resetPassword?: number | undefined;
|
|
129
|
-
updatedAt?: string | undefined;
|
|
130
|
-
}, {
|
|
131
|
-
type?: string | undefined;
|
|
132
|
-
name?: string | undefined;
|
|
133
|
-
createdAt?: string | undefined;
|
|
134
|
-
eager?: string | undefined;
|
|
135
|
-
id?: string | undefined;
|
|
136
|
-
profileId?: string | undefined;
|
|
137
|
-
identity?: string | undefined;
|
|
138
|
-
roleId?: string | undefined;
|
|
139
|
-
isActive?: number | undefined;
|
|
140
|
-
isArchived?: number | undefined;
|
|
141
|
-
resetPassword?: number | undefined;
|
|
142
|
-
updatedAt?: string | undefined;
|
|
143
|
-
}>;
|
|
49
|
+
}, z.core.$strip>;
|
|
144
50
|
createTeamMemberRequest: z.ZodObject<{
|
|
145
51
|
name: z.ZodString;
|
|
146
52
|
identity: z.ZodString;
|
|
147
|
-
password: z.ZodOptional<z.
|
|
53
|
+
password: z.ZodOptional<z.ZodString>;
|
|
148
54
|
roleId: z.ZodOptional<z.ZodString>;
|
|
149
55
|
resetPassword: z.ZodOptional<z.ZodBoolean>;
|
|
150
|
-
},
|
|
151
|
-
name: string;
|
|
152
|
-
identity: string;
|
|
153
|
-
roleId?: string | undefined;
|
|
154
|
-
resetPassword?: boolean | undefined;
|
|
155
|
-
password?: string | undefined;
|
|
156
|
-
}, {
|
|
157
|
-
name: string;
|
|
158
|
-
identity: string;
|
|
159
|
-
roleId?: string | undefined;
|
|
160
|
-
resetPassword?: boolean | undefined;
|
|
161
|
-
password?: string | undefined;
|
|
162
|
-
}>;
|
|
56
|
+
}, z.core.$strip>;
|
|
163
57
|
updateTeamMemberRequest: z.ZodObject<{
|
|
164
58
|
name: z.ZodOptional<z.ZodString>;
|
|
165
59
|
roleId: z.ZodOptional<z.ZodString>;
|
|
166
|
-
password: z.ZodOptional<z.
|
|
60
|
+
password: z.ZodOptional<z.ZodString>;
|
|
167
61
|
resetPassword: z.ZodOptional<z.ZodBoolean>;
|
|
168
62
|
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
169
|
-
},
|
|
170
|
-
name?: string | undefined;
|
|
171
|
-
roleId?: string | undefined;
|
|
172
|
-
isActive?: boolean | undefined;
|
|
173
|
-
resetPassword?: boolean | undefined;
|
|
174
|
-
password?: string | undefined;
|
|
175
|
-
}, {
|
|
176
|
-
name?: string | undefined;
|
|
177
|
-
roleId?: string | undefined;
|
|
178
|
-
isActive?: boolean | undefined;
|
|
179
|
-
resetPassword?: boolean | undefined;
|
|
180
|
-
password?: string | undefined;
|
|
181
|
-
}>;
|
|
63
|
+
}, z.core.$strip>;
|
|
182
64
|
resetPasswordRequest: z.ZodObject<{
|
|
183
|
-
newPassword: z.ZodOptional<z.
|
|
65
|
+
newPassword: z.ZodOptional<z.ZodString>;
|
|
184
66
|
sendNotification: z.ZodOptional<z.ZodBoolean>;
|
|
185
|
-
},
|
|
186
|
-
newPassword?: string | undefined;
|
|
187
|
-
sendNotification?: boolean | undefined;
|
|
188
|
-
}, {
|
|
189
|
-
newPassword?: string | undefined;
|
|
190
|
-
sendNotification?: boolean | undefined;
|
|
191
|
-
}>;
|
|
67
|
+
}, z.core.$strip>;
|
|
192
68
|
createTeamMemberResponse: z.ZodObject<{
|
|
193
69
|
id: z.ZodString;
|
|
194
70
|
name: z.ZodString;
|
|
@@ -201,32 +77,8 @@ export declare const TeamManagementDTOSchemas: {
|
|
|
201
77
|
isArchived: z.ZodBoolean;
|
|
202
78
|
createdAt: z.ZodString;
|
|
203
79
|
updatedAt: z.ZodString;
|
|
204
|
-
},
|
|
205
|
-
|
|
206
|
-
name: string;
|
|
207
|
-
createdAt: string;
|
|
208
|
-
id: string;
|
|
209
|
-
profileId: string;
|
|
210
|
-
identity: string;
|
|
211
|
-
roleId: string;
|
|
212
|
-
isActive: boolean;
|
|
213
|
-
isArchived: boolean;
|
|
214
|
-
resetPassword: boolean;
|
|
215
|
-
updatedAt: string;
|
|
216
|
-
}, {
|
|
217
|
-
type: string;
|
|
218
|
-
name: string;
|
|
219
|
-
createdAt: string;
|
|
220
|
-
id: string;
|
|
221
|
-
profileId: string;
|
|
222
|
-
identity: string;
|
|
223
|
-
roleId: string;
|
|
224
|
-
isActive: boolean;
|
|
225
|
-
isArchived: boolean;
|
|
226
|
-
resetPassword: boolean;
|
|
227
|
-
updatedAt: string;
|
|
228
|
-
}>;
|
|
229
|
-
password: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>;
|
|
80
|
+
}, z.core.$strip>;
|
|
81
|
+
password: z.ZodString;
|
|
230
82
|
};
|
|
231
83
|
/**
|
|
232
84
|
* TypeScript type for a validated role object.
|
|
@@ -259,3 +111,4 @@ export type CreateTeamMemberResponseDTO = z.infer<typeof TeamManagementDTOSchema
|
|
|
259
111
|
* All fields are optional to allow flexible filtering and searching.
|
|
260
112
|
*/
|
|
261
113
|
export type TeamMemberQueryParamsDTO = z.infer<typeof TeamManagementDTOSchemas.teamMemberQueryParams>;
|
|
114
|
+
//# sourceMappingURL=team-member.dtos.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"team-member.dtos.d.ts","sourceRoot":"","sources":["../../../src/modules/team-member/team-member.dtos.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AA2NxB;;;GAGG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CASpC,CAAC;AAIF;;;GAGG;AACH,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,IAAI,CAAC,CAAC;AAEpE;;;GAGG;AACH,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,uBAAuB,CAAC,CAAC;AAE1G;;;GAGG;AACH,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,uBAAuB,CAAC,CAAC;AAE1G;;;GAGG;AACH,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,oBAAoB,CAAC,CAAC;AAEpG;;;GAGG;AACH,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,wBAAwB,CAAC,CAAC;AAE5G;;;;GAIG;AACH,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,qBAAqB,CAAC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import z from "zod";
|
|
2
2
|
import { Role } from "./role.model.js";
|
|
3
|
-
import { RoleDTO } from "./team-member.dtos.js";
|
|
3
|
+
import type { RoleDTO } from "./team-member.dtos.js";
|
|
4
4
|
export interface TeamMemberData {
|
|
5
5
|
id: string;
|
|
6
6
|
name: string;
|
|
@@ -32,75 +32,15 @@ export declare const TeamMemberJSONSchema: z.ZodObject<{
|
|
|
32
32
|
id: z.ZodString;
|
|
33
33
|
name: z.ZodString;
|
|
34
34
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
|
-
access: z.ZodArray<z.ZodString
|
|
35
|
+
access: z.ZodArray<z.ZodString>;
|
|
36
36
|
createdAt: z.ZodString;
|
|
37
37
|
updatedAt: z.ZodString;
|
|
38
38
|
_version: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
39
|
-
},
|
|
40
|
-
name: string;
|
|
41
|
-
createdAt: string;
|
|
42
|
-
id: string;
|
|
43
|
-
_version: string;
|
|
44
|
-
updatedAt: string;
|
|
45
|
-
access: string[];
|
|
46
|
-
description?: string | null | undefined;
|
|
47
|
-
}, {
|
|
48
|
-
name: string;
|
|
49
|
-
createdAt: string;
|
|
50
|
-
id: string;
|
|
51
|
-
updatedAt: string;
|
|
52
|
-
access: string[];
|
|
53
|
-
_version?: string | undefined;
|
|
54
|
-
description?: string | null | undefined;
|
|
55
|
-
}>>;
|
|
39
|
+
}, z.z.core.$strip>>;
|
|
56
40
|
createdAt: z.ZodString;
|
|
57
41
|
updatedAt: z.ZodString;
|
|
58
42
|
_version: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
59
|
-
},
|
|
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 | null | 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 | null | undefined;
|
|
102
|
-
} | undefined;
|
|
103
|
-
}>;
|
|
43
|
+
}, z.z.core.$strip>;
|
|
104
44
|
export type TeamMemberJSON = z.infer<typeof TeamMemberJSONSchema>;
|
|
105
45
|
/**
|
|
106
46
|
* Represents a team member from the admin management perspective.
|
|
@@ -211,8 +151,8 @@ export declare class TeamMember {
|
|
|
211
151
|
*/
|
|
212
152
|
getLastUpdateInfo(): string;
|
|
213
153
|
/**
|
|
214
|
-
|
|
215
|
-
|
|
154
|
+
* Serializes the TeamMember instance to a JSON-compatible object
|
|
155
|
+
*/
|
|
216
156
|
toJSON(): TeamMemberJSON;
|
|
217
157
|
/**
|
|
218
158
|
* Serializes the TeamMember instance to a JSON string
|
|
@@ -235,3 +175,4 @@ export declare class TeamMember {
|
|
|
235
175
|
*/
|
|
236
176
|
static toJSONArray(members: TeamMember[]): TeamMemberJSON[];
|
|
237
177
|
}
|
|
178
|
+
//# sourceMappingURL=team-member.model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"team-member.model.d.ts","sourceRoot":"","sources":["../../../src/modules/team-member/team-member.model.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AACpB,OAAO,EAAE,IAAI,EAAkB,MAAM,iBAAiB,CAAC;AACvD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAIrD,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MA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7 +1,7 @@
|
|
|
1
1
|
import { BaseRepository } from "@/lib/api/base-repository.js";
|
|
2
|
-
import { teamManagementContract } from "./team-member.contract.js";
|
|
3
2
|
import { Role } from "./role.model.js";
|
|
4
|
-
import {
|
|
3
|
+
import { teamManagementContract } from "./team-member.contract.js";
|
|
4
|
+
import type { CreateTeamMemberRequestDTO, CreateTeamMemberResponseDTO, ResetPasswordRequestDTO, TeamMemberQueryParamsDTO, UpdateTeamMemberRequestDTO } from "./team-member.dtos.js";
|
|
5
5
|
import { TeamMember } from "./team-member.model.js";
|
|
6
6
|
/**
|
|
7
7
|
* Repository class for managing team members through API interactions.
|
|
@@ -177,3 +177,4 @@ export declare class TeamMemberRepository extends BaseRepository<typeof teamMana
|
|
|
177
177
|
*/
|
|
178
178
|
getRole(id: string): Promise<Role>;
|
|
179
179
|
}
|
|
180
|
+
//# sourceMappingURL=team-member.repository.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"team-member.repository.d.ts","sourceRoot":"","sources":["../../../src/modules/team-member/team-member.repository.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AACvC,OAAO,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,KAAK,EACV,0BAA0B,EAC1B,2BAA2B,EAC3B,uBAAuB,EAEvB,wBAAwB,EACxB,0BAA0B,EAC3B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,UAAU,EAAuB,MAAM,wBAAwB,CAAC;AAEzE;;;;;;;;;;;;;;GAcG;AACH,qBAAa,oBAAqB,SAAQ,cAAc,CAAC,OAAO,sBAAsB,CAAC;IACrF;;;;;;;;;;;;;;OAcG;gBACS,OAAO,CAAC,EAAE;QAAE,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE;IAIvD;;;;;;;;;;;;;;;OAeG;IACG,gBAAgB,CAAC,KAAK,EAAE,0BAA0B,GAAG,OAAO,CAAC,2BAA2B,CAAC;IAK/F;;;;;;;;;;;;;;;OAeG;IACG,gBAAgB,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,0BAA0B,GAAG,OAAO,CAAC,UAAU,CAAC;IAc1F;;;;;;;;;;;OAWG;IACG,iBAAiB,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,UAAU,CAAC;IAaxD;;;;;;;;;;;OAWG;IACG,mBAAmB,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,UAAU,CAAC;IAa1D;;;;;;;;;;;;;;OAcG;IACG,uBAAuB,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,GAAE,uBAA4B,GAAG,OAAO,CAAC;QAAE,OAAO,EAAE,OAAO,CAAA;KAAE,CAAC;IAQ7G;;;;;;;;;;;;;;;;OAgBG;IACG,iBAAiB,CAAC,KAAK,GAAE,wBAA8C,GAAG,OAAO,CAAC,UAAU,EAAE,CAAC;IAMrG;;;;;;;;;;;;;OAaG;IACG,aAAa,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,GAAE,wBAA8C,GAAG,OAAO,CAAC,UAAU,CAAC;IAU3G;;;;;;;;;;;OAWG;IACG,WAAW,IAAI,OAAO,CAAC,IAAI,EAAE,CAAC;IAYpC;;;;;;;;;;;;OAYG;IACG,OAAO,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CASzC"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
export * from "./narration.model.js";
|
|
2
|
+
export * from "./statement-entry.model.js";
|
|
1
3
|
export * from "./wallet.dtos.js";
|
|
2
4
|
export * from "./wallet.model.js";
|
|
3
|
-
export * from "./statement-entry.model.js";
|
|
4
|
-
export * from "./narration.model.js";
|
|
5
5
|
export * from "./wallet.repository.js";
|
|
6
|
+
export * from "./wallet.timezone.js";
|
|
6
7
|
export * from "./wallet.utils.js";
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/modules/wallet/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import z from "zod";
|
|
2
|
-
import { BankBeneficiaryInfo, BeneficiaryInfo, MobileBeneficiaryInfo } from "../beneficiary/beneficiary-info.model.js";
|
|
2
|
+
import { BankBeneficiaryInfo, type BeneficiaryInfo, MobileBeneficiaryInfo } from "../beneficiary/beneficiary-info.model.js";
|
|
3
3
|
/** Prefix for Ecobank mobile transfer narrations */
|
|
4
4
|
export declare const ECOBANK_PREFIX = "MOBILE TRANSFER ";
|
|
5
5
|
/** V2 format prefix for payout narrations using contact details */
|
|
@@ -18,13 +18,7 @@ export declare const LEGACY_MOBILE_NARR_PREFIX: string;
|
|
|
18
18
|
export declare const NarrationJSONSchema: z.ZodObject<{
|
|
19
19
|
text: z.ZodString;
|
|
20
20
|
_version: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
21
|
-
},
|
|
22
|
-
_version: string;
|
|
23
|
-
text: string;
|
|
24
|
-
}, {
|
|
25
|
-
text: string;
|
|
26
|
-
_version?: string | undefined;
|
|
27
|
-
}>;
|
|
21
|
+
}, z.z.core.$strip>;
|
|
28
22
|
export type NarrationJSON = z.infer<typeof NarrationJSONSchema>;
|
|
29
23
|
/**
|
|
30
24
|
* Handles payout narration generation and parsing for the Afloat platform.
|
|
@@ -223,3 +217,4 @@ export declare class Narration {
|
|
|
223
217
|
*/
|
|
224
218
|
static fromJson(json: NarrationJSON | string): Narration | undefined;
|
|
225
219
|
}
|
|
220
|
+
//# sourceMappingURL=narration.model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"narration.model.d.ts","sourceRoot":"","sources":["../../../src/modules/wallet/narration.model.ts"],"names":[],"mappings":"AACA,OAAO,CAAC,MAAM,KAAK,CAAC;AACpB,OAAO,EACL,mBAAmB,EACnB,KAAK,eAAe,EACpB,qBAAqB,EACtB,MAAM,0CAA0C,CAAC;AAElD,oDAAoD;AACpD,eAAO,MAAM,cAAc,qBAAqB,CAAC;AAEjD,mEAAmE;AACnE,eAAO,MAAM,cAAc,EAAE,MAAiB,CAAC;AAC/C,kDAAkD;AAClD,eAAO,MAAM,gBAAgB,EAAE,MAAyB,CAAC;AACzD,sDAAsD;AACtD,eAAO,MAAM,uBAAuB,EAAE,MAAkB,CAAC;AAEzD,0DAA0D;AAC1D,eAAO,MAAM,kBAAkB,EAAE,MAA2B,CAAC;AAC7D,8DAA8D;AAC9D,eAAO,MAAM,yBAAyB,EAAE,MAAkB,CAAC;AAE3D;;GAEG;AACH,eAAO,MAAM,mBAAmB;;;mBAG9B,CAAC;AAEH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEhE;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,qBAAa,SAAS;IACpB,6BAA6B;IAC7B,IAAI,EAAE,MAAM,CAAC;IAEb;;;;OAIG;gBACS,IAAI,EAAE,MAAM;IAIxB;;;;;OAKG;IACH,IAAI,UAAU,WAMb;IAED;;;;;OAKG;IACH,IAAI,SAAS,WAMZ;IAED;;;;;;;;;;;;;;;;;OAiBG;IACH,MAAM,CAAC,8BAA8B,CAAC,IAAI,EAAE,eAAe,GAAG,MAAM;IAUpE;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,+BAA+B,CAAC,IAAI,EAAE,qBAAqB,GAAG,MAAM;IAK3E;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,6BAA6B,CAAC,IAAI,EAAE,mBAAmB,GAAG,MAAM;IAKvE;;;;;;;;;;;;;;;;;;OAkBG;IACH,qBAAqB,QAAO,eAAe,GAAG,SAAS,CAMrD;IAEF;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,yBAAyB,QAAO,mBAAmB,GAAG,SAAS,CA2E7D;IAEF;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,2BAA2B,QAAO,qBAAqB,GAAG,SAAS,CA4DjE;IAEF;;;;;OAKG;IACH,MAAM,CAAC,EAAE,CAAC,GAAG,EAAE,OAAO,GAAG,GAAG,IAAI,SAAS;IAezC;;OAEG;IACH,MAAM,IAAI,aAAa;IAOvB;;OAEG;IACH,YAAY,IAAI,MAAM;IAItB;;OAEG;IACH,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAE,aAAa,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS;IAkBpE;;OAEG;IACH,MAAM,CAAC,eAAe,CAAC,GAAG,EAAE,OAAO,GAAG,GAAG,IAAI,aAAa;IAK1D;;OAEG;IACH,MAAM,IAAI,aAAa;IAIvB;;OAEG;IACH,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAE,aAAa,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS;CAGrE"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Amount } from "@temboplus/frontend-core";
|
|
2
|
-
import { Narration } from "./narration.model.js";
|
|
3
2
|
import z from "zod";
|
|
3
|
+
import { Narration } from "./narration.model.js";
|
|
4
4
|
/**
|
|
5
5
|
* Zod schema for WalletStatementEntry JSON serialization
|
|
6
6
|
*/
|
|
@@ -11,13 +11,7 @@ export declare const WalletStatementEntryJSONSchema: z.ZodObject<{
|
|
|
11
11
|
narration: z.ZodObject<{
|
|
12
12
|
text: z.ZodString;
|
|
13
13
|
_version: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
14
|
-
},
|
|
15
|
-
_version: string;
|
|
16
|
-
text: string;
|
|
17
|
-
}, {
|
|
18
|
-
text: string;
|
|
19
|
-
_version?: string | undefined;
|
|
20
|
-
}>;
|
|
14
|
+
}, z.z.core.$strip>;
|
|
21
15
|
txnDate: z.ZodString;
|
|
22
16
|
valueDate: z.ZodString;
|
|
23
17
|
amountCredited: z.ZodObject<{
|
|
@@ -25,112 +19,22 @@ export declare const WalletStatementEntryJSONSchema: z.ZodObject<{
|
|
|
25
19
|
text: z.ZodString;
|
|
26
20
|
currencyCode: z.ZodString;
|
|
27
21
|
_version: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
28
|
-
},
|
|
29
|
-
_version: string;
|
|
30
|
-
value: number;
|
|
31
|
-
text: string;
|
|
32
|
-
currencyCode: string;
|
|
33
|
-
}, {
|
|
34
|
-
value: number;
|
|
35
|
-
text: string;
|
|
36
|
-
currencyCode: string;
|
|
37
|
-
_version?: string | undefined;
|
|
38
|
-
}>;
|
|
22
|
+
}, z.z.core.$strip>;
|
|
39
23
|
amountDebited: z.ZodObject<{
|
|
40
24
|
value: z.ZodNumber;
|
|
41
25
|
text: z.ZodString;
|
|
42
26
|
currencyCode: z.ZodString;
|
|
43
27
|
_version: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
44
|
-
},
|
|
45
|
-
_version: string;
|
|
46
|
-
value: number;
|
|
47
|
-
text: string;
|
|
48
|
-
currencyCode: string;
|
|
49
|
-
}, {
|
|
50
|
-
value: number;
|
|
51
|
-
text: string;
|
|
52
|
-
currencyCode: string;
|
|
53
|
-
_version?: string | undefined;
|
|
54
|
-
}>;
|
|
28
|
+
}, z.z.core.$strip>;
|
|
55
29
|
balance: z.ZodObject<{
|
|
56
30
|
value: z.ZodNumber;
|
|
57
31
|
text: z.ZodString;
|
|
58
32
|
currencyCode: z.ZodString;
|
|
59
33
|
_version: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
60
|
-
},
|
|
61
|
-
_version: string;
|
|
62
|
-
value: number;
|
|
63
|
-
text: string;
|
|
64
|
-
currencyCode: string;
|
|
65
|
-
}, {
|
|
66
|
-
value: number;
|
|
67
|
-
text: string;
|
|
68
|
-
currencyCode: string;
|
|
69
|
-
_version?: string | undefined;
|
|
70
|
-
}>;
|
|
34
|
+
}, z.z.core.$strip>;
|
|
71
35
|
currencyCode: z.ZodString;
|
|
72
36
|
_version: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
73
|
-
},
|
|
74
|
-
_version: string;
|
|
75
|
-
currencyCode: string;
|
|
76
|
-
debitOrCredit: string;
|
|
77
|
-
tranRefNo: string;
|
|
78
|
-
narration: {
|
|
79
|
-
_version: string;
|
|
80
|
-
text: string;
|
|
81
|
-
};
|
|
82
|
-
txnDate: string;
|
|
83
|
-
valueDate: string;
|
|
84
|
-
amountCredited: {
|
|
85
|
-
_version: string;
|
|
86
|
-
value: number;
|
|
87
|
-
text: string;
|
|
88
|
-
currencyCode: string;
|
|
89
|
-
};
|
|
90
|
-
amountDebited: {
|
|
91
|
-
_version: string;
|
|
92
|
-
value: number;
|
|
93
|
-
text: string;
|
|
94
|
-
currencyCode: string;
|
|
95
|
-
};
|
|
96
|
-
balance: {
|
|
97
|
-
_version: string;
|
|
98
|
-
value: number;
|
|
99
|
-
text: string;
|
|
100
|
-
currencyCode: string;
|
|
101
|
-
};
|
|
102
|
-
accountNo?: string | undefined;
|
|
103
|
-
}, {
|
|
104
|
-
currencyCode: string;
|
|
105
|
-
debitOrCredit: string;
|
|
106
|
-
tranRefNo: string;
|
|
107
|
-
narration: {
|
|
108
|
-
text: string;
|
|
109
|
-
_version?: string | undefined;
|
|
110
|
-
};
|
|
111
|
-
txnDate: string;
|
|
112
|
-
valueDate: string;
|
|
113
|
-
amountCredited: {
|
|
114
|
-
value: number;
|
|
115
|
-
text: string;
|
|
116
|
-
currencyCode: string;
|
|
117
|
-
_version?: string | undefined;
|
|
118
|
-
};
|
|
119
|
-
amountDebited: {
|
|
120
|
-
value: number;
|
|
121
|
-
text: string;
|
|
122
|
-
currencyCode: string;
|
|
123
|
-
_version?: string | undefined;
|
|
124
|
-
};
|
|
125
|
-
balance: {
|
|
126
|
-
value: number;
|
|
127
|
-
text: string;
|
|
128
|
-
currencyCode: string;
|
|
129
|
-
_version?: string | undefined;
|
|
130
|
-
};
|
|
131
|
-
accountNo?: string | undefined;
|
|
132
|
-
_version?: string | undefined;
|
|
133
|
-
}>;
|
|
37
|
+
}, z.z.core.$strip>;
|
|
134
38
|
export type WalletStatementEntryJSON = z.infer<typeof WalletStatementEntryJSONSchema>;
|
|
135
39
|
/**
|
|
136
40
|
* Represents a single entry in a Wallet's statement history.
|
|
@@ -154,39 +58,17 @@ export declare class WalletStatementEntry {
|
|
|
154
58
|
* Gets the statement entry schema used for validation.
|
|
155
59
|
*/
|
|
156
60
|
static get schema(): z.ZodObject<{
|
|
157
|
-
accountNo: z.
|
|
61
|
+
accountNo: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string | undefined, string | undefined>>;
|
|
158
62
|
debitOrCredit: z.ZodString;
|
|
159
63
|
tranRefNo: z.ZodString;
|
|
160
64
|
narration: z.ZodString;
|
|
161
|
-
txnDate: z.
|
|
162
|
-
valueDate: z.
|
|
65
|
+
txnDate: z.z.ZodCoercedDate<unknown>;
|
|
66
|
+
valueDate: z.z.ZodCoercedDate<unknown>;
|
|
163
67
|
amountCredited: z.ZodNumber;
|
|
164
68
|
amountDebited: z.ZodNumber;
|
|
165
69
|
balance: z.ZodNumber;
|
|
166
|
-
currencyCode: z.ZodDefault<z.
|
|
167
|
-
},
|
|
168
|
-
currencyCode: string;
|
|
169
|
-
debitOrCredit: string;
|
|
170
|
-
tranRefNo: string;
|
|
171
|
-
narration: string;
|
|
172
|
-
txnDate: Date;
|
|
173
|
-
valueDate: Date;
|
|
174
|
-
amountCredited: number;
|
|
175
|
-
amountDebited: number;
|
|
176
|
-
balance: number;
|
|
177
|
-
accountNo?: string | undefined;
|
|
178
|
-
}, {
|
|
179
|
-
debitOrCredit: string;
|
|
180
|
-
tranRefNo: string;
|
|
181
|
-
narration: string;
|
|
182
|
-
txnDate: Date;
|
|
183
|
-
valueDate: Date;
|
|
184
|
-
amountCredited: number;
|
|
185
|
-
amountDebited: number;
|
|
186
|
-
balance: number;
|
|
187
|
-
accountNo?: string | undefined;
|
|
188
|
-
currencyCode?: string | undefined;
|
|
189
|
-
}>;
|
|
70
|
+
currencyCode: z.ZodDefault<z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string | undefined, string | undefined>>>;
|
|
71
|
+
}, z.z.core.$strip>;
|
|
190
72
|
/**
|
|
191
73
|
* Private constructor to enforce use of static factory methods.
|
|
192
74
|
* Assumes data is already validated and dates are Date objects.
|
|
@@ -257,8 +139,8 @@ export declare class WalletStatementEntry {
|
|
|
257
139
|
*/
|
|
258
140
|
static from(data: any): WalletStatementEntry | undefined;
|
|
259
141
|
/**
|
|
260
|
-
|
|
261
|
-
|
|
142
|
+
* Serializes the WalletStatementEntry instance to a JSON-compatible object
|
|
143
|
+
*/
|
|
262
144
|
toJSON(): WalletStatementEntryJSON;
|
|
263
145
|
/**
|
|
264
146
|
* Serializes the WalletStatementEntry instance to a JSON string
|
|
@@ -297,3 +179,4 @@ export declare class WalletStatementEntry {
|
|
|
297
179
|
*/
|
|
298
180
|
static toJsonArray(entries: WalletStatementEntry[]): WalletStatementEntryJSON[];
|
|
299
181
|
}
|
|
182
|
+
//# sourceMappingURL=statement-entry.model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"statement-entry.model.d.ts","sourceRoot":"","sources":["../../../src/modules/wallet/statement-entry.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAA8B,MAAM,0BAA0B,CAAC;AAC9E,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,OAAO,EAAE,SAAS,EAAuB,MAAM,sBAAsB,CAAC;AAEtE;;GAEG;AACH,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;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