@temboplus/tembo-dashboard 0.2.0 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (87) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +46 -92
  3. package/dist/index.cjs.js +1 -1
  4. package/dist/index.cjs.js.map +1 -1
  5. package/dist/index.d.ts +3 -2
  6. package/dist/index.d.ts.map +1 -0
  7. package/dist/index.esm.js +1 -1
  8. package/dist/index.esm.js.map +1 -1
  9. package/dist/lib/api/base-repository.d.ts +4 -4
  10. package/dist/lib/api/base-repository.d.ts.map +1 -0
  11. package/dist/lib/api/common-schemas.d.ts +37 -296
  12. package/dist/lib/api/common-schemas.d.ts.map +1 -0
  13. package/dist/lib/api/index.d.ts +1 -0
  14. package/dist/lib/api/index.d.ts.map +1 -0
  15. package/dist/lib/error/error.api.d.ts +3 -2
  16. package/dist/lib/error/error.api.d.ts.map +1 -0
  17. package/dist/lib/error/index.d.ts +1 -0
  18. package/dist/lib/error/index.d.ts.map +1 -0
  19. package/dist/lib/models/index.d.ts +2 -1
  20. package/dist/lib/models/index.d.ts.map +1 -0
  21. package/dist/lib/models/statement-entry.model.d.ts +3 -2
  22. package/dist/lib/models/statement-entry.model.d.ts.map +1 -0
  23. package/dist/lib/models/transaction-summary.model.d.ts +3 -2
  24. package/dist/lib/models/transaction-summary.model.d.ts.map +1 -0
  25. package/dist/lib/models/wallet-info.model.d.ts +2 -1
  26. package/dist/lib/models/wallet-info.model.d.ts.map +1 -0
  27. package/dist/lib/query/index.d.ts +1 -0
  28. package/dist/lib/query/index.d.ts.map +1 -0
  29. package/dist/lib/query/query.builder.d.ts +2 -1
  30. package/dist/lib/query/query.builder.d.ts.map +1 -0
  31. package/dist/lib/query/query.types.d.ts +1 -0
  32. package/dist/lib/query/query.types.d.ts.map +1 -0
  33. package/dist/lib/types.d.ts +1 -0
  34. package/dist/lib/types.d.ts.map +1 -0
  35. package/dist/modules/auth/auth.api-contract.d.ts +11 -108
  36. package/dist/modules/auth/auth.api-contract.d.ts.map +1 -0
  37. package/dist/modules/auth/auth.dtos.d.ts +4 -23
  38. package/dist/modules/auth/auth.dtos.d.ts.map +1 -0
  39. package/dist/modules/auth/auth.repository.d.ts +1 -0
  40. package/dist/modules/auth/auth.repository.d.ts.map +1 -0
  41. package/dist/modules/auth/index.d.ts +3 -2
  42. package/dist/modules/auth/index.d.ts.map +1 -0
  43. package/dist/modules/auth/user.model.d.ts +1 -0
  44. package/dist/modules/auth/user.model.d.ts.map +1 -0
  45. package/dist/modules/collection/collection.api-contract.d.ts +35 -387
  46. package/dist/modules/collection/collection.api-contract.d.ts.map +1 -0
  47. package/dist/modules/collection/collection.model.d.ts +3 -2
  48. package/dist/modules/collection/collection.model.d.ts.map +1 -0
  49. package/dist/modules/collection/collection.query.d.ts +2 -1
  50. package/dist/modules/collection/collection.query.d.ts.map +1 -0
  51. package/dist/modules/collection/collection.repository.d.ts +4 -3
  52. package/dist/modules/collection/collection.repository.d.ts.map +1 -0
  53. package/dist/modules/collection/collection.types.d.ts +32 -167
  54. package/dist/modules/collection/collection.types.d.ts.map +1 -0
  55. package/dist/modules/collection/index.d.ts +3 -2
  56. package/dist/modules/collection/index.d.ts.map +1 -0
  57. package/dist/modules/payout/index.d.ts +3 -2
  58. package/dist/modules/payout/index.d.ts.map +1 -0
  59. package/dist/modules/payout/payout.api-contract.d.ts +36 -402
  60. package/dist/modules/payout/payout.api-contract.d.ts.map +1 -0
  61. package/dist/modules/payout/payout.model.d.ts +4 -3
  62. package/dist/modules/payout/payout.model.d.ts.map +1 -0
  63. package/dist/modules/payout/payout.query.d.ts +2 -1
  64. package/dist/modules/payout/payout.query.d.ts.map +1 -0
  65. package/dist/modules/payout/payout.repository.d.ts +4 -3
  66. package/dist/modules/payout/payout.repository.d.ts.map +1 -0
  67. package/dist/modules/payout/payout.types.d.ts +39 -214
  68. package/dist/modules/payout/payout.types.d.ts.map +1 -0
  69. package/dist/modules/transaction/index.d.ts +1 -0
  70. package/dist/modules/transaction/index.d.ts.map +1 -0
  71. package/dist/modules/transaction/transaction.api-contract.d.ts +7 -84
  72. package/dist/modules/transaction/transaction.api-contract.d.ts.map +1 -0
  73. package/dist/modules/transaction/transaction.repository.d.ts +2 -1
  74. package/dist/modules/transaction/transaction.repository.d.ts.map +1 -0
  75. package/dist/modules/transaction/transaction.types.d.ts +3 -28
  76. package/dist/modules/transaction/transaction.types.d.ts.map +1 -0
  77. package/dist/modules/wallet/index.d.ts +1 -0
  78. package/dist/modules/wallet/index.d.ts.map +1 -0
  79. package/dist/modules/wallet/wallet.api-contract.d.ts +32 -287
  80. package/dist/modules/wallet/wallet.api-contract.d.ts.map +1 -0
  81. package/dist/modules/wallet/wallet.model.d.ts +2 -1
  82. package/dist/modules/wallet/wallet.model.d.ts.map +1 -0
  83. package/dist/modules/wallet/wallet.repository.d.ts +2 -1
  84. package/dist/modules/wallet/wallet.repository.d.ts.map +1 -0
  85. package/dist/modules/wallet/wallet.types.d.ts +8 -61
  86. package/dist/modules/wallet/wallet.types.d.ts.map +1 -0
  87. package/package.json +34 -23
