@temboplus/afloat 0.2.1-beta.9 → 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 (125) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +54 -207
  3. package/dist/index.cjs.js +1 -1
  4. package/dist/index.cjs.js.map +1 -1
  5. package/dist/index.d.ts +5 -4
  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 +2 -2
  10. package/dist/lib/api/base-repository.d.ts.map +1 -0
  11. package/dist/lib/api/index.d.ts +1 -0
  12. package/dist/lib/api/index.d.ts.map +1 -0
  13. package/dist/lib/error/error.api.d.ts +3 -2
  14. package/dist/lib/error/error.api.d.ts.map +1 -0
  15. package/dist/lib/error/error.permission.d.ts +2 -1
  16. package/dist/lib/error/error.permission.d.ts.map +1 -0
  17. package/dist/lib/error/error.utils.d.ts +1 -0
  18. package/dist/lib/error/error.utils.d.ts.map +1 -0
  19. package/dist/lib/error/index.d.ts +1 -0
  20. package/dist/lib/error/index.d.ts.map +1 -0
  21. package/dist/lib/query/index.d.ts +3 -2
  22. package/dist/lib/query/index.d.ts.map +1 -0
  23. package/dist/lib/query/pagination/pagination.d.ts +1 -0
  24. package/dist/lib/query/pagination/pagination.d.ts.map +1 -0
  25. package/dist/lib/query/pagination/pagination.schemas.d.ts +8 -61
  26. package/dist/lib/query/pagination/pagination.schemas.d.ts.map +1 -0
  27. package/dist/lib/query/query.builder.d.ts +10 -3
  28. package/dist/lib/query/query.builder.d.ts.map +1 -0
  29. package/dist/lib/query/query.types.d.ts +1 -0
  30. package/dist/lib/query/query.types.d.ts.map +1 -0
  31. package/dist/modules/auth/auth.contract.d.ts +10 -69
  32. package/dist/modules/auth/auth.contract.d.ts.map +1 -0
  33. package/dist/modules/auth/auth.dtos.d.ts +8 -67
  34. package/dist/modules/auth/auth.dtos.d.ts.map +1 -0
  35. package/dist/modules/auth/auth.repository.d.ts +1 -0
  36. package/dist/modules/auth/auth.repository.d.ts.map +1 -0
  37. package/dist/modules/auth/company-membership.model.d.ts +7 -86
  38. package/dist/modules/auth/company-membership.model.d.ts.map +1 -0
  39. package/dist/modules/auth/index.d.ts +3 -2
  40. package/dist/modules/auth/index.d.ts.map +1 -0
  41. package/dist/modules/auth/user.model.d.ts +26 -163
  42. package/dist/modules/auth/user.model.d.ts.map +1 -0
  43. package/dist/modules/beneficiary/beneficiary-info.model.d.ts +30 -67
  44. package/dist/modules/beneficiary/beneficiary-info.model.d.ts.map +1 -0
  45. package/dist/modules/beneficiary/beneficiary-input-handler.d.ts +3 -2
  46. package/dist/modules/beneficiary/beneficiary-input-handler.d.ts.map +1 -0
  47. package/dist/modules/beneficiary/beneficiary.api-contract.d.ts +16 -115
  48. package/dist/modules/beneficiary/beneficiary.api-contract.d.ts.map +1 -0
  49. package/dist/modules/beneficiary/beneficiary.dtos.d.ts +6 -34
  50. package/dist/modules/beneficiary/beneficiary.dtos.d.ts.map +1 -0
  51. package/dist/modules/beneficiary/beneficiary.model.d.ts +5 -27
  52. package/dist/modules/beneficiary/beneficiary.model.d.ts.map +1 -0
  53. package/dist/modules/beneficiary/beneficiary.repository.d.ts +2 -1
  54. package/dist/modules/beneficiary/beneficiary.repository.d.ts.map +1 -0
  55. package/dist/modules/beneficiary/index.d.ts +5 -4
  56. package/dist/modules/beneficiary/index.d.ts.map +1 -0
  57. package/dist/modules/login/index.d.ts +1 -0
  58. package/dist/modules/login/index.d.ts.map +1 -0
  59. package/dist/modules/login/login.api-contract.d.ts +3 -28
  60. package/dist/modules/login/login.api-contract.d.ts.map +1 -0
  61. package/dist/modules/login/login.dtos.d.ts +5 -56
  62. package/dist/modules/login/login.dtos.d.ts.map +1 -0
  63. package/dist/modules/login/login.model.d.ts +7 -34
  64. package/dist/modules/login/login.model.d.ts.map +1 -0
  65. package/dist/modules/login/login.repository.d.ts +2 -1
  66. package/dist/modules/login/login.repository.d.ts.map +1 -0
  67. package/dist/modules/login/permission.type.d.ts +1 -0
  68. package/dist/modules/login/permission.type.d.ts.map +1 -0
  69. package/dist/modules/payout/index.d.ts +3 -2
  70. package/dist/modules/payout/index.d.ts.map +1 -0
  71. package/dist/modules/payout/payout-channel-handler.d.ts +5 -4
  72. package/dist/modules/payout/payout-channel-handler.d.ts.map +1 -0
  73. package/dist/modules/payout/payout.api-contract.d.ts +78 -666
  74. package/dist/modules/payout/payout.api-contract.d.ts.map +1 -0
  75. package/dist/modules/payout/payout.dtos.d.ts +99 -506
  76. package/dist/modules/payout/payout.dtos.d.ts.map +1 -0
  77. package/dist/modules/payout/payout.model.d.ts +8 -85
  78. package/dist/modules/payout/payout.model.d.ts.map +1 -0
  79. package/dist/modules/payout/payout.query.d.ts +3 -2
  80. package/dist/modules/payout/payout.query.d.ts.map +1 -0
  81. package/dist/modules/payout/payout.repository.d.ts +7 -6
  82. package/dist/modules/payout/payout.repository.d.ts.map +1 -0
  83. package/dist/modules/profile/index.d.ts +1 -0
  84. package/dist/modules/profile/index.d.ts.map +1 -0
  85. package/dist/modules/profile/profile.api-contract.d.ts +2 -19
  86. package/dist/modules/profile/profile.api-contract.d.ts.map +1 -0
  87. package/dist/modules/profile/profile.dtos.d.ts +3 -38
  88. package/dist/modules/profile/profile.dtos.d.ts.map +1 -0
  89. package/dist/modules/profile/profile.model.d.ts +5 -42
  90. package/dist/modules/profile/profile.model.d.ts.map +1 -0
  91. package/dist/modules/profile/profile.repository.d.ts +1 -0
  92. package/dist/modules/profile/profile.repository.d.ts.map +1 -0
  93. package/dist/modules/team-member/index.d.ts +3 -2
  94. package/dist/modules/team-member/index.d.ts.map +1 -0
  95. package/dist/modules/team-member/role.model.d.ts +6 -21
  96. package/dist/modules/team-member/role.model.d.ts.map +1 -0
  97. package/dist/modules/team-member/team-member.contract.d.ts +74 -615
  98. package/dist/modules/team-member/team-member.contract.d.ts.map +1 -0
  99. package/dist/modules/team-member/team-member.dtos.d.ts +15 -162
  100. package/dist/modules/team-member/team-member.dtos.d.ts.map +1 -0
  101. package/dist/modules/team-member/team-member.model.d.ts +7 -66
  102. package/dist/modules/team-member/team-member.model.d.ts.map +1 -0
  103. package/dist/modules/team-member/team-member.repository.d.ts +3 -2
  104. package/dist/modules/team-member/team-member.repository.d.ts.map +1 -0
  105. package/dist/modules/wallet/index.d.ts +4 -2
  106. package/dist/modules/wallet/index.d.ts.map +1 -0
  107. package/dist/modules/wallet/narration.model.d.ts +3 -8
  108. package/dist/modules/wallet/narration.model.d.ts.map +1 -0
  109. package/dist/modules/wallet/statement-entry.model.d.ts +14 -131
  110. package/dist/modules/wallet/statement-entry.model.d.ts.map +1 -0
  111. package/dist/modules/wallet/wallet.contract.d.ts +17 -90
  112. package/dist/modules/wallet/wallet.contract.d.ts.map +1 -0
  113. package/dist/modules/wallet/wallet.dtos.d.ts +33 -138
  114. package/dist/modules/wallet/wallet.dtos.d.ts.map +1 -0
  115. package/dist/modules/wallet/wallet.model.d.ts +5 -26
  116. package/dist/modules/wallet/wallet.model.d.ts.map +1 -0
  117. package/dist/modules/wallet/wallet.query.d.ts +2 -1
  118. package/dist/modules/wallet/wallet.query.d.ts.map +1 -0
  119. package/dist/modules/wallet/wallet.repository.d.ts +49 -25
  120. package/dist/modules/wallet/wallet.repository.d.ts.map +1 -0
  121. package/dist/modules/wallet/wallet.timezone.d.ts +87 -0
  122. package/dist/modules/wallet/wallet.timezone.d.ts.map +1 -0
  123. package/dist/modules/wallet/wallet.utils.d.ts +3 -2
  124. package/dist/modules/wallet/wallet.utils.d.ts.map +1 -0
  125. package/package.json +40 -29
