@temboplus/afloat 0.1.71 → 0.1.73
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/features/admin/admin.contract.d.ts +53 -53
- package/dist/features/admin/admin.repository.d.ts +5 -5
- package/dist/features/admin/index.d.ts +2 -2
- package/dist/features/auth/access/access.repository.d.ts +2 -2
- package/dist/features/auth/auth.manager.d.ts +2 -2
- package/dist/features/auth/auth.repository.d.ts +3 -3
- package/dist/features/auth/auth.store.d.ts +1 -1
- package/dist/features/auth/identity/identity.repository.d.ts +2 -2
- package/dist/features/auth/index.d.ts +5 -5
- package/dist/features/auth/profile/profile.repository.d.ts +3 -3
- package/dist/features/auth/storage/client-store.d.ts +2 -2
- package/dist/features/auth/storage/client-token-handler.d.ts +1 -1
- package/dist/features/contact/contact-input-handler.d.ts +2 -2
- package/dist/features/contact/contact.api-contract.d.ts +38 -38
- package/dist/features/contact/contact.dtos.d.ts +6 -6
- package/dist/features/contact/contact.repository.d.ts +4 -4
- package/dist/features/contact/index.d.ts +2 -2
- package/dist/features/payout/index.d.ts +3 -3
- package/dist/features/payout/payout-channel-handler.d.ts +3 -3
- package/dist/features/payout/payout.api-contract.d.ts +93 -93
- package/dist/features/payout/payout.dtos.d.ts +12 -12
- package/dist/features/payout/payout.repository.d.ts +5 -5
- package/dist/features/wallet/index.d.ts +4 -4
- package/dist/features/wallet/wallet-manager.session.d.ts +2 -2
- package/dist/features/wallet/wallet.contract.d.ts +7 -7
- package/dist/features/wallet/wallet.dtos.d.ts +14 -14
- package/dist/features/wallet/wallet.repository.d.ts +5 -5
- package/dist/features/wallet/wallet.utils.d.ts +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +7 -7
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/lib/api/base-repository.d.ts +1 -1
- package/dist/lib/api/index.d.ts +2 -2
- package/dist/lib/error/error.permission.d.ts +1 -1
- package/dist/lib/error/index.d.ts +3 -3
- package/dist/models/contact-info.model.d.ts +2 -2
- package/dist/models/contact.model.d.ts +2 -2
- package/dist/models/index.d.ts +11 -11
- package/dist/models/managed-user.model.d.ts +2 -2
- package/dist/models/narration.model.d.ts +1 -1
- package/dist/models/payout.model.d.ts +2 -2
- package/dist/models/profile.model.d.ts +1 -1
- package/dist/models/role.model.d.ts +1 -1
- package/dist/models/statement-entry.model.d.ts +2 -2
- package/dist/models/user.model.d.ts +1 -1
- package/dist/models/wallet.model.d.ts +1 -1
- package/package.json +4 -2
|
@@ -18,23 +18,23 @@ export declare const contract: {
|
|
|
18
18
|
rangeStart: z.ZodNumber;
|
|
19
19
|
rangeEnd: z.ZodNumber;
|
|
20
20
|
eager: z.ZodString;
|
|
21
|
-
approvalStatus: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./payout.dtos").PayoutApprovalStatus>>>;
|
|
21
|
+
approvalStatus: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./payout.dtos.js").PayoutApprovalStatus>>>;
|
|
22
22
|
orderByDesc: z.ZodString;
|
|
23
23
|
msisdn: z.ZodOptional<z.ZodString>;
|
|
24
24
|
}, "strip", z.ZodTypeAny, {
|
|
25
|
-
rangeStart: number;
|
|
26
|
-
rangeEnd: number;
|
|
27
25
|
eager: string;
|
|
28
26
|
orderByDesc: string;
|
|
29
|
-
msisdn?: string | undefined;
|
|
30
|
-
approvalStatus?: import("./payout.dtos").PayoutApprovalStatus | null | undefined;
|
|
31
|
-
}, {
|
|
32
27
|
rangeStart: number;
|
|
33
28
|
rangeEnd: number;
|
|
29
|
+
msisdn?: string | undefined;
|
|
30
|
+
approvalStatus?: import("./payout.dtos.js").PayoutApprovalStatus | null | undefined;
|
|
31
|
+
}, {
|
|
34
32
|
eager: string;
|
|
35
33
|
orderByDesc: string;
|
|
34
|
+
rangeStart: number;
|
|
35
|
+
rangeEnd: number;
|
|
36
36
|
msisdn?: string | undefined;
|
|
37
|
-
approvalStatus?: import("./payout.dtos").PayoutApprovalStatus | null | undefined;
|
|
37
|
+
approvalStatus?: import("./payout.dtos.js").PayoutApprovalStatus | null | undefined;
|
|
38
38
|
}>;
|
|
39
39
|
method: "GET";
|
|
40
40
|
path: "";
|
|
@@ -52,13 +52,13 @@ export declare const contract: {
|
|
|
52
52
|
countryCode: z.ZodEffects<z.ZodDefault<z.ZodString>, import("@temboplus/frontend-core").ISO2CountryCode, string | undefined>;
|
|
53
53
|
currencyCode: z.ZodEffects<z.ZodDefault<z.ZodString>, import("@temboplus/frontend-core").CurrencyCode, string | undefined>;
|
|
54
54
|
channel: z.ZodString;
|
|
55
|
-
status: z.ZodNativeEnum<typeof import("./payout.dtos").PayoutStatus>;
|
|
55
|
+
status: z.ZodNativeEnum<typeof import("./payout.dtos.js").PayoutStatus>;
|
|
56
56
|
statusMessage: z.ZodString;
|
|
57
57
|
partnerReference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
58
58
|
createdAt: z.ZodDate;
|
|
59
59
|
updatedAt: z.ZodDate;
|
|
60
60
|
actionedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
61
|
-
approvalStatus: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./payout.dtos").PayoutApprovalStatus>>>;
|
|
61
|
+
approvalStatus: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./payout.dtos.js").PayoutApprovalStatus>>>;
|
|
62
62
|
createdBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
63
63
|
id: z.ZodString;
|
|
64
64
|
name: z.ZodString;
|
|
@@ -86,23 +86,23 @@ export declare const contract: {
|
|
|
86
86
|
identity: string;
|
|
87
87
|
}>>>;
|
|
88
88
|
}, "strip", z.ZodTypeAny, {
|
|
89
|
-
status: import("./payout.dtos").PayoutStatus;
|
|
89
|
+
status: import("./payout.dtos.js").PayoutStatus;
|
|
90
90
|
id: string;
|
|
91
|
+
profileId: string;
|
|
92
|
+
createdAt: Date;
|
|
93
|
+
updatedAt: Date;
|
|
91
94
|
channel: string;
|
|
92
95
|
msisdn: string;
|
|
93
96
|
amount: number;
|
|
94
97
|
description: string;
|
|
95
98
|
payeeName: string;
|
|
96
|
-
profileId: string;
|
|
97
99
|
countryCode: import("@temboplus/frontend-core").ISO2CountryCode;
|
|
98
100
|
currencyCode: import("@temboplus/frontend-core").CurrencyCode;
|
|
99
101
|
statusMessage: string;
|
|
100
|
-
createdAt: Date;
|
|
101
|
-
updatedAt: Date;
|
|
102
102
|
notes?: string | null | undefined;
|
|
103
103
|
partnerReference?: string | null | undefined;
|
|
104
104
|
actionedAt?: Date | null | undefined;
|
|
105
|
-
approvalStatus?: import("./payout.dtos").PayoutApprovalStatus | null | undefined;
|
|
105
|
+
approvalStatus?: import("./payout.dtos.js").PayoutApprovalStatus | null | undefined;
|
|
106
106
|
createdBy?: {
|
|
107
107
|
name: string;
|
|
108
108
|
id: string;
|
|
@@ -114,23 +114,23 @@ export declare const contract: {
|
|
|
114
114
|
identity: string;
|
|
115
115
|
} | null | undefined;
|
|
116
116
|
}, {
|
|
117
|
-
status: import("./payout.dtos").PayoutStatus;
|
|
117
|
+
status: import("./payout.dtos.js").PayoutStatus;
|
|
118
118
|
id: string;
|
|
119
|
+
profileId: string;
|
|
120
|
+
createdAt: Date;
|
|
121
|
+
updatedAt: Date;
|
|
119
122
|
channel: string;
|
|
120
123
|
msisdn: string;
|
|
121
124
|
amount: number;
|
|
122
125
|
description: string;
|
|
123
126
|
payeeName: string;
|
|
124
|
-
profileId: string;
|
|
125
127
|
statusMessage: string;
|
|
126
|
-
createdAt: Date;
|
|
127
|
-
updatedAt: Date;
|
|
128
128
|
notes?: string | null | undefined;
|
|
129
129
|
countryCode?: string | undefined;
|
|
130
130
|
currencyCode?: string | undefined;
|
|
131
131
|
partnerReference?: string | null | undefined;
|
|
132
132
|
actionedAt?: Date | null | undefined;
|
|
133
|
-
approvalStatus?: import("./payout.dtos").PayoutApprovalStatus | null | undefined;
|
|
133
|
+
approvalStatus?: import("./payout.dtos.js").PayoutApprovalStatus | null | undefined;
|
|
134
134
|
createdBy?: {
|
|
135
135
|
name: string;
|
|
136
136
|
id: string;
|
|
@@ -145,23 +145,23 @@ export declare const contract: {
|
|
|
145
145
|
total: z.ZodNumber;
|
|
146
146
|
}, "strip", z.ZodTypeAny, {
|
|
147
147
|
results: {
|
|
148
|
-
status: import("./payout.dtos").PayoutStatus;
|
|
148
|
+
status: import("./payout.dtos.js").PayoutStatus;
|
|
149
149
|
id: string;
|
|
150
|
+
profileId: string;
|
|
151
|
+
createdAt: Date;
|
|
152
|
+
updatedAt: Date;
|
|
150
153
|
channel: string;
|
|
151
154
|
msisdn: string;
|
|
152
155
|
amount: number;
|
|
153
156
|
description: string;
|
|
154
157
|
payeeName: string;
|
|
155
|
-
profileId: string;
|
|
156
158
|
countryCode: import("@temboplus/frontend-core").ISO2CountryCode;
|
|
157
159
|
currencyCode: import("@temboplus/frontend-core").CurrencyCode;
|
|
158
160
|
statusMessage: string;
|
|
159
|
-
createdAt: Date;
|
|
160
|
-
updatedAt: Date;
|
|
161
161
|
notes?: string | null | undefined;
|
|
162
162
|
partnerReference?: string | null | undefined;
|
|
163
163
|
actionedAt?: Date | null | undefined;
|
|
164
|
-
approvalStatus?: import("./payout.dtos").PayoutApprovalStatus | null | undefined;
|
|
164
|
+
approvalStatus?: import("./payout.dtos.js").PayoutApprovalStatus | null | undefined;
|
|
165
165
|
createdBy?: {
|
|
166
166
|
name: string;
|
|
167
167
|
id: string;
|
|
@@ -176,23 +176,23 @@ export declare const contract: {
|
|
|
176
176
|
total: number;
|
|
177
177
|
}, {
|
|
178
178
|
results: {
|
|
179
|
-
status: import("./payout.dtos").PayoutStatus;
|
|
179
|
+
status: import("./payout.dtos.js").PayoutStatus;
|
|
180
180
|
id: string;
|
|
181
|
+
profileId: string;
|
|
182
|
+
createdAt: Date;
|
|
183
|
+
updatedAt: Date;
|
|
181
184
|
channel: string;
|
|
182
185
|
msisdn: string;
|
|
183
186
|
amount: number;
|
|
184
187
|
description: string;
|
|
185
188
|
payeeName: string;
|
|
186
|
-
profileId: string;
|
|
187
189
|
statusMessage: string;
|
|
188
|
-
createdAt: Date;
|
|
189
|
-
updatedAt: Date;
|
|
190
190
|
notes?: string | null | undefined;
|
|
191
191
|
countryCode?: string | undefined;
|
|
192
192
|
currencyCode?: string | undefined;
|
|
193
193
|
partnerReference?: string | null | undefined;
|
|
194
194
|
actionedAt?: Date | null | undefined;
|
|
195
|
-
approvalStatus?: import("./payout.dtos").PayoutApprovalStatus | null | undefined;
|
|
195
|
+
approvalStatus?: import("./payout.dtos.js").PayoutApprovalStatus | null | undefined;
|
|
196
196
|
createdBy?: {
|
|
197
197
|
name: string;
|
|
198
198
|
id: string;
|
|
@@ -213,20 +213,20 @@ export declare const contract: {
|
|
|
213
213
|
rangeStart: z.ZodNumber;
|
|
214
214
|
rangeEnd: z.ZodNumber;
|
|
215
215
|
eager: z.ZodString;
|
|
216
|
-
approvalStatus: z.ZodNativeEnum<typeof import("./payout.dtos").PayoutApprovalStatus>;
|
|
216
|
+
approvalStatus: z.ZodNativeEnum<typeof import("./payout.dtos.js").PayoutApprovalStatus>;
|
|
217
217
|
orderByDesc: z.ZodString;
|
|
218
218
|
}, "strip", z.ZodTypeAny, {
|
|
219
|
-
approvalStatus: import("./payout.dtos").PayoutApprovalStatus;
|
|
220
|
-
rangeStart: number;
|
|
221
|
-
rangeEnd: number;
|
|
219
|
+
approvalStatus: import("./payout.dtos.js").PayoutApprovalStatus;
|
|
222
220
|
eager: string;
|
|
223
221
|
orderByDesc: string;
|
|
224
|
-
}, {
|
|
225
|
-
approvalStatus: import("./payout.dtos").PayoutApprovalStatus;
|
|
226
222
|
rangeStart: number;
|
|
227
223
|
rangeEnd: number;
|
|
224
|
+
}, {
|
|
225
|
+
approvalStatus: import("./payout.dtos.js").PayoutApprovalStatus;
|
|
228
226
|
eager: string;
|
|
229
227
|
orderByDesc: string;
|
|
228
|
+
rangeStart: number;
|
|
229
|
+
rangeEnd: number;
|
|
230
230
|
}>;
|
|
231
231
|
method: "GET";
|
|
232
232
|
path: "";
|
|
@@ -244,13 +244,13 @@ export declare const contract: {
|
|
|
244
244
|
countryCode: z.ZodEffects<z.ZodDefault<z.ZodString>, import("@temboplus/frontend-core").ISO2CountryCode, string | undefined>;
|
|
245
245
|
currencyCode: z.ZodEffects<z.ZodDefault<z.ZodString>, import("@temboplus/frontend-core").CurrencyCode, string | undefined>;
|
|
246
246
|
channel: z.ZodString;
|
|
247
|
-
status: z.ZodNativeEnum<typeof import("./payout.dtos").PayoutStatus>;
|
|
247
|
+
status: z.ZodNativeEnum<typeof import("./payout.dtos.js").PayoutStatus>;
|
|
248
248
|
statusMessage: z.ZodString;
|
|
249
249
|
partnerReference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
250
250
|
createdAt: z.ZodDate;
|
|
251
251
|
updatedAt: z.ZodDate;
|
|
252
252
|
actionedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
253
|
-
approvalStatus: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./payout.dtos").PayoutApprovalStatus>>>;
|
|
253
|
+
approvalStatus: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./payout.dtos.js").PayoutApprovalStatus>>>;
|
|
254
254
|
createdBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
255
255
|
id: z.ZodString;
|
|
256
256
|
name: z.ZodString;
|
|
@@ -278,23 +278,23 @@ export declare const contract: {
|
|
|
278
278
|
identity: string;
|
|
279
279
|
}>>>;
|
|
280
280
|
}, "strip", z.ZodTypeAny, {
|
|
281
|
-
status: import("./payout.dtos").PayoutStatus;
|
|
281
|
+
status: import("./payout.dtos.js").PayoutStatus;
|
|
282
282
|
id: string;
|
|
283
|
+
profileId: string;
|
|
284
|
+
createdAt: Date;
|
|
285
|
+
updatedAt: Date;
|
|
283
286
|
channel: string;
|
|
284
287
|
msisdn: string;
|
|
285
288
|
amount: number;
|
|
286
289
|
description: string;
|
|
287
290
|
payeeName: string;
|
|
288
|
-
profileId: string;
|
|
289
291
|
countryCode: import("@temboplus/frontend-core").ISO2CountryCode;
|
|
290
292
|
currencyCode: import("@temboplus/frontend-core").CurrencyCode;
|
|
291
293
|
statusMessage: string;
|
|
292
|
-
createdAt: Date;
|
|
293
|
-
updatedAt: Date;
|
|
294
294
|
notes?: string | null | undefined;
|
|
295
295
|
partnerReference?: string | null | undefined;
|
|
296
296
|
actionedAt?: Date | null | undefined;
|
|
297
|
-
approvalStatus?: import("./payout.dtos").PayoutApprovalStatus | null | undefined;
|
|
297
|
+
approvalStatus?: import("./payout.dtos.js").PayoutApprovalStatus | null | undefined;
|
|
298
298
|
createdBy?: {
|
|
299
299
|
name: string;
|
|
300
300
|
id: string;
|
|
@@ -306,23 +306,23 @@ export declare const contract: {
|
|
|
306
306
|
identity: string;
|
|
307
307
|
} | null | undefined;
|
|
308
308
|
}, {
|
|
309
|
-
status: import("./payout.dtos").PayoutStatus;
|
|
309
|
+
status: import("./payout.dtos.js").PayoutStatus;
|
|
310
310
|
id: string;
|
|
311
|
+
profileId: string;
|
|
312
|
+
createdAt: Date;
|
|
313
|
+
updatedAt: Date;
|
|
311
314
|
channel: string;
|
|
312
315
|
msisdn: string;
|
|
313
316
|
amount: number;
|
|
314
317
|
description: string;
|
|
315
318
|
payeeName: string;
|
|
316
|
-
profileId: string;
|
|
317
319
|
statusMessage: string;
|
|
318
|
-
createdAt: Date;
|
|
319
|
-
updatedAt: Date;
|
|
320
320
|
notes?: string | null | undefined;
|
|
321
321
|
countryCode?: string | undefined;
|
|
322
322
|
currencyCode?: string | undefined;
|
|
323
323
|
partnerReference?: string | null | undefined;
|
|
324
324
|
actionedAt?: Date | null | undefined;
|
|
325
|
-
approvalStatus?: import("./payout.dtos").PayoutApprovalStatus | null | undefined;
|
|
325
|
+
approvalStatus?: import("./payout.dtos.js").PayoutApprovalStatus | null | undefined;
|
|
326
326
|
createdBy?: {
|
|
327
327
|
name: string;
|
|
328
328
|
id: string;
|
|
@@ -337,23 +337,23 @@ export declare const contract: {
|
|
|
337
337
|
total: z.ZodNumber;
|
|
338
338
|
}, "strip", z.ZodTypeAny, {
|
|
339
339
|
results: {
|
|
340
|
-
status: import("./payout.dtos").PayoutStatus;
|
|
340
|
+
status: import("./payout.dtos.js").PayoutStatus;
|
|
341
341
|
id: string;
|
|
342
|
+
profileId: string;
|
|
343
|
+
createdAt: Date;
|
|
344
|
+
updatedAt: Date;
|
|
342
345
|
channel: string;
|
|
343
346
|
msisdn: string;
|
|
344
347
|
amount: number;
|
|
345
348
|
description: string;
|
|
346
349
|
payeeName: string;
|
|
347
|
-
profileId: string;
|
|
348
350
|
countryCode: import("@temboplus/frontend-core").ISO2CountryCode;
|
|
349
351
|
currencyCode: import("@temboplus/frontend-core").CurrencyCode;
|
|
350
352
|
statusMessage: string;
|
|
351
|
-
createdAt: Date;
|
|
352
|
-
updatedAt: Date;
|
|
353
353
|
notes?: string | null | undefined;
|
|
354
354
|
partnerReference?: string | null | undefined;
|
|
355
355
|
actionedAt?: Date | null | undefined;
|
|
356
|
-
approvalStatus?: import("./payout.dtos").PayoutApprovalStatus | null | undefined;
|
|
356
|
+
approvalStatus?: import("./payout.dtos.js").PayoutApprovalStatus | null | undefined;
|
|
357
357
|
createdBy?: {
|
|
358
358
|
name: string;
|
|
359
359
|
id: string;
|
|
@@ -368,23 +368,23 @@ export declare const contract: {
|
|
|
368
368
|
total: number;
|
|
369
369
|
}, {
|
|
370
370
|
results: {
|
|
371
|
-
status: import("./payout.dtos").PayoutStatus;
|
|
371
|
+
status: import("./payout.dtos.js").PayoutStatus;
|
|
372
372
|
id: string;
|
|
373
|
+
profileId: string;
|
|
374
|
+
createdAt: Date;
|
|
375
|
+
updatedAt: Date;
|
|
373
376
|
channel: string;
|
|
374
377
|
msisdn: string;
|
|
375
378
|
amount: number;
|
|
376
379
|
description: string;
|
|
377
380
|
payeeName: string;
|
|
378
|
-
profileId: string;
|
|
379
381
|
statusMessage: string;
|
|
380
|
-
createdAt: Date;
|
|
381
|
-
updatedAt: Date;
|
|
382
382
|
notes?: string | null | undefined;
|
|
383
383
|
countryCode?: string | undefined;
|
|
384
384
|
currencyCode?: string | undefined;
|
|
385
385
|
partnerReference?: string | null | undefined;
|
|
386
386
|
actionedAt?: Date | null | undefined;
|
|
387
|
-
approvalStatus?: import("./payout.dtos").PayoutApprovalStatus | null | undefined;
|
|
387
|
+
approvalStatus?: import("./payout.dtos.js").PayoutApprovalStatus | null | undefined;
|
|
388
388
|
createdBy?: {
|
|
389
389
|
name: string;
|
|
390
390
|
id: string;
|
|
@@ -439,13 +439,13 @@ export declare const contract: {
|
|
|
439
439
|
countryCode: z.ZodEffects<z.ZodDefault<z.ZodString>, import("@temboplus/frontend-core").ISO2CountryCode, string | undefined>;
|
|
440
440
|
currencyCode: z.ZodEffects<z.ZodDefault<z.ZodString>, import("@temboplus/frontend-core").CurrencyCode, string | undefined>;
|
|
441
441
|
channel: z.ZodString;
|
|
442
|
-
status: z.ZodNativeEnum<typeof import("./payout.dtos").PayoutStatus>;
|
|
442
|
+
status: z.ZodNativeEnum<typeof import("./payout.dtos.js").PayoutStatus>;
|
|
443
443
|
statusMessage: z.ZodString;
|
|
444
444
|
partnerReference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
445
445
|
createdAt: z.ZodDate;
|
|
446
446
|
updatedAt: z.ZodDate;
|
|
447
447
|
actionedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
448
|
-
approvalStatus: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./payout.dtos").PayoutApprovalStatus>>>;
|
|
448
|
+
approvalStatus: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./payout.dtos.js").PayoutApprovalStatus>>>;
|
|
449
449
|
createdBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
450
450
|
id: z.ZodString;
|
|
451
451
|
name: z.ZodString;
|
|
@@ -473,23 +473,23 @@ export declare const contract: {
|
|
|
473
473
|
identity: string;
|
|
474
474
|
}>>>;
|
|
475
475
|
}, "strip", z.ZodTypeAny, {
|
|
476
|
-
status: import("./payout.dtos").PayoutStatus;
|
|
476
|
+
status: import("./payout.dtos.js").PayoutStatus;
|
|
477
477
|
id: string;
|
|
478
|
+
profileId: string;
|
|
479
|
+
createdAt: Date;
|
|
480
|
+
updatedAt: Date;
|
|
478
481
|
channel: string;
|
|
479
482
|
msisdn: string;
|
|
480
483
|
amount: number;
|
|
481
484
|
description: string;
|
|
482
485
|
payeeName: string;
|
|
483
|
-
profileId: string;
|
|
484
486
|
countryCode: import("@temboplus/frontend-core").ISO2CountryCode;
|
|
485
487
|
currencyCode: import("@temboplus/frontend-core").CurrencyCode;
|
|
486
488
|
statusMessage: string;
|
|
487
|
-
createdAt: Date;
|
|
488
|
-
updatedAt: Date;
|
|
489
489
|
notes?: string | null | undefined;
|
|
490
490
|
partnerReference?: string | null | undefined;
|
|
491
491
|
actionedAt?: Date | null | undefined;
|
|
492
|
-
approvalStatus?: import("./payout.dtos").PayoutApprovalStatus | null | undefined;
|
|
492
|
+
approvalStatus?: import("./payout.dtos.js").PayoutApprovalStatus | null | undefined;
|
|
493
493
|
createdBy?: {
|
|
494
494
|
name: string;
|
|
495
495
|
id: string;
|
|
@@ -501,23 +501,23 @@ export declare const contract: {
|
|
|
501
501
|
identity: string;
|
|
502
502
|
} | null | undefined;
|
|
503
503
|
}, {
|
|
504
|
-
status: import("./payout.dtos").PayoutStatus;
|
|
504
|
+
status: import("./payout.dtos.js").PayoutStatus;
|
|
505
505
|
id: string;
|
|
506
|
+
profileId: string;
|
|
507
|
+
createdAt: Date;
|
|
508
|
+
updatedAt: Date;
|
|
506
509
|
channel: string;
|
|
507
510
|
msisdn: string;
|
|
508
511
|
amount: number;
|
|
509
512
|
description: string;
|
|
510
513
|
payeeName: string;
|
|
511
|
-
profileId: string;
|
|
512
514
|
statusMessage: string;
|
|
513
|
-
createdAt: Date;
|
|
514
|
-
updatedAt: Date;
|
|
515
515
|
notes?: string | null | undefined;
|
|
516
516
|
countryCode?: string | undefined;
|
|
517
517
|
currencyCode?: string | undefined;
|
|
518
518
|
partnerReference?: string | null | undefined;
|
|
519
519
|
actionedAt?: Date | null | undefined;
|
|
520
|
-
approvalStatus?: import("./payout.dtos").PayoutApprovalStatus | null | undefined;
|
|
520
|
+
approvalStatus?: import("./payout.dtos.js").PayoutApprovalStatus | null | undefined;
|
|
521
521
|
createdBy?: {
|
|
522
522
|
name: string;
|
|
523
523
|
id: string;
|
|
@@ -577,13 +577,13 @@ export declare const contract: {
|
|
|
577
577
|
countryCode: z.ZodEffects<z.ZodDefault<z.ZodString>, import("@temboplus/frontend-core").ISO2CountryCode, string | undefined>;
|
|
578
578
|
currencyCode: z.ZodEffects<z.ZodDefault<z.ZodString>, import("@temboplus/frontend-core").CurrencyCode, string | undefined>;
|
|
579
579
|
channel: z.ZodString;
|
|
580
|
-
status: z.ZodNativeEnum<typeof import("./payout.dtos").PayoutStatus>;
|
|
580
|
+
status: z.ZodNativeEnum<typeof import("./payout.dtos.js").PayoutStatus>;
|
|
581
581
|
statusMessage: z.ZodString;
|
|
582
582
|
partnerReference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
583
583
|
createdAt: z.ZodDate;
|
|
584
584
|
updatedAt: z.ZodDate;
|
|
585
585
|
actionedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
586
|
-
approvalStatus: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./payout.dtos").PayoutApprovalStatus>>>;
|
|
586
|
+
approvalStatus: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./payout.dtos.js").PayoutApprovalStatus>>>;
|
|
587
587
|
createdBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
588
588
|
id: z.ZodString;
|
|
589
589
|
name: z.ZodString;
|
|
@@ -611,23 +611,23 @@ export declare const contract: {
|
|
|
611
611
|
identity: string;
|
|
612
612
|
}>>>;
|
|
613
613
|
}, "strip", z.ZodTypeAny, {
|
|
614
|
-
status: import("./payout.dtos").PayoutStatus;
|
|
614
|
+
status: import("./payout.dtos.js").PayoutStatus;
|
|
615
615
|
id: string;
|
|
616
|
+
profileId: string;
|
|
617
|
+
createdAt: Date;
|
|
618
|
+
updatedAt: Date;
|
|
616
619
|
channel: string;
|
|
617
620
|
msisdn: string;
|
|
618
621
|
amount: number;
|
|
619
622
|
description: string;
|
|
620
623
|
payeeName: string;
|
|
621
|
-
profileId: string;
|
|
622
624
|
countryCode: import("@temboplus/frontend-core").ISO2CountryCode;
|
|
623
625
|
currencyCode: import("@temboplus/frontend-core").CurrencyCode;
|
|
624
626
|
statusMessage: string;
|
|
625
|
-
createdAt: Date;
|
|
626
|
-
updatedAt: Date;
|
|
627
627
|
notes?: string | null | undefined;
|
|
628
628
|
partnerReference?: string | null | undefined;
|
|
629
629
|
actionedAt?: Date | null | undefined;
|
|
630
|
-
approvalStatus?: import("./payout.dtos").PayoutApprovalStatus | null | undefined;
|
|
630
|
+
approvalStatus?: import("./payout.dtos.js").PayoutApprovalStatus | null | undefined;
|
|
631
631
|
createdBy?: {
|
|
632
632
|
name: string;
|
|
633
633
|
id: string;
|
|
@@ -639,23 +639,23 @@ export declare const contract: {
|
|
|
639
639
|
identity: string;
|
|
640
640
|
} | null | undefined;
|
|
641
641
|
}, {
|
|
642
|
-
status: import("./payout.dtos").PayoutStatus;
|
|
642
|
+
status: import("./payout.dtos.js").PayoutStatus;
|
|
643
643
|
id: string;
|
|
644
|
+
profileId: string;
|
|
645
|
+
createdAt: Date;
|
|
646
|
+
updatedAt: Date;
|
|
644
647
|
channel: string;
|
|
645
648
|
msisdn: string;
|
|
646
649
|
amount: number;
|
|
647
650
|
description: string;
|
|
648
651
|
payeeName: string;
|
|
649
|
-
profileId: string;
|
|
650
652
|
statusMessage: string;
|
|
651
|
-
createdAt: Date;
|
|
652
|
-
updatedAt: Date;
|
|
653
653
|
notes?: string | null | undefined;
|
|
654
654
|
countryCode?: string | undefined;
|
|
655
655
|
currencyCode?: string | undefined;
|
|
656
656
|
partnerReference?: string | null | undefined;
|
|
657
657
|
actionedAt?: Date | null | undefined;
|
|
658
|
-
approvalStatus?: import("./payout.dtos").PayoutApprovalStatus | null | undefined;
|
|
658
|
+
approvalStatus?: import("./payout.dtos.js").PayoutApprovalStatus | null | undefined;
|
|
659
659
|
createdBy?: {
|
|
660
660
|
name: string;
|
|
661
661
|
id: string;
|
|
@@ -687,13 +687,13 @@ export declare const contract: {
|
|
|
687
687
|
countryCode: z.ZodEffects<z.ZodDefault<z.ZodString>, import("@temboplus/frontend-core").ISO2CountryCode, string | undefined>;
|
|
688
688
|
currencyCode: z.ZodEffects<z.ZodDefault<z.ZodString>, import("@temboplus/frontend-core").CurrencyCode, string | undefined>;
|
|
689
689
|
channel: z.ZodString;
|
|
690
|
-
status: z.ZodNativeEnum<typeof import("./payout.dtos").PayoutStatus>;
|
|
690
|
+
status: z.ZodNativeEnum<typeof import("./payout.dtos.js").PayoutStatus>;
|
|
691
691
|
statusMessage: z.ZodString;
|
|
692
692
|
partnerReference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
693
693
|
createdAt: z.ZodDate;
|
|
694
694
|
updatedAt: z.ZodDate;
|
|
695
695
|
actionedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
696
|
-
approvalStatus: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./payout.dtos").PayoutApprovalStatus>>>;
|
|
696
|
+
approvalStatus: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./payout.dtos.js").PayoutApprovalStatus>>>;
|
|
697
697
|
createdBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
698
698
|
id: z.ZodString;
|
|
699
699
|
name: z.ZodString;
|
|
@@ -721,23 +721,23 @@ export declare const contract: {
|
|
|
721
721
|
identity: string;
|
|
722
722
|
}>>>;
|
|
723
723
|
}, "strip", z.ZodTypeAny, {
|
|
724
|
-
status: import("./payout.dtos").PayoutStatus;
|
|
724
|
+
status: import("./payout.dtos.js").PayoutStatus;
|
|
725
725
|
id: string;
|
|
726
|
+
profileId: string;
|
|
727
|
+
createdAt: Date;
|
|
728
|
+
updatedAt: Date;
|
|
726
729
|
channel: string;
|
|
727
730
|
msisdn: string;
|
|
728
731
|
amount: number;
|
|
729
732
|
description: string;
|
|
730
733
|
payeeName: string;
|
|
731
|
-
profileId: string;
|
|
732
734
|
countryCode: import("@temboplus/frontend-core").ISO2CountryCode;
|
|
733
735
|
currencyCode: import("@temboplus/frontend-core").CurrencyCode;
|
|
734
736
|
statusMessage: string;
|
|
735
|
-
createdAt: Date;
|
|
736
|
-
updatedAt: Date;
|
|
737
737
|
notes?: string | null | undefined;
|
|
738
738
|
partnerReference?: string | null | undefined;
|
|
739
739
|
actionedAt?: Date | null | undefined;
|
|
740
|
-
approvalStatus?: import("./payout.dtos").PayoutApprovalStatus | null | undefined;
|
|
740
|
+
approvalStatus?: import("./payout.dtos.js").PayoutApprovalStatus | null | undefined;
|
|
741
741
|
createdBy?: {
|
|
742
742
|
name: string;
|
|
743
743
|
id: string;
|
|
@@ -749,23 +749,23 @@ export declare const contract: {
|
|
|
749
749
|
identity: string;
|
|
750
750
|
} | null | undefined;
|
|
751
751
|
}, {
|
|
752
|
-
status: import("./payout.dtos").PayoutStatus;
|
|
752
|
+
status: import("./payout.dtos.js").PayoutStatus;
|
|
753
753
|
id: string;
|
|
754
|
+
profileId: string;
|
|
755
|
+
createdAt: Date;
|
|
756
|
+
updatedAt: Date;
|
|
754
757
|
channel: string;
|
|
755
758
|
msisdn: string;
|
|
756
759
|
amount: number;
|
|
757
760
|
description: string;
|
|
758
761
|
payeeName: string;
|
|
759
|
-
profileId: string;
|
|
760
762
|
statusMessage: string;
|
|
761
|
-
createdAt: Date;
|
|
762
|
-
updatedAt: Date;
|
|
763
763
|
notes?: string | null | undefined;
|
|
764
764
|
countryCode?: string | undefined;
|
|
765
765
|
currencyCode?: string | undefined;
|
|
766
766
|
partnerReference?: string | null | undefined;
|
|
767
767
|
actionedAt?: Date | null | undefined;
|
|
768
|
-
approvalStatus?: import("./payout.dtos").PayoutApprovalStatus | null | undefined;
|
|
768
|
+
approvalStatus?: import("./payout.dtos.js").PayoutApprovalStatus | null | undefined;
|
|
769
769
|
createdBy?: {
|
|
770
770
|
name: string;
|
|
771
771
|
id: string;
|
|
@@ -143,17 +143,17 @@ declare const PayoutDTOSchema: z.ZodObject<{
|
|
|
143
143
|
}, "strip", z.ZodTypeAny, {
|
|
144
144
|
status: PayoutStatus;
|
|
145
145
|
id: string;
|
|
146
|
+
profileId: string;
|
|
147
|
+
createdAt: Date;
|
|
148
|
+
updatedAt: Date;
|
|
146
149
|
channel: string;
|
|
147
150
|
msisdn: string;
|
|
148
151
|
amount: number;
|
|
149
152
|
description: string;
|
|
150
153
|
payeeName: string;
|
|
151
|
-
profileId: string;
|
|
152
154
|
countryCode: import("@temboplus/frontend-core").ISO2CountryCode;
|
|
153
155
|
currencyCode: import("@temboplus/frontend-core").CurrencyCode;
|
|
154
156
|
statusMessage: string;
|
|
155
|
-
createdAt: Date;
|
|
156
|
-
updatedAt: Date;
|
|
157
157
|
notes?: string | null | undefined;
|
|
158
158
|
partnerReference?: string | null | undefined;
|
|
159
159
|
actionedAt?: Date | null | undefined;
|
|
@@ -171,15 +171,15 @@ declare const PayoutDTOSchema: z.ZodObject<{
|
|
|
171
171
|
}, {
|
|
172
172
|
status: PayoutStatus;
|
|
173
173
|
id: string;
|
|
174
|
+
profileId: string;
|
|
175
|
+
createdAt: Date;
|
|
176
|
+
updatedAt: Date;
|
|
174
177
|
channel: string;
|
|
175
178
|
msisdn: string;
|
|
176
179
|
amount: number;
|
|
177
180
|
description: string;
|
|
178
181
|
payeeName: string;
|
|
179
|
-
profileId: string;
|
|
180
182
|
statusMessage: string;
|
|
181
|
-
createdAt: Date;
|
|
182
|
-
updatedAt: Date;
|
|
183
183
|
notes?: string | null | undefined;
|
|
184
184
|
countryCode?: string | undefined;
|
|
185
185
|
currencyCode?: string | undefined;
|
|
@@ -265,17 +265,17 @@ export declare const PayoutDTOSchemas: {
|
|
|
265
265
|
}, "strip", z.ZodTypeAny, {
|
|
266
266
|
status: PayoutStatus;
|
|
267
267
|
id: string;
|
|
268
|
+
profileId: string;
|
|
269
|
+
createdAt: Date;
|
|
270
|
+
updatedAt: Date;
|
|
268
271
|
channel: string;
|
|
269
272
|
msisdn: string;
|
|
270
273
|
amount: number;
|
|
271
274
|
description: string;
|
|
272
275
|
payeeName: string;
|
|
273
|
-
profileId: string;
|
|
274
276
|
countryCode: import("@temboplus/frontend-core").ISO2CountryCode;
|
|
275
277
|
currencyCode: import("@temboplus/frontend-core").CurrencyCode;
|
|
276
278
|
statusMessage: string;
|
|
277
|
-
createdAt: Date;
|
|
278
|
-
updatedAt: Date;
|
|
279
279
|
notes?: string | null | undefined;
|
|
280
280
|
partnerReference?: string | null | undefined;
|
|
281
281
|
actionedAt?: Date | null | undefined;
|
|
@@ -293,15 +293,15 @@ export declare const PayoutDTOSchemas: {
|
|
|
293
293
|
}, {
|
|
294
294
|
status: PayoutStatus;
|
|
295
295
|
id: string;
|
|
296
|
+
profileId: string;
|
|
297
|
+
createdAt: Date;
|
|
298
|
+
updatedAt: Date;
|
|
296
299
|
channel: string;
|
|
297
300
|
msisdn: string;
|
|
298
301
|
amount: number;
|
|
299
302
|
description: string;
|
|
300
303
|
payeeName: string;
|
|
301
|
-
profileId: string;
|
|
302
304
|
statusMessage: string;
|
|
303
|
-
createdAt: Date;
|
|
304
|
-
updatedAt: Date;
|
|
305
305
|
notes?: string | null | undefined;
|
|
306
306
|
countryCode?: string | undefined;
|
|
307
307
|
currencyCode?: string | undefined;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { BaseRepository } from "@/lib/api";
|
|
2
|
-
import {
|
|
3
|
-
import { Payout } from "
|
|
1
|
+
import { BaseRepository } from "@/lib/api/base-repository.js";
|
|
2
|
+
import { ContactInfo } from "@/models/contact-info.model.js";
|
|
3
|
+
import { Payout } from "@/models/payout.model.js";
|
|
4
4
|
import { Amount } from "@temboplus/frontend-core";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
5
|
+
import { PayoutAPI } from "./payout.api-contract.js";
|
|
6
|
+
import { PayoutChannel } from "./payout.dtos.js";
|
|
7
7
|
/**
|
|
8
8
|
* Arguments for retrieving payouts from the API.
|
|
9
9
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from "./wallet.repository";
|
|
2
|
-
export * from "./wallet-manager.session";
|
|
3
|
-
export * from "./wallet.dtos";
|
|
4
|
-
export * from "./wallet.utils";
|
|
1
|
+
export * from "./wallet.repository.js";
|
|
2
|
+
export * from "./wallet-manager.session.js";
|
|
3
|
+
export * from "./wallet.dtos.js";
|
|
4
|
+
export * from "./wallet.utils.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Country, type CountryCode } from "@temboplus/frontend-core";
|
|
2
|
-
import { Wallet } from "../../models/wallet.model";
|
|
3
|
-
import { User } from "../../models/user.model";
|
|
2
|
+
import { Wallet } from "../../models/wallet.model.js";
|
|
3
|
+
import { User } from "../../models/user.model.js";
|
|
4
4
|
/**
|
|
5
5
|
* Defines the shape of the persisted wallet session state.
|
|
6
6
|
* IMPORTANT: Properties like selectedWalletId/selectedCountryCode are guaranteed
|