@@ -2,75 +2,32 @@ import { z } from "zod";
2
2
  export declare const payoutContract: {
3
3
  getPayouts: {
4
4
  query: z.ZodObject<{
5
- page: z.ZodOptional<z.ZodEffects<z.ZodString, number, string>>;
6
- limit: z.ZodOptional<z.ZodEffects<z.ZodString, number, string>>;
5
+ page: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>>;
6
+ limit: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>>;
7
7
  sortBy: z.ZodDefault<z.ZodString>;
8
- sortOrder: z.ZodDefault<z.ZodEnum<["asc", "desc"]>>;
8
+ sortOrder: z.ZodDefault<z.ZodEnum<{
9
+ asc: "asc";
10
+ desc: "desc";
11
+ }>>;
9
12
  startDate: z.ZodOptional<z.ZodString>;
10
13
  endDate: z.ZodOptional<z.ZodString>;
11
14
  msisdn: z.ZodOptional<z.ZodString>;
12
15
  accountNo: z.ZodOptional<z.ZodString>;
13
16
  walletId: z.ZodOptional<z.ZodString>;
14
17
  id: z.ZodOptional<z.ZodString>;
15
- idIn: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, string[], string | string[]>>;
18
+ idIn: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>, z.ZodTransform<string[], string | string[]>>>;
16
19
  ref: z.ZodOptional<z.ZodString>;
17
- refIn: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, string[], string | string[]>>;
20
+ refIn: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>, z.ZodTransform<string[], string | string[]>>>;
18
21
  channelRef: z.ZodOptional<z.ZodString>;
19
- channelRefIn: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, string[], string | string[]>>;
20
- channel: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("./payout.types.js").MOBILE_PAYOUT_CHANNEL | import("./payout.types.js").BANK_PAYOUT_CHANNEL, string>>;
21
- channelIn: z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, string[], string | string[]>, z.ZodArray<z.ZodUnion<[z.ZodNativeEnum<typeof import("./payout.types.js").MOBILE_PAYOUT_CHANNEL>, z.ZodNativeEnum<typeof import("./payout.types.js").BANK_PAYOUT_CHANNEL>]>, "many">>>;
22
- status: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("./payout.types.js").PAYOUT_STATUS, string>>;
23
- statusIn: z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, string[], string | string[]>, z.ZodArray<z.ZodNativeEnum<typeof import("./payout.types.js").PAYOUT_STATUS>, "many">>>;
24
- minAmount: z.ZodOptional<z.ZodEffects<z.ZodString, number, string>>;
25
- maxAmount: z.ZodOptional<z.ZodEffects<z.ZodString, number, string>>;
22
+ channelRefIn: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>, z.ZodTransform<string[], string | string[]>>>;
23
+ channel: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./payout.types.js").MOBILE_PAYOUT_CHANNEL | import("./payout.types.js").BANK_PAYOUT_CHANNEL, string>>>;
24
+ 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 import("./payout.types.js").MOBILE_PAYOUT_CHANNEL>, z.ZodEnum<typeof import("./payout.types.js").BANK_PAYOUT_CHANNEL>]>>>>;
25
+ status: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./payout.types.js").PAYOUT_STATUS, string>>>;
26
+ 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 import("./payout.types.js").PAYOUT_STATUS>>>>;
27
+ minAmount: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>>;
28
+ maxAmount: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>>;
26
29
  search: z.ZodOptional<z.ZodString>;
27
- }, "strip", z.ZodTypeAny, {
28
- sortBy: string;
29
- sortOrder: "asc" | "desc";
30
- status?: import("./payout.types.js").PAYOUT_STATUS | undefined;
31
- page?: number | undefined;
32
- limit?: number | undefined;
33
- accountNo?: string | undefined;
34
- search?: string | undefined;
35
- id?: string | undefined;
36
- walletId?: string | undefined;
37
- msisdn?: string | undefined;
38
- channel?: import("./payout.types.js").MOBILE_PAYOUT_CHANNEL | import("./payout.types.js").BANK_PAYOUT_CHANNEL | undefined;
39
- startDate?: string | undefined;
40
- endDate?: string | undefined;
41
- idIn?: string[] | undefined;
42
- channelIn?: (import("./payout.types.js").MOBILE_PAYOUT_CHANNEL | import("./payout.types.js").BANK_PAYOUT_CHANNEL.BANK)[] | undefined;
43
- statusIn?: import("./payout.types.js").PAYOUT_STATUS[] | undefined;
44
- minAmount?: number | undefined;
45
- maxAmount?: number | undefined;
46
- ref?: string | undefined;
47
- refIn?: string[] | undefined;
48
- channelRef?: string | undefined;
49
- channelRefIn?: string[] | undefined;
50
- }, {
51
- status?: string | undefined;
52
- page?: string | undefined;
53
- limit?: string | undefined;
54
- accountNo?: string | undefined;
55
- search?: string | undefined;
56
- id?: string | undefined;
57
- walletId?: string | undefined;
58
- msisdn?: string | undefined;
59
- channel?: string | undefined;
60
- sortBy?: string | undefined;
61
- sortOrder?: "asc" | "desc" | undefined;
62
- startDate?: string | undefined;
63
- endDate?: string | undefined;
64
- idIn?: string | string[] | undefined;
65
- channelIn?: string | string[] | undefined;
66
- statusIn?: string | string[] | undefined;
67
- minAmount?: string | undefined;
68
- maxAmount?: string | undefined;
69
- ref?: string | undefined;
70
- refIn?: string | string[] | undefined;
71
- channelRef?: string | undefined;
72
- channelRefIn?: string | string[] | undefined;
73
- }>;
30
+ }, z.core.$strip>;
74
31
  summary: "List payouts";