@@ -59,42 +59,19 @@ declare const AuthorizerSchema: z.ZodObject<{
59
59
  id: z.ZodString;
60
60
  name: z.ZodString;
61
61
  identity: z.ZodString;
62
- }, "strip", z.ZodTypeAny, {
63
- name: string;
64
- id: string;
65
- identity: string;
66
- }, {
67
- name: string;
68
- id: string;
69
- identity: string;
70
- }>;
62
+ }, z.core.$strip>;
71
63
  /**
72
64
  * Schema for creating a new payout
73
65
  * Extends base payout schema with payee information
74
66
  */
75
67
  declare const PayoutInputDTOSchema: z.ZodObject<{
76
- channel: z.ZodNativeEnum<typeof PayoutChannel>;
68
+ channel: z.ZodEnum<typeof PayoutChannel>;
77
69
  msisdn: z.ZodString;
78
- amount: z.ZodNumber;
70
+ amount: z.ZodCoercedNumber<unknown>;
79
71
  description: z.ZodString;
80
72
  notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
81
- } & {
82
73
  payeeName: z.ZodString;
83
- }, "strip", z.ZodTypeAny, {
84
- description: string;
85
- channel: PayoutChannel;
86
- msisdn: string;
87
- amount: number;
88
- payeeName: string;
89
- notes?: string | null | undefined;
90
- }, {
91
- description: string;
92
- channel: PayoutChannel;
93
- msisdn: string;
94
- amount: number;
95
- payeeName: string;
96
- notes?: string | null | undefined;
97
- }>;
74
+ }, z.core.$strip>;
98
75
  /**
99
76
  * Schema for complete payout record
100
77
  * Extends base payout schema with additional fields for:
@@ -106,112 +83,35 @@ declare const PayoutInputDTOSchema: z.ZodObject<{
106
83
  */
