@temboplus/tembo-dashboard 0.2.0 → 0.2.3
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 +46 -92
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +3 -2
- 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 +4 -4
- package/dist/lib/api/base-repository.d.ts.map +1 -0
- package/dist/lib/api/common-schemas.d.ts +37 -296
- package/dist/lib/api/common-schemas.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/index.d.ts +1 -0
- package/dist/lib/error/index.d.ts.map +1 -0
- package/dist/lib/models/index.d.ts +2 -1
- package/dist/lib/models/index.d.ts.map +1 -0
- package/dist/lib/models/statement-entry.model.d.ts +3 -2
- package/dist/lib/models/statement-entry.model.d.ts.map +1 -0
- package/dist/lib/models/transaction-summary.model.d.ts +3 -2
- package/dist/lib/models/transaction-summary.model.d.ts.map +1 -0
- package/dist/lib/models/wallet-info.model.d.ts +2 -1
- package/dist/lib/models/wallet-info.model.d.ts.map +1 -0
- package/dist/lib/query/index.d.ts +1 -0
- package/dist/lib/query/index.d.ts.map +1 -0
- package/dist/lib/query/query.builder.d.ts +2 -1
- 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/lib/types.d.ts +1 -0
- package/dist/lib/types.d.ts.map +1 -0
- package/dist/modules/auth/auth.api-contract.d.ts +11 -108
- package/dist/modules/auth/auth.api-contract.d.ts.map +1 -0
- package/dist/modules/auth/auth.dtos.d.ts +4 -23
- 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/index.d.ts +3 -2
- package/dist/modules/auth/index.d.ts.map +1 -0
- package/dist/modules/auth/user.model.d.ts +1 -0
- package/dist/modules/auth/user.model.d.ts.map +1 -0
- package/dist/modules/collection/collection.api-contract.d.ts +35 -387
- package/dist/modules/collection/collection.api-contract.d.ts.map +1 -0
- package/dist/modules/collection/collection.model.d.ts +3 -2
- package/dist/modules/collection/collection.model.d.ts.map +1 -0
- package/dist/modules/collection/collection.query.d.ts +2 -1
- package/dist/modules/collection/collection.query.d.ts.map +1 -0
- package/dist/modules/collection/collection.repository.d.ts +4 -3
- package/dist/modules/collection/collection.repository.d.ts.map +1 -0
- package/dist/modules/collection/collection.types.d.ts +32 -167
- package/dist/modules/collection/collection.types.d.ts.map +1 -0
- package/dist/modules/collection/index.d.ts +3 -2
- package/dist/modules/collection/index.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.api-contract.d.ts +36 -402
- package/dist/modules/payout/payout.api-contract.d.ts.map +1 -0
- package/dist/modules/payout/payout.model.d.ts +4 -3
- package/dist/modules/payout/payout.model.d.ts.map +1 -0
- package/dist/modules/payout/payout.query.d.ts +2 -1
- package/dist/modules/payout/payout.query.d.ts.map +1 -0
- package/dist/modules/payout/payout.repository.d.ts +4 -3
- package/dist/modules/payout/payout.repository.d.ts.map +1 -0
- package/dist/modules/payout/payout.types.d.ts +39 -214
- package/dist/modules/payout/payout.types.d.ts.map +1 -0
- package/dist/modules/transaction/index.d.ts +1 -0
- package/dist/modules/transaction/index.d.ts.map +1 -0
- package/dist/modules/transaction/transaction.api-contract.d.ts +7 -84
- package/dist/modules/transaction/transaction.api-contract.d.ts.map +1 -0
- package/dist/modules/transaction/transaction.repository.d.ts +2 -1
- package/dist/modules/transaction/transaction.repository.d.ts.map +1 -0
- package/dist/modules/transaction/transaction.types.d.ts +3 -28
- package/dist/modules/transaction/transaction.types.d.ts.map +1 -0
- package/dist/modules/wallet/index.d.ts +1 -0
- package/dist/modules/wallet/index.d.ts.map +1 -0
- package/dist/modules/wallet/wallet.api-contract.d.ts +32 -287
- package/dist/modules/wallet/wallet.api-contract.d.ts.map +1 -0
- package/dist/modules/wallet/wallet.model.d.ts +2 -1
- package/dist/modules/wallet/wallet.model.d.ts.map +1 -0
- package/dist/modules/wallet/wallet.repository.d.ts +2 -1
- package/dist/modules/wallet/wallet.repository.d.ts.map +1 -0
- package/dist/modules/wallet/wallet.types.d.ts +8 -61
- package/dist/modules/wallet/wallet.types.d.ts.map +1 -0
- package/package.json +34 -23
|
@@ -35,10 +35,10 @@ export declare const PayoutDTOSchemas: {
|
|
|
35
35
|
payout: z.ZodObject<{
|
|
36
36
|
id: z.ZodString;
|
|
37
37
|
statusCode: z.ZodString;
|
|
38
|
-
statusCodeText: z.
|
|
38
|
+
statusCodeText: z.ZodEnum<typeof PAYOUT_STATUS>;
|
|
39
39
|
statusDescription: z.ZodString;
|
|
40
40
|
countryCode: z.ZodString;
|
|
41
|
-
serviceCode: z.ZodUnion<[z.
|
|
41
|
+
serviceCode: z.ZodUnion<readonly [z.ZodEnum<typeof MOBILE_PAYOUT_CHANNEL>, z.ZodEnum<typeof BANK_PAYOUT_CHANNEL>]>;
|
|
42
42
|
amount: z.ZodNumber;
|
|
43
43
|
serviceFee: z.ZodOptional<z.ZodString>;
|
|
44
44
|
postedAmount: z.ZodOptional<z.ZodString>;
|
|
@@ -61,238 +61,76 @@ export declare const PayoutDTOSchemas: {
|
|
|
61
61
|
requestId: z.ZodOptional<z.ZodString>;
|
|
62
62
|
notes: z.ZodOptional<z.ZodString>;
|
|
63
63
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
64
|
-
},
|
|
65
|
-
statusCode: string;
|
|
66
|
-
createdAt: string;
|
|
67
|
-
narration: string;
|
|
68
|
-
id: string;
|
|
69
|
-
transactionDate: string;
|
|
70
|
-
msisdn: string;
|
|
71
|
-
amount: number;
|
|
72
|
-
transactionId: string;
|
|
73
|
-
currencyCode: string;
|
|
74
|
-
statusCodeText: PAYOUT_STATUS;
|
|
75
|
-
statusDescription: string;
|
|
76
|
-
countryCode: string;
|
|
77
|
-
serviceCode: MOBILE_PAYOUT_CHANNEL | BANK_PAYOUT_CHANNEL;
|
|
78
|
-
transactionRef: string;
|
|
79
|
-
walletId?: string | undefined;
|
|
80
|
-
serviceFee?: string | undefined;
|
|
81
|
-
postedAmount?: string | undefined;
|
|
82
|
-
serviceFeeTransactionId?: string | undefined;
|
|
83
|
-
requestId?: string | undefined;
|
|
84
|
-
updatedAt?: string | undefined;
|
|
85
|
-
notes?: string | undefined;
|
|
86
|
-
recipientNames?: string | undefined;
|
|
87
|
-
externalId?: string | null | undefined;
|
|
88
|
-
cbaReferenceNo?: string | undefined;
|
|
89
|
-
beepTransactionId?: string | undefined;
|
|
90
|
-
receiptNumber?: string | undefined;
|
|
91
|
-
reversedTransactionId?: string | null | undefined;
|
|
92
|
-
isReconciled?: number | undefined;
|
|
93
|
-
}, {
|
|
94
|
-
statusCode: string;
|
|
95
|
-
createdAt: string;
|
|
96
|
-
narration: string;
|
|
97
|
-
id: string;
|
|
98
|
-
transactionDate: string;
|
|
99
|
-
msisdn: string;
|
|
100
|
-
amount: number;
|
|
101
|
-
transactionId: string;
|
|
102
|
-
currencyCode: string;
|
|
103
|
-
statusCodeText: PAYOUT_STATUS;
|
|
104
|
-
statusDescription: string;
|
|
105
|
-
countryCode: string;
|
|
106
|
-
serviceCode: MOBILE_PAYOUT_CHANNEL | BANK_PAYOUT_CHANNEL;
|
|
107
|
-
transactionRef: string;
|
|
108
|
-
walletId?: string | undefined;
|
|
109
|
-
serviceFee?: string | undefined;
|
|
110
|
-
postedAmount?: string | undefined;
|
|
111
|
-
serviceFeeTransactionId?: string | undefined;
|
|
112
|
-
requestId?: string | undefined;
|
|
113
|
-
updatedAt?: string | undefined;
|
|
114
|
-
notes?: string | undefined;
|
|
115
|
-
recipientNames?: string | undefined;
|
|
116
|
-
externalId?: string | null | undefined;
|
|
117
|
-
cbaReferenceNo?: string | undefined;
|
|
118
|
-
beepTransactionId?: string | undefined;
|
|
119
|
-
receiptNumber?: string | undefined;
|
|
120
|
-
reversedTransactionId?: string | null | undefined;
|
|
121
|
-
isReconciled?: number | undefined;
|
|
122
|
-
}>;
|
|
64
|
+
}, z.core.$strip>;
|
|
123
65
|
payoutFilters: z.ZodObject<{
|
|
124
66
|
page: z.ZodDefault<z.ZodNumber>;
|
|
125
67
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
126
68
|
sortBy: z.ZodDefault<z.ZodString>;
|
|
127
|
-
sortOrder: z.ZodDefault<z.ZodEnum<
|
|
69
|
+
sortOrder: z.ZodDefault<z.ZodEnum<{
|
|
70
|
+
asc: "asc";
|
|
71
|
+
desc: "desc";
|
|
72
|
+
}>>;
|
|
128
73
|
startDate: z.ZodOptional<z.ZodString>;
|
|
129
74
|
endDate: z.ZodOptional<z.ZodString>;
|
|
130
75
|
msisdn: z.ZodOptional<z.ZodString>;
|
|
131
76
|
accountNo: z.ZodOptional<z.ZodString>;
|
|
132
77
|
walletId: z.ZodOptional<z.ZodString>;
|
|
133
78
|
id: z.ZodOptional<z.ZodString>;
|
|
134
|
-
idIn: z.ZodOptional<z.ZodArray<z.ZodString
|
|
79
|
+
idIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
135
80
|
ref: z.ZodOptional<z.ZodString>;
|
|
136
|
-
refIn: z.ZodOptional<z.ZodArray<z.ZodString
|
|
81
|
+
refIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
137
82
|
channelRef: z.ZodOptional<z.ZodString>;
|
|
138
|
-
channelRefIn: z.ZodOptional<z.ZodArray<z.ZodString
|
|
139
|
-
channel: z.ZodOptional<z.ZodUnion<[z.
|
|
140
|
-
channelIn: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.
|
|
141
|
-
status: z.ZodOptional<z.
|
|
142
|
-
statusIn: z.ZodOptional<z.ZodArray<z.
|
|
83
|
+
channelRefIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
84
|
+
channel: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<typeof MOBILE_PAYOUT_CHANNEL>, z.ZodEnum<typeof BANK_PAYOUT_CHANNEL>]>>;
|
|
85
|
+
channelIn: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<typeof MOBILE_PAYOUT_CHANNEL>, z.ZodEnum<typeof BANK_PAYOUT_CHANNEL>]>>>;
|
|
86
|
+
status: z.ZodOptional<z.ZodEnum<typeof PAYOUT_STATUS>>;
|
|
87
|
+
statusIn: z.ZodOptional<z.ZodArray<z.ZodEnum<typeof PAYOUT_STATUS>>>;
|
|
143
88
|
minAmount: z.ZodOptional<z.ZodNumber>;
|
|
144
89
|
maxAmount: z.ZodOptional<z.ZodNumber>;
|
|
145
90
|
search: z.ZodOptional<z.ZodString>;
|
|
146
|
-
},
|
|
147
|
-
page: number;
|
|
148
|
-
limit: number;
|
|
149
|
-
sortBy: string;
|
|
150
|
-
sortOrder: "asc" | "desc";
|
|
151
|
-
status?: PAYOUT_STATUS | undefined;
|
|
152
|
-
accountNo?: string | undefined;
|
|
153
|
-
search?: string | undefined;
|
|
154
|
-
id?: string | undefined;
|
|
155
|
-
walletId?: string | undefined;
|
|
156
|
-
msisdn?: string | undefined;
|
|
157
|
-
channel?: MOBILE_PAYOUT_CHANNEL | BANK_PAYOUT_CHANNEL | undefined;
|
|
158
|
-
startDate?: string | undefined;
|
|
159
|
-
endDate?: string | undefined;
|
|
160
|
-
idIn?: string[] | undefined;
|
|
161
|
-
channelIn?: (MOBILE_PAYOUT_CHANNEL | BANK_PAYOUT_CHANNEL.BANK)[] | undefined;
|
|
162
|
-
statusIn?: PAYOUT_STATUS[] | undefined;
|
|
163
|
-
minAmount?: number | undefined;
|
|
164
|
-
maxAmount?: number | undefined;
|
|
165
|
-
ref?: string | undefined;
|
|
166
|
-
refIn?: string[] | undefined;
|
|
167
|
-
channelRef?: string | undefined;
|
|
168
|
-
channelRefIn?: string[] | undefined;
|
|
169
|
-
}, {
|
|
170
|
-
status?: PAYOUT_STATUS | undefined;
|
|
171
|
-
page?: number | undefined;
|
|
172
|
-
limit?: number | undefined;
|
|
173
|
-
accountNo?: string | undefined;
|
|
174
|
-
search?: string | undefined;
|
|
175
|
-
id?: string | undefined;
|
|
176
|
-
walletId?: string | undefined;
|
|
177
|
-
msisdn?: string | undefined;
|
|
178
|
-
channel?: MOBILE_PAYOUT_CHANNEL | BANK_PAYOUT_CHANNEL | undefined;
|
|
179
|
-
sortBy?: string | undefined;
|
|
180
|
-
sortOrder?: "asc" | "desc" | undefined;
|
|
181
|
-
startDate?: string | undefined;
|
|
182
|
-
endDate?: string | undefined;
|
|
183
|
-
idIn?: string[] | undefined;
|
|
184
|
-
channelIn?: (MOBILE_PAYOUT_CHANNEL | BANK_PAYOUT_CHANNEL.BANK)[] | undefined;
|
|
185
|
-
statusIn?: PAYOUT_STATUS[] | undefined;
|
|
186
|
-
minAmount?: number | undefined;
|
|
187
|
-
maxAmount?: number | undefined;
|
|
188
|
-
ref?: string | undefined;
|
|
189
|
-
refIn?: string[] | undefined;
|
|
190
|
-
channelRef?: string | undefined;
|
|
191
|
-
channelRefIn?: string[] | undefined;
|
|
192
|
-
}>;
|
|
91
|
+
}, z.core.$strip>;
|
|
193
92
|
payoutURLQueryParams: z.ZodObject<{
|
|
194
|
-
page: z.ZodOptional<z.
|
|
195
|
-
limit: z.ZodOptional<z.
|
|
93
|
+
page: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>>;
|
|
94
|
+
limit: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>>;
|
|
196
95
|
sortBy: z.ZodDefault<z.ZodString>;
|
|
197
|
-
sortOrder: z.ZodDefault<z.ZodEnum<
|
|
96
|
+
sortOrder: z.ZodDefault<z.ZodEnum<{
|
|
97
|
+
asc: "asc";
|
|
98
|
+
desc: "desc";
|
|
99
|
+
}>>;
|
|
198
100
|
startDate: z.ZodOptional<z.ZodString>;
|
|
199
101
|
endDate: z.ZodOptional<z.ZodString>;
|
|
200
102
|
msisdn: z.ZodOptional<z.ZodString>;
|
|
201
103
|
accountNo: z.ZodOptional<z.ZodString>;
|
|
202
104
|
walletId: z.ZodOptional<z.ZodString>;
|
|
203
105
|
id: z.ZodOptional<z.ZodString>;
|
|
204
|
-
idIn: z.ZodOptional<z.
|
|
106
|
+
idIn: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>, z.ZodTransform<string[], string | string[]>>>;
|
|
205
107
|
ref: z.ZodOptional<z.ZodString>;
|
|
206
|
-
refIn: z.ZodOptional<z.
|
|
108
|
+
refIn: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>, z.ZodTransform<string[], string | string[]>>>;
|
|
207
109
|
channelRef: z.ZodOptional<z.ZodString>;
|
|
208
|
-
channelRefIn: z.ZodOptional<z.
|
|
209
|
-
channel: z.ZodOptional<z.
|
|
210
|
-
channelIn: z.ZodOptional<z.
|
|
211
|
-
status: z.ZodOptional<z.
|
|
212
|
-
statusIn: z.ZodOptional<z.
|
|
213
|
-
minAmount: z.ZodOptional<z.
|
|
214
|
-
maxAmount: z.ZodOptional<z.
|
|
110
|
+
channelRefIn: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>, z.ZodTransform<string[], string | string[]>>>;
|
|
111
|
+
channel: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<MOBILE_PAYOUT_CHANNEL | BANK_PAYOUT_CHANNEL, string>>>;
|
|
112
|
+
channelIn: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>, z.ZodTransform<string[], string | string[]>>, z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<typeof MOBILE_PAYOUT_CHANNEL>, z.ZodEnum<typeof BANK_PAYOUT_CHANNEL>]>>>>;
|
|
113
|
+
status: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<PAYOUT_STATUS, string>>>;
|
|
114
|
+
statusIn: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>, z.ZodTransform<string[], string | string[]>>, z.ZodArray<z.ZodEnum<typeof PAYOUT_STATUS>>>>;
|
|
115
|
+
minAmount: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>>;
|
|
116
|
+
maxAmount: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>>;
|
|
215
117
|
search: z.ZodOptional<z.ZodString>;
|
|
216
|
-
},
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
limit?: number | undefined;
|
|
222
|
-
accountNo?: string | undefined;
|
|
223
|
-
search?: string | undefined;
|
|
224
|
-
id?: string | undefined;
|
|
225
|
-
walletId?: string | undefined;
|
|
226
|
-
msisdn?: string | undefined;
|
|
227
|
-
channel?: MOBILE_PAYOUT_CHANNEL | BANK_PAYOUT_CHANNEL | undefined;
|
|
228
|
-
startDate?: string | undefined;
|
|
229
|
-
endDate?: string | undefined;
|
|
230
|
-
idIn?: string[] | undefined;
|
|
231
|
-
channelIn?: (MOBILE_PAYOUT_CHANNEL | BANK_PAYOUT_CHANNEL.BANK)[] | undefined;
|
|
232
|
-
statusIn?: PAYOUT_STATUS[] | undefined;
|
|
233
|
-
minAmount?: number | undefined;
|
|
234
|
-
maxAmount?: number | undefined;
|
|
235
|
-
ref?: string | undefined;
|
|
236
|
-
refIn?: string[] | undefined;
|
|
237
|
-
channelRef?: string | undefined;
|
|
238
|
-
channelRefIn?: string[] | undefined;
|
|
239
|
-
}, {
|
|
240
|
-
status?: string | undefined;
|
|
241
|
-
page?: string | undefined;
|
|
242
|
-
limit?: string | undefined;
|
|
243
|
-
accountNo?: string | undefined;
|
|
244
|
-
search?: string | undefined;
|
|
245
|
-
id?: string | undefined;
|
|
246
|
-
walletId?: string | undefined;
|
|
247
|
-
msisdn?: string | undefined;
|
|
248
|
-
channel?: string | undefined;
|
|
249
|
-
sortBy?: string | undefined;
|
|
250
|
-
sortOrder?: "asc" | "desc" | undefined;
|
|
251
|
-
startDate?: string | undefined;
|
|
252
|
-
endDate?: string | undefined;
|
|
253
|
-
idIn?: string | string[] | undefined;
|
|
254
|
-
channelIn?: string | string[] | undefined;
|
|
255
|
-
statusIn?: string | string[] | undefined;
|
|
256
|
-
minAmount?: string | undefined;
|
|
257
|
-
maxAmount?: string | undefined;
|
|
258
|
-
ref?: string | undefined;
|
|
259
|
-
refIn?: string | string[] | undefined;
|
|
260
|
-
channelRef?: string | undefined;
|
|
261
|
-
channelRefIn?: string | string[] | undefined;
|
|
262
|
-
}>;
|
|
263
|
-
payoutStatus: z.ZodNativeEnum<typeof PAYOUT_STATUS>;
|
|
264
|
-
payoutChannel: z.ZodUnion<[z.ZodNativeEnum<typeof MOBILE_PAYOUT_CHANNEL>, z.ZodNativeEnum<typeof BANK_PAYOUT_CHANNEL>]>;
|
|
265
|
-
mobileChannel: z.ZodNativeEnum<typeof MOBILE_PAYOUT_CHANNEL>;
|
|
266
|
-
bankChannel: z.ZodNativeEnum<typeof BANK_PAYOUT_CHANNEL>;
|
|
118
|
+
}, z.core.$strip>;
|
|
119
|
+
payoutStatus: z.ZodEnum<typeof PAYOUT_STATUS>;
|
|
120
|
+
payoutChannel: z.ZodUnion<readonly [z.ZodEnum<typeof MOBILE_PAYOUT_CHANNEL>, z.ZodEnum<typeof BANK_PAYOUT_CHANNEL>]>;
|
|
121
|
+
mobileChannel: z.ZodEnum<typeof MOBILE_PAYOUT_CHANNEL>;
|
|
122
|
+
bankChannel: z.ZodEnum<typeof BANK_PAYOUT_CHANNEL>;
|
|
267
123
|
walletSummary: z.ZodObject<{
|
|
268
124
|
balance: z.ZodNumber;
|
|
269
125
|
currency: z.ZodString;
|
|
270
126
|
lastUpdated: z.ZodString;
|
|
271
|
-
},
|
|
272
|
-
balance: number;
|
|
273
|
-
currency: string;
|
|
274
|
-
lastUpdated: string;
|
|
275
|
-
}, {
|
|
276
|
-
balance: number;
|
|
277
|
-
currency: string;
|
|
278
|
-
lastUpdated: string;
|
|
279
|
-
}>;
|
|
127
|
+
}, z.core.$strip>;
|
|
280
128
|
transactionSummary: z.ZodObject<{
|
|
281
129
|
yesterday: z.ZodNumber;
|
|
282
130
|
today: z.ZodNumber;
|
|
283
131
|
thisMonth: z.ZodNumber;
|
|
284
132
|
lastMonth: z.ZodNumber;
|
|
285
|
-
},
|
|
286
|
-
yesterday: number;
|
|
287
|
-
today: number;
|
|
288
|
-
thisMonth: number;
|
|
289
|
-
lastMonth: number;
|
|
290
|
-
}, {
|
|
291
|
-
yesterday: number;
|
|
292
|
-
today: number;
|
|
293
|
-
thisMonth: number;
|
|
294
|
-
lastMonth: number;
|
|
295
|
-
}>;
|
|
133
|
+
}, z.core.$strip>;
|
|
296
134
|
pagination: z.ZodObject<{
|
|
297
135
|
page: z.ZodNumber;
|
|
298
136
|
limit: z.ZodNumber;
|
|
@@ -300,22 +138,9 @@ export declare const PayoutDTOSchemas: {
|
|
|
300
138
|
totalPages: z.ZodNumber;
|
|
301
139
|
hasNext: z.ZodBoolean;
|
|
302
140
|
hasPrev: z.ZodBoolean;
|
|
303
|
-
},
|
|
304
|
-
page: number;
|
|
305
|
-
limit: number;
|
|
306
|
-
total: number;
|
|
307
|
-
totalPages: number;
|
|
308
|
-
hasNext: boolean;
|
|
309
|
-
hasPrev: boolean;
|
|
310
|
-
}, {
|
|
311
|
-
page: number;
|
|
312
|
-
limit: number;
|
|
313
|
-
total: number;
|
|
314
|
-
totalPages: number;
|
|
315
|
-
hasNext: boolean;
|
|
316
|
-
hasPrev: boolean;
|
|
317
|
-
}>;
|
|
141
|
+
}, z.core.$strip>;
|
|
318
142
|
};
|
|
319
143
|
export type PayoutDTO = z.infer<typeof PayoutDTOSchemas.payout>;
|
|
320
144
|
export type PayoutFilters = z.infer<typeof PayoutDTOSchemas.payoutFilters>;
|
|
321
145
|
export type PayoutURLQueryParams = z.infer<typeof PayoutDTOSchemas.payoutURLQueryParams>;
|
|
146
|
+
//# sourceMappingURL=payout.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payout.types.d.ts","sourceRoot":"","sources":["../../../src/modules/payout/payout.types.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,oBAAY,aAAa;IACvB,gBAAgB,qBAAqB;IACrC,eAAe,oBAAoB;IACnC,cAAc,mBAAmB;IACjC,gBAAgB,qBAAqB;IACrC,OAAO,YAAY;IACnB,qBAAqB,0BAA0B;IAC/C,WAAW,gBAAgB;IAC3B,QAAQ,aAAa;IACrB,eAAe,oBAAoB;IACnC,cAAc,mBAAmB;IACjC,oBAAoB,yBAAyB;IAC7C,iBAAiB,sBAAsB;IACvC,eAAe,oBAAoB;CACpC;AAED,oBAAY,qBAAqB;IAC/B,MAAM,kBAAkB;IACxB,OAAO,mBAAmB;IAC1B,IAAI,gBAAgB;IACpB,OAAO,mBAAmB;IAC1B,SAAS,qBAAqB;CAC/B;AAED,oBAAY,mBAAmB;IAC7B,IAAI,gBAAgB;CACrB;AAED,MAAM,MAAM,cAAc,GAAG,qBAAqB,GAAG,mBAAmB,CAAC;AASzE;;;GAGG;AACH,QAAA,MAAM,aAAa,GAAI,OAAO,OAAO,KAAG,MAAM,EAO7C,CAAC;AAyHF,OAAO,EAAE,aAAa,IAAI,mBAAmB,EAAE,CAAC;AAEhD,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4B5B,CAAC;AAGF,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,MAAM,CAAC,CAAC;AAChE,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,aAAa,CAAC,CAAC;AAC3E,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,oBAAoB,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/modules/transaction/index.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC;AAC9C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,wBAAwB,CAAC"}
|
|
@@ -8,17 +8,7 @@ export declare const transactionContract: {
|
|
|
8
8
|
from: import("zod").ZodString;
|
|
9
9
|
to: import("zod").ZodString;
|
|
10
10
|
description: import("zod").ZodString;
|
|
11
|
-
},
|
|
12
|
-
description: string;
|
|
13
|
-
amount: number;
|
|
14
|
-
from: string;
|
|
15
|
-
to: string;
|
|
16
|
-
}, {
|
|
17
|
-
description: string;
|
|
18
|
-
amount: number;
|
|
19
|
-
from: string;
|
|
20
|
-
to: string;
|
|
21
|
-
}>;
|
|
11
|
+
}, import("zod/v4/core").$strip>;
|
|
22
12
|
path: "/local-transfer";
|
|
23
13
|
responses: {
|
|
24
14
|
201: import("zod").ZodObject<{
|
|
@@ -29,104 +19,37 @@ export declare const transactionContract: {
|
|
|
29
19
|
narration: import("zod").ZodString;
|
|
30
20
|
amount: import("zod").ZodNumber;
|
|
31
21
|
transactionRef: import("zod").ZodString;
|
|
32
|
-
},
|
|
33
|
-
narration: string;
|
|
34
|
-
transactionDate: string;
|
|
35
|
-
amount: number;
|
|
36
|
-
transactionId: string;
|
|
37
|
-
transactionRef: string;
|
|
38
|
-
from: string;
|
|
39
|
-
to: string;
|
|
40
|
-
}, {
|
|
41
|
-
narration: string;
|
|
42
|
-
transactionDate: string;
|
|
43
|
-
amount: number;
|
|
44
|
-
transactionId: string;
|
|
45
|
-
transactionRef: string;
|
|
46
|
-
from: string;
|
|
47
|
-
to: string;
|
|
48
|
-
}>;
|
|
22
|
+
}, import("zod/v4/core").$strip>;
|
|
49
23
|
400: import("zod").ZodObject<{
|
|
50
24
|
reason: import("zod").ZodOptional<import("zod").ZodString>;
|
|
51
25
|
error: import("zod").ZodOptional<import("zod").ZodString>;
|
|
52
26
|
details: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
53
27
|
message: import("zod").ZodOptional<import("zod").ZodString>;
|
|
54
|
-
} & {
|
|
55
28
|
statusCode: import("zod").ZodLiteral<400>;
|
|
56
|
-
},
|
|
57
|
-
statusCode: 400;
|
|
58
|
-
message?: string | undefined;
|
|
59
|
-
error?: string | undefined;
|
|
60
|
-
details?: Record<string, unknown> | undefined;
|
|
61
|
-
reason?: string | undefined;
|
|
62
|
-
}, {
|
|
63
|
-
statusCode: 400;
|
|
64
|
-
message?: string | undefined;
|
|
65
|
-
error?: string | undefined;
|
|
66
|
-
details?: Record<string, unknown> | undefined;
|
|
67
|
-
reason?: string | undefined;
|
|
68
|
-
}>;
|
|
29
|
+
}, import("zod/v4/core").$strip>;
|
|
69
30
|
401: import("zod").ZodObject<{
|
|
70
31
|
reason: import("zod").ZodOptional<import("zod").ZodString>;
|
|
71
32
|
error: import("zod").ZodOptional<import("zod").ZodString>;
|
|
72
33
|
details: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
73
34
|
message: import("zod").ZodOptional<import("zod").ZodString>;
|
|
74
|
-
} & {
|
|
75
35
|
statusCode: import("zod").ZodLiteral<401>;
|
|
76
|
-
},
|
|
77
|
-
statusCode: 401;
|
|
78
|
-
message?: string | undefined;
|
|
79
|
-
error?: string | undefined;
|
|
80
|
-
details?: Record<string, unknown> | undefined;
|
|
81
|
-
reason?: string | undefined;
|
|
82
|
-
}, {
|
|
83
|
-
statusCode: 401;
|
|
84
|
-
message?: string | undefined;
|
|
85
|
-
error?: string | undefined;
|
|
86
|
-
details?: Record<string, unknown> | undefined;
|
|
87
|
-
reason?: string | undefined;
|
|
88
|
-
}>;
|
|
36
|
+
}, import("zod/v4/core").$strip>;
|
|
89
37
|
404: import("zod").ZodObject<{
|
|
90
38
|
reason: import("zod").ZodOptional<import("zod").ZodString>;
|
|
91
39
|
error: import("zod").ZodOptional<import("zod").ZodString>;
|
|
92
40
|
details: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
93
41
|
message: import("zod").ZodOptional<import("zod").ZodString>;
|
|
94
|
-
} & {
|
|
95
42
|
statusCode: import("zod").ZodLiteral<404>;
|
|
96
|
-
},
|
|
97
|
-
statusCode: 404;
|
|
98
|
-
message?: string | undefined;
|
|
99
|
-
error?: string | undefined;
|
|
100
|
-
details?: Record<string, unknown> | undefined;
|
|
101
|
-
reason?: string | undefined;
|
|
102
|
-
}, {
|
|
103
|
-
statusCode: 404;
|
|
104
|
-
message?: string | undefined;
|
|
105
|
-
error?: string | undefined;
|
|
106
|
-
details?: Record<string, unknown> | undefined;
|
|
107
|
-
reason?: string | undefined;
|
|
108
|
-
}>;
|
|
43
|
+
}, import("zod/v4/core").$strip>;
|
|
109
44
|
500: import("zod").ZodObject<{
|
|
110
45
|
reason: import("zod").ZodOptional<import("zod").ZodString>;
|
|
111
46
|
error: import("zod").ZodOptional<import("zod").ZodString>;
|
|
112
47
|
details: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
113
48
|
message: import("zod").ZodOptional<import("zod").ZodString>;
|
|
114
|
-
} & {
|
|
115
49
|
statusCode: import("zod").ZodLiteral<500>;
|
|
116
|
-
},
|
|
117
|
-
statusCode: 500;
|
|
118
|
-
message?: string | undefined;
|
|
119
|
-
error?: string | undefined;
|
|
120
|
-
details?: Record<string, unknown> | undefined;
|
|
121
|
-
reason?: string | undefined;
|
|
122
|
-
}, {
|
|
123
|
-
statusCode: 500;
|
|
124
|
-
message?: string | undefined;
|
|
125
|
-
error?: string | undefined;
|
|
126
|
-
details?: Record<string, unknown> | undefined;
|
|
127
|
-
reason?: string | undefined;
|
|
128
|
-
}>;
|
|
50
|
+
}, import("zod/v4/core").$strip>;
|
|
129
51
|
};
|
|
130
52
|
};
|
|
131
53
|
};
|
|
132
54
|
export type TransactionContract = typeof transactionContract;
|
|
55
|
+
//# sourceMappingURL=transaction.api-contract.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transaction.api-contract.d.ts","sourceRoot":"","sources":["../../../src/modules/transaction/transaction.api-contract.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAe9B,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,OAAO,mBAAmB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BaseRepository } from "../../lib/api/index.js";
|
|
2
2
|
import { transactionContract } from "./transaction.api-contract.js";
|
|
3
|
-
import { LocalTransferRequestDTO, LocalTransferResponseDTO } from "./transaction.types.js";
|
|
3
|
+
import type { LocalTransferRequestDTO, LocalTransferResponseDTO } from "./transaction.types.js";
|
|
4
4
|
export declare class TransactionRepository extends BaseRepository<typeof transactionContract> {
|
|
5
5
|
constructor(options?: {
|
|
6
6
|
token?: string;
|
|
@@ -8,3 +8,4 @@ export declare class TransactionRepository extends BaseRepository<typeof transac
|
|
|
8
8
|
});
|
|
9
9
|
localTransfer(input: LocalTransferRequestDTO): Promise<LocalTransferResponseDTO>;
|
|
10
10
|
}
|
|
11
|
+
//# sourceMappingURL=transaction.repository.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transaction.repository.d.ts","sourceRoot":"","sources":["../../../src/modules/transaction/transaction.repository.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AACpE,OAAO,KAAK,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,MAAM,wBAAwB,CAAC;AAEhG,qBAAa,qBAAsB,SAAQ,cAAc,CAAC,OAAO,mBAAmB,CAAC;gBACvE,OAAO,CAAC,EAAE;QAAE,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE;IAIjD,aAAa,CAAC,KAAK,EAAE,uBAAuB,GAAG,OAAO,CAAC,wBAAwB,CAAC;CAOvF"}
|
|
@@ -5,17 +5,7 @@ export declare const TransactionDTOSchemas: {
|
|
|
5
5
|
from: z.ZodString;
|
|
6
6
|
to: z.ZodString;
|
|
7
7
|
description: z.ZodString;
|
|
8
|
-
},
|
|
9
|
-
description: string;
|
|
10
|
-
amount: number;
|
|
11
|
-
from: string;
|
|
12
|
-
to: string;
|
|
13
|
-
}, {
|
|
14
|
-
description: string;
|
|
15
|
-
amount: number;
|
|
16
|
-
from: string;
|
|
17
|
-
to: string;
|
|
18
|
-
}>;
|
|
8
|
+
}, z.core.$strip>;
|
|
19
9
|
localTransferResponse: z.ZodObject<{
|
|
20
10
|
transactionId: z.ZodString;
|
|
21
11
|
from: z.ZodString;
|
|
@@ -24,23 +14,8 @@ export declare const TransactionDTOSchemas: {
|
|
|
24
14
|
narration: z.ZodString;
|
|
25
15
|
amount: z.ZodNumber;
|
|
26
16
|
transactionRef: z.ZodString;
|
|
27
|
-
},
|
|
28
|
-
narration: string;
|
|
29
|
-
transactionDate: string;
|
|
30
|
-
amount: number;
|
|
31
|
-
transactionId: string;
|
|
32
|
-
transactionRef: string;
|
|
33
|
-
from: string;
|
|
34
|
-
to: string;
|
|
35
|
-
}, {
|
|
36
|
-
narration: string;
|
|
37
|
-
transactionDate: string;
|
|
38
|
-
amount: number;
|
|
39
|
-
transactionId: string;
|
|
40
|
-
transactionRef: string;
|
|
41
|
-
from: string;
|
|
42
|
-
to: string;
|
|
43
|
-
}>;
|
|
17
|
+
}, z.core.$strip>;
|
|
44
18
|
};
|
|
45
19
|
export type LocalTransferRequestDTO = z.infer<typeof TransactionDTOSchemas.localTransferRequest>;
|
|
46
20
|
export type LocalTransferResponseDTO = z.infer<typeof TransactionDTOSchemas.localTransferResponse>;
|
|
21
|
+
//# sourceMappingURL=transaction.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transaction.types.d.ts","sourceRoot":"","sources":["../../../src/modules/transaction/transaction.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAmBxB,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;CAGjC,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,oBAAoB,CAAC,CAAC;AACjG,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,qBAAqB,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/modules/wallet/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC;AACzC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC"}
|