75
32
  description: "Retrieve a paginated list of payouts with optional filtering";
76
33
  method: "GET";
@@ -80,10 +37,10 @@ export declare const payoutContract: {
80
37
  results: z.ZodArray<z.ZodObject<{
81
38
  id: z.ZodString;
82
39
  statusCode: z.ZodString;
83
- statusCodeText: z.ZodNativeEnum<typeof import("./payout.types.js").PAYOUT_STATUS>;
40
+ statusCodeText: z.ZodEnum<typeof import("./payout.types.js").PAYOUT_STATUS>;
84
41
  statusDescription: z.ZodString;
85
42
  countryCode: z.ZodString;
86
- serviceCode: z.ZodUnion<[z.ZodNativeEnum<typeof import("./payout.types.js").MOBILE_PAYOUT_CHANNEL>, z.ZodNativeEnum<typeof import("./payout.types.js").BANK_PAYOUT_CHANNEL>]>;
43
+ serviceCode: z.ZodUnion<readonly [z.ZodEnum<typeof import("./payout.types.js").MOBILE_PAYOUT_CHANNEL>, z.ZodEnum<typeof import("./payout.types.js").BANK_PAYOUT_CHANNEL>]>;
87
44
  amount: z.ZodNumber;
88
45
  serviceFee: z.ZodOptional<z.ZodString>;
89
46
  postedAmount: z.ZodOptional<z.ZodString>;
@@ -106,201 +63,36 @@ export declare const payoutContract: {
106
63
  requestId: z.ZodOptional<z.ZodString>;
107
64
  notes: z.ZodOptional<z.ZodString>;
108
65
  updatedAt: z.ZodOptional<z.ZodString>;
109
- }, "strip", z.ZodTypeAny, {
110
- statusCode: string;
111
- createdAt: string;
112
- narration: string;
113
- id: string;
114
- transactionDate: string;
115
- msisdn: string;
116
- amount: number;
117
- transactionId: string;
118
- currencyCode: string;
119
- statusCodeText: import("./payout.types.js").PAYOUT_STATUS;
120
- statusDescription: string;
121
- countryCode: string;
122
- serviceCode: import("./payout.types.js").MOBILE_PAYOUT_CHANNEL | import("./payout.types.js").BANK_PAYOUT_CHANNEL;
123
- transactionRef: string;
124
- walletId?: string | undefined;
125
- serviceFee?: string | undefined;
126
- postedAmount?: string | undefined;
127
- serviceFeeTransactionId?: string | undefined;
128
- requestId?: string | undefined;
129
- updatedAt?: string | undefined;
130
- notes?: string | undefined;
131
- recipientNames?: string | undefined;
132
- externalId?: string | null | undefined;
133
- cbaReferenceNo?: string | undefined;
134
- beepTransactionId?: string | undefined;
135
- receiptNumber?: string | undefined;
136
- reversedTransactionId?: string | null | undefined;
137
- isReconciled?: number | undefined;
138
- }, {
139
- statusCode: string;
140
- createdAt: string;
141
- narration: string;
142
- id: string;
143
- transactionDate: string;
144
- msisdn: string;
145
- amount: number;
146
- transactionId: string;
147
- currencyCode: string;
148
- statusCodeText: import("./payout.types.js").PAYOUT_STATUS;
149
- statusDescription: string;
150
- countryCode: string;
151
- serviceCode: import("./payout.types.js").MOBILE_PAYOUT_CHANNEL | import("./payout.types.js").BANK_PAYOUT_CHANNEL;
152
- transactionRef: string;
153
- walletId?: string | undefined;
154
- serviceFee?: string | undefined;
155
- postedAmount?: string | undefined;
156
- serviceFeeTransactionId?: string | undefined;
157
- requestId?: string | undefined;
158
- updatedAt?: string | undefined;
159
- notes?: string | undefined;
160
- recipientNames?: string | undefined;
161
- externalId?: string | null | undefined;
162
- cbaReferenceNo?: string | undefined;
163
- beepTransactionId?: string | undefined;
164
- receiptNumber?: string | undefined;
165
- reversedTransactionId?: string | null | undefined;
166
- isReconciled?: number | undefined;
167
- }>, "many">;
66
+ }, z.core.$strip>>;
168
67
  total: z.ZodNumber;
169
- }, "strip", z.ZodTypeAny, {
170
- total: number;
171
- results: {
172
- statusCode: string;
173
- createdAt: string;
174
- narration: string;
175
- id: string;
176
- transactionDate: string;
177
- msisdn: string;
178
- amount: number;
179
- transactionId: string;
180
- currencyCode: string;
181
- statusCodeText: import("./payout.types.js").PAYOUT_STATUS;
182
- statusDescription: string;
183
- countryCode: string;
184
- serviceCode: import("./payout.types.js").MOBILE_PAYOUT_CHANNEL | import("./payout.types.js").BANK_PAYOUT_CHANNEL;
185
- transactionRef: string;
186
- walletId?: string | undefined;
187
- serviceFee?: string | undefined;
188
- postedAmount?: string | undefined;
189
- serviceFeeTransactionId?: string | undefined;
190
- requestId?: string | undefined;
191
- updatedAt?: string | undefined;
192
- notes?: string | undefined;
193
- recipientNames?: string | undefined;
194
- externalId?: string | null | undefined;
195
- cbaReferenceNo?: string | undefined;
196
- beepTransactionId?: string | undefined;
197
- receiptNumber?: string | undefined;
198
- reversedTransactionId?: string | null | undefined;
199
- isReconciled?: number | undefined;
200
- }[];
201
- }, {
202
- total: number;
203
- results: {
204
- statusCode: string;
205
- createdAt: string;
206
- narration: string;
207
- id: string;
208
- transactionDate: string;
209
- msisdn: string;
210
- amount: number;
211
- transactionId: string;
212
- currencyCode: string;
213
- statusCodeText: import("./payout.types.js").PAYOUT_STATUS;
214
- statusDescription: string;
215
- countryCode: string;
216
- serviceCode: import("./payout.types.js").MOBILE_PAYOUT_CHANNEL | import("./payout.types.js").BANK_PAYOUT_CHANNEL;
217
- transactionRef: string;
218
- walletId?: string | undefined;
219
- serviceFee?: string | undefined;
220
- postedAmount?: string | undefined;
221
- serviceFeeTransactionId?: string | undefined;
222
- requestId?: string | undefined;
223
- updatedAt?: string | undefined;
224
- notes?: string | undefined;
225
- recipientNames?: string | undefined;
226
- externalId?: string | null | undefined;
227
- cbaReferenceNo?: string | undefined;
228
- beepTransactionId?: string | undefined;
229
- receiptNumber?: string | undefined;
230
- reversedTransactionId?: string | null | undefined;
231
- isReconciled?: number | undefined;
232
- }[];
233
- }>;
68
+ }, z.core.$strip>;
234
69
  401: z.ZodObject<{
235
70
  reason: z.ZodOptional<z.ZodString>;
236
71
  error: z.ZodOptional<z.ZodString>;
237
72
  details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
238
73
  message: z.ZodOptional<z.ZodString>;
239
- } & {
240
74
  statusCode: z.ZodLiteral<401>;
241
- }, "strip", z.ZodTypeAny, {
242
- statusCode: 401;
243
- message?: string | undefined;
244
- error?: string | undefined;
245
- details?: Record<string, unknown> | undefined;
246
- reason?: string | undefined;
247
- }, {
248
- statusCode: 401;
249
- message?: string | undefined;
250
- error?: string | undefined;
251
- details?: Record<string, unknown> | undefined;
252
- reason?: string | undefined;
253
- }>;
75
+ }, z.core.$strip>;
254
76
  403: z.ZodObject<{
255
77
  reason: z.ZodOptional<z.ZodString>;
256
78
  error: z.ZodOptional<z.ZodString>;
257
79
  details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
258
80
  message: z.ZodOptional<z.ZodString>;
259
- } & {
260
81
  statusCode: z.ZodLiteral<403>;
261
- }, "strip", z.ZodTypeAny, {
262
- statusCode: 403;
263
- message?: string | undefined;
264
- error?: string | undefined;
265
- details?: Record<string, unknown> | undefined;
266
- reason?: string | undefined;
267
- }, {
268
- statusCode: 403;
269
- message?: string | undefined;
270
- error?: string | undefined;
271
- details?: Record<string, unknown> | undefined;
272
- reason?: string | undefined;
273
- }>;
82
+ }, z.core.$strip>;
274
83
  500: z.ZodObject<{
275
84
  reason: z.ZodOptional<z.ZodString>;
276
85
  error: z.ZodOptional<z.ZodString>;
277
86
  details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
278
87
  message: z.ZodOptional<z.ZodString>;
279
- } & {
280
88
  statusCode: z.ZodLiteral<500>;
281
- }, "strip", z.ZodTypeAny, {
282
- statusCode: 500;
283
- message?: string | undefined;
284
- error?: string | undefined;
285
- details?: Record<string, unknown> | undefined;
286
- reason?: string | undefined;
287
- }, {
288
- statusCode: 500;
289
- message?: string | undefined;
290
- error?: string | undefined;
291
- details?: Record<string, unknown> | undefined;
292
- reason?: string | undefined;
293
- }>;
89
+ }, z.core.$strip>;
294
90
  };
