@temboplus/afloat 0.2.0 → 0.2.1-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/modules/beneficiary/beneficiary-info.model.d.ts +22 -22
- package/dist/modules/beneficiary/beneficiary.model.d.ts +11 -3
- package/dist/modules/payout/payout.api-contract.d.ts +38 -0
- package/dist/modules/payout/payout.dtos.d.ts +108 -0
- package/dist/modules/payout/payout.model.d.ts +56 -25
- package/dist/modules/payout/payout.query.d.ts +52 -4
- package/dist/modules/payout/payout.repository.d.ts +1 -1
- package/package.json +2 -2
|
@@ -5,40 +5,40 @@ import { Bank, PhoneNumber } from "@temboplus/frontend-core";
|
|
|
5
5
|
import type { BankSwiftCode, ISO2CountryCode, MobileMoneyProvider, MobileMoneyProviderId } from "@temboplus/frontend-core";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
export declare const MobileBeneficiaryJSONSchema: z.ZodObject<{
|
|
8
|
-
type: z.ZodLiteral<
|
|
8
|
+
type: z.ZodLiteral<BeneficiaryType.Mobile>;
|
|
9
9
|
name: z.ZodString;
|
|
10
10
|
phoneNumber: z.ZodString;
|
|
11
|
-
mnoId: z.
|
|
11
|
+
mnoId: z.ZodUnion<[z.ZodEnum<["VODACOM", "AIRTEL", "TIGO", "HALOTEL"]>, z.ZodEnum<["SAFARICOM"]>]>;
|
|
12
12
|
_version: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
13
13
|
}, "strip", z.ZodTypeAny, {
|
|
14
|
-
type:
|
|
14
|
+
type: BeneficiaryType.Mobile;
|
|
15
15
|
name: string;
|
|
16
16
|
_version: string;
|
|
17
17
|
phoneNumber: string;
|
|
18
|
-
mnoId:
|
|
18
|
+
mnoId: "VODACOM" | "AIRTEL" | "TIGO" | "HALOTEL" | "SAFARICOM";
|
|
19
19
|
}, {
|
|
20
|
-
type:
|
|
20
|
+
type: BeneficiaryType.Mobile;
|
|
21
21
|
name: string;
|
|
22
22
|
phoneNumber: string;
|
|
23
|
-
mnoId:
|
|
23
|
+
mnoId: "VODACOM" | "AIRTEL" | "TIGO" | "HALOTEL" | "SAFARICOM";
|
|
24
24
|
_version?: string | undefined;
|
|
25
25
|
}>;
|
|
26
26
|
export declare const BankBeneficiaryJSONSchema: z.ZodObject<{
|
|
27
|
-
type: z.ZodLiteral<
|
|
27
|
+
type: z.ZodLiteral<BeneficiaryType.Bank>;
|
|
28
28
|
accName: z.ZodString;
|
|
29
|
-
swiftCode: z.ZodString
|
|
30
|
-
countryCode: z.ZodString
|
|
29
|
+
swiftCode: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodEffects<z.ZodString, string, string>]>;
|
|
30
|
+
countryCode: z.ZodEffects<z.ZodString, string, string>;
|
|
31
31
|
accNo: z.ZodString;
|
|
32
32
|
_version: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
33
33
|
}, "strip", z.ZodTypeAny, {
|
|
34
|
-
type:
|
|
34
|
+
type: BeneficiaryType.Bank;
|
|
35
35
|
_version: string;
|
|
36
36
|
countryCode: string;
|
|
37
37
|
accName: string;
|
|
38
38
|
swiftCode: string;
|
|
39
39
|
accNo: string;
|
|
40
40
|
}, {
|
|
41
|
-
type:
|
|
41
|
+
type: BeneficiaryType.Bank;
|
|
42
42
|
countryCode: string;
|
|
43
43
|
accName: string;
|
|
44
44
|
swiftCode: string;
|
|
@@ -46,39 +46,39 @@ export declare const BankBeneficiaryJSONSchema: z.ZodObject<{
|
|
|
46
46
|
_version?: string | undefined;
|
|
47
47
|
}>;
|
|
48
48
|
export declare const BeneficiaryJSONSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
49
|
-
type: z.ZodLiteral<
|
|
49
|
+
type: z.ZodLiteral<BeneficiaryType.Mobile>;
|
|
50
50
|
name: z.ZodString;
|
|
51
51
|
phoneNumber: z.ZodString;
|
|
52
|
-
mnoId: z.
|
|
52
|
+
mnoId: z.ZodUnion<[z.ZodEnum<["VODACOM", "AIRTEL", "TIGO", "HALOTEL"]>, z.ZodEnum<["SAFARICOM"]>]>;
|
|
53
53
|
_version: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
54
54
|
}, "strip", z.ZodTypeAny, {
|
|
55
|
-
type:
|
|
55
|
+
type: BeneficiaryType.Mobile;
|
|
56
56
|
name: string;
|
|
57
57
|
_version: string;
|
|
58
58
|
phoneNumber: string;
|
|
59
|
-
mnoId:
|
|
59
|
+
mnoId: "VODACOM" | "AIRTEL" | "TIGO" | "HALOTEL" | "SAFARICOM";
|
|
60
60
|
}, {
|
|
61
|
-
type:
|
|
61
|
+
type: BeneficiaryType.Mobile;
|
|
62
62
|
name: string;
|
|
63
63
|
phoneNumber: string;
|
|
64
|
-
mnoId:
|
|
64
|
+
mnoId: "VODACOM" | "AIRTEL" | "TIGO" | "HALOTEL" | "SAFARICOM";
|
|
65
65
|
_version?: string | undefined;
|
|
66
66
|
}>, z.ZodObject<{
|
|
67
|
-
type: z.ZodLiteral<
|
|
67
|
+
type: z.ZodLiteral<BeneficiaryType.Bank>;
|
|
68
68
|
accName: z.ZodString;
|
|
69
|
-
swiftCode: z.ZodString
|
|
70
|
-
countryCode: z.ZodString
|
|
69
|
+
swiftCode: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodEffects<z.ZodString, string, string>]>;
|
|
70
|
+
countryCode: z.ZodEffects<z.ZodString, string, string>;
|
|
71
71
|
accNo: z.ZodString;
|
|
72
72
|
_version: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
73
73
|
}, "strip", z.ZodTypeAny, {
|
|
74
|
-
type:
|
|
74
|
+
type: BeneficiaryType.Bank;
|
|
75
75
|
_version: string;
|
|
76
76
|
countryCode: string;
|
|
77
77
|
accName: string;
|
|
78
78
|
swiftCode: string;
|
|
79
79
|
accNo: string;
|
|
80
80
|
}, {
|
|
81
|
-
type:
|
|
81
|
+
type: BeneficiaryType.Bank;
|
|
82
82
|
countryCode: string;
|
|
83
83
|
accName: string;
|
|
84
84
|
swiftCode: string;
|
|
@@ -71,7 +71,14 @@ type LegacyBeneficiaryJSON = {
|
|
|
71
71
|
* ```
|
|
72
72
|
*/
|
|
73
73
|
export declare class Beneficiary {
|
|
74
|
-
private readonly
|
|
74
|
+
private readonly _id;
|
|
75
|
+
private readonly _profileId;
|
|
76
|
+
private readonly _displayName;
|
|
77
|
+
private readonly _accountNo;
|
|
78
|
+
private readonly _channel;
|
|
79
|
+
private readonly _type;
|
|
80
|
+
private readonly _createdAt;
|
|
81
|
+
private readonly _updatedAt;
|
|
75
82
|
private _info;
|
|
76
83
|
private _infoComputed;
|
|
77
84
|
/**
|
|
@@ -297,8 +304,8 @@ export declare class Beneficiary {
|
|
|
297
304
|
* @remarks
|
|
298
305
|
* This method performs a complete structural validation:
|
|
299
306
|
* 1. Checks if the value is an object
|
|
300
|
-
* 2. Verifies
|
|
301
|
-
* 3. Validates the
|
|
307
|
+
* 2. Verifies the instance can serialize to a valid flat BeneficiaryJSON
|
|
308
|
+
* 3. Validates the JSON against BeneficiaryDTO schema
|
|
302
309
|
* 4. Ensures the object is a proper Beneficiary instance
|
|
303
310
|
*
|
|
304
311
|
* Use this method when:
|
|
@@ -426,5 +433,6 @@ export declare class Beneficiary {
|
|
|
426
433
|
* - Validating cached data integrity
|
|
427
434
|
*/
|
|
428
435
|
static isBeneficiaryJSON(obj: unknown): obj is BeneficiaryJSON;
|
|
436
|
+
private toDTO;
|
|
429
437
|
}
|
|
430
438
|
export {};
|
|
@@ -38,6 +38,8 @@ export declare const contract: {
|
|
|
38
38
|
updatedAt: z.ZodDate;
|
|
39
39
|
actionedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
40
40
|
approvalStatus: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./payout.dtos.js").PayoutApprovalStatus>>>;
|
|
41
|
+
createdById: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
|
+
actionedById: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
43
|
createdBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
42
44
|
id: z.ZodString;
|
|
43
45
|
name: z.ZodString;
|
|
@@ -82,6 +84,8 @@ export declare const contract: {
|
|
|
82
84
|
partnerReference?: string | null | undefined;
|
|
83
85
|
actionedAt?: Date | null | undefined;
|
|
84
86
|
approvalStatus?: import("./payout.dtos.js").PayoutApprovalStatus | null | undefined;
|
|
87
|
+
createdById?: string | null | undefined;
|
|
88
|
+
actionedById?: string | null | undefined;
|
|
85
89
|
createdBy?: {
|
|
86
90
|
name: string;
|
|
87
91
|
id: string;
|
|
@@ -110,6 +114,8 @@ export declare const contract: {
|
|
|
110
114
|
partnerReference?: string | null | undefined;
|
|
111
115
|
actionedAt?: Date | null | undefined;
|
|
112
116
|
approvalStatus?: import("./payout.dtos.js").PayoutApprovalStatus | null | undefined;
|
|
117
|
+
createdById?: string | null | undefined;
|
|
118
|
+
actionedById?: string | null | undefined;
|
|
113
119
|
createdBy?: {
|
|
114
120
|
name: string;
|
|
115
121
|
id: string;
|
|
@@ -142,6 +148,8 @@ export declare const contract: {
|
|
|
142
148
|
partnerReference?: string | null | undefined;
|
|
143
149
|
actionedAt?: Date | null | undefined;
|
|
144
150
|
approvalStatus?: import("./payout.dtos.js").PayoutApprovalStatus | null | undefined;
|
|
151
|
+
createdById?: string | null | undefined;
|
|
152
|
+
actionedById?: string | null | undefined;
|
|
145
153
|
createdBy?: {
|
|
146
154
|
name: string;
|
|
147
155
|
id: string;
|
|
@@ -173,6 +181,8 @@ export declare const contract: {
|
|
|
173
181
|
partnerReference?: string | null | undefined;
|
|
174
182
|
actionedAt?: Date | null | undefined;
|
|
175
183
|
approvalStatus?: import("./payout.dtos.js").PayoutApprovalStatus | null | undefined;
|
|
184
|
+
createdById?: string | null | undefined;
|
|
185
|
+
actionedById?: string | null | undefined;
|
|
176
186
|
createdBy?: {
|
|
177
187
|
name: string;
|
|
178
188
|
id: string;
|
|
@@ -230,6 +240,8 @@ export declare const contract: {
|
|
|
230
240
|
updatedAt: z.ZodDate;
|
|
231
241
|
actionedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
232
242
|
approvalStatus: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./payout.dtos.js").PayoutApprovalStatus>>>;
|
|
243
|
+
createdById: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
244
|
+
actionedById: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
233
245
|
createdBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
234
246
|
id: z.ZodString;
|
|
235
247
|
name: z.ZodString;
|
|
@@ -274,6 +286,8 @@ export declare const contract: {
|
|
|
274
286
|
partnerReference?: string | null | undefined;
|
|
275
287
|
actionedAt?: Date | null | undefined;
|
|
276
288
|
approvalStatus?: import("./payout.dtos.js").PayoutApprovalStatus | null | undefined;
|
|
289
|
+
createdById?: string | null | undefined;
|
|
290
|
+
actionedById?: string | null | undefined;
|
|
277
291
|
createdBy?: {
|
|
278
292
|
name: string;
|
|
279
293
|
id: string;
|
|
@@ -302,6 +316,8 @@ export declare const contract: {
|
|
|
302
316
|
partnerReference?: string | null | undefined;
|
|
303
317
|
actionedAt?: Date | null | undefined;
|
|
304
318
|
approvalStatus?: import("./payout.dtos.js").PayoutApprovalStatus | null | undefined;
|
|
319
|
+
createdById?: string | null | undefined;
|
|
320
|
+
actionedById?: string | null | undefined;
|
|
305
321
|
createdBy?: {
|
|
306
322
|
name: string;
|
|
307
323
|
id: string;
|
|
@@ -334,6 +350,8 @@ export declare const contract: {
|
|
|
334
350
|
partnerReference?: string | null | undefined;
|
|
335
351
|
actionedAt?: Date | null | undefined;
|
|
336
352
|
approvalStatus?: import("./payout.dtos.js").PayoutApprovalStatus | null | undefined;
|
|
353
|
+
createdById?: string | null | undefined;
|
|
354
|
+
actionedById?: string | null | undefined;
|
|
337
355
|
createdBy?: {
|
|
338
356
|
name: string;
|
|
339
357
|
id: string;
|
|
@@ -365,6 +383,8 @@ export declare const contract: {
|
|
|
365
383
|
partnerReference?: string | null | undefined;
|
|
366
384
|
actionedAt?: Date | null | undefined;
|
|
367
385
|
approvalStatus?: import("./payout.dtos.js").PayoutApprovalStatus | null | undefined;
|
|
386
|
+
createdById?: string | null | undefined;
|
|
387
|
+
actionedById?: string | null | undefined;
|
|
368
388
|
createdBy?: {
|
|
369
389
|
name: string;
|
|
370
390
|
id: string;
|
|
@@ -425,6 +445,8 @@ export declare const contract: {
|
|
|
425
445
|
updatedAt: z.ZodDate;
|
|
426
446
|
actionedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
427
447
|
approvalStatus: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./payout.dtos.js").PayoutApprovalStatus>>>;
|
|
448
|
+
createdById: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
449
|
+
actionedById: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
428
450
|
createdBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
429
451
|
id: z.ZodString;
|
|
430
452
|
name: z.ZodString;
|
|
@@ -469,6 +491,8 @@ export declare const contract: {
|
|
|
469
491
|
partnerReference?: string | null | undefined;
|
|
470
492
|
actionedAt?: Date | null | undefined;
|
|
471
493
|
approvalStatus?: import("./payout.dtos.js").PayoutApprovalStatus | null | undefined;
|
|
494
|
+
createdById?: string | null | undefined;
|
|
495
|
+
actionedById?: string | null | undefined;
|
|
472
496
|
createdBy?: {
|
|
473
497
|
name: string;
|
|
474
498
|
id: string;
|
|
@@ -497,6 +521,8 @@ export declare const contract: {
|
|
|
497
521
|
partnerReference?: string | null | undefined;
|
|
498
522
|
actionedAt?: Date | null | undefined;
|
|
499
523
|
approvalStatus?: import("./payout.dtos.js").PayoutApprovalStatus | null | undefined;
|
|
524
|
+
createdById?: string | null | undefined;
|
|
525
|
+
actionedById?: string | null | undefined;
|
|
500
526
|
createdBy?: {
|
|
501
527
|
name: string;
|
|
502
528
|
id: string;
|
|
@@ -563,6 +589,8 @@ export declare const contract: {
|
|
|
563
589
|
updatedAt: z.ZodDate;
|
|
564
590
|
actionedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
565
591
|
approvalStatus: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./payout.dtos.js").PayoutApprovalStatus>>>;
|
|
592
|
+
createdById: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
593
|
+
actionedById: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
566
594
|
createdBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
567
595
|
id: z.ZodString;
|
|
568
596
|
name: z.ZodString;
|
|
@@ -607,6 +635,8 @@ export declare const contract: {
|
|
|
607
635
|
partnerReference?: string | null | undefined;
|
|
608
636
|
actionedAt?: Date | null | undefined;
|
|
609
637
|
approvalStatus?: import("./payout.dtos.js").PayoutApprovalStatus | null | undefined;
|
|
638
|
+
createdById?: string | null | undefined;
|
|
639
|
+
actionedById?: string | null | undefined;
|
|
610
640
|
createdBy?: {
|
|
611
641
|
name: string;
|
|
612
642
|
id: string;
|
|
@@ -635,6 +665,8 @@ export declare const contract: {
|
|
|
635
665
|
partnerReference?: string | null | undefined;
|
|
636
666
|
actionedAt?: Date | null | undefined;
|
|
637
667
|
approvalStatus?: import("./payout.dtos.js").PayoutApprovalStatus | null | undefined;
|
|
668
|
+
createdById?: string | null | undefined;
|
|
669
|
+
actionedById?: string | null | undefined;
|
|
638
670
|
createdBy?: {
|
|
639
671
|
name: string;
|
|
640
672
|
id: string;
|
|
@@ -713,6 +745,8 @@ export declare const contract: {
|
|
|
713
745
|
updatedAt: z.ZodDate;
|
|
714
746
|
actionedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
715
747
|
approvalStatus: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("./payout.dtos.js").PayoutApprovalStatus>>>;
|
|
748
|
+
createdById: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
749
|
+
actionedById: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
716
750
|
createdBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
717
751
|
id: z.ZodString;
|
|
718
752
|
name: z.ZodString;
|
|
@@ -757,6 +791,8 @@ export declare const contract: {
|
|
|
757
791
|
partnerReference?: string | null | undefined;
|
|
758
792
|
actionedAt?: Date | null | undefined;
|
|
759
793
|
approvalStatus?: import("./payout.dtos.js").PayoutApprovalStatus | null | undefined;
|
|
794
|
+
createdById?: string | null | undefined;
|
|
795
|
+
actionedById?: string | null | undefined;
|
|
760
796
|
createdBy?: {
|
|
761
797
|
name: string;
|
|
762
798
|
id: string;
|
|
@@ -785,6 +821,8 @@ export declare const contract: {
|
|
|
785
821
|
partnerReference?: string | null | undefined;
|
|
786
822
|
actionedAt?: Date | null | undefined;
|
|
787
823
|
approvalStatus?: import("./payout.dtos.js").PayoutApprovalStatus | null | undefined;
|
|
824
|
+
createdById?: string | null | undefined;
|
|
825
|
+
actionedById?: string | null | undefined;
|
|
788
826
|
createdBy?: {
|
|
789
827
|
name: string;
|
|
790
828
|
id: string;
|
|
@@ -116,6 +116,8 @@ declare const PayoutDTOSchema: z.ZodObject<{
|
|
|
116
116
|
updatedAt: z.ZodDate;
|
|
117
117
|
actionedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
118
118
|
approvalStatus: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof PayoutApprovalStatus>>>;
|
|
119
|
+
createdById: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
120
|
+
actionedById: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
119
121
|
createdBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
120
122
|
id: z.ZodString;
|
|
121
123
|
name: z.ZodString;
|
|
@@ -160,6 +162,8 @@ declare const PayoutDTOSchema: z.ZodObject<{
|
|
|
160
162
|
partnerReference?: string | null | undefined;
|
|
161
163
|
actionedAt?: Date | null | undefined;
|
|
162
164
|
approvalStatus?: PayoutApprovalStatus | null | undefined;
|
|
165
|
+
createdById?: string | null | undefined;
|
|
166
|
+
actionedById?: string | null | undefined;
|
|
163
167
|
createdBy?: {
|
|
164
168
|
name: string;
|
|
165
169
|
id: string;
|
|
@@ -188,6 +192,8 @@ declare const PayoutDTOSchema: z.ZodObject<{
|
|
|
188
192
|
partnerReference?: string | null | undefined;
|
|
189
193
|
actionedAt?: Date | null | undefined;
|
|
190
194
|
approvalStatus?: PayoutApprovalStatus | null | undefined;
|
|
195
|
+
createdById?: string | null | undefined;
|
|
196
|
+
actionedById?: string | null | undefined;
|
|
191
197
|
createdBy?: {
|
|
192
198
|
name: string;
|
|
193
199
|
id: string;
|
|
@@ -211,13 +217,21 @@ declare const PayoutFiltersSchema: z.ZodObject<{
|
|
|
211
217
|
endDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
212
218
|
payeeName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
213
219
|
msisdn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
220
|
+
msisdnIn: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, string[], string | string[]>>>;
|
|
214
221
|
profileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
215
222
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
216
223
|
partnerReference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
217
224
|
channel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
225
|
+
channelIn: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, string[], string | string[]>>>;
|
|
218
226
|
currencyCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
219
227
|
status: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof PayoutStatus>>>;
|
|
228
|
+
statusIn: z.ZodOptional<z.ZodNullable<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, string[], string | string[]>, z.ZodArray<z.ZodNativeEnum<typeof PayoutStatus>, "many">>>>;
|
|
220
229
|
approvalStatus: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof PayoutApprovalStatus>>>;
|
|
230
|
+
approvalStatusIn: z.ZodOptional<z.ZodNullable<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, string[], string | string[]>, z.ZodArray<z.ZodNativeEnum<typeof PayoutApprovalStatus>, "many">>>>;
|
|
231
|
+
createdById: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
232
|
+
createdByIdIn: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, string[], string | string[]>>>;
|
|
233
|
+
actionedById: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
234
|
+
actionedByIdIn: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, string[], string | string[]>>>;
|
|
221
235
|
minAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
222
236
|
maxAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
223
237
|
search: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -236,8 +250,16 @@ declare const PayoutFiltersSchema: z.ZodObject<{
|
|
|
236
250
|
currencyCode?: string | null | undefined;
|
|
237
251
|
partnerReference?: string | null | undefined;
|
|
238
252
|
approvalStatus?: PayoutApprovalStatus | null | undefined;
|
|
253
|
+
createdById?: string | null | undefined;
|
|
254
|
+
actionedById?: string | null | undefined;
|
|
239
255
|
startDate?: string | null | undefined;
|
|
240
256
|
endDate?: string | null | undefined;
|
|
257
|
+
msisdnIn?: string[] | null | undefined;
|
|
258
|
+
channelIn?: string[] | null | undefined;
|
|
259
|
+
statusIn?: PayoutStatus[] | null | undefined;
|
|
260
|
+
approvalStatusIn?: PayoutApprovalStatus[] | null | undefined;
|
|
261
|
+
createdByIdIn?: string[] | null | undefined;
|
|
262
|
+
actionedByIdIn?: string[] | null | undefined;
|
|
241
263
|
minAmount?: number | null | undefined;
|
|
242
264
|
maxAmount?: number | null | undefined;
|
|
243
265
|
}, {
|
|
@@ -253,10 +275,18 @@ declare const PayoutFiltersSchema: z.ZodObject<{
|
|
|
253
275
|
currencyCode?: string | null | undefined;
|
|
254
276
|
partnerReference?: string | null | undefined;
|
|
255
277
|
approvalStatus?: PayoutApprovalStatus | null | undefined;
|
|
278
|
+
createdById?: string | null | undefined;
|
|
279
|
+
actionedById?: string | null | undefined;
|
|
256
280
|
sortBy?: string | undefined;
|
|
257
281
|
sortOrder?: "asc" | "desc" | undefined;
|
|
258
282
|
startDate?: string | null | undefined;
|
|
259
283
|
endDate?: string | null | undefined;
|
|
284
|
+
msisdnIn?: string | string[] | null | undefined;
|
|
285
|
+
channelIn?: string | string[] | null | undefined;
|
|
286
|
+
statusIn?: string | string[] | null | undefined;
|
|
287
|
+
approvalStatusIn?: string | string[] | null | undefined;
|
|
288
|
+
createdByIdIn?: string | string[] | null | undefined;
|
|
289
|
+
actionedByIdIn?: string | string[] | null | undefined;
|
|
260
290
|
minAmount?: number | null | undefined;
|
|
261
291
|
maxAmount?: number | null | undefined;
|
|
262
292
|
}>;
|
|
@@ -272,12 +302,20 @@ declare const PayoutURLQueryParamsSchema: z.ZodObject<{
|
|
|
272
302
|
endDate: z.ZodOptional<z.ZodString>;
|
|
273
303
|
payeeName: z.ZodOptional<z.ZodString>;
|
|
274
304
|
msisdn: z.ZodOptional<z.ZodString>;
|
|
305
|
+
msisdnIn: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, string[], string | string[]>>;
|
|
275
306
|
profileId: z.ZodOptional<z.ZodString>;
|
|
276
307
|
id: z.ZodOptional<z.ZodString>;
|
|
277
308
|
partnerReference: z.ZodOptional<z.ZodString>;
|
|
278
309
|
channel: z.ZodOptional<z.ZodString>;
|
|
310
|
+
channelIn: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, string[], string | string[]>>;
|
|
279
311
|
status: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, PayoutStatus, string>>;
|
|
312
|
+
statusIn: z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, string[], string | string[]>, z.ZodArray<z.ZodNativeEnum<typeof PayoutStatus>, "many">>>;
|
|
280
313
|
approvalStatus: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, PayoutApprovalStatus, string>>;
|
|
314
|
+
approvalStatusIn: z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, string[], string | string[]>, z.ZodArray<z.ZodNativeEnum<typeof PayoutApprovalStatus>, "many">>>;
|
|
315
|
+
createdById: z.ZodOptional<z.ZodString>;
|
|
316
|
+
createdByIdIn: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, string[], string | string[]>>;
|
|
317
|
+
actionedById: z.ZodOptional<z.ZodString>;
|
|
318
|
+
actionedByIdIn: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, string[], string | string[]>>;
|
|
281
319
|
minAmount: z.ZodOptional<z.ZodEffects<z.ZodString, number, string>>;
|
|
282
320
|
maxAmount: z.ZodOptional<z.ZodEffects<z.ZodString, number, string>>;
|
|
283
321
|
search: z.ZodOptional<z.ZodString>;
|
|
@@ -295,8 +333,16 @@ declare const PayoutURLQueryParamsSchema: z.ZodObject<{
|
|
|
295
333
|
payeeName?: string | undefined;
|
|
296
334
|
partnerReference?: string | undefined;
|
|
297
335
|
approvalStatus?: PayoutApprovalStatus | undefined;
|
|
336
|
+
createdById?: string | undefined;
|
|
337
|
+
actionedById?: string | undefined;
|
|
298
338
|
startDate?: string | undefined;
|
|
299
339
|
endDate?: string | undefined;
|
|
340
|
+
msisdnIn?: string[] | undefined;
|
|
341
|
+
channelIn?: string[] | undefined;
|
|
342
|
+
statusIn?: PayoutStatus[] | undefined;
|
|
343
|
+
approvalStatusIn?: PayoutApprovalStatus[] | undefined;
|
|
344
|
+
createdByIdIn?: string[] | undefined;
|
|
345
|
+
actionedByIdIn?: string[] | undefined;
|
|
300
346
|
minAmount?: number | undefined;
|
|
301
347
|
maxAmount?: number | undefined;
|
|
302
348
|
}, {
|
|
@@ -311,10 +357,18 @@ declare const PayoutURLQueryParamsSchema: z.ZodObject<{
|
|
|
311
357
|
payeeName?: string | undefined;
|
|
312
358
|
partnerReference?: string | undefined;
|
|
313
359
|
approvalStatus?: string | undefined;
|
|
360
|
+
createdById?: string | undefined;
|
|
361
|
+
actionedById?: string | undefined;
|
|
314
362
|
sortBy?: string | undefined;
|
|
315
363
|
sortOrder?: "asc" | "desc" | undefined;
|
|
316
364
|
startDate?: string | undefined;
|
|
317
365
|
endDate?: string | undefined;
|
|
366
|
+
msisdnIn?: string | string[] | undefined;
|
|
367
|
+
channelIn?: string | string[] | undefined;
|
|
368
|
+
statusIn?: string | string[] | undefined;
|
|
369
|
+
approvalStatusIn?: string | string[] | undefined;
|
|
370
|
+
createdByIdIn?: string | string[] | undefined;
|
|
371
|
+
actionedByIdIn?: string | string[] | undefined;
|
|
318
372
|
minAmount?: string | undefined;
|
|
319
373
|
maxAmount?: string | undefined;
|
|
320
374
|
}>;
|
|
@@ -365,6 +419,8 @@ export declare const PayoutDTOSchemas: {
|
|
|
365
419
|
updatedAt: z.ZodDate;
|
|
366
420
|
actionedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
367
421
|
approvalStatus: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof PayoutApprovalStatus>>>;
|
|
422
|
+
createdById: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
423
|
+
actionedById: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
368
424
|
createdBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
369
425
|
id: z.ZodString;
|
|
370
426
|
name: z.ZodString;
|
|
@@ -409,6 +465,8 @@ export declare const PayoutDTOSchemas: {
|
|
|
409
465
|
partnerReference?: string | null | undefined;
|
|
410
466
|
actionedAt?: Date | null | undefined;
|
|
411
467
|
approvalStatus?: PayoutApprovalStatus | null | undefined;
|
|
468
|
+
createdById?: string | null | undefined;
|
|
469
|
+
actionedById?: string | null | undefined;
|
|
412
470
|
createdBy?: {
|
|
413
471
|
name: string;
|
|
414
472
|
id: string;
|
|
@@ -437,6 +495,8 @@ export declare const PayoutDTOSchemas: {
|
|
|
437
495
|
partnerReference?: string | null | undefined;
|
|
438
496
|
actionedAt?: Date | null | undefined;
|
|
439
497
|
approvalStatus?: PayoutApprovalStatus | null | undefined;
|
|
498
|
+
createdById?: string | null | undefined;
|
|
499
|
+
actionedById?: string | null | undefined;
|
|
440
500
|
createdBy?: {
|
|
441
501
|
name: string;
|
|
442
502
|
id: string;
|
|
@@ -495,13 +555,21 @@ export declare const PayoutDTOSchemas: {
|
|
|
495
555
|
endDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
496
556
|
payeeName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
497
557
|
msisdn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
558
|
+
msisdnIn: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, string[], string | string[]>>>;
|
|
498
559
|
profileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
499
560
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
500
561
|
partnerReference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
501
562
|
channel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
563
|
+
channelIn: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, string[], string | string[]>>>;
|
|
502
564
|
currencyCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
503
565
|
status: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof PayoutStatus>>>;
|
|
566
|
+
statusIn: z.ZodOptional<z.ZodNullable<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, string[], string | string[]>, z.ZodArray<z.ZodNativeEnum<typeof PayoutStatus>, "many">>>>;
|
|
504
567
|
approvalStatus: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof PayoutApprovalStatus>>>;
|
|
568
|
+
approvalStatusIn: z.ZodOptional<z.ZodNullable<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, string[], string | string[]>, z.ZodArray<z.ZodNativeEnum<typeof PayoutApprovalStatus>, "many">>>>;
|
|
569
|
+
createdById: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
570
|
+
createdByIdIn: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, string[], string | string[]>>>;
|
|
571
|
+
actionedById: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
572
|
+
actionedByIdIn: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, string[], string | string[]>>>;
|
|
505
573
|
minAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
506
574
|
maxAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
507
575
|
search: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -520,8 +588,16 @@ export declare const PayoutDTOSchemas: {
|
|
|
520
588
|
currencyCode?: string | null | undefined;
|
|
521
589
|
partnerReference?: string | null | undefined;
|
|
522
590
|
approvalStatus?: PayoutApprovalStatus | null | undefined;
|
|
591
|
+
createdById?: string | null | undefined;
|
|
592
|
+
actionedById?: string | null | undefined;
|
|
523
593
|
startDate?: string | null | undefined;
|
|
524
594
|
endDate?: string | null | undefined;
|
|
595
|
+
msisdnIn?: string[] | null | undefined;
|
|
596
|
+
channelIn?: string[] | null | undefined;
|
|
597
|
+
statusIn?: PayoutStatus[] | null | undefined;
|
|
598
|
+
approvalStatusIn?: PayoutApprovalStatus[] | null | undefined;
|
|
599
|
+
createdByIdIn?: string[] | null | undefined;
|
|
600
|
+
actionedByIdIn?: string[] | null | undefined;
|
|
525
601
|
minAmount?: number | null | undefined;
|
|
526
602
|
maxAmount?: number | null | undefined;
|
|
527
603
|
}, {
|
|
@@ -537,10 +613,18 @@ export declare const PayoutDTOSchemas: {
|
|
|
537
613
|
currencyCode?: string | null | undefined;
|
|
538
614
|
partnerReference?: string | null | undefined;
|
|
539
615
|
approvalStatus?: PayoutApprovalStatus | null | undefined;
|
|
616
|
+
createdById?: string | null | undefined;
|
|
617
|
+
actionedById?: string | null | undefined;
|
|
540
618
|
sortBy?: string | undefined;
|
|
541
619
|
sortOrder?: "asc" | "desc" | undefined;
|
|
542
620
|
startDate?: string | null | undefined;
|
|
543
621
|
endDate?: string | null | undefined;
|
|
622
|
+
msisdnIn?: string | string[] | null | undefined;
|
|
623
|
+
channelIn?: string | string[] | null | undefined;
|
|
624
|
+
statusIn?: string | string[] | null | undefined;
|
|
625
|
+
approvalStatusIn?: string | string[] | null | undefined;
|
|
626
|
+
createdByIdIn?: string | string[] | null | undefined;
|
|
627
|
+
actionedByIdIn?: string | string[] | null | undefined;
|
|
544
628
|
minAmount?: number | null | undefined;
|
|
545
629
|
maxAmount?: number | null | undefined;
|
|
546
630
|
}>;
|
|
@@ -553,12 +637,20 @@ export declare const PayoutDTOSchemas: {
|
|
|
553
637
|
endDate: z.ZodOptional<z.ZodString>;
|
|
554
638
|
payeeName: z.ZodOptional<z.ZodString>;
|
|
555
639
|
msisdn: z.ZodOptional<z.ZodString>;
|
|
640
|
+
msisdnIn: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, string[], string | string[]>>;
|
|
556
641
|
profileId: z.ZodOptional<z.ZodString>;
|
|
557
642
|
id: z.ZodOptional<z.ZodString>;
|
|
558
643
|
partnerReference: z.ZodOptional<z.ZodString>;
|
|
559
644
|
channel: z.ZodOptional<z.ZodString>;
|
|
645
|
+
channelIn: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, string[], string | string[]>>;
|
|
560
646
|
status: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, PayoutStatus, string>>;
|
|
647
|
+
statusIn: z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, string[], string | string[]>, z.ZodArray<z.ZodNativeEnum<typeof PayoutStatus>, "many">>>;
|
|
561
648
|
approvalStatus: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, PayoutApprovalStatus, string>>;
|
|
649
|
+
approvalStatusIn: z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, string[], string | string[]>, z.ZodArray<z.ZodNativeEnum<typeof PayoutApprovalStatus>, "many">>>;
|
|
650
|
+
createdById: z.ZodOptional<z.ZodString>;
|
|
651
|
+
createdByIdIn: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, string[], string | string[]>>;
|
|
652
|
+
actionedById: z.ZodOptional<z.ZodString>;
|
|
653
|
+
actionedByIdIn: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, string[], string | string[]>>;
|
|
562
654
|
minAmount: z.ZodOptional<z.ZodEffects<z.ZodString, number, string>>;
|
|
563
655
|
maxAmount: z.ZodOptional<z.ZodEffects<z.ZodString, number, string>>;
|
|
564
656
|
search: z.ZodOptional<z.ZodString>;
|
|
@@ -576,8 +668,16 @@ export declare const PayoutDTOSchemas: {
|
|
|
576
668
|
payeeName?: string | undefined;
|
|
577
669
|
partnerReference?: string | undefined;
|
|
578
670
|
approvalStatus?: PayoutApprovalStatus | undefined;
|
|
671
|
+
createdById?: string | undefined;
|
|
672
|
+
actionedById?: string | undefined;
|
|
579
673
|
startDate?: string | undefined;
|
|
580
674
|
endDate?: string | undefined;
|
|
675
|
+
msisdnIn?: string[] | undefined;
|
|
676
|
+
channelIn?: string[] | undefined;
|
|
677
|
+
statusIn?: PayoutStatus[] | undefined;
|
|
678
|
+
approvalStatusIn?: PayoutApprovalStatus[] | undefined;
|
|
679
|
+
createdByIdIn?: string[] | undefined;
|
|
680
|
+
actionedByIdIn?: string[] | undefined;
|
|
581
681
|
minAmount?: number | undefined;
|
|
582
682
|
maxAmount?: number | undefined;
|
|
583
683
|
}, {
|
|
@@ -592,10 +692,18 @@ export declare const PayoutDTOSchemas: {
|
|
|
592
692
|
payeeName?: string | undefined;
|
|
593
693
|
partnerReference?: string | undefined;
|
|
594
694
|
approvalStatus?: string | undefined;
|
|
695
|
+
createdById?: string | undefined;
|
|
696
|
+
actionedById?: string | undefined;
|
|
595
697
|
sortBy?: string | undefined;
|
|
596
698
|
sortOrder?: "asc" | "desc" | undefined;
|
|
597
699
|
startDate?: string | undefined;
|
|
598
700
|
endDate?: string | undefined;
|
|
701
|
+
msisdnIn?: string | string[] | undefined;
|
|
702
|
+
channelIn?: string | string[] | undefined;
|
|
703
|
+
statusIn?: string | string[] | undefined;
|
|
704
|
+
approvalStatusIn?: string | string[] | undefined;
|
|
705
|
+
createdByIdIn?: string | string[] | undefined;
|
|
706
|
+
actionedByIdIn?: string | string[] | undefined;
|
|
599
707
|
minAmount?: string | undefined;
|
|
600
708
|
maxAmount?: string | undefined;
|
|
601
709
|
}>;
|