107
84
  declare const PayoutDTOSchema: z.ZodObject<{
108
85
  msisdn: z.ZodString;
109
- amount: z.ZodNumber;
86
+ amount: z.ZodCoercedNumber<unknown>;
110
87
  description: z.ZodString;
111
88
  notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
112
- } & {
113
89
  id: z.ZodString;
114
90
  profileId: z.ZodString;
115
91
  payeeName: z.ZodString;
116
- countryCode: z.ZodEffects<z.ZodDefault<z.ZodString>, import("@temboplus/frontend-core").ISO2CountryCode, string | undefined>;
117
- currencyCode: z.ZodEffects<z.ZodDefault<z.ZodString>, import("@temboplus/frontend-core").CurrencyCode, string | undefined>;
92
+ countryCode: z.ZodDefault<z.ZodString> & z.ZodType<import("@temboplus/frontend-core").ISO2CountryCode, string | undefined, z.core.$ZodTypeInternals<import("@temboplus/frontend-core").ISO2CountryCode, string | undefined>>;
93
+ currencyCode: z.ZodDefault<z.ZodString> & z.ZodType<import("@temboplus/frontend-core").CurrencyCode, string | undefined, z.core.$ZodTypeInternals<import("@temboplus/frontend-core").CurrencyCode, string | undefined>>;
118
94
  channel: z.ZodString;
119
- status: z.ZodNativeEnum<typeof PayoutStatus>;
95
+ status: z.ZodEnum<typeof PayoutStatus>;
120
96
  statusMessage: z.ZodString;
121
97
  partnerReference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
122
- createdAt: z.ZodDate;
123
- updatedAt: z.ZodDate;
124
- actionedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
125
- approvalStatus: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof PayoutApprovalStatus>>>;
98
+ createdAt: z.ZodCoercedDate<unknown>;
99
+ updatedAt: z.ZodCoercedDate<unknown>;
100
+ actionedAt: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
101
+ approvalStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof PayoutApprovalStatus>>>;
126
102
  createdById: z.ZodOptional<z.ZodNullable<z.ZodString>>;
127
103
  actionedById: z.ZodOptional<z.ZodNullable<z.ZodString>>;
128
104
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
129
105
  id: z.ZodString;
130
106
  name: z.ZodString;
131
107
  identity: z.ZodString;
132
- }, "strip", z.ZodTypeAny, {
133
- name: string;
134
- id: string;
135
- identity: string;
136
- }, {
137
- name: string;
138
- id: string;
139
- identity: string;
140
- }>>>;
108
+ }, z.core.$strip>>>;
141
109
  actionedBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
142
110
  id: z.ZodString;
143
111
  name: z.ZodString;
144
112
  identity: z.ZodString;
145
- }, "strip", z.ZodTypeAny, {
146
- name: string;
147
- id: string;
148
- identity: string;
149
- }, {
150
- name: string;
151
- id: string;
152
- identity: string;
153
- }>>>;
154
- }, "strip", z.ZodTypeAny, {
155
- status: PayoutStatus;
156
- createdAt: Date;
157
- id: string;
158
- profileId: string;
159
- updatedAt: Date;
160
- description: string;
161
- channel: string;
162
- msisdn: string;
163
- amount: number;
164
- payeeName: string;
165
- countryCode: import("@temboplus/frontend-core").ISO2CountryCode;
166
- currencyCode: import("@temboplus/frontend-core").CurrencyCode;
167
- statusMessage: string;
168
- notes?: string | null | undefined;
169
- partnerReference?: string | null | undefined;
170
- actionedAt?: Date | null | undefined;
171
- approvalStatus?: PayoutApprovalStatus | null | undefined;
172
- createdById?: string | null | undefined;
173
- actionedById?: string | null | undefined;
174
- createdBy?: {
175
- name: string;
176
- id: string;
177
- identity: string;
178
- } | null | undefined;
179
- actionedBy?: {
180
- name: string;
181
- id: string;
182
- identity: string;
183
- } | null | undefined;
184
- }, {
185
- status: PayoutStatus;
186
- createdAt: Date;
187
- id: string;
188
- profileId: string;
189
- updatedAt: Date;
190
- description: string;
191
- channel: string;
192
- msisdn: string;
193
- amount: number;
194
- payeeName: string;
195
- statusMessage: string;
196
- notes?: string | null | undefined;
197
- countryCode?: string | undefined;
198
- currencyCode?: string | undefined;
199
- partnerReference?: string | null | undefined;
200
- actionedAt?: Date | null | undefined;
201
- approvalStatus?: PayoutApprovalStatus | null | undefined;
202
- createdById?: string | null | undefined;
203
- actionedById?: string | null | undefined;
204
- createdBy?: {
205
- name: string;
206
- id: string;
207
- identity: string;
208
- } | null | undefined;
209
- actionedBy?: {
210
- name: string;
211
- id: string;
212
- identity: string;
213
- } | null | undefined;
214
- }>;
113
+ }, z.core.$strip>>>;
114
+ }, z.core.$strip>;
215
115
  /**
216
116
  * Lightweight filters interface for payout queries
217
117
  */
