@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,72 +2,31 @@ import { z } from "zod";
2
2
  export declare const collectionContract: {
3
3
  getCollections: {
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
  id: z.ZodOptional<z.ZodString>;
13
- idIn: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, string[], string | string[]>>;
16
+ idIn: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>, z.ZodTransform<string[], string | string[]>>>;
14
17
  reference: z.ZodOptional<z.ZodString>;
15
- referenceIn: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, string[], string | string[]>>;
18
+ referenceIn: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>, z.ZodTransform<string[], string | string[]>>>;
16
19
  accountNo: z.ZodOptional<z.ZodString>;
17
20
  walletId: z.ZodOptional<z.ZodString>;
18
21
  partnerReference: z.ZodOptional<z.ZodString>;
19
- channel: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("./collection.types.js").COLLECTION_CHANNEL, string>>;
20
- channelIn: z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, string[], string | string[]>, z.ZodArray<z.ZodNativeEnum<typeof import("./collection.types.js").COLLECTION_CHANNEL>, "many">>>;
21
- status: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("./collection.types.js").COLLECTION_STATUS, string>>;
22
- 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("./collection.types.js").COLLECTION_STATUS>, "many">>>;
23
- minAmount: z.ZodOptional<z.ZodEffects<z.ZodString, number, string>>;
24
- maxAmount: z.ZodOptional<z.ZodEffects<z.ZodString, number, string>>;
22
+ channel: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./collection.types.js").COLLECTION_CHANNEL, string>>>;
23
+ channelIn: 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("./collection.types.js").COLLECTION_CHANNEL>>>>;
24
+ status: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("./collection.types.js").COLLECTION_STATUS, string>>>;
25
+ 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("./collection.types.js").COLLECTION_STATUS>>>>;
26
+ minAmount: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>>;
27
+ maxAmount: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>>;
25
28
  search: z.ZodOptional<z.ZodString>;
26
- }, "strip", z.ZodTypeAny, {
27
- sortBy: string;
28
- sortOrder: "asc" | "desc";
29
- status?: import("./collection.types.js").COLLECTION_STATUS | undefined;
30
- page?: number | undefined;
31
- limit?: number | undefined;
32
- accountNo?: string | undefined;
33
- search?: string | undefined;
34
- id?: string | undefined;
35
- walletId?: string | undefined;
36
- msisdn?: string | undefined;
37
- channel?: import("./collection.types.js").COLLECTION_CHANNEL | undefined;
38
- reference?: string | undefined;
39
- partnerReference?: string | undefined;
40
- startDate?: string | undefined;
41
- endDate?: string | undefined;
42
- idIn?: string[] | undefined;
43
- referenceIn?: string[] | undefined;
44
- channelIn?: import("./collection.types.js").COLLECTION_CHANNEL[] | undefined;
45
- statusIn?: import("./collection.types.js").COLLECTION_STATUS[] | undefined;
46
- minAmount?: number | undefined;
47
- maxAmount?: number | undefined;
48
- }, {
49
- status?: string | undefined;
50
- page?: string | undefined;
51
- limit?: string | undefined;
52
- accountNo?: string | undefined;
53
- search?: string | undefined;
54
- id?: string | undefined;
55
- walletId?: string | undefined;
56
- msisdn?: string | undefined;
57
- channel?: string | undefined;
58
- reference?: string | undefined;
59
- partnerReference?: 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
- referenceIn?: string | string[] | undefined;
66
- channelIn?: string | string[] | undefined;
67
- statusIn?: string | string[] | undefined;
68
- minAmount?: string | undefined;
69
- maxAmount?: string | undefined;
70
- }>;
29
+ }, z.core.$strip>;
71
30
  summary: "List collections";
72
31
  description: "Retrieve a paginated list of collections with optional filtering";
73
32
  method: "GET";