295
91
  };
296
92
  getPayout: {
297
93
  pathParams: z.ZodObject<{
298
94
  id: z.ZodString;
299
- }, "strip", z.ZodTypeAny, {
300
- id: string;
301
- }, {
302
- id: string;
303
- }>;
95
+ }, z.core.$strip>;
304
96
  summary: "Get payout details";
305
97
  description: "Retrieve detailed information about a specific payout";
306
98
  method: "GET";
@@ -309,10 +101,10 @@ export declare const payoutContract: {
309
101
  200: z.ZodObject<{
310
102
  id: z.ZodString;
311
103
  statusCode: z.ZodString;
312
- statusCodeText: z.ZodNativeEnum<typeof import("./payout.types.js").PAYOUT_STATUS>;
104
+ statusCodeText: z.ZodEnum<typeof import("./payout.types.js").PAYOUT_STATUS>;
313
105
  statusDescription: z.ZodString;
314
106
  countryCode: z.ZodString;
315
- serviceCode: z.ZodUnion<[z.ZodNativeEnum<typeof import("./payout.types.js").MOBILE_PAYOUT_CHANNEL>, z.ZodNativeEnum<typeof import("./payout.types.js").BANK_PAYOUT_CHANNEL>]>;
107
+ serviceCode: z.ZodUnion<readonly [z.ZodEnum<typeof import("./payout.types.js").MOBILE_PAYOUT_CHANNEL>, z.ZodEnum<typeof import("./payout.types.js").BANK_PAYOUT_CHANNEL>]>;
316
108
  amount: z.ZodNumber;
317
109
  serviceFee: z.ZodOptional<z.ZodString>;
318
110
  postedAmount: z.ZodOptional<z.ZodString>;
@@ -335,145 +127,35 @@ export declare const payoutContract: {
335
127
  requestId: z.ZodOptional<z.ZodString>;
336
128
  notes: z.ZodOptional<z.ZodString>;
337
129
  updatedAt: z.ZodOptional<z.ZodString>;
338
- }, "strip", z.ZodTypeAny, {
339
- statusCode: string;
340
- createdAt: string;
341
- narration: string;
342
- id: string;
343
- transactionDate: string;
344
- msisdn: string;
345
- amount: number;
346
- transactionId: string;
347
- currencyCode: string;
348
- statusCodeText: import("./payout.types.js").PAYOUT_STATUS;
349
- statusDescription: string;
350
- countryCode: string;
351
- serviceCode: import("./payout.types.js").MOBILE_PAYOUT_CHANNEL | import("./payout.types.js").BANK_PAYOUT_CHANNEL;
352
- transactionRef: string;
353
- walletId?: string | undefined;
354
- serviceFee?: string | undefined;
355
- postedAmount?: string | undefined;
356
- serviceFeeTransactionId?: string | undefined;
357
- requestId?: string | undefined;
358
- updatedAt?: string | undefined;
359
- notes?: string | undefined;
360
- recipientNames?: string | undefined;
361
- externalId?: string | null | undefined;
362
- cbaReferenceNo?: string | undefined;
363
- beepTransactionId?: string | undefined;
364
- receiptNumber?: string | undefined;
365
- reversedTransactionId?: string | null | undefined;
366
- isReconciled?: number | undefined;
367
- }, {
368
- statusCode: string;
369
- createdAt: string;
370
- narration: string;
371
- id: string;
372
- transactionDate: string;
373
- msisdn: string;
374
- amount: number;
375
- transactionId: string;
376
- currencyCode: string;
377
- statusCodeText: import("./payout.types.js").PAYOUT_STATUS;
378
- statusDescription: string;
379
- countryCode: string;
380
- serviceCode: import("./payout.types.js").MOBILE_PAYOUT_CHANNEL | import("./payout.types.js").BANK_PAYOUT_CHANNEL;
381
- transactionRef: string;
382
- walletId?: string | undefined;
383
- serviceFee?: string | undefined;
384
- postedAmount?: string | undefined;
385
- serviceFeeTransactionId?: string | undefined;
386
- requestId?: string | undefined;
387
- updatedAt?: string | undefined;
388
- notes?: string | undefined;
389
- recipientNames?: string | undefined;
390
- externalId?: string | null | undefined;
391
- cbaReferenceNo?: string | undefined;
392
- beepTransactionId?: string | undefined;
393
- receiptNumber?: string | undefined;
394
- reversedTransactionId?: string | null | undefined;
395
- isReconciled?: number | undefined;
396
- }>;
130
+ }, z.core.$strip>;
397
131
  401: z.ZodObject<{
398
132
  reason: z.ZodOptional<z.ZodString>;
399
133
  error: z.ZodOptional<z.ZodString>;
400
134
  details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
401
135
  message: z.ZodOptional<z.ZodString>;
402
- } & {
403
136
  statusCode: z.ZodLiteral<401>;
404
- }, "strip", z.ZodTypeAny, {
405
- statusCode: 401;
406
- message?: string | undefined;
407
- error?: string | undefined;
408
- details?: Record<string, unknown> | undefined;
409
- reason?: string | undefined;
410
- }, {
411
- statusCode: 401;
412
- message?: string | undefined;
413
- error?: string | undefined;
414
- details?: Record<string, unknown> | undefined;
415
- reason?: string | undefined;
416
- }>;
137
+ }, z.core.$strip>;
417
138
  403: z.ZodObject<{
418
139
  reason: z.ZodOptional<z.ZodString>;
419
140
  error: z.ZodOptional<z.ZodString>;
420
141
  details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
421
142
  message: z.ZodOptional<z.ZodString>;
422
- } & {
423
143
  statusCode: z.ZodLiteral<403>;
424
- }, "strip", z.ZodTypeAny, {
425
- statusCode: 403;
426
- message?: string | undefined;
427
- error?: string | undefined;
428
- details?: Record<string, unknown> | undefined;
429
- reason?: string | undefined;
430
- }, {
431
- statusCode: 403;
432
- message?: string | undefined;
433
- error?: string | undefined;
434
- details?: Record<string, unknown> | undefined;
435
- reason?: string | undefined;
436
- }>;
144
+ }, z.core.$strip>;
437
145
  404: z.ZodObject<{
438
146
  reason: z.ZodOptional<z.ZodString>;
439
147
  error: z.ZodOptional<z.ZodString>;
440
148
  details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
441
149
  message: z.ZodOptional<z.ZodString>;
442
- } & {
443
150
  statusCode: z.ZodLiteral<404>;
444
- }, "strip", z.ZodTypeAny, {
445
- statusCode: 404;
446
- message?: string | undefined;
447
- error?: string | undefined;
448
- details?: Record<string, unknown> | undefined;
449
- reason?: string | undefined;
450
- }, {
451
- statusCode: 404;
452
- message?: string | undefined;
453
- error?: string | undefined;
454
- details?: Record<string, unknown> | undefined;
455
- reason?: string | undefined;
456
- }>;
151
+ }, z.core.$strip>;
457
152
  500: z.ZodObject<{
458
153
  reason: z.ZodOptional<z.ZodString>;
459
154
  error: z.ZodOptional<z.ZodString>;
460
155
  details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
461
156
  message: z.ZodOptional<z.ZodString>;
462
- } & {
463
157
  statusCode: z.ZodLiteral<500>;
464
- }, "strip", z.ZodTypeAny, {
465
- statusCode: 500;
466
- message?: string | undefined;
467
- error?: string | undefined;
468
- details?: Record<string, unknown> | undefined;
469
- reason?: string | undefined;
470
- }, {
471
- statusCode: 500;
472
- message?: string | undefined;
473
- error?: string | undefined;
474
- details?: Record<string, unknown> | undefined;
475
- reason?: string | undefined;
476
- }>;
158
+ }, z.core.$strip>;
477
159
  };