@@ -219,172 +119,68 @@ declare const PayoutFiltersSchema: z.ZodObject<{
219
119
  page: z.ZodDefault<z.ZodNumber>;
220
120
  limit: z.ZodDefault<z.ZodNumber>;
221
121
  sortBy: z.ZodDefault<z.ZodString>;
222
- sortOrder: z.ZodDefault<z.ZodEnum<["asc", "desc"]>>;
122
+ sortOrder: z.ZodDefault<z.ZodEnum<{
123
+ asc: "asc";
124
+ desc: "desc";
125
+ }>>;
223
126
  startDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
224
127
  endDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
225
128
  payeeName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
226
129
  msisdn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
227
- msisdnIn: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, string[], string | string[]>>>;
130
+ msisdnIn: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>, z.ZodTransform<string[], string | string[]>>>>;
228
131
  profileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
229
132
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
230
133
  partnerReference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
231
134
  channel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
232
- channelIn: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, string[], string | string[]>>>;
135
+ channelIn: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>, z.ZodTransform<string[], string | string[]>>>>;
233
136
  currencyCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
234
- status: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof PayoutStatus>>>;
235
- 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">>>>;
236
- approvalStatus: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof PayoutApprovalStatus>>>;
237
- 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">>>>;
137
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof PayoutStatus>>>;
138
+ statusIn: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>, z.ZodTransform<string[], string | string[]>>, z.ZodArray<z.ZodEnum<typeof PayoutStatus>>>>>;
139
+ approvalStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof PayoutApprovalStatus>>>;
140
+ approvalStatusIn: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>, z.ZodTransform<string[], string | string[]>>, z.ZodArray<z.ZodEnum<typeof PayoutApprovalStatus>>>>>;
238
141
  createdById: z.ZodOptional<z.ZodNullable<z.ZodString>>;
239
- createdByIdIn: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, string[], string | string[]>>>;
142
+ createdByIdIn: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>, z.ZodTransform<string[], string | string[]>>>>;
240
143
  actionedById: z.ZodOptional<z.ZodNullable<z.ZodString>>;
241
- actionedByIdIn: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, string[], string | string[]>>>;
144
+ actionedByIdIn: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>, z.ZodTransform<string[], string | string[]>>>>;
242
145
  minAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
243
146
  maxAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
244
147
  search: z.ZodOptional<z.ZodNullable<z.ZodString>>;
245
- relations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
246
- }, "strip", z.ZodTypeAny, {
247
- page: number;
248
- limit: number;
249
- sortBy: string;
250
- sortOrder: "asc" | "desc";
251
- status?: PayoutStatus | null | undefined;
252
- id?: string | null | undefined;
253
- profileId?: string | null | undefined;
254
- search?: string | null | undefined;
255
- channel?: string | null | undefined;
256
- msisdn?: string | null | undefined;
257
- payeeName?: string | null | undefined;
258
- currencyCode?: string | null | undefined;
259
- partnerReference?: string | null | undefined;
260
- approvalStatus?: PayoutApprovalStatus | null | undefined;
261
- createdById?: string | null | undefined;
262
- actionedById?: string | null | undefined;
263
- startDate?: string | null | undefined;
264
- endDate?: string | null | undefined;
265
- msisdnIn?: string[] | null | undefined;
266
- channelIn?: string[] | null | undefined;
267
- statusIn?: PayoutStatus[] | null | undefined;
268
- approvalStatusIn?: PayoutApprovalStatus[] | null | undefined;
269
- createdByIdIn?: string[] | null | undefined;
270
- actionedByIdIn?: string[] | null | undefined;
271
- minAmount?: number | null | undefined;
272
- maxAmount?: number | null | undefined;
273
- relations?: string[] | null | undefined;
274
- }, {
275
- status?: PayoutStatus | null | undefined;
276
- page?: number | undefined;
277
- limit?: number | undefined;
278
- id?: string | null | undefined;
279
- profileId?: string | null | undefined;
280
- search?: string | null | undefined;
281
- channel?: string | null | undefined;
282
- msisdn?: string | null | undefined;
283
- payeeName?: string | null | undefined;
284
- currencyCode?: string | null | undefined;
285
- partnerReference?: string | null | undefined;
286
- approvalStatus?: PayoutApprovalStatus | null | undefined;
287
- createdById?: string | null | undefined;
288
- actionedById?: string | null | undefined;
289
- sortBy?: string | undefined;
290
- sortOrder?: "asc" | "desc" | undefined;
291
- startDate?: string | null | undefined;
292
- endDate?: string | null | undefined;
293
- msisdnIn?: string | string[] | null | undefined;
294
- channelIn?: string | string[] | null | undefined;
295
- statusIn?: string | string[] | null | undefined;
296
- approvalStatusIn?: string | string[] | null | undefined;
297
- createdByIdIn?: string | string[] | null | undefined;
298
- actionedByIdIn?: string | string[] | null | undefined;
299
- minAmount?: number | null | undefined;
300
- maxAmount?: number | null | undefined;
301
- relations?: string[] | null | undefined;
302
- }>;
148
+ relations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
149
+ }, z.core.$strip>;
303
150
  /**
304
151
  * URL-safe schema for query parameters (all strings)
305
152
  */