@@ -76,14 +35,14 @@ export declare const collectionContract: {
76
35
  200: z.ZodObject<{
77
36
  results: z.ZodArray<z.ZodObject<{
78
37
  id: z.ZodString;
79
- status: z.ZodNativeEnum<typeof import("./collection.types.js").COLLECTION_STATUS>;
38
+ status: z.ZodEnum<typeof import("./collection.types.js").COLLECTION_STATUS>;
80
39
  statusMessage: z.ZodString;
81
40
  accountNo: z.ZodString;
82
41
  walletId: z.ZodString;
83
42
  transactionDate: z.ZodString;
84
43
  narration: z.ZodString;
85
44
  msisdn: z.ZodString;
86
- channel: z.ZodNativeEnum<typeof import("./collection.types.js").COLLECTION_CHANNEL>;
45
+ channel: z.ZodEnum<typeof import("./collection.types.js").COLLECTION_CHANNEL>;
87
46
  amount: z.ZodNumber;
88
47
  serviceFee: z.ZodOptional<z.ZodString>;
89
48
  postedAmount: z.ZodOptional<z.ZodString>;
@@ -101,193 +60,36 @@ export declare const collectionContract: {
101
60
  updatedAt: z.ZodString;
102
61
  notes: z.ZodOptional<z.ZodString>;
103
62
  currencyCode: z.ZodDefault<z.ZodString>;
104
- }, "strip", z.ZodTypeAny, {
105
- status: import("./collection.types.js").COLLECTION_STATUS;
106
- createdAt: string;
107
- accountNo: string;
108
- narration: string;
109
- id: string;
110
- statusMessage: string;
111
- walletId: string;
112
- transactionDate: string;
113
- msisdn: string;
114
- channel: import("./collection.types.js").COLLECTION_CHANNEL;
115
- amount: number;
116
- reference: string;
117
- updatedAt: string;
118
- currencyCode: string;
119
- serviceFee?: string | undefined;
120
- postedAmount?: string | undefined;
121
- partnerReference?: string | null | undefined;
122
- payerName?: string | null | undefined;
123
- payerReference?: string | null | undefined;
124
- merchantName?: string | null | undefined;
125
- merchantReference?: string | null | undefined;
126
- transactionId?: string | null | undefined;
127
- serviceFeeTransactionId?: string | null | undefined;
128
- requestId?: string | null | undefined;
129
- completedAt?: string | null | undefined;
130
- notes?: string | undefined;
131
- }, {
132
- status: import("./collection.types.js").COLLECTION_STATUS;
133
- createdAt: string;
134
- accountNo: string;
135
- narration: string;
136
- id: string;
137
- statusMessage: string;
138
- walletId: string;
139
- transactionDate: string;
140
- msisdn: string;
141
- channel: import("./collection.types.js").COLLECTION_CHANNEL;
142
- amount: number;
143
- reference: string;
144
- updatedAt: string;
145
- serviceFee?: string | undefined;
146
- postedAmount?: string | undefined;
147
- partnerReference?: string | null | undefined;
148
- payerName?: string | null | undefined;
149
- payerReference?: string | null | undefined;
150
- merchantName?: string | null | undefined;
151
- merchantReference?: string | null | undefined;
152
- transactionId?: string | null | undefined;
153
- serviceFeeTransactionId?: string | null | undefined;
154
- requestId?: string | null | undefined;
155
- completedAt?: string | null | undefined;
156
- notes?: string | undefined;
157
- currencyCode?: string | undefined;
158
- }>, "many">;
63
+ }, z.core.$strip>>;
159
64
  total: z.ZodNumber;
160
- }, "strip", z.ZodTypeAny, {
161
- total: number;
162
- results: {
163
- status: import("./collection.types.js").COLLECTION_STATUS;
164
- createdAt: string;
165
- accountNo: string;
166
- narration: string;
167
- id: string;
168
- statusMessage: string;
169
- walletId: string;
170
- transactionDate: string;
171
- msisdn: string;
172
- channel: import("./collection.types.js").COLLECTION_CHANNEL;
173
- amount: number;
174
- reference: string;
175
- updatedAt: string;
176
- currencyCode: string;
177
- serviceFee?: string | undefined;
178
- postedAmount?: string | undefined;
179
- partnerReference?: string | null | undefined;
180
- payerName?: string | null | undefined;
181
- payerReference?: string | null | undefined;
182
- merchantName?: string | null | undefined;
183
- merchantReference?: string | null | undefined;
184
- transactionId?: string | null | undefined;
185
- serviceFeeTransactionId?: string | null | undefined;
186
- requestId?: string | null | undefined;
187
- completedAt?: string | null | undefined;
188
- notes?: string | undefined;
189
- }[];
190
- }, {
191
- total: number;
192
- results: {
193
- status: import("./collection.types.js").COLLECTION_STATUS;
194
- createdAt: string;
195
- accountNo: string;
196
- narration: string;
197
- id: string;
198
- statusMessage: string;
199
- walletId: string;
200
- transactionDate: string;
201
- msisdn: string;
202
- channel: import("./collection.types.js").COLLECTION_CHANNEL;
203
- amount: number;
204
- reference: string;
205
- updatedAt: string;
206
- serviceFee?: string | undefined;
207
- postedAmount?: string | undefined;
208
- partnerReference?: string | null | undefined;
209
- payerName?: string | null | undefined;
210
- payerReference?: string | null | undefined;
211
- merchantName?: string | null | undefined;
212
- merchantReference?: string | null | undefined;
213
- transactionId?: string | null | undefined;
214
- serviceFeeTransactionId?: string | null | undefined;
215
- requestId?: string | null | undefined;
216
- completedAt?: string | null | undefined;
217
- notes?: string | undefined;
218
- currencyCode?: string | undefined;
219
- }[];
220
- }>;
65
+ }, z.core.$strip>;
221
66
  401: z.ZodObject<{
222
67
  reason: z.ZodOptional<z.ZodString>;
223
68
  error: z.ZodOptional<z.ZodString>;
224
69
  details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
225
70
  message: z.ZodOptional<z.ZodString>;
226
- } & {
227
71
  statusCode: z.ZodLiteral<401>;
228
- }, "strip", z.ZodTypeAny, {
229
- statusCode: 401;
230
- message?: string | undefined;
231
- error?: string | undefined;
232
- details?: Record<string, unknown> | undefined;
233
- reason?: string | undefined;
234
- }, {
235
- statusCode: 401;
236
- message?: string | undefined;
237
- error?: string | undefined;
238
- details?: Record<string, unknown> | undefined;
239
- reason?: string | undefined;
240
- }>;
72
+ }, z.core.$strip>;
241
73
  403: z.ZodObject<{
242
74
  reason: z.ZodOptional<z.ZodString>;
243
75
  error: z.ZodOptional<z.ZodString>;
244
76
  details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
245
77
  message: z.ZodOptional<z.ZodString>;
246
- } & {
247
78
  statusCode: z.ZodLiteral<403>;
248
- }, "strip", z.ZodTypeAny, {
249
- statusCode: 403;
250
- message?: string | undefined;
251
- error?: string | undefined;
252
- details?: Record<string, unknown> | undefined;
253
- reason?: string | undefined;
254
- }, {
255
- statusCode: 403;
256
- message?: string | undefined;
257
- error?: string | undefined;
258
- details?: Record<string, unknown> | undefined;
259
- reason?: string | undefined;
260
- }>;
79
+ }, z.core.$strip>;
261
80
  500: z.ZodObject<{
262
81
  reason: z.ZodOptional<z.ZodString>;
263
82
  error: z.ZodOptional<z.ZodString>;
264
83
  details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
265
84
  message: z.ZodOptional<z.ZodString>;
266
- } & {
267
85
  statusCode: z.ZodLiteral<500>;
268
- }, "strip", z.ZodTypeAny, {
269
- statusCode: 500;
270
- message?: string | undefined;
271
- error?: string | undefined;
272
- details?: Record<string, unknown> | undefined;
273
- reason?: string | undefined;
274
- }, {
275
- statusCode: 500;
276
- message?: string | undefined;
277
- error?: string | undefined;
278
- details?: Record<string, unknown> | undefined;
279
- reason?: string | undefined;
280
- }>;
86
+ }, z.core.$strip>;
281
87
  };