478
160
  };
479
161
  getPayoutSummary: {
@@ -487,78 +169,30 @@ export declare const payoutContract: {
487
169
  today: z.ZodNumber;
488
170
  thisMonth: z.ZodNumber;
489
171
  lastMonth: z.ZodNumber;
490
- }, "strip", z.ZodTypeAny, {
491
- yesterday: number;
492
- today: number;
493
- thisMonth: number;
494
- lastMonth: number;
495
- }, {
496
- yesterday: number;
497
- today: number;
498
- thisMonth: number;
499
- lastMonth: number;
500
- }>;
172
+ }, z.core.$strip>;
501
173
  401: z.ZodObject<{
502
174
  reason: z.ZodOptional<z.ZodString>;
503
175
  error: z.ZodOptional<z.ZodString>;
504
176
  details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
505
177
  message: z.ZodOptional<z.ZodString>;
506
- } & {
507
178
  statusCode: z.ZodLiteral<401>;
508
- }, "strip", z.ZodTypeAny, {
509
- statusCode: 401;
510
- message?: string | undefined;
511
- error?: string | undefined;
512
- details?: Record<string, unknown> | undefined;
513
- reason?: string | undefined;
514
- }, {
515
- statusCode: 401;
516
- message?: string | undefined;
517
- error?: string | undefined;
518
- details?: Record<string, unknown> | undefined;
519
- reason?: string | undefined;
520
- }>;
179
+ }, z.core.$strip>;
521
180
  403: z.ZodObject<{
522
181
  reason: z.ZodOptional<z.ZodString>;
523
182
  error: z.ZodOptional<z.ZodString>;
524
183
  details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
525
184
  message: z.ZodOptional<z.ZodString>;
526
- } & {
527
185
  statusCode: z.ZodLiteral<403>;
528
- }, "strip", z.ZodTypeAny, {
529
- statusCode: 403;
530
- message?: string | undefined;
531
- error?: string | undefined;
532
- details?: Record<string, unknown> | undefined;
533
- reason?: string | undefined;
534
- }, {
535
- statusCode: 403;
536
- message?: string | undefined;
537
- error?: string | undefined;
538
- details?: Record<string, unknown> | undefined;
539
- reason?: string | undefined;
540
- }>;
186
+ }, z.core.$strip>;
541
187
  500: z.ZodObject<{
542
188
  reason: z.ZodOptional<z.ZodString>;
543
189
  error: z.ZodOptional<z.ZodString>;
544
190
  details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
545
191
  message: z.ZodOptional<z.ZodString>;
546
- } & {
547
192
  statusCode: z.ZodLiteral<500>;
548
- }, "strip", z.ZodTypeAny, {
549
- statusCode: 500;
550
- message?: string | undefined;
551
- error?: string | undefined;
552
- details?: Record<string, unknown> | undefined;
553
- reason?: string | undefined;
554
- }, {
555
- statusCode: 500;
556
- message?: string | undefined;
557
- error?: string | undefined;
558
- details?: Record<string, unknown> | undefined;
559
- reason?: string | undefined;
560
- }>;
193
+ }, z.core.$strip>;
561
194
  };