306
153
  declare const PayoutURLQueryParamsSchema: z.ZodObject<{
307
- page: z.ZodOptional<z.ZodEffects<z.ZodString, number, string>>;
308
- limit: z.ZodOptional<z.ZodEffects<z.ZodString, number, string>>;
154
+ page: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>>;
155
+ limit: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>>;
309
156
  sortBy: z.ZodDefault<z.ZodString>;
310
- sortOrder: z.ZodDefault<z.ZodEnum<["asc", "desc"]>>;
157
+ sortOrder: z.ZodDefault<z.ZodEnum<{
158
+ asc: "asc";
159
+ desc: "desc";
160
+ }>>;
311
161
  startDate: z.ZodOptional<z.ZodString>;
312
162
  endDate: z.ZodOptional<z.ZodString>;
313
163
  payeeName: z.ZodOptional<z.ZodString>;
314
164
  msisdn: z.ZodOptional<z.ZodString>;
315
- msisdnIn: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, string[], string | string[]>>;
165
+ msisdnIn: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>, z.ZodTransform<string[], string | string[]>>>;
316
166
  profileId: z.ZodOptional<z.ZodString>;
317
167
  id: z.ZodOptional<z.ZodString>;
318
168
  partnerReference: z.ZodOptional<z.ZodString>;
319
169
  channel: z.ZodOptional<z.ZodString>;
320
- channelIn: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, string[], string | string[]>>;
321
- status: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, PayoutStatus, string>>;
322
- 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">>>;
323
- approvalStatus: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, PayoutApprovalStatus, string>>;
324
- 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">>>;
170
+ channelIn: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>, z.ZodTransform<string[], string | string[]>>>;
171
+ status: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<PayoutStatus, string>>>;
172
+ 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 PayoutStatus>>>>;
173
+ approvalStatus: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<PayoutApprovalStatus, string>>>;
174
+ approvalStatusIn: 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 PayoutApprovalStatus>>>>;
325
175
  createdById: z.ZodOptional<z.ZodString>;
326
- createdByIdIn: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, string[], string | string[]>>;
176
+ createdByIdIn: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>, z.ZodTransform<string[], string | string[]>>>;
327
177
  actionedById: z.ZodOptional<z.ZodString>;
328
- actionedByIdIn: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, string[], string | string[]>>;
329
- minAmount: z.ZodOptional<z.ZodEffects<z.ZodString, number, string>>;
330
- maxAmount: z.ZodOptional<z.ZodEffects<z.ZodString, number, string>>;
178
+ actionedByIdIn: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>, z.ZodTransform<string[], string | string[]>>>;
179
+ minAmount: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>>;
180
+ maxAmount: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>>;
331
181
  search: z.ZodOptional<z.ZodString>;
332
- relations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
333
- }, "strip", z.ZodTypeAny, {
334
- sortBy: string;
335
- sortOrder: "asc" | "desc";
336
- status?: PayoutStatus | undefined;
337
- page?: number | undefined;
338
- limit?: number | undefined;
339
- id?: string | undefined;
340
- profileId?: string | undefined;
341
- search?: string | undefined;
342
- channel?: string | undefined;
343
- msisdn?: string | undefined;
344
- payeeName?: string | undefined;
345
- partnerReference?: string | undefined;
346
- approvalStatus?: PayoutApprovalStatus | undefined;
347
- createdById?: string | undefined;
348
- actionedById?: string | undefined;
349
- startDate?: string | undefined;
350
- endDate?: string | undefined;
351
- msisdnIn?: string[] | undefined;
352
- channelIn?: string[] | undefined;
353
- statusIn?: PayoutStatus[] | undefined;
354
- approvalStatusIn?: PayoutApprovalStatus[] | undefined;
355
- createdByIdIn?: string[] | undefined;
356
- actionedByIdIn?: string[] | undefined;
357
- minAmount?: number | undefined;
358
- maxAmount?: number | undefined;
359
- relations?: string[] | undefined;
360
- }, {
361
- status?: string | undefined;
362
- page?: string | undefined;
363
- limit?: string | undefined;
364
- id?: string | undefined;
365
- profileId?: string | undefined;
366
- search?: string | undefined;
367
- channel?: string | undefined;
368
- msisdn?: string | undefined;
369
- payeeName?: string | undefined;
370
- partnerReference?: string | undefined;
371
- approvalStatus?: string | undefined;
372
- createdById?: string | undefined;
373
- actionedById?: string | undefined;
374
- sortBy?: string | undefined;
375
- sortOrder?: "asc" | "desc" | undefined;
376
- startDate?: string | undefined;
377
- endDate?: string | undefined;
378
- msisdnIn?: string | string[] | undefined;
379
- channelIn?: string | string[] | undefined;
380
- statusIn?: string | string[] | undefined;
381
- approvalStatusIn?: string | string[] | undefined;
382
- createdByIdIn?: string | string[] | undefined;
383
- actionedByIdIn?: string | string[] | undefined;
384
- minAmount?: string | undefined;
385
- maxAmount?: string | undefined;
386
- relations?: string[] | undefined;
387
- }>;
182
+ relations: z.ZodOptional<z.ZodArray<z.ZodString>>;
183
+ }, z.core.$strip>;
388
184
  /**
389
185
  * Type definition inferred from AuthorizerSchema
390
186
  * Represents the structure of a user who actions the payout
@@ -415,321 +211,118 @@ type PayoutURLQueryParams = z.infer<typeof PayoutURLQueryParamsSchema>;
415
211
  export declare const PayoutDTOSchemas: {
416
212
  readonly PayoutDTO: z.ZodObject<{
417
213
  msisdn: z.ZodString;
418
- amount: z.ZodNumber;
214
+ amount: z.ZodCoercedNumber<unknown>;
419
215
  description: z.ZodString;
420
216
  notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
421
- } & {
422
217
  id: z.ZodString;
423
218
  profileId: z.ZodString;
424
219
  payeeName: z.ZodString;
425
- countryCode: z.ZodEffects<z.ZodDefault<z.ZodString>, import("@temboplus/frontend-core").ISO2CountryCode, string | undefined>;
426
- currencyCode: z.ZodEffects<z.ZodDefault<z.ZodString>, import("@temboplus/frontend-core").CurrencyCode, string | undefined>;
220
+ countryCode: z.ZodDefault<z.ZodString> & z.ZodType<import("@temboplus/frontend-core").ISO2CountryCode, string | undefined, z.core.$ZodTypeInternals<import("@temboplus/frontend-core").ISO2CountryCode, string | undefined>>;
221
+ currencyCode: z.ZodDefault<z.ZodString> & z.ZodType<import("@temboplus/frontend-core").CurrencyCode, string | undefined, z.core.$ZodTypeInternals<import("@temboplus/frontend-core").CurrencyCode, string | undefined>>;
427
222
  channel: z.ZodString;
428
- status: z.ZodNativeEnum<typeof PayoutStatus>;
223
+ status: z.ZodEnum<typeof PayoutStatus>;
429
224
  statusMessage: z.ZodString;
430
225
  partnerReference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
431
- createdAt: z.ZodDate;
432
- updatedAt: z.ZodDate;
433
- actionedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
434
- approvalStatus: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof PayoutApprovalStatus>>>;
226
+ createdAt: z.ZodCoercedDate<unknown>;
227
+ updatedAt: z.ZodCoercedDate<unknown>;
228
+ actionedAt: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
229
+ approvalStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof PayoutApprovalStatus>>>;
435
230
  createdById: z.ZodOptional<z.ZodNullable<z.ZodString>>;
436
231
  actionedById: z.ZodOptional<z.ZodNullable<z.ZodString>>;
437
232
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
438
233
  id: z.ZodString;
439
234
  name: z.ZodString;
440
235
  identity: z.ZodString;
441
- }, "strip", z.ZodTypeAny, {
442
- name: string;
443
- id: string;
444
- identity: string;
445
- }, {
446
- name: string;
447
- id: string;
448
- identity: string;
449
- }>>>;
236
+ }, z.core.$strip>>>;
450
237
  actionedBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
451
238
  id: z.ZodString;
452
239
  name: z.ZodString;
453
240
  identity: z.ZodString;
454
- }, "strip", z.ZodTypeAny, {
455
- name: string;
456
- id: string;
457
- identity: string;
458
- }, {
459
- name: string;
460
- id: string;
461
- identity: string;
462
- }>>>;
463
- }, "strip", z.ZodTypeAny, {
464
- status: PayoutStatus;
465
- createdAt: Date;
466
- id: string;
467
- profileId: string;
468
- updatedAt: Date;
469
- description: string;
470
- channel: string;
471
- msisdn: string;
472
- amount: number;
473
- payeeName: string;
474
- countryCode: import("@temboplus/frontend-core").ISO2CountryCode;
475
- currencyCode: import("@temboplus/frontend-core").CurrencyCode;
476
- statusMessage: string;
477
- notes?: string | null | undefined;
478
- partnerReference?: string | null | undefined;
479
- actionedAt?: Date | null | undefined;
480
- approvalStatus?: PayoutApprovalStatus | null | undefined;
481
- createdById?: string | null | undefined;
482
- actionedById?: string | null | undefined;
483
- createdBy?: {
484
- name: string;
485
- id: string;
486
- identity: string;
487
- } | null | undefined;
488
- actionedBy?: {
489
- name: string;
490
- id: string;
491
- identity: string;
492
- } | null | undefined;
493
- }, {
494
- status: PayoutStatus;
495
- createdAt: Date;
496
- id: string;
497
- profileId: string;
498
- updatedAt: Date;
499
- description: string;
500
- channel: string;
501
- msisdn: string;
502
- amount: number;
503
- payeeName: string;
504
- statusMessage: string;
505
- notes?: string | null | undefined;
506
- countryCode?: string | undefined;
507
- currencyCode?: string | undefined;
508
- partnerReference?: string | null | undefined;
509
- actionedAt?: Date | null | undefined;
510
- approvalStatus?: PayoutApprovalStatus | null | undefined;
511
- createdById?: string | null | undefined;
512
- actionedById?: string | null | undefined;
513
- createdBy?: {
514
- name: string;
515
- id: string;
516
- identity: string;
517
- } | null | undefined;
518
- actionedBy?: {
519
- name: string;
520
- id: string;
521
- identity: string;
522
- } | null | undefined;
523
- }>;
241
+ }, z.core.$strip>>>;
242
+ }, z.core.$strip>;
524
243
  readonly PayoutInputDTO: z.ZodObject<{
525
- channel: z.ZodNativeEnum<typeof PayoutChannel>;
244
+ channel: z.ZodEnum<typeof PayoutChannel>;
526
245
  msisdn: z.ZodString;
527
- amount: z.ZodNumber;
246
+ amount: z.ZodCoercedNumber<unknown>;
528
247
  description: z.ZodString;
529
248
  notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
530
- } & {
531
249
  payeeName: z.ZodString;
532
- }, "strip", z.ZodTypeAny, {
533
- description: string;
534
- channel: PayoutChannel;
535
- msisdn: string;
536
- amount: number;
537
- payeeName: string;
538
- notes?: string | null | undefined;
539
- }, {
540
- description: string;
541
- channel: PayoutChannel;
542
- msisdn: string;
543
- amount: number;
544
- payeeName: string;
545
- notes?: string | null | undefined;
546
- }>;
547
- readonly PayoutStatus: z.ZodNativeEnum<typeof PayoutStatus>;
548
- readonly PayoutApprovalStatus: z.ZodNativeEnum<typeof PayoutApprovalStatus>;
549
- readonly PayoutChannel: z.ZodNativeEnum<typeof PayoutChannel>;
250
+ }, z.core.$strip>;
251
+ readonly PayoutStatus: z.ZodEnum<typeof PayoutStatus>;
252
+ readonly PayoutApprovalStatus: z.ZodEnum<typeof PayoutApprovalStatus>;
253
+ readonly PayoutChannel: z.ZodEnum<typeof PayoutChannel>;
550
254
  readonly PayoutAuthorizer: z.ZodObject<{
551
255
  id: z.ZodString;
552
256
  name: z.ZodString;
553
257
  identity: z.ZodString;
554
- }, "strip", z.ZodTypeAny, {
555
- name: string;
556
- id: string;
557
- identity: string;
558
- }, {
559
- name: string;
560
- id: string;
561
- identity: string;
562
- }>;
258
+ }, z.core.$strip>;
563
259
  readonly PayoutFilters: z.ZodObject<{
564
260
  page: z.ZodDefault<z.ZodNumber>;
565
261
  limit: z.ZodDefault<z.ZodNumber>;
566
262
  sortBy: z.ZodDefault<z.ZodString>;
567
- sortOrder: z.ZodDefault<z.ZodEnum<["asc", "desc"]>>;
263
+ sortOrder: z.ZodDefault<z.ZodEnum<{
264
+ asc: "asc";
265
+ desc: "desc";
266
+ }>>;
568
267
  startDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
569
268
  endDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
570
269
  payeeName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
571
270
  msisdn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
572
- msisdnIn: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, string[], string | string[]>>>;
271
+ msisdnIn: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>, z.ZodTransform<string[], string | string[]>>>>;
573
272
  profileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
574
273
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
575
274
  partnerReference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
576
275
  channel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
577
- channelIn: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, string[], string | string[]>>>;
276
+ channelIn: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>, z.ZodTransform<string[], string | string[]>>>>;
578
277
  currencyCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
579
- status: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof PayoutStatus>>>;
580
- 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">>>>;
581
- approvalStatus: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof PayoutApprovalStatus>>>;
582
- 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">>>>;
278
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof PayoutStatus>>>;
279
+ statusIn: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>, z.ZodTransform<string[], string | string[]>>, z.ZodArray<z.ZodEnum<typeof PayoutStatus>>>>>;
280
+ approvalStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof PayoutApprovalStatus>>>;
281
+ approvalStatusIn: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>, z.ZodTransform<string[], string | string[]>>, z.ZodArray<z.ZodEnum<typeof PayoutApprovalStatus>>>>>;
583
282
  createdById: z.ZodOptional<z.ZodNullable<z.ZodString>>;
584
- createdByIdIn: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, string[], string | string[]>>>;
283
+ createdByIdIn: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>, z.ZodTransform<string[], string | string[]>>>>;
585
284
  actionedById: z.ZodOptional<z.ZodNullable<z.ZodString>>;
586
- actionedByIdIn: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, string[], string | string[]>>>;
285
+ actionedByIdIn: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>, z.ZodTransform<string[], string | string[]>>>>;
587
286
  minAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
588
287
  maxAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
589
288
  search: z.ZodOptional<z.ZodNullable<z.ZodString>>;
590
- relations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
591
- }, "strip", z.ZodTypeAny, {
592
- page: number;
593
- limit: number;
594
- sortBy: string;
595
- sortOrder: "asc" | "desc";
596
- status?: PayoutStatus | null | undefined;
597
- id?: string | null | undefined;
598
- profileId?: string | null | undefined;
599
- search?: string | null | undefined;
600
- channel?: string | null | undefined;
601
- msisdn?: string | null | undefined;
602
- payeeName?: string | null | undefined;
603
- currencyCode?: string | null | undefined;
604
- partnerReference?: string | null | undefined;
605
- approvalStatus?: PayoutApprovalStatus | null | undefined;
606
- createdById?: string | null | undefined;
607
- actionedById?: string | null | undefined;
608
- startDate?: string | null | undefined;
609
- endDate?: string | null | undefined;
610
- msisdnIn?: string[] | null | undefined;
611
- channelIn?: string[] | null | undefined;
612
- statusIn?: PayoutStatus[] | null | undefined;
613
- approvalStatusIn?: PayoutApprovalStatus[] | null | undefined;
614
- createdByIdIn?: string[] | null | undefined;
615
- actionedByIdIn?: string[] | null | undefined;
616
- minAmount?: number | null | undefined;
617
- maxAmount?: number | null | undefined;
618
- relations?: string[] | null | undefined;
619
- }, {
620
- status?: PayoutStatus | null | undefined;
621
- page?: number | undefined;
622
- limit?: number | undefined;
623
- id?: string | null | undefined;
624
- profileId?: string | null | undefined;
625
- search?: string | null | undefined;
626
- channel?: string | null | undefined;
627
- msisdn?: string | null | undefined;
628
- payeeName?: string | null | undefined;
629
- currencyCode?: string | null | undefined;
630
- partnerReference?: string | null | undefined;
631
- approvalStatus?: PayoutApprovalStatus | null | undefined;
632
- createdById?: string | null | undefined;
633
- actionedById?: string | null | undefined;
634
- sortBy?: string | undefined;
635
- sortOrder?: "asc" | "desc" | undefined;
636
- startDate?: string | null | undefined;
637
- endDate?: string | null | undefined;
638
- msisdnIn?: string | string[] | null | undefined;
639
- channelIn?: string | string[] | null | undefined;
640
- statusIn?: string | string[] | null | undefined;
641
- approvalStatusIn?: string | string[] | null | undefined;
642
- createdByIdIn?: string | string[] | null | undefined;
643
- actionedByIdIn?: string | string[] | null | undefined;
644
- minAmount?: number | null | undefined;
645
- maxAmount?: number | null | undefined;
646
- relations?: string[] | null | undefined;
647
- }>;
289
+ relations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
290
+ }, z.core.$strip>;
648
291
  readonly PayoutURLQueryParams: z.ZodObject<{
649
- page: z.ZodOptional<z.ZodEffects<z.ZodString, number, string>>;
650
- limit: z.ZodOptional<z.ZodEffects<z.ZodString, number, string>>;
292
+ page: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>>;
293
+ limit: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>>;
651
294
  sortBy: z.ZodDefault<z.ZodString>;
652
- sortOrder: z.ZodDefault<z.ZodEnum<["asc", "desc"]>>;
295
+ sortOrder: z.ZodDefault<z.ZodEnum<{
296
+ asc: "asc";
297
+ desc: "desc";
298
+ }>>;
653
299
  startDate: z.ZodOptional<z.ZodString>;
654
300
  endDate: z.ZodOptional<z.ZodString>;
655
301
  payeeName: z.ZodOptional<z.ZodString>;
656
302
  msisdn: z.ZodOptional<z.ZodString>;
657
- msisdnIn: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, string[], string | string[]>>;
303
+ msisdnIn: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>, z.ZodTransform<string[], string | string[]>>>;
658
304
  profileId: z.ZodOptional<z.ZodString>;
659
305
  id: z.ZodOptional<z.ZodString>;
660
306
  partnerReference: z.ZodOptional<z.ZodString>;
661
307
  channel: z.ZodOptional<z.ZodString>;
662
- channelIn: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, string[], string | string[]>>;
663
- status: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, PayoutStatus, string>>;
664
- 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">>>;
665
- approvalStatus: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, PayoutApprovalStatus, string>>;
666
- 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">>>;
308
+ channelIn: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>, z.ZodTransform<string[], string | string[]>>>;
309
+ status: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<PayoutStatus, string>>>;
310
+ 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 PayoutStatus>>>>;
311
+ approvalStatus: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<PayoutApprovalStatus, string>>>;
312
+ approvalStatusIn: 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 PayoutApprovalStatus>>>>;
667
313
  createdById: z.ZodOptional<z.ZodString>;
668
- createdByIdIn: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, string[], string | string[]>>;
314
+ createdByIdIn: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>, z.ZodTransform<string[], string | string[]>>>;
669
315
  actionedById: z.ZodOptional<z.ZodString>;
670
- actionedByIdIn: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, string[], string | string[]>>;
671
- minAmount: z.ZodOptional<z.ZodEffects<z.ZodString, number, string>>;
672
- maxAmount: z.ZodOptional<z.ZodEffects<z.ZodString, number, string>>;
316
+ actionedByIdIn: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>, z.ZodTransform<string[], string | string[]>>>;
317
+ minAmount: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>>;
318
+ maxAmount: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>>;
673
319
  search: z.ZodOptional<z.ZodString>;
674
- relations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
675
- }, "strip", z.ZodTypeAny, {
676
- sortBy: string;
677
- sortOrder: "asc" | "desc";
678
- status?: PayoutStatus | undefined;
679
- page?: number | undefined;
680
- limit?: number | undefined;
681
- id?: string | undefined;
682
- profileId?: string | undefined;
683
- search?: string | undefined;
684
- channel?: string | undefined;
685
- msisdn?: string | undefined;
686
- payeeName?: string | undefined;
687
- partnerReference?: string | undefined;
688
- approvalStatus?: PayoutApprovalStatus | undefined;
689
- createdById?: string | undefined;
690
- actionedById?: string | undefined;
691
- startDate?: string | undefined;
692
- endDate?: string | undefined;
693
- msisdnIn?: string[] | undefined;
694
- channelIn?: string[] | undefined;
695
- statusIn?: PayoutStatus[] | undefined;
696
- approvalStatusIn?: PayoutApprovalStatus[] | undefined;
697
- createdByIdIn?: string[] | undefined;
698
- actionedByIdIn?: string[] | undefined;
699
- minAmount?: number | undefined;
700
- maxAmount?: number | undefined;
701
- relations?: string[] | undefined;
702
- }, {
703
- status?: string | undefined;
704
- page?: string | undefined;
705
- limit?: string | undefined;
706
- id?: string | undefined;
707
- profileId?: string | undefined;
708
- search?: string | undefined;
709
- channel?: string | undefined;
710
- msisdn?: string | undefined;
711
- payeeName?: string | undefined;
712
- partnerReference?: string | undefined;
713
- approvalStatus?: string | undefined;
714
- createdById?: string | undefined;
715
- actionedById?: string | undefined;
716
- sortBy?: string | undefined;
717
- sortOrder?: "asc" | "desc" | undefined;
718
- startDate?: string | undefined;
719
- endDate?: string | undefined;
720
- msisdnIn?: string | string[] | undefined;
721
- channelIn?: string | string[] | undefined;
722
- statusIn?: string | string[] | undefined;
723
- approvalStatusIn?: string | string[] | undefined;
724
- createdByIdIn?: string | string[] | undefined;
725
- actionedByIdIn?: string | string[] | undefined;
726
- minAmount?: string | undefined;
727
- maxAmount?: string | undefined;
728
- relations?: string[] | undefined;
729
- }>;
320
+ relations: z.ZodOptional<z.ZodArray<z.ZodString>>;
321
+ }, z.core.$strip>;
730
322
  };
731
323
  /**
732
324
  * Export types for use in other parts of the application
733
325
  * These types can be used for type checking and documentation
734
326
  */
735
- export type { PayoutAuthorizerDTO as PayoutAuthorizer, PayoutDTO, PayoutInputDTO, PayoutFilters, PayoutURLQueryParams, };
327
+ export type { PayoutAuthorizerDTO as PayoutAuthorizer, PayoutDTO, PayoutFilters, PayoutInputDTO, PayoutURLQueryParams };
328
+ //# sourceMappingURL=payout.dtos.d.ts.map