282
88
  };
283
89
  getCollection: {
284
90
  pathParams: z.ZodObject<{
285
91
  id: z.ZodString;
286
- }, "strip", z.ZodTypeAny, {
287
- id: string;
288
- }, {
289
- id: string;
290
- }>;
92
+ }, z.core.$strip>;
291
93
  summary: "Get collection details";
292
94
  description: "Retrieve detailed information about a specific collection";
293
95
  method: "GET";
@@ -295,14 +97,14 @@ export declare const collectionContract: {
295
97
  responses: {
296
98
  200: z.ZodObject<{
297
99
  id: z.ZodString;
298
- status: z.ZodNativeEnum<typeof import("./collection.types.js").COLLECTION_STATUS>;
100
+ status: z.ZodEnum<typeof import("./collection.types.js").COLLECTION_STATUS>;
299
101
  statusMessage: z.ZodString;
300
102
  accountNo: z.ZodString;
301
103
  walletId: z.ZodString;
302
104
  transactionDate: z.ZodString;
303
105
  narration: z.ZodString;
304
106
  msisdn: z.ZodString;
305
- channel: z.ZodNativeEnum<typeof import("./collection.types.js").COLLECTION_CHANNEL>;
107
+ channel: z.ZodEnum<typeof import("./collection.types.js").COLLECTION_CHANNEL>;
306
108
  amount: z.ZodNumber;
307
109
  serviceFee: z.ZodOptional<z.ZodString>;
308
110
  postedAmount: z.ZodOptional<z.ZodString>;
@@ -320,141 +122,35 @@ export declare const collectionContract: {
320
122
  updatedAt: z.ZodString;
321
123
  notes: z.ZodOptional<z.ZodString>;
322
124
  currencyCode: z.ZodDefault<z.ZodString>;
323
- }, "strip", z.ZodTypeAny, {
324
- status: import("./collection.types.js").COLLECTION_STATUS;
325
- createdAt: string;
326
- accountNo: string;
327
- narration: string;
328
- id: string;
329
- statusMessage: string;
330
- walletId: string;
331
- transactionDate: string;
332
- msisdn: string;
333
- channel: import("./collection.types.js").COLLECTION_CHANNEL;
334
- amount: number;
335
- reference: string;
336
- updatedAt: string;
337
- currencyCode: string;
338
- serviceFee?: string | undefined;
339
- postedAmount?: string | undefined;
340
- partnerReference?: string | null | undefined;
341
- payerName?: string | null | undefined;
342
- payerReference?: string | null | undefined;
343
- merchantName?: string | null | undefined;
344
- merchantReference?: string | null | undefined;
345
- transactionId?: string | null | undefined;
346
- serviceFeeTransactionId?: string | null | undefined;
347
- requestId?: string | null | undefined;
348
- completedAt?: string | null | undefined;
349
- notes?: string | undefined;
350
- }, {
351
- status: import("./collection.types.js").COLLECTION_STATUS;
352
- createdAt: string;
353
- accountNo: string;
354
- narration: string;
355
- id: string;
356
- statusMessage: string;
357
- walletId: string;
358
- transactionDate: string;
359
- msisdn: string;
360
- channel: import("./collection.types.js").COLLECTION_CHANNEL;
361
- amount: number;
362
- reference: string;
363
- updatedAt: string;
364
- serviceFee?: string | undefined;
365
- postedAmount?: string | undefined;
366
- partnerReference?: string | null | undefined;
367
- payerName?: string | null | undefined;
368
- payerReference?: string | null | undefined;
369
- merchantName?: string | null | undefined;
370
- merchantReference?: string | null | undefined;
371
- transactionId?: string | null | undefined;
372
- serviceFeeTransactionId?: string | null | undefined;
373
- requestId?: string | null | undefined;
374
- completedAt?: string | null | undefined;
375
- notes?: string | undefined;
376
- currencyCode?: string | undefined;
377
- }>;
125
+ }, z.core.$strip>;
378
126
  401: z.ZodObject<{
379
127
  reason: z.ZodOptional<z.ZodString>;
380
128
  error: z.ZodOptional<z.ZodString>;
381
129
  details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
382
130
  message: z.ZodOptional<z.ZodString>;
383
- } & {
384
131
  statusCode: z.ZodLiteral<401>;
385
- }, "strip", z.ZodTypeAny, {
386
- statusCode: 401;
387
- message?: string | undefined;
388
- error?: string | undefined;
389
- details?: Record<string, unknown> | undefined;
390
- reason?: string | undefined;
391
- }, {
392
- statusCode: 401;
393
- message?: string | undefined;
394
- error?: string | undefined;
395
- details?: Record<string, unknown> | undefined;
396
- reason?: string | undefined;
397
- }>;
132
+ }, z.core.$strip>;
398
133
  403: z.ZodObject<{
399
134
  reason: z.ZodOptional<z.ZodString>;
400
135
  error: z.ZodOptional<z.ZodString>;
401
136
  details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
402
137
  message: z.ZodOptional<z.ZodString>;
403
- } & {
404
138
  statusCode: z.ZodLiteral<403>;
405
- }, "strip", z.ZodTypeAny, {
406
- statusCode: 403;
407
- message?: string | undefined;
408
- error?: string | undefined;
409
- details?: Record<string, unknown> | undefined;
410
- reason?: string | undefined;
411
- }, {
412
- statusCode: 403;
413
- message?: string | undefined;
414
- error?: string | undefined;
415
- details?: Record<string, unknown> | undefined;
416
- reason?: string | undefined;
417
- }>;
139
+ }, z.core.$strip>;
418
140
  404: z.ZodObject<{
419
141
  reason: z.ZodOptional<z.ZodString>;
420
142
  error: z.ZodOptional<z.ZodString>;
421
143
  details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
422
144
  message: z.ZodOptional<z.ZodString>;
423
- } & {
424
145
  statusCode: z.ZodLiteral<404>;
425
- }, "strip", z.ZodTypeAny, {
426
- statusCode: 404;
427
- message?: string | undefined;
428
- error?: string | undefined;
429
- details?: Record<string, unknown> | undefined;
430
- reason?: string | undefined;
431
- }, {
432
- statusCode: 404;
433
- message?: string | undefined;
434
- error?: string | undefined;
435
- details?: Record<string, unknown> | undefined;
436
- reason?: string | undefined;
437
- }>;
146
+ }, z.core.$strip>;
438
147
  500: z.ZodObject<{
439
148
  reason: z.ZodOptional<z.ZodString>;
440
149
  error: z.ZodOptional<z.ZodString>;
441
150
  details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
442
151
  message: z.ZodOptional<z.ZodString>;
443
- } & {
444
152
  statusCode: z.ZodLiteral<500>;
445
- }, "strip", z.ZodTypeAny, {
446
- statusCode: 500;
447
- message?: string | undefined;
448
- error?: string | undefined;
449
- details?: Record<string, unknown> | undefined;
450
- reason?: string | undefined;
451
- }, {
452
- statusCode: 500;
453
- message?: string | undefined;
454
- error?: string | undefined;
455
- details?: Record<string, unknown> | undefined;
456
- reason?: string | undefined;
457
- }>;
153
+ }, z.core.$strip>;
458
154
  };