562
195
  };
563
196
  };
564
197
  export type PayoutContract = typeof payoutContract;
198
+ //# sourceMappingURL=payout.api-contract.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payout.api-contract.d.ts","sourceRoot":"","sources":["../../../src/modules/payout/payout.api-contract.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkDzB,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,OAAO,cAAc,CAAC"}
@@ -1,6 +1,6 @@
1
- import { Amount, AmountJson, Bank } from "@temboplus/frontend-core";
2
- import { PAYOUT_CHANNEL, PAYOUT_STATUS } from "./payout.types.js";
3
- import { MobileChannelInfo } from "../../lib/types.js";
1
+ import { Amount, type AmountJson, Bank } from "@temboplus/frontend-core";
2
+ import { type MobileChannelInfo } from "../../lib/types.js";
3
+ import { type PAYOUT_CHANNEL, PAYOUT_STATUS } from "./payout.types.js";
4
4
  export interface PayoutStatusInfo {
5
5
  label: string;
6
6
  description: string;
@@ -168,3 +168,4 @@ export declare class Payout {
168
168
  */
169
169
  toJSON(): PayoutJson;
170
170
  }
171
+ //# sourceMappingURL=payout.model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payout.model.d.ts","sourceRoot":"","sources":["../../../src/modules/payout/payout.model.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,MAAM,EAEN,KAAK,UAAU,EACf,IAAI,EAML,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,KAAK,iBAAi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B,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnC,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAa;gBAE/B,IAAI,EAAE,UAAU;IA6C5B;;;OAGG;IACH,eAAe,IAAI,QAAQ,CAAC,UAAU,CAAC;IAIvC;;;OAGG;IACH,gBAAgB,CAAC,CAAC,SAAS,MAAM,UAAU,EAAE,KAAK,EAAE,CAAC,GAAG,UAAU,CAAC,CAAC,CAAC;IAIrE;;;OAGG;IACH,sBAAsB,CAAC,KAAK,EAAE,MAAM,GAAG,GAAG;IAI1C;;OAEG;IACH,SAAS,IAAI,OAAO;IAIpB;;OAEG;IACH,YAAY,IAAI,OAAO;IAIvB;;OAEG;IACH,QAAQ,IAAI,OAAO;IAInB;;OAEG;IACH,aAAa,IAAI,gBAAgB;IAIjC;;OAEG;IACH,cAAc,IAAI,iBAAiB,GAAG,IAAI,GAAG,SAAS;IAyCtD;;;OAGG;IACH,gBAAgB,IAAI,MAAM;IAkB1B;;OAEG;IACH,eAAe,IAAI,MAAM;IAczB;;OAEG;IACH,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,GAAG,GAAG,MAAM,GAAG,SAAS;IAa1C,MAAM,CAAC,UAAU,CAAC,SAAS,EAAE,GAAG,EAAE,GAAG,MAAM,EAAE;IAW7C;;OAEG;IACH,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAE,UAAU,GAAG,MAAM,GAAG,SAAS;IA2FrD;;OAEG;IACH,MAAM,CAAC,kBAAkB,CAAC,SAAS,EAAE,UAAU,EAAE,GAAG,MAAM,EAAE;IAW5D;;OAEG;IACH,MAAM,IAAI,UAAU;CAmCrB"}
@@ -1,5 +1,5 @@
1
1
  import { QueryBuilder } from "../../lib/query/index.js";
2
- import { PAYOUT_STATUS, PAYOUT_CHANNEL, PayoutFilters } from "./payout.types.js";
2
+ import { type PAYOUT_CHANNEL, PAYOUT_STATUS, type PayoutFilters } from "./payout.types.js";
3
3
  type PayoutUrlParams = Record<string, string | string[]>;
4
4
  /**
5
5
  * Payout-specific query builder that extends the base QueryBuilder
@@ -152,3 +152,4 @@ export declare class PayoutQuery extends QueryBuilder {
152
152
  private isValidStatus;
153
153
  }
154
154
  export {};
155
+ //# sourceMappingURL=payout.query.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payout.query.d.ts","sourceRoot":"","sources":["../../../src/modules/payout/payout.query.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAGL,KAAK,cAAc,EACnB,aAAa,EAEb,KAAK,aAAa,EAEnB,MAAM,mBAAmB,CAAC;AAE3B,KAAK,eAAe,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC,CAAC;AAqBzD;;;GAGG;AACH,qBAAa,WAAY,SAAQ,YAAY;IAG3C;;OAEG;IACH,MAAM,CAAC,MAAM,IAAI,WAAW;IAI5B;;OAEG;IACH,MAAM,CAAC,WAAW,CAAC,OAAO,EAAE,aAAa,GAAG,WAAW;IAKvD;;OAEG;IACH,MAAM,CAAC,aAAa,CAAC,MAAM,EAAE,eAAe,GAAG,WAAW;IAU1D;;OAEG;IACH,MAAM,CAAC,gBAAgB,CAAC,YAAY,EAAE,eAAe,GAAG,WAAW;IAInE;;OAEG;IACH,MAAM,CAAC,WAAW,CAAC,OAAO,EAAE,OAAO,GAAG,WAAW;IAKjD;;OAEG;IACH,MAAM,CAAC,IAAI,CAAC,KAAK,EAAE,YAAY,GAAG,aAAa,GAAG,eAAe,GAAG,eAAe,GAAG,IAAI,GAAG,SAAS,GAAG,WAAW;IAsBpH;;OAEG;IACH,OAAO,CAAC,MAAM,CAAC,iBAAiB;IAahC;;OAEG;IACH,OAAO,CAAC,MAAM,CAAC,oBAAoB;IAiBnC;;;;;;;;OAQG;IACH,OAAO,CAAC,MAAM,CAAC,kBAAkB;IAqCjC,WAAW,CAAC,MAAM,EAAE,aAAa,GAAG,IAAI;IAIxC,aAAa,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;OAEG;IACH,aAAa,CAAC,SAAS,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,WAAW;IAMhE;;OAEG;IACH,UAAU,CAAC,MAAM,CAAC,EAAE,aAAa,GAAG,WAAW;IAM/C;;OAEG;IACH,WAAW,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,WAAW;IAMlD;;OAEG;IACH,SAAS,IAAI,WAAW;IAMxB;;OAEG;IACH,UAAU,IAAI,OAAO;IAwBrB;;OAEG;IACH,gBAAgB,IAAI,MAAM,EAAE;IAwD5B;;;;OAIG;IACH,OAAO,CAAC,mBAAmB;IAoD3B;;OAEG;IACH,OAAO,CAAC,aAAa;IAQrB,yEAAyE;IACzE,OAAO,CAAC,gBAAgB;IAKxB,0EAA0E;IAC1E,OAAO,CAAC,gBAAgB;IAKxB;;OAEG;IACH,OAAO,CAAC,gBAAgB;IAKxB;;OAEG;IACH,OAAO,CAAC,gBAAgB;IAKxB;;OAEG;IACH,OAAO,CAAC,cAAc;IAItB;;OAEG;IACH,OAAO,CAAC,aAAa;CAGtB"}
@@ -1,9 +1,9 @@
1
- import { BaseRepository, PaginationDTO } from "../../lib/api/index.js";
1
+ import { BaseRepository, type PaginationDTO } from "../../lib/api/index.js";
2
+ import { TransactionSummary } from "../../lib/models/index.js";
2
3
  import { payoutContract } from "./payout.api-contract.js";
3
4
  import { Payout } from "./payout.model.js";
4
5
  import { PayoutQuery } from "./payout.query.js";
5
- import { PayoutFilters } from "./payout.types.js";
6
- import { TransactionSummary } from "../../lib/models/index.js";
6
+ import type { PayoutFilters } from "./payout.types.js";
7
7
  /**
8
8
  * Flexible query input type - supports the class, filters interface, URL params, etc.
9
9
  */
@@ -61,3 +61,4 @@ export declare class PayoutRepository extends BaseRepository<typeof payoutContra
61
61
  */
62
62
  getPayoutStats(): Promise<TransactionSummary>;
63
63
  }
64
+ //# sourceMappingURL=payout.repository.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payout.repository.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