@temboplus/afloat 0.1.75-0 → 0.1.76-beta.0
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.d.ts +7 -6
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/lib/api/index.d.ts +0 -1
- package/dist/lib/error/error.permission.d.ts +1 -1
- package/dist/lib/query/index.d.ts +2 -0
- package/dist/lib/query/pagination/pagination.d.ts +73 -0
- package/dist/lib/query/pagination/pagination.schemas.d.ts +83 -0
- package/dist/{features → modules}/auth/auth.contract.d.ts +2 -9
- package/dist/{features → modules}/auth/auth.manager.d.ts +2 -2
- package/dist/{features → modules}/auth/auth.repository.d.ts +18 -1
- package/dist/{features → modules}/auth/auth.store.d.ts +1 -1
- package/dist/modules/auth/index.d.ts +4 -0
- package/dist/{features → modules}/auth/storage/client-store.d.ts +1 -1
- package/dist/{features → modules}/auth/storage/types.d.ts +1 -1
- package/dist/{models → modules/auth}/user.model.d.ts +4 -3
- package/dist/{models → modules/contact}/contact-info.model.d.ts +2 -2
- package/dist/{features → modules}/contact/contact-input-handler.d.ts +1 -1
- package/dist/{models → modules/contact}/contact.model.d.ts +1 -1
- package/dist/{features → modules}/contact/contact.repository.d.ts +2 -2
- package/dist/modules/contact/index.d.ts +4 -0
- package/dist/modules/login/index.d.ts +2 -0
- package/dist/modules/login/login.model.d.ts +1 -0
- package/dist/{features/auth/identity/identity.repository.d.ts → modules/login/login.repository.d.ts} +1 -1
- package/dist/{features → modules}/payout/index.d.ts +2 -0
- package/dist/{features → modules}/payout/payout-channel-handler.d.ts +2 -2
- package/dist/{models → modules/payout}/payout.model.d.ts +2 -2
- package/dist/{features → modules}/payout/payout.repository.d.ts +28 -16
- package/dist/modules/profile/index.d.ts +3 -0
- package/dist/{models → modules/profile}/profile.model.d.ts +1 -1
- package/dist/{features/auth → modules}/profile/profile.repository.d.ts +1 -1
- package/dist/modules/user/index.d.ts +4 -0
- package/dist/{models → modules/user}/role.model.d.ts +1 -1
- package/dist/{features/admin/admin.contract.d.ts → modules/user/user.contract.d.ts} +9 -9
- package/dist/{models/managed-user.model.d.ts → modules/user/user.model.d.ts} +1 -1
- package/dist/{features/admin/admin.repository.d.ts → modules/user/user.repository.d.ts} +4 -4
- package/dist/{features → modules}/wallet/index.d.ts +5 -2
- package/dist/{models → modules/wallet}/narration.model.d.ts +1 -1
- package/dist/{models → modules/wallet}/statement-entry.model.d.ts +1 -1
- package/dist/{features → modules}/wallet/wallet-manager.session.d.ts +2 -2
- package/dist/{models → modules/wallet}/wallet.model.d.ts +1 -1
- package/dist/{features → modules}/wallet/wallet.repository.d.ts +2 -2
- package/dist/{features → modules}/wallet/wallet.utils.d.ts +1 -1
- package/package.json +1 -1
- package/dist/features/admin/index.d.ts +0 -2
- package/dist/features/auth/access/access.api-contract.d.ts +0 -13
- package/dist/features/auth/access/access.repository.d.ts +0 -55
- package/dist/features/auth/index.d.ts +0 -5
- package/dist/features/contact/index.d.ts +0 -2
- package/dist/lib/api/common-schemas.d.ts +0 -49
- package/dist/models/index.d.ts +0 -11
- package/dist/{models/permission.d.ts → modules/auth/permission.type.d.ts} +0 -0
- package/dist/{features → modules}/auth/storage/client-token-handler.d.ts +0 -0
- package/dist/{features → modules}/contact/contact.api-contract.d.ts +8 -8
- package/dist/{features → modules}/contact/contact.dtos.d.ts +2 -2
- package/dist/{features/auth/identity/identity.api-contract.d.ts → modules/login/login.api-contract.d.ts} +0 -0
- package/dist/{features → modules}/payout/payout.api-contract.d.ts +35 -35
- package/dist/{features → modules}/payout/payout.dtos.d.ts +22 -22
- package/dist/{features → modules}/payout/payout.query.d.ts +0 -0
- package/dist/{features/auth → modules}/profile/profile.api-contract.d.ts +0 -0
- package/dist/{features/auth → modules}/profile/profile.dtos.d.ts +0 -0
- package/dist/{features/admin/admin.dtos.d.ts → modules/user/user.dtos.d.ts} +0 -0
- package/dist/{features → modules}/wallet/wallet.contract.d.ts +6 -6
- package/dist/{features → modules}/wallet/wallet.dtos.d.ts +12 -12
|
@@ -145,14 +145,14 @@ declare const PayoutDTOSchema: z.ZodObject<{
|
|
|
145
145
|
id: string;
|
|
146
146
|
createdAt: Date;
|
|
147
147
|
profileId: string;
|
|
148
|
-
updatedAt: Date;
|
|
149
148
|
channel: string;
|
|
149
|
+
countryCode: import("@temboplus/frontend-core").ISO2CountryCode;
|
|
150
|
+
currencyCode: import("@temboplus/frontend-core").CurrencyCode;
|
|
151
|
+
updatedAt: Date;
|
|
150
152
|
msisdn: string;
|
|
151
153
|
amount: number;
|
|
152
154
|
description: string;
|
|
153
155
|
payeeName: string;
|
|
154
|
-
countryCode: import("@temboplus/frontend-core").ISO2CountryCode;
|
|
155
|
-
currencyCode: import("@temboplus/frontend-core").CurrencyCode;
|
|
156
156
|
statusMessage: string;
|
|
157
157
|
notes?: string | null | undefined;
|
|
158
158
|
partnerReference?: string | null | undefined;
|
|
@@ -173,16 +173,16 @@ declare const PayoutDTOSchema: z.ZodObject<{
|
|
|
173
173
|
id: string;
|
|
174
174
|
createdAt: Date;
|
|
175
175
|
profileId: string;
|
|
176
|
-
updatedAt: Date;
|
|
177
176
|
channel: string;
|
|
177
|
+
updatedAt: Date;
|
|
178
178
|
msisdn: string;
|
|
179
179
|
amount: number;
|
|
180
180
|
description: string;
|
|
181
181
|
payeeName: string;
|
|
182
182
|
statusMessage: string;
|
|
183
|
-
notes?: string | null | undefined;
|
|
184
183
|
countryCode?: string | undefined;
|
|
185
184
|
currencyCode?: string | undefined;
|
|
185
|
+
notes?: string | null | undefined;
|
|
186
186
|
partnerReference?: string | null | undefined;
|
|
187
187
|
actionedAt?: Date | null | undefined;
|
|
188
188
|
approvalStatus?: PayoutApprovalStatus | null | undefined;
|
|
@@ -238,12 +238,12 @@ declare const PayoutFiltersSchema: z.ZodObject<{
|
|
|
238
238
|
maxAmount?: number | null | undefined;
|
|
239
239
|
}, {
|
|
240
240
|
status?: PayoutStatus | null | undefined;
|
|
241
|
-
page?: number | undefined;
|
|
242
|
-
limit?: number | undefined;
|
|
243
241
|
id?: string | null | undefined;
|
|
244
242
|
search?: string | null | undefined;
|
|
245
243
|
startDate?: string | null | undefined;
|
|
246
244
|
endDate?: string | null | undefined;
|
|
245
|
+
page?: number | undefined;
|
|
246
|
+
limit?: number | undefined;
|
|
247
247
|
profileId?: string | null | undefined;
|
|
248
248
|
channel?: string | null | undefined;
|
|
249
249
|
msisdn?: string | null | undefined;
|
|
@@ -280,12 +280,12 @@ declare const PayoutURLQueryParamsSchema: z.ZodObject<{
|
|
|
280
280
|
sortBy: string;
|
|
281
281
|
sortOrder: "asc" | "desc";
|
|
282
282
|
status?: PayoutStatus | undefined;
|
|
283
|
-
page?: number | undefined;
|
|
284
|
-
limit?: number | undefined;
|
|
285
283
|
id?: string | undefined;
|
|
286
284
|
search?: string | undefined;
|
|
287
285
|
startDate?: string | undefined;
|
|
288
286
|
endDate?: string | undefined;
|
|
287
|
+
page?: number | undefined;
|
|
288
|
+
limit?: number | undefined;
|
|
289
289
|
profileId?: string | undefined;
|
|
290
290
|
channel?: string | undefined;
|
|
291
291
|
msisdn?: string | undefined;
|
|
@@ -296,12 +296,12 @@ declare const PayoutURLQueryParamsSchema: z.ZodObject<{
|
|
|
296
296
|
maxAmount?: number | undefined;
|
|
297
297
|
}, {
|
|
298
298
|
status?: string | undefined;
|
|
299
|
-
page?: string | undefined;
|
|
300
|
-
limit?: string | undefined;
|
|
301
299
|
id?: string | undefined;
|
|
302
300
|
search?: string | undefined;
|
|
303
301
|
startDate?: string | undefined;
|
|
304
302
|
endDate?: string | undefined;
|
|
303
|
+
page?: string | undefined;
|
|
304
|
+
limit?: string | undefined;
|
|
305
305
|
profileId?: string | undefined;
|
|
306
306
|
channel?: string | undefined;
|
|
307
307
|
msisdn?: string | undefined;
|
|
@@ -391,14 +391,14 @@ export declare const PayoutDTOSchemas: {
|
|
|
391
391
|
id: string;
|
|
392
392
|
createdAt: Date;
|
|
393
393
|
profileId: string;
|
|
394
|
-
updatedAt: Date;
|
|
395
394
|
channel: string;
|
|
395
|
+
countryCode: import("@temboplus/frontend-core").ISO2CountryCode;
|
|
396
|
+
currencyCode: import("@temboplus/frontend-core").CurrencyCode;
|
|
397
|
+
updatedAt: Date;
|
|
396
398
|
msisdn: string;
|
|
397
399
|
amount: number;
|
|
398
400
|
description: string;
|
|
399
401
|
payeeName: string;
|
|
400
|
-
countryCode: import("@temboplus/frontend-core").ISO2CountryCode;
|
|
401
|
-
currencyCode: import("@temboplus/frontend-core").CurrencyCode;
|
|
402
402
|
statusMessage: string;
|
|
403
403
|
notes?: string | null | undefined;
|
|
404
404
|
partnerReference?: string | null | undefined;
|
|
@@ -419,16 +419,16 @@ export declare const PayoutDTOSchemas: {
|
|
|
419
419
|
id: string;
|
|
420
420
|
createdAt: Date;
|
|
421
421
|
profileId: string;
|
|
422
|
-
updatedAt: Date;
|
|
423
422
|
channel: string;
|
|
423
|
+
updatedAt: Date;
|
|
424
424
|
msisdn: string;
|
|
425
425
|
amount: number;
|
|
426
426
|
description: string;
|
|
427
427
|
payeeName: string;
|
|
428
428
|
statusMessage: string;
|
|
429
|
-
notes?: string | null | undefined;
|
|
430
429
|
countryCode?: string | undefined;
|
|
431
430
|
currencyCode?: string | undefined;
|
|
431
|
+
notes?: string | null | undefined;
|
|
432
432
|
partnerReference?: string | null | undefined;
|
|
433
433
|
actionedAt?: Date | null | undefined;
|
|
434
434
|
approvalStatus?: PayoutApprovalStatus | null | undefined;
|
|
@@ -519,12 +519,12 @@ export declare const PayoutDTOSchemas: {
|
|
|
519
519
|
maxAmount?: number | null | undefined;
|
|
520
520
|
}, {
|
|
521
521
|
status?: PayoutStatus | null | undefined;
|
|
522
|
-
page?: number | undefined;
|
|
523
|
-
limit?: number | undefined;
|
|
524
522
|
id?: string | null | undefined;
|
|
525
523
|
search?: string | null | undefined;
|
|
526
524
|
startDate?: string | null | undefined;
|
|
527
525
|
endDate?: string | null | undefined;
|
|
526
|
+
page?: number | undefined;
|
|
527
|
+
limit?: number | undefined;
|
|
528
528
|
profileId?: string | null | undefined;
|
|
529
529
|
channel?: string | null | undefined;
|
|
530
530
|
msisdn?: string | null | undefined;
|
|
@@ -558,12 +558,12 @@ export declare const PayoutDTOSchemas: {
|
|
|
558
558
|
sortBy: string;
|
|
559
559
|
sortOrder: "asc" | "desc";
|
|
560
560
|
status?: PayoutStatus | undefined;
|
|
561
|
-
page?: number | undefined;
|
|
562
|
-
limit?: number | undefined;
|
|
563
561
|
id?: string | undefined;
|
|
564
562
|
search?: string | undefined;
|
|
565
563
|
startDate?: string | undefined;
|
|
566
564
|
endDate?: string | undefined;
|
|
565
|
+
page?: number | undefined;
|
|
566
|
+
limit?: number | undefined;
|
|
567
567
|
profileId?: string | undefined;
|
|
568
568
|
channel?: string | undefined;
|
|
569
569
|
msisdn?: string | undefined;
|
|
@@ -574,12 +574,12 @@ export declare const PayoutDTOSchemas: {
|
|
|
574
574
|
maxAmount?: number | undefined;
|
|
575
575
|
}, {
|
|
576
576
|
status?: string | undefined;
|
|
577
|
-
page?: string | undefined;
|
|
578
|
-
limit?: string | undefined;
|
|
579
577
|
id?: string | undefined;
|
|
580
578
|
search?: string | undefined;
|
|
581
579
|
startDate?: string | undefined;
|
|
582
580
|
endDate?: string | undefined;
|
|
581
|
+
page?: string | undefined;
|
|
582
|
+
limit?: string | undefined;
|
|
583
583
|
profileId?: string | undefined;
|
|
584
584
|
channel?: string | undefined;
|
|
585
585
|
msisdn?: string | undefined;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -13,18 +13,18 @@ export declare const contract: {
|
|
|
13
13
|
id?: string | undefined;
|
|
14
14
|
accountNo?: string | undefined;
|
|
15
15
|
profileId?: string | undefined;
|
|
16
|
+
accountName?: string | undefined;
|
|
16
17
|
channel?: string | undefined;
|
|
17
18
|
countryCode?: string | undefined;
|
|
18
19
|
currencyCode?: string | undefined;
|
|
19
|
-
accountName?: string | undefined;
|
|
20
20
|
}, {
|
|
21
21
|
id?: string | undefined;
|
|
22
22
|
accountNo?: string | undefined;
|
|
23
23
|
profileId?: string | undefined;
|
|
24
|
+
accountName?: string | undefined;
|
|
24
25
|
channel?: string | undefined;
|
|
25
26
|
countryCode?: string | undefined;
|
|
26
27
|
currencyCode?: string | undefined;
|
|
27
|
-
accountName?: string | undefined;
|
|
28
28
|
}>;
|
|
29
29
|
method: "GET";
|
|
30
30
|
path: "/";
|
|
@@ -44,19 +44,19 @@ export declare const contract: {
|
|
|
44
44
|
accountNo: string;
|
|
45
45
|
createdAt: string;
|
|
46
46
|
profileId: string;
|
|
47
|
-
|
|
47
|
+
accountName: string;
|
|
48
48
|
channel: string;
|
|
49
49
|
countryCode: import("@temboplus/frontend-core").ISO2CountryCode;
|
|
50
50
|
currencyCode: import("@temboplus/frontend-core").CurrencyCode;
|
|
51
|
-
|
|
51
|
+
updatedAt: string;
|
|
52
52
|
}, {
|
|
53
53
|
id: string;
|
|
54
54
|
accountNo: string;
|
|
55
55
|
createdAt: string;
|
|
56
56
|
profileId: string;
|
|
57
|
-
updatedAt: string;
|
|
58
|
-
channel: string;
|
|
59
57
|
accountName: string;
|
|
58
|
+
channel: string;
|
|
59
|
+
updatedAt: string;
|
|
60
60
|
countryCode?: string | undefined;
|
|
61
61
|
currencyCode?: string | undefined;
|
|
62
62
|
}>, "many">;
|
|
@@ -19,19 +19,19 @@ declare const walletSchema: z.ZodObject<{
|
|
|
19
19
|
accountNo: string;
|
|
20
20
|
createdAt: string;
|
|
21
21
|
profileId: string;
|
|
22
|
-
|
|
22
|
+
accountName: string;
|
|
23
23
|
channel: string;
|
|
24
24
|
countryCode: import("@temboplus/frontend-core").ISO2CountryCode;
|
|
25
25
|
currencyCode: import("@temboplus/frontend-core").CurrencyCode;
|
|
26
|
-
|
|
26
|
+
updatedAt: string;
|
|
27
27
|
}, {
|
|
28
28
|
id: string;
|
|
29
29
|
accountNo: string;
|
|
30
30
|
createdAt: string;
|
|
31
31
|
profileId: string;
|
|
32
|
-
updatedAt: string;
|
|
33
|
-
channel: string;
|
|
34
32
|
accountName: string;
|
|
33
|
+
channel: string;
|
|
34
|
+
updatedAt: string;
|
|
35
35
|
countryCode?: string | undefined;
|
|
36
36
|
currencyCode?: string | undefined;
|
|
37
37
|
}>;
|
|
@@ -52,18 +52,18 @@ declare const walletQuerySchema: z.ZodObject<{
|
|
|
52
52
|
id?: string | undefined;
|
|
53
53
|
accountNo?: string | undefined;
|
|
54
54
|
profileId?: string | undefined;
|
|
55
|
+
accountName?: string | undefined;
|
|
55
56
|
channel?: string | undefined;
|
|
56
57
|
countryCode?: string | undefined;
|
|
57
58
|
currencyCode?: string | undefined;
|
|
58
|
-
accountName?: string | undefined;
|
|
59
59
|
}, {
|
|
60
60
|
id?: string | undefined;
|
|
61
61
|
accountNo?: string | undefined;
|
|
62
62
|
profileId?: string | undefined;
|
|
63
|
+
accountName?: string | undefined;
|
|
63
64
|
channel?: string | undefined;
|
|
64
65
|
countryCode?: string | undefined;
|
|
65
66
|
currencyCode?: string | undefined;
|
|
66
|
-
accountName?: string | undefined;
|
|
67
67
|
}>;
|
|
68
68
|
/**
|
|
69
69
|
* Schema definition for a statement entry.
|
|
@@ -122,19 +122,19 @@ export declare const WalletDTOSchemas: {
|
|
|
122
122
|
accountNo: string;
|
|
123
123
|
createdAt: string;
|
|
124
124
|
profileId: string;
|
|
125
|
-
|
|
125
|
+
accountName: string;
|
|
126
126
|
channel: string;
|
|
127
127
|
countryCode: import("@temboplus/frontend-core").ISO2CountryCode;
|
|
128
128
|
currencyCode: import("@temboplus/frontend-core").CurrencyCode;
|
|
129
|
-
|
|
129
|
+
updatedAt: string;
|
|
130
130
|
}, {
|
|
131
131
|
id: string;
|
|
132
132
|
accountNo: string;
|
|
133
133
|
createdAt: string;
|
|
134
134
|
profileId: string;
|
|
135
|
-
updatedAt: string;
|
|
136
|
-
channel: string;
|
|
137
135
|
accountName: string;
|
|
136
|
+
channel: string;
|
|
137
|
+
updatedAt: string;
|
|
138
138
|
countryCode?: string | undefined;
|
|
139
139
|
currencyCode?: string | undefined;
|
|
140
140
|
}>;
|
|
@@ -150,18 +150,18 @@ export declare const WalletDTOSchemas: {
|
|
|
150
150
|
id?: string | undefined;
|
|
151
151
|
accountNo?: string | undefined;
|
|
152
152
|
profileId?: string | undefined;
|
|
153
|
+
accountName?: string | undefined;
|
|
153
154
|
channel?: string | undefined;
|
|
154
155
|
countryCode?: string | undefined;
|
|
155
156
|
currencyCode?: string | undefined;
|
|
156
|
-
accountName?: string | undefined;
|
|
157
157
|
}, {
|
|
158
158
|
id?: string | undefined;
|
|
159
159
|
accountNo?: string | undefined;
|
|
160
160
|
profileId?: string | undefined;
|
|
161
|
+
accountName?: string | undefined;
|
|
161
162
|
channel?: string | undefined;
|
|
162
163
|
countryCode?: string | undefined;
|
|
163
164
|
currencyCode?: string | undefined;
|
|
164
|
-
accountName?: string | undefined;
|
|
165
165
|
}>;
|
|
166
166
|
statementEntry: z.ZodObject<{
|
|
167
167
|
accountNo: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
|