459
155
  };
460
156
  getSummary: {
@@ -468,78 +164,30 @@ export declare const collectionContract: {
468
164
  today: z.ZodNumber;
469
165
  thisMonth: z.ZodNumber;
470
166
  lastMonth: z.ZodNumber;
471
- }, "strip", z.ZodTypeAny, {
472
- yesterday: number;
473
- today: number;
474
- thisMonth: number;
475
- lastMonth: number;
476
- }, {
477
- yesterday: number;
478
- today: number;
479
- thisMonth: number;
480
- lastMonth: number;
481
- }>;
167
+ }, z.core.$strip>;
482
168
  401: z.ZodObject<{
483
169
  reason: z.ZodOptional<z.ZodString>;
484
170
  error: z.ZodOptional<z.ZodString>;
485
171
  details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
486
172
  message: z.ZodOptional<z.ZodString>;
487
- } & {
488
173
  statusCode: z.ZodLiteral<401>;
489
- }, "strip", z.ZodTypeAny, {
490
- statusCode: 401;
491
- message?: string | undefined;
492
- error?: string | undefined;
493
- details?: Record<string, unknown> | undefined;
494
- reason?: string | undefined;
495
- }, {
496
- statusCode: 401;
497
- message?: string | undefined;
498
- error?: string | undefined;
499
- details?: Record<string, unknown> | undefined;
500
- reason?: string | undefined;
501
- }>;
174
+ }, z.core.$strip>;
502
175
  403: z.ZodObject<{
503
176
  reason: z.ZodOptional<z.ZodString>;
504
177
  error: z.ZodOptional<z.ZodString>;
505
178
  details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
506
179
  message: z.ZodOptional<z.ZodString>;
507
- } & {
508
180
  statusCode: z.ZodLiteral<403>;
509
- }, "strip", z.ZodTypeAny, {
510
- statusCode: 403;
511
- message?: string | undefined;
512
- error?: string | undefined;
513
- details?: Record<string, unknown> | undefined;
514
- reason?: string | undefined;
515
- }, {
516
- statusCode: 403;
517
- message?: string | undefined;
518
- error?: string | undefined;
519
- details?: Record<string, unknown> | undefined;
520
- reason?: string | undefined;
521
- }>;
181
+ }, z.core.$strip>;
522
182
  500: z.ZodObject<{
523
183
  reason: z.ZodOptional<z.ZodString>;
524
184
  error: z.ZodOptional<z.ZodString>;
525
185
  details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
526
186
  message: z.ZodOptional<z.ZodString>;
527
- } & {
528
187
  statusCode: z.ZodLiteral<500>;
529
- }, "strip", z.ZodTypeAny, {
530
- statusCode: 500;
531
- message?: string | undefined;
532
- error?: string | undefined;
533
- details?: Record<string, unknown> | undefined;
534
- reason?: string | undefined;
535
- }, {
536
- statusCode: 500;
537
- message?: string | undefined;
538
- error?: string | undefined;
539
- details?: Record<string, unknown> | undefined;
540
- reason?: string | undefined;
541
- }>;
188
+ }, z.core.$strip>;
542
189
  };
