@temboplus/afloat 0.1.72 → 0.1.73
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/features/admin/admin.contract.d.ts +53 -53
- package/dist/features/admin/admin.repository.d.ts +5 -5
- package/dist/features/admin/index.d.ts +2 -2
- package/dist/features/auth/access/access.repository.d.ts +2 -2
- package/dist/features/auth/auth.manager.d.ts +2 -2
- package/dist/features/auth/auth.repository.d.ts +3 -3
- package/dist/features/auth/auth.store.d.ts +1 -1
- package/dist/features/auth/identity/identity.repository.d.ts +2 -2
- package/dist/features/auth/index.d.ts +5 -5
- package/dist/features/auth/profile/profile.repository.d.ts +3 -3
- package/dist/features/auth/storage/client-store.d.ts +2 -2
- package/dist/features/auth/storage/client-token-handler.d.ts +1 -1
- package/dist/features/contact/contact-input-handler.d.ts +2 -2
- package/dist/features/contact/contact.api-contract.d.ts +38 -38
- package/dist/features/contact/contact.dtos.d.ts +6 -6
- package/dist/features/contact/contact.repository.d.ts +4 -4
- package/dist/features/contact/index.d.ts +2 -2
- package/dist/features/payout/index.d.ts +3 -3
- package/dist/features/payout/payout-channel-handler.d.ts +3 -3
- package/dist/features/payout/payout.api-contract.d.ts +93 -93
- package/dist/features/payout/payout.dtos.d.ts +12 -12
- package/dist/features/payout/payout.repository.d.ts +5 -5
- package/dist/features/wallet/index.d.ts +4 -4
- package/dist/features/wallet/wallet-manager.session.d.ts +2 -2
- package/dist/features/wallet/wallet.contract.d.ts +7 -7
- package/dist/features/wallet/wallet.dtos.d.ts +14 -14
- package/dist/features/wallet/wallet.repository.d.ts +5 -5
- package/dist/features/wallet/wallet.utils.d.ts +1 -1
- package/dist/index.cjs.js +2 -0
- package/dist/index.cjs.js.map +1 -0
- package/dist/index.d.ts +7 -7
- package/dist/index.esm.js +2 -0
- package/dist/index.esm.js.map +1 -0
- package/dist/lib/api/index.d.ts +2 -2
- package/dist/lib/error/error.permission.d.ts +1 -1
- package/dist/lib/error/index.d.ts +3 -3
- package/dist/models/contact-info.model.d.ts +2 -2
- package/dist/models/contact.model.d.ts +2 -2
- package/dist/models/index.d.ts +11 -11
- package/dist/models/managed-user.model.d.ts +2 -2
- package/dist/models/narration.model.d.ts +1 -1
- package/dist/models/payout.model.d.ts +2 -2
- package/dist/models/profile.model.d.ts +1 -1
- package/dist/models/role.model.d.ts +1 -1
- package/dist/models/statement-entry.model.d.ts +2 -2
- package/dist/models/user.model.d.ts +1 -1
- package/dist/models/wallet.model.d.ts +1 -1
- package/package.json +12 -8
- package/dist/index.cjs +0 -2
- package/dist/index.cjs.map +0 -1
- package/dist/index.js +0 -2
- package/dist/index.js.map +0 -1
|
@@ -15,14 +15,14 @@ export declare const contract: {
|
|
|
15
15
|
displayName: z.ZodString;
|
|
16
16
|
accountNo: z.ZodString;
|
|
17
17
|
channel: z.ZodString;
|
|
18
|
-
type: z.ZodNativeEnum<typeof import("./contact.dtos").ContactType>;
|
|
18
|
+
type: z.ZodNativeEnum<typeof import("./contact.dtos.js").ContactType>;
|
|
19
19
|
}, "strip", z.ZodTypeAny, {
|
|
20
|
-
type: import("./contact.dtos").ContactType;
|
|
20
|
+
type: import("./contact.dtos.js").ContactType;
|
|
21
21
|
displayName: string;
|
|
22
22
|
accountNo: string;
|
|
23
23
|
channel: string;
|
|
24
24
|
}, {
|
|
25
|
-
type: import("./contact.dtos").ContactType;
|
|
25
|
+
type: import("./contact.dtos.js").ContactType;
|
|
26
26
|
displayName: string;
|
|
27
27
|
accountNo: string;
|
|
28
28
|
channel: string;
|
|
@@ -39,25 +39,25 @@ export declare const contract: {
|
|
|
39
39
|
displayName: z.ZodString;
|
|
40
40
|
accountNo: z.ZodString;
|
|
41
41
|
channel: z.ZodString;
|
|
42
|
-
type: z.ZodNativeEnum<typeof import("./contact.dtos").ContactType>;
|
|
42
|
+
type: z.ZodNativeEnum<typeof import("./contact.dtos.js").ContactType>;
|
|
43
43
|
}, "strip", z.ZodTypeAny, {
|
|
44
|
-
type: import("./contact.dtos").ContactType;
|
|
44
|
+
type: import("./contact.dtos.js").ContactType;
|
|
45
45
|
id: string;
|
|
46
|
-
displayName: string;
|
|
47
|
-
accountNo: string;
|
|
48
|
-
channel: string;
|
|
49
46
|
profileId: string;
|
|
50
47
|
createdAt: string;
|
|
51
48
|
updatedAt: string;
|
|
52
|
-
}, {
|
|
53
|
-
type: import("./contact.dtos").ContactType;
|
|
54
|
-
id: string;
|
|
55
49
|
displayName: string;
|
|
56
50
|
accountNo: string;
|
|
57
51
|
channel: string;
|
|
52
|
+
}, {
|
|
53
|
+
type: import("./contact.dtos.js").ContactType;
|
|
54
|
+
id: string;
|
|
58
55
|
profileId: string;
|
|
59
56
|
createdAt: string;
|
|
60
57
|
updatedAt: string;
|
|
58
|
+
displayName: string;
|
|
59
|
+
accountNo: string;
|
|
60
|
+
channel: string;
|
|
61
61
|
}>;
|
|
62
62
|
};
|
|
63
63
|
};
|
|
@@ -67,14 +67,14 @@ export declare const contract: {
|
|
|
67
67
|
displayName: z.ZodString;
|
|
68
68
|
accountNo: z.ZodString;
|
|
69
69
|
channel: z.ZodString;
|
|
70
|
-
type: z.ZodNativeEnum<typeof import("./contact.dtos").ContactType>;
|
|
70
|
+
type: z.ZodNativeEnum<typeof import("./contact.dtos.js").ContactType>;
|
|
71
71
|
}, "strip", z.ZodTypeAny, {
|
|
72
|
-
type: import("./contact.dtos").ContactType;
|
|
72
|
+
type: import("./contact.dtos.js").ContactType;
|
|
73
73
|
displayName: string;
|
|
74
74
|
accountNo: string;
|
|
75
75
|
channel: string;
|
|
76
76
|
}, {
|
|
77
|
-
type: import("./contact.dtos").ContactType;
|
|
77
|
+
type: import("./contact.dtos.js").ContactType;
|
|
78
78
|
displayName: string;
|
|
79
79
|
accountNo: string;
|
|
80
80
|
channel: string;
|
|
@@ -91,25 +91,25 @@ export declare const contract: {
|
|
|
91
91
|
displayName: z.ZodString;
|
|
92
92
|
accountNo: z.ZodString;
|
|
93
93
|
channel: z.ZodString;
|
|
94
|
-
type: z.ZodNativeEnum<typeof import("./contact.dtos").ContactType>;
|
|
94
|
+
type: z.ZodNativeEnum<typeof import("./contact.dtos.js").ContactType>;
|
|
95
95
|
}, "strip", z.ZodTypeAny, {
|
|
96
|
-
type: import("./contact.dtos").ContactType;
|
|
96
|
+
type: import("./contact.dtos.js").ContactType;
|
|
97
97
|
id: string;
|
|
98
|
-
displayName: string;
|
|
99
|
-
accountNo: string;
|
|
100
|
-
channel: string;
|
|
101
98
|
profileId: string;
|
|
102
99
|
createdAt: string;
|
|
103
100
|
updatedAt: string;
|
|
104
|
-
}, {
|
|
105
|
-
type: import("./contact.dtos").ContactType;
|
|
106
|
-
id: string;
|
|
107
101
|
displayName: string;
|
|
108
102
|
accountNo: string;
|
|
109
103
|
channel: string;
|
|
104
|
+
}, {
|
|
105
|
+
type: import("./contact.dtos.js").ContactType;
|
|
106
|
+
id: string;
|
|
110
107
|
profileId: string;
|
|
111
108
|
createdAt: string;
|
|
112
109
|
updatedAt: string;
|
|
110
|
+
displayName: string;
|
|
111
|
+
accountNo: string;
|
|
112
|
+
channel: string;
|
|
113
113
|
}>;
|
|
114
114
|
};
|
|
115
115
|
};
|
|
@@ -134,25 +134,25 @@ export declare const contract: {
|
|
|
134
134
|
displayName: z.ZodString;
|
|
135
135
|
accountNo: z.ZodString;
|
|
136
136
|
channel: z.ZodString;
|
|
137
|
-
type: z.ZodNativeEnum<typeof import("./contact.dtos").ContactType>;
|
|
137
|
+
type: z.ZodNativeEnum<typeof import("./contact.dtos.js").ContactType>;
|
|
138
138
|
}, "strip", z.ZodTypeAny, {
|
|
139
|
-
type: import("./contact.dtos").ContactType;
|
|
139
|
+
type: import("./contact.dtos.js").ContactType;
|
|
140
140
|
id: string;
|
|
141
|
-
displayName: string;
|
|
142
|
-
accountNo: string;
|
|
143
|
-
channel: string;
|
|
144
141
|
profileId: string;
|
|
145
142
|
createdAt: string;
|
|
146
143
|
updatedAt: string;
|
|
147
|
-
}, {
|
|
148
|
-
type: import("./contact.dtos").ContactType;
|
|
149
|
-
id: string;
|
|
150
144
|
displayName: string;
|
|
151
145
|
accountNo: string;
|
|
152
146
|
channel: string;
|
|
147
|
+
}, {
|
|
148
|
+
type: import("./contact.dtos.js").ContactType;
|
|
149
|
+
id: string;
|
|
153
150
|
profileId: string;
|
|
154
151
|
createdAt: string;
|
|
155
152
|
updatedAt: string;
|
|
153
|
+
displayName: string;
|
|
154
|
+
accountNo: string;
|
|
155
|
+
channel: string;
|
|
156
156
|
}>, "many">;
|
|
157
157
|
};
|
|
158
158
|
};
|
|
@@ -170,25 +170,25 @@ export declare const contract: {
|
|
|
170
170
|
displayName: z.ZodString;
|
|
171
171
|
accountNo: z.ZodString;
|
|
172
172
|
channel: z.ZodString;
|
|
173
|
-
type: z.ZodNativeEnum<typeof import("./contact.dtos").ContactType>;
|
|
173
|
+
type: z.ZodNativeEnum<typeof import("./contact.dtos.js").ContactType>;
|
|
174
174
|
}, "strip", z.ZodTypeAny, {
|
|
175
|
-
type: import("./contact.dtos").ContactType;
|
|
175
|
+
type: import("./contact.dtos.js").ContactType;
|
|
176
176
|
id: string;
|
|
177
|
-
displayName: string;
|
|
178
|
-
accountNo: string;
|
|
179
|
-
channel: string;
|
|
180
177
|
profileId: string;
|
|
181
178
|
createdAt: string;
|
|
182
179
|
updatedAt: string;
|
|
183
|
-
}, {
|
|
184
|
-
type: import("./contact.dtos").ContactType;
|
|
185
|
-
id: string;
|
|
186
180
|
displayName: string;
|
|
187
181
|
accountNo: string;
|
|
188
182
|
channel: string;
|
|
183
|
+
}, {
|
|
184
|
+
type: import("./contact.dtos.js").ContactType;
|
|
185
|
+
id: string;
|
|
189
186
|
profileId: string;
|
|
190
187
|
createdAt: string;
|
|
191
188
|
updatedAt: string;
|
|
189
|
+
displayName: string;
|
|
190
|
+
accountNo: string;
|
|
191
|
+
channel: string;
|
|
192
192
|
}>;
|
|
193
193
|
};
|
|
194
194
|
};
|
|
@@ -46,21 +46,21 @@ export declare const ContactDTOSchemas: {
|
|
|
46
46
|
}, "strip", z.ZodTypeAny, {
|
|
47
47
|
type: ContactType;
|
|
48
48
|
id: string;
|
|
49
|
-
displayName: string;
|
|
50
|
-
accountNo: string;
|
|
51
|
-
channel: string;
|
|
52
49
|
profileId: string;
|
|
53
50
|
createdAt: string;
|
|
54
51
|
updatedAt: string;
|
|
55
|
-
}, {
|
|
56
|
-
type: ContactType;
|
|
57
|
-
id: string;
|
|
58
52
|
displayName: string;
|
|
59
53
|
accountNo: string;
|
|
60
54
|
channel: string;
|
|
55
|
+
}, {
|
|
56
|
+
type: ContactType;
|
|
57
|
+
id: string;
|
|
61
58
|
profileId: string;
|
|
62
59
|
createdAt: string;
|
|
63
60
|
updatedAt: string;
|
|
61
|
+
displayName: string;
|
|
62
|
+
accountNo: string;
|
|
63
|
+
channel: string;
|
|
64
64
|
}>;
|
|
65
65
|
/** Schema for contact input validation */
|
|
66
66
|
contactInputDTO: z.ZodObject<{
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { BaseRepository } from "
|
|
2
|
-
import {
|
|
3
|
-
import { Contact } from "
|
|
4
|
-
import {
|
|
1
|
+
import { BaseRepository } from "@/lib/api/base-repository.js";
|
|
2
|
+
import { ContactInfo } from "@/models/contact-info.model.js";
|
|
3
|
+
import { Contact } from "@/models/contact.model.js";
|
|
4
|
+
import { contract } from "./contact.api-contract.js";
|
|
5
5
|
/**
|
|
6
6
|
* Repository class for managing Contact data through API interactions.
|
|
7
7
|
* Handles contact creation, updates, deletion, and retrieval operations.
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "./contact.repository";
|
|
2
|
-
export * from "./contact.dtos";
|
|
1
|
+
export * from "./contact.repository.js";
|
|
2
|
+
export * from "./contact.dtos.js";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from "./payout.repository";
|
|
2
|
-
export * from "./payout.dtos";
|
|
3
|
-
export * from "./payout-channel-handler";
|
|
1
|
+
export * from "./payout.repository.js";
|
|
2
|
+
export * from "./payout.dtos.js";
|
|
3
|
+
export * from "./payout-channel-handler.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { ContactInfo, BankContactInfo } from "@/models/contact-info.model.js";
|
|
2
|
+
import { Wallet } from "@/models/wallet.model.js";
|
|
1
3
|
import { Amount, MNOId, PhoneNumber } from "@temboplus/frontend-core";
|
|
2
|
-
import { PayoutChannel, PayoutInputDTO } from "./payout.dtos";
|
|
3
|
-
import { ContactInfo, BankContactInfo } from "../../models/contact-info.model";
|
|
4
|
-
import { Wallet } from "@/models/wallet.model";
|
|
4
|
+
import { PayoutChannel, PayoutInputDTO } from "./payout.dtos.js";
|
|
5
5
|
/**
|
|
6
6
|
* Valid payout channel codes that can be used in the system
|
|
7
7
|
*
|