543
190
  };
544
191
  };
545
192
  export type CollectionContract = typeof collectionContract;
193
+ //# sourceMappingURL=collection.api-contract.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"collection.api-contract.d.ts","sourceRoot":"","sources":["../../../src/modules/collection/collection.api-contract.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkD7B,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,OAAO,kBAAkB,CAAC"}
@@ -1,6 +1,6 @@
1
- import { Amount, AmountJSON } from "@temboplus/frontend-core";
1
+ import { Amount, type AmountJSON } from "@temboplus/frontend-core";
2
+ import { type MobileChannelInfo } from "../../lib/types.js";
2
3
  import { COLLECTION_CHANNEL, COLLECTION_STATUS } from "./collection.types.js";
3
- import { MobileChannelInfo } from "../../lib/types.js";
4
4
  export interface CollectionStatusInfo {
5
5
  label: string;
6
6
  description: string;
@@ -162,3 +162,4 @@ export declare class Collection {
162
162
  */
163
163
  toJSON(): CollectionJson;
164
164
  }
165
+ //# sourceMappingURL=collection.model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"collection.model.d.ts","sourceRoot":"","sources":["../../../src/modules/collection/collection.model.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAiB,KAAK,UAAU,EAAsC,MAAM,0BAA0B,CAAC;AACtH,OAAO,EAAE,KAAK,iBAAiB,EAAkB,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAI9E,MAAM,WAAW,oBAAoB;IACnC,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MAAM,cAAc,EAAE,KAAK,EAAE,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC;IAI7E;;;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,oBAAoB;IAIrC;;OAEG;IACH,cAAc,IAAI,iBAAiB;IAInC;;OAEG;IACH,eAAe,IAAI,MAAM;IAIzB;;OAEG;IACH,cAAc,IAAI,MAAM;IAIxB;;OAEG;IACH,kBAAkB,IAAI,OAAO;IAI7B;;OAEG;IACH,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,GAAG,GAAG,UAAU,GAAG,SAAS;IAa9C,MAAM,CAAC,UAAU,CAAC,SAAS,EAAE,GAAG,EAAE,GAAG,UAAU,EAAE;IAWjD;;OAEG;IACH,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAE,cAAc,GAAG,UAAU,GAAG,SAAS;IAsF7D;;OAEG;IACH,MAAM,CAAC,kBAAkB,CAAC,SAAS,EAAE,cAAc,EAAE,GAAG,UAAU,EAAE;IAWpE;;OAEG;IACH,MAAM,IAAI,cAAc;CA8BzB"}
@@ -1,5 +1,5 @@
1
1
  import { QueryBuilder } from "../../lib/query/index.js";
2
- import { COLLECTION_STATUS, COLLECTION_CHANNEL, CollectionFilters } from "./collection.types.js";
2
+ import { COLLECTION_CHANNEL, COLLECTION_STATUS, type CollectionFilters } from "./collection.types.js";
3
3
  type CollectionUrlParams = Record<string, string | string[]>;
4
4
  /**
5
5
  * Collection-specific query builder that extends the base QueryBuilder
@@ -147,3 +147,4 @@ export declare class CollectionQuery extends QueryBuilder {
147
147
  private isValidStatus;
148
148
  }
149
149
  export {};
150
+ //# sourceMappingURL=collection.query.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"collection.query.d.ts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OAEG;IACH,UAAU,IAAI,OAAO;IAuBrB;;OAEG;IACH,gBAAgB,IAAI,MAAM,EAAE;IAkD5B;;OAEG;IACH,OAAO,CAAC,mBAAmB;IAoD3B;;OAEG;IACH,OAAO,CAAC,aAAa;IAQrB,6EAA6E;IAC7E,OAAO,CAAC,gBAAgB;IAKxB,8EAA8E;IAC9E,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 { collectionContract } from "./collection.api-contract.js";
3
4
  import { Collection } from "./collection.model.js";
4
5
  import { CollectionQuery } from "./collection.query.js";
5
- import { CollectionFilters } from "./collection.types.js";
6
- import { TransactionSummary } from "../../lib/models/index.js";
6
+ import type { CollectionFilters } from "./collection.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 CollectionRepository extends BaseRepository<typeof collecti
61
61
  */
62
62
  getCollectionStats(): Promise<TransactionSummary>;
63
63
  }
64
+ //# sourceMappingURL=collection.repository.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"collection.repository.d.ts","sourceRoot":"","sources":["../../../src/modules/collection/collection.repository.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,KAAK,aAAa,EAA8B,MAAM,wBAAwB,CAAC;AACxG,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AAClE,OAAO,EAAE,UAAU,EAAuB,MAAM,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