@temboplus/afloat 0.1.76-beta.0 → 0.1.77-beta.10
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 +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/lib/error/error.permission.d.ts +1 -1
- package/dist/modules/auth/auth.contract.d.ts +6 -6
- package/dist/modules/auth/auth.manager.d.ts +1 -1
- package/dist/modules/auth/company-membership.model.d.ts +171 -0
- package/dist/modules/auth/index.d.ts +1 -1
- package/dist/modules/auth/user.model.d.ts +330 -33
- package/dist/modules/contact/contact-info.model.d.ts +183 -533
- package/dist/modules/contact/contact.api-contract.d.ts +16 -16
- package/dist/modules/contact/contact.dtos.d.ts +4 -4
- package/dist/modules/contact/contact.model.d.ts +309 -32
- package/dist/modules/login/index.d.ts +2 -0
- package/dist/modules/login/login.api-contract.d.ts +34 -5
- package/dist/modules/login/login.dtos.d.ts +85 -0
- package/dist/modules/login/login.model.d.ts +168 -1
- package/dist/modules/{auth → login}/permission.type.d.ts +8 -8
- package/dist/modules/payout/payout.api-contract.d.ts +46 -46
- package/dist/modules/payout/payout.dtos.d.ts +30 -24
- package/dist/modules/payout/payout.model.d.ts +242 -2
- package/dist/modules/payout/payout.query.d.ts +7 -0
- package/dist/modules/profile/profile.model.d.ts +65 -30
- package/dist/modules/team-member/index.d.ts +4 -0
- package/dist/modules/team-member/role.model.d.ts +61 -0
- package/dist/modules/{user/user.contract.d.ts → team-member/team-member.contract.d.ts} +238 -127
- package/dist/modules/team-member/team-member.dtos.d.ts +261 -0
- package/dist/modules/team-member/team-member.model.d.ts +237 -0
- package/dist/modules/team-member/team-member.repository.d.ts +179 -0
- package/dist/modules/wallet/narration.model.d.ts +34 -38
- package/dist/modules/wallet/statement-entry.model.d.ts +172 -73
- package/dist/modules/wallet/wallet.contract.d.ts +4 -4
- package/dist/modules/wallet/wallet.dtos.d.ts +8 -8
- package/dist/modules/wallet/wallet.model.d.ts +56 -19
- package/dist/modules/wallet/wallet.query.d.ts +95 -0
- package/dist/modules/wallet/wallet.repository.d.ts +45 -13
- package/package.json +2 -2
- package/dist/modules/user/index.d.ts +0 -4
- package/dist/modules/user/role.model.d.ts +0 -13
- package/dist/modules/user/user.dtos.d.ts +0 -145
- package/dist/modules/user/user.model.d.ts +0 -108
- package/dist/modules/user/user.repository.d.ts +0 -179
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import z from "zod";
|
|
2
|
+
declare const LogInDTOSchema: z.ZodObject<{
|
|
3
|
+
id: z.ZodString;
|
|
4
|
+
profileId: z.ZodString;
|
|
5
|
+
name: z.ZodString;
|
|
6
|
+
identity: z.ZodString;
|
|
7
|
+
type: z.ZodString;
|
|
8
|
+
roleId: z.ZodString;
|
|
9
|
+
isActive: z.ZodBoolean;
|
|
10
|
+
isArchived: z.ZodBoolean;
|
|
11
|
+
resetPassword: z.ZodBoolean;
|
|
12
|
+
createdAt: z.ZodString;
|
|
13
|
+
updatedAt: z.ZodString;
|
|
14
|
+
access: z.ZodArray<z.ZodString, "many">;
|
|
15
|
+
}, "strip", z.ZodTypeAny, {
|
|
16
|
+
type: string;
|
|
17
|
+
name: string;
|
|
18
|
+
id: string;
|
|
19
|
+
profileId: string;
|
|
20
|
+
identity: string;
|
|
21
|
+
roleId: string;
|
|
22
|
+
isActive: boolean;
|
|
23
|
+
isArchived: boolean;
|
|
24
|
+
resetPassword: boolean;
|
|
25
|
+
createdAt: string;
|
|
26
|
+
updatedAt: string;
|
|
27
|
+
access: string[];
|
|
28
|
+
}, {
|
|
29
|
+
type: string;
|
|
30
|
+
name: string;
|
|
31
|
+
id: string;
|
|
32
|
+
profileId: string;
|
|
33
|
+
identity: string;
|
|
34
|
+
roleId: string;
|
|
35
|
+
isActive: boolean;
|
|
36
|
+
isArchived: boolean;
|
|
37
|
+
resetPassword: boolean;
|
|
38
|
+
createdAt: string;
|
|
39
|
+
updatedAt: string;
|
|
40
|
+
access: string[];
|
|
41
|
+
}>;
|
|
42
|
+
export declare const LogInSchemas: {
|
|
43
|
+
loginDTO: z.ZodObject<{
|
|
44
|
+
id: z.ZodString;
|
|
45
|
+
profileId: z.ZodString;
|
|
46
|
+
name: z.ZodString;
|
|
47
|
+
identity: z.ZodString;
|
|
48
|
+
type: z.ZodString;
|
|
49
|
+
roleId: z.ZodString;
|
|
50
|
+
isActive: z.ZodBoolean;
|
|
51
|
+
isArchived: z.ZodBoolean;
|
|
52
|
+
resetPassword: z.ZodBoolean;
|
|
53
|
+
createdAt: z.ZodString;
|
|
54
|
+
updatedAt: z.ZodString;
|
|
55
|
+
access: z.ZodArray<z.ZodString, "many">;
|
|
56
|
+
}, "strip", z.ZodTypeAny, {
|
|
57
|
+
type: string;
|
|
58
|
+
name: string;
|
|
59
|
+
id: string;
|
|
60
|
+
profileId: string;
|
|
61
|
+
identity: string;
|
|
62
|
+
roleId: string;
|
|
63
|
+
isActive: boolean;
|
|
64
|
+
isArchived: boolean;
|
|
65
|
+
resetPassword: boolean;
|
|
66
|
+
createdAt: string;
|
|
67
|
+
updatedAt: string;
|
|
68
|
+
access: string[];
|
|
69
|
+
}, {
|
|
70
|
+
type: string;
|
|
71
|
+
name: string;
|
|
72
|
+
id: string;
|
|
73
|
+
profileId: string;
|
|
74
|
+
identity: string;
|
|
75
|
+
roleId: string;
|
|
76
|
+
isActive: boolean;
|
|
77
|
+
isArchived: boolean;
|
|
78
|
+
resetPassword: boolean;
|
|
79
|
+
createdAt: string;
|
|
80
|
+
updatedAt: string;
|
|
81
|
+
access: string[];
|
|
82
|
+
}>;
|
|
83
|
+
};
|
|
84
|
+
export type LogInDTO = z.infer<typeof LogInDTOSchema>;
|
|
85
|
+
export {};
|
|
@@ -1 +1,168 @@
|
|
|
1
|
-
|
|
1
|
+
import { LogInDTO } from "./login.dtos.js";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
/**
|
|
4
|
+
* Zod schema for LogIn JSON serialization
|
|
5
|
+
* This schema validates the JSON representation of a LogIn instance
|
|
6
|
+
*/
|
|
7
|
+
export declare const LogInJSONSchema: z.ZodObject<{
|
|
8
|
+
id: z.ZodString;
|
|
9
|
+
profileId: z.ZodString;
|
|
10
|
+
name: z.ZodString;
|
|
11
|
+
identity: z.ZodString;
|
|
12
|
+
type: z.ZodString;
|
|
13
|
+
roleId: z.ZodString;
|
|
14
|
+
isActive: z.ZodBoolean;
|
|
15
|
+
isArchived: z.ZodBoolean;
|
|
16
|
+
resetPassword: z.ZodBoolean;
|
|
17
|
+
createdAt: z.ZodString;
|
|
18
|
+
updatedAt: z.ZodString;
|
|
19
|
+
access: z.ZodArray<z.ZodString, "many">;
|
|
20
|
+
version: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
21
|
+
}, "strip", z.ZodTypeAny, {
|
|
22
|
+
type: string;
|
|
23
|
+
name: string;
|
|
24
|
+
id: string;
|
|
25
|
+
version: string;
|
|
26
|
+
profileId: string;
|
|
27
|
+
identity: string;
|
|
28
|
+
roleId: string;
|
|
29
|
+
isActive: boolean;
|
|
30
|
+
isArchived: boolean;
|
|
31
|
+
resetPassword: boolean;
|
|
32
|
+
createdAt: string;
|
|
33
|
+
updatedAt: string;
|
|
34
|
+
access: string[];
|
|
35
|
+
}, {
|
|
36
|
+
type: string;
|
|
37
|
+
name: string;
|
|
38
|
+
id: string;
|
|
39
|
+
profileId: string;
|
|
40
|
+
identity: string;
|
|
41
|
+
roleId: string;
|
|
42
|
+
isActive: boolean;
|
|
43
|
+
isArchived: boolean;
|
|
44
|
+
resetPassword: boolean;
|
|
45
|
+
createdAt: string;
|
|
46
|
+
updatedAt: string;
|
|
47
|
+
access: string[];
|
|
48
|
+
version?: string | undefined;
|
|
49
|
+
}>;
|
|
50
|
+
/**
|
|
51
|
+
* Infer the LogInJSON type from the schema
|
|
52
|
+
*/
|
|
53
|
+
export type LogInJSON = z.infer<typeof LogInJSONSchema>;
|
|
54
|
+
/**
|
|
55
|
+
* Represents the authenticated user's identity and account information.
|
|
56
|
+
*
|
|
57
|
+
* This class encapsulates the complete user account data returned from /login/me:
|
|
58
|
+
* - Basic identity: name, email (identity)
|
|
59
|
+
* - Account metadata: id, profileId, type, roleId
|
|
60
|
+
* - Account status: isActive, isArchived, resetPassword
|
|
61
|
+
* - Permissions: access array
|
|
62
|
+
* - Audit trail: createdAt, updatedAt
|
|
63
|
+
*/
|
|
64
|
+
export declare class LogIn {
|
|
65
|
+
private readonly _id;
|
|
66
|
+
private readonly _profileId;
|
|
67
|
+
private readonly _name;
|
|
68
|
+
private readonly _identity;
|
|
69
|
+
private readonly _type;
|
|
70
|
+
private readonly _roleId;
|
|
71
|
+
private readonly _isActive;
|
|
72
|
+
private readonly _isArchived;
|
|
73
|
+
private readonly _resetPassword;
|
|
74
|
+
private readonly _createdAt;
|
|
75
|
+
private readonly _updatedAt;
|
|
76
|
+
private readonly _access;
|
|
77
|
+
private constructor();
|
|
78
|
+
/**
|
|
79
|
+
* Creates a LogIn instance from a validated DTO.
|
|
80
|
+
*
|
|
81
|
+
* @param dto - The login data transfer object from /login/me endpoint
|
|
82
|
+
* @returns A new LogIn instance
|
|
83
|
+
* @throws {ZodError} If the DTO fails validation
|
|
84
|
+
*
|
|
85
|
+
* @example
|
|
86
|
+
* ```typescript
|
|
87
|
+
* const logIn = LogIn.from({
|
|
88
|
+
* id: "n4mpb2HqHUlg",
|
|
89
|
+
* profileId: "M63ZW3q5Mg0n",
|
|
90
|
+
* name: "Admin",
|
|
91
|
+
* identity: "admin@test.temboplus.com",
|
|
92
|
+
* type: "password",
|
|
93
|
+
* roleId: "4jS7pR8E9K6W",
|
|
94
|
+
* isActive: true,
|
|
95
|
+
* isArchived: false,
|
|
96
|
+
* resetPassword: false,
|
|
97
|
+
* createdAt: "2024-04-25T11:13:00.000Z",
|
|
98
|
+
* updatedAt: "2024-04-25T11:13:00.000Z",
|
|
99
|
+
* access: ["profile.getCurrent", "profile.update", ...]
|
|
100
|
+
* });
|
|
101
|
+
* ```
|
|
102
|
+
*/
|
|
103
|
+
static from(dto: LogInDTO): LogIn;
|
|
104
|
+
/**
|
|
105
|
+
* Gets the user's unique identifier.
|
|
106
|
+
*/
|
|
107
|
+
get id(): string;
|
|
108
|
+
/**
|
|
109
|
+
* Gets the profile ID this user belongs to.
|
|
110
|
+
*/
|
|
111
|
+
get profileId(): string;
|
|
112
|
+
/**
|
|
113
|
+
* Gets the user's name.
|
|
114
|
+
*/
|
|
115
|
+
get name(): string;
|
|
116
|
+
/**
|
|
117
|
+
* Gets the user's identity (email address).
|
|
118
|
+
*/
|
|
119
|
+
get identity(): string;
|
|
120
|
+
/**
|
|
121
|
+
* Gets the user's authentication type (e.g., "password").
|
|
122
|
+
*/
|
|
123
|
+
get type(): string;
|
|
124
|
+
/**
|
|
125
|
+
* Gets the user's role ID.
|
|
126
|
+
*/
|
|
127
|
+
get roleId(): string;
|
|
128
|
+
/**
|
|
129
|
+
* Gets whether the account is active.
|
|
130
|
+
*/
|
|
131
|
+
get isActive(): boolean;
|
|
132
|
+
/**
|
|
133
|
+
* Gets whether the account is archived.
|
|
134
|
+
*/
|
|
135
|
+
get isArchived(): boolean;
|
|
136
|
+
/**
|
|
137
|
+
* Gets whether the user must reset their password.
|
|
138
|
+
*/
|
|
139
|
+
get resetPassword(): boolean;
|
|
140
|
+
/**
|
|
141
|
+
* Gets the account creation date.
|
|
142
|
+
*/
|
|
143
|
+
get createdAt(): Date;
|
|
144
|
+
/**
|
|
145
|
+
* Gets the last update date.
|
|
146
|
+
*/
|
|
147
|
+
get updatedAt(): Date;
|
|
148
|
+
/**
|
|
149
|
+
* Gets the user's permissions/access list.
|
|
150
|
+
*/
|
|
151
|
+
get access(): ReadonlyArray<string>;
|
|
152
|
+
/**
|
|
153
|
+
* Serializes the LogIn instance to a JSON-compatible object
|
|
154
|
+
*/
|
|
155
|
+
toJSON(): LogInJSON;
|
|
156
|
+
/**
|
|
157
|
+
* Serializes the LogIn instance to a JSON string
|
|
158
|
+
*/
|
|
159
|
+
toJSONString(): string;
|
|
160
|
+
/**
|
|
161
|
+
* Creates a LogIn instance from a JSON-compatible object or string
|
|
162
|
+
*/
|
|
163
|
+
static fromJSON(json: LogInJSON | string): LogIn | undefined;
|
|
164
|
+
/**
|
|
165
|
+
* Type guard using Zod schema validation
|
|
166
|
+
*/
|
|
167
|
+
static isLogInJSON(obj: unknown): obj is LogInJSON;
|
|
168
|
+
}
|
|
@@ -38,17 +38,17 @@ export declare const Permissions: {
|
|
|
38
38
|
readonly ViewRoles: "role.findAll";
|
|
39
39
|
readonly ViewRole: "role.findById";
|
|
40
40
|
};
|
|
41
|
-
readonly
|
|
42
|
-
readonly
|
|
43
|
-
readonly
|
|
44
|
-
readonly
|
|
45
|
-
readonly
|
|
46
|
-
readonly
|
|
47
|
-
readonly
|
|
41
|
+
readonly TeamManagement: {
|
|
42
|
+
readonly ViewMembers: "login.findAll";
|
|
43
|
+
readonly ViewMember: "login.findById";
|
|
44
|
+
readonly CreateMember: "login.create";
|
|
45
|
+
readonly UpdateMember: "login.update";
|
|
46
|
+
readonly ArchiveMember: "login.archive";
|
|
47
|
+
readonly UnArchiveMember: "login.unarchive";
|
|
48
48
|
readonly ResetPassword: "login.resetPassword";
|
|
49
49
|
};
|
|
50
50
|
};
|
|
51
51
|
/**
|
|
52
52
|
* Permission Type
|
|
53
53
|
*/
|
|
54
|
-
export type Permission = (typeof Permissions.Profile)[keyof typeof Permissions.Profile] | (typeof Permissions.Contact)[keyof typeof Permissions.Contact] | (typeof Permissions.Payment)[keyof typeof Permissions.Payment] | (typeof Permissions.Payout)[keyof typeof Permissions.Payout] | (typeof Permissions.Transfer)[keyof typeof Permissions.Transfer] | (typeof Permissions.
|
|
54
|
+
export type Permission = (typeof Permissions.Profile)[keyof typeof Permissions.Profile] | (typeof Permissions.Contact)[keyof typeof Permissions.Contact] | (typeof Permissions.Payment)[keyof typeof Permissions.Payment] | (typeof Permissions.Payout)[keyof typeof Permissions.Payout] | (typeof Permissions.Transfer)[keyof typeof Permissions.Transfer] | (typeof Permissions.TeamManagement)[keyof typeof Permissions.TeamManagement] | (typeof Permissions.Role)[keyof typeof Permissions.Role] | (typeof Permissions.Wallet)[keyof typeof Permissions.Wallet];
|
|
@@ -67,15 +67,15 @@ export declare const contract: {
|
|
|
67
67
|
}, "strip", z.ZodTypeAny, {
|
|
68
68
|
status: import("./payout.dtos.js").PayoutStatus;
|
|
69
69
|
id: string;
|
|
70
|
-
createdAt: Date;
|
|
71
70
|
profileId: string;
|
|
71
|
+
createdAt: Date;
|
|
72
|
+
updatedAt: Date;
|
|
73
|
+
description: string;
|
|
72
74
|
channel: string;
|
|
73
75
|
countryCode: import("@temboplus/frontend-core").ISO2CountryCode;
|
|
74
76
|
currencyCode: import("@temboplus/frontend-core").CurrencyCode;
|
|
75
|
-
updatedAt: Date;
|
|
76
77
|
msisdn: string;
|
|
77
78
|
amount: number;
|
|
78
|
-
description: string;
|
|
79
79
|
payeeName: string;
|
|
80
80
|
statusMessage: string;
|
|
81
81
|
notes?: string | null | undefined;
|
|
@@ -95,13 +95,13 @@ export declare const contract: {
|
|
|
95
95
|
}, {
|
|
96
96
|
status: import("./payout.dtos.js").PayoutStatus;
|
|
97
97
|
id: string;
|
|
98
|
-
createdAt: Date;
|
|
99
98
|
profileId: string;
|
|
100
|
-
|
|
99
|
+
createdAt: Date;
|
|
101
100
|
updatedAt: Date;
|
|
101
|
+
description: string;
|
|
102
|
+
channel: string;
|
|
102
103
|
msisdn: string;
|
|
103
104
|
amount: number;
|
|
104
|
-
description: string;
|
|
105
105
|
payeeName: string;
|
|
106
106
|
statusMessage: string;
|
|
107
107
|
countryCode?: string | undefined;
|
|
@@ -127,15 +127,15 @@ export declare const contract: {
|
|
|
127
127
|
results: {
|
|
128
128
|
status: import("./payout.dtos.js").PayoutStatus;
|
|
129
129
|
id: string;
|
|
130
|
-
createdAt: Date;
|
|
131
130
|
profileId: string;
|
|
131
|
+
createdAt: Date;
|
|
132
|
+
updatedAt: Date;
|
|
133
|
+
description: string;
|
|
132
134
|
channel: string;
|
|
133
135
|
countryCode: import("@temboplus/frontend-core").ISO2CountryCode;
|
|
134
136
|
currencyCode: import("@temboplus/frontend-core").CurrencyCode;
|
|
135
|
-
updatedAt: Date;
|
|
136
137
|
msisdn: string;
|
|
137
138
|
amount: number;
|
|
138
|
-
description: string;
|
|
139
139
|
payeeName: string;
|
|
140
140
|
statusMessage: string;
|
|
141
141
|
notes?: string | null | undefined;
|
|
@@ -158,13 +158,13 @@ export declare const contract: {
|
|
|
158
158
|
results: {
|
|
159
159
|
status: import("./payout.dtos.js").PayoutStatus;
|
|
160
160
|
id: string;
|
|
161
|
-
createdAt: Date;
|
|
162
161
|
profileId: string;
|
|
163
|
-
|
|
162
|
+
createdAt: Date;
|
|
164
163
|
updatedAt: Date;
|
|
164
|
+
description: string;
|
|
165
|
+
channel: string;
|
|
165
166
|
msisdn: string;
|
|
166
167
|
amount: number;
|
|
167
|
-
description: string;
|
|
168
168
|
payeeName: string;
|
|
169
169
|
statusMessage: string;
|
|
170
170
|
countryCode?: string | undefined;
|
|
@@ -195,16 +195,16 @@ export declare const contract: {
|
|
|
195
195
|
approvalStatus: z.ZodNativeEnum<typeof import("./payout.dtos.js").PayoutApprovalStatus>;
|
|
196
196
|
orderByDesc: z.ZodString;
|
|
197
197
|
}, "strip", z.ZodTypeAny, {
|
|
198
|
+
eager: string;
|
|
198
199
|
rangeStart: number;
|
|
199
200
|
rangeEnd: number;
|
|
200
201
|
orderByDesc: string;
|
|
201
|
-
eager: string;
|
|
202
202
|
approvalStatus: import("./payout.dtos.js").PayoutApprovalStatus;
|
|
203
203
|
}, {
|
|
204
|
+
eager: string;
|
|
204
205
|
rangeStart: number;
|
|
205
206
|
rangeEnd: number;
|
|
206
207
|
orderByDesc: string;
|
|
207
|
-
eager: string;
|
|
208
208
|
approvalStatus: import("./payout.dtos.js").PayoutApprovalStatus;
|
|
209
209
|
}>;
|
|
210
210
|
method: "GET";
|
|
@@ -259,15 +259,15 @@ export declare const contract: {
|
|
|
259
259
|
}, "strip", z.ZodTypeAny, {
|
|
260
260
|
status: import("./payout.dtos.js").PayoutStatus;
|
|
261
261
|
id: string;
|
|
262
|
-
createdAt: Date;
|
|
263
262
|
profileId: string;
|
|
263
|
+
createdAt: Date;
|
|
264
|
+
updatedAt: Date;
|
|
265
|
+
description: string;
|
|
264
266
|
channel: string;
|
|
265
267
|
countryCode: import("@temboplus/frontend-core").ISO2CountryCode;
|
|
266
268
|
currencyCode: import("@temboplus/frontend-core").CurrencyCode;
|
|
267
|
-
updatedAt: Date;
|
|
268
269
|
msisdn: string;
|
|
269
270
|
amount: number;
|
|
270
|
-
description: string;
|
|
271
271
|
payeeName: string;
|
|
272
272
|
statusMessage: string;
|
|
273
273
|
notes?: string | null | undefined;
|
|
@@ -287,13 +287,13 @@ export declare const contract: {
|
|
|
287
287
|
}, {
|
|
288
288
|
status: import("./payout.dtos.js").PayoutStatus;
|
|
289
289
|
id: string;
|
|
290
|
-
createdAt: Date;
|
|
291
290
|
profileId: string;
|
|
292
|
-
|
|
291
|
+
createdAt: Date;
|
|
293
292
|
updatedAt: Date;
|
|
293
|
+
description: string;
|
|
294
|
+
channel: string;
|
|
294
295
|
msisdn: string;
|
|
295
296
|
amount: number;
|
|
296
|
-
description: string;
|
|
297
297
|
payeeName: string;
|
|
298
298
|
statusMessage: string;
|
|
299
299
|
countryCode?: string | undefined;
|
|
@@ -319,15 +319,15 @@ export declare const contract: {
|
|
|
319
319
|
results: {
|
|
320
320
|
status: import("./payout.dtos.js").PayoutStatus;
|
|
321
321
|
id: string;
|
|
322
|
-
createdAt: Date;
|
|
323
322
|
profileId: string;
|
|
323
|
+
createdAt: Date;
|
|
324
|
+
updatedAt: Date;
|
|
325
|
+
description: string;
|
|
324
326
|
channel: string;
|
|
325
327
|
countryCode: import("@temboplus/frontend-core").ISO2CountryCode;
|
|
326
328
|
currencyCode: import("@temboplus/frontend-core").CurrencyCode;
|
|
327
|
-
updatedAt: Date;
|
|
328
329
|
msisdn: string;
|
|
329
330
|
amount: number;
|
|
330
|
-
description: string;
|
|
331
331
|
payeeName: string;
|
|
332
332
|
statusMessage: string;
|
|
333
333
|
notes?: string | null | undefined;
|
|
@@ -350,13 +350,13 @@ export declare const contract: {
|
|
|
350
350
|
results: {
|
|
351
351
|
status: import("./payout.dtos.js").PayoutStatus;
|
|
352
352
|
id: string;
|
|
353
|
-
createdAt: Date;
|
|
354
353
|
profileId: string;
|
|
355
|
-
|
|
354
|
+
createdAt: Date;
|
|
356
355
|
updatedAt: Date;
|
|
356
|
+
description: string;
|
|
357
|
+
channel: string;
|
|
357
358
|
msisdn: string;
|
|
358
359
|
amount: number;
|
|
359
|
-
description: string;
|
|
360
360
|
payeeName: string;
|
|
361
361
|
statusMessage: string;
|
|
362
362
|
countryCode?: string | undefined;
|
|
@@ -390,17 +390,17 @@ export declare const contract: {
|
|
|
390
390
|
} & {
|
|
391
391
|
payeeName: z.ZodString;
|
|
392
392
|
}, "strip", z.ZodTypeAny, {
|
|
393
|
+
description: string;
|
|
393
394
|
channel: string;
|
|
394
395
|
msisdn: string;
|
|
395
396
|
amount: number;
|
|
396
|
-
description: string;
|
|
397
397
|
payeeName: string;
|
|
398
398
|
notes?: string | null | undefined;
|
|
399
399
|
}, {
|
|
400
|
+
description: string;
|
|
400
401
|
channel: string;
|
|
401
402
|
msisdn: string;
|
|
402
403
|
amount: number;
|
|
403
|
-
description: string;
|
|
404
404
|
payeeName: string;
|
|
405
405
|
notes?: string | null | undefined;
|
|
406
406
|
}>;
|
|
@@ -454,15 +454,15 @@ export declare const contract: {
|
|
|
454
454
|
}, "strip", z.ZodTypeAny, {
|
|
455
455
|
status: import("./payout.dtos.js").PayoutStatus;
|
|
456
456
|
id: string;
|
|
457
|
-
createdAt: Date;
|
|
458
457
|
profileId: string;
|
|
458
|
+
createdAt: Date;
|
|
459
|
+
updatedAt: Date;
|
|
460
|
+
description: string;
|
|
459
461
|
channel: string;
|
|
460
462
|
countryCode: import("@temboplus/frontend-core").ISO2CountryCode;
|
|
461
463
|
currencyCode: import("@temboplus/frontend-core").CurrencyCode;
|
|
462
|
-
updatedAt: Date;
|
|
463
464
|
msisdn: string;
|
|
464
465
|
amount: number;
|
|
465
|
-
description: string;
|
|
466
466
|
payeeName: string;
|
|
467
467
|
statusMessage: string;
|
|
468
468
|
notes?: string | null | undefined;
|
|
@@ -482,13 +482,13 @@ export declare const contract: {
|
|
|
482
482
|
}, {
|
|
483
483
|
status: import("./payout.dtos.js").PayoutStatus;
|
|
484
484
|
id: string;
|
|
485
|
-
createdAt: Date;
|
|
486
485
|
profileId: string;
|
|
487
|
-
|
|
486
|
+
createdAt: Date;
|
|
488
487
|
updatedAt: Date;
|
|
488
|
+
description: string;
|
|
489
|
+
channel: string;
|
|
489
490
|
msisdn: string;
|
|
490
491
|
amount: number;
|
|
491
|
-
description: string;
|
|
492
492
|
payeeName: string;
|
|
493
493
|
statusMessage: string;
|
|
494
494
|
countryCode?: string | undefined;
|
|
@@ -592,15 +592,15 @@ export declare const contract: {
|
|
|
592
592
|
}, "strip", z.ZodTypeAny, {
|
|
593
593
|
status: import("./payout.dtos.js").PayoutStatus;
|
|
594
594
|
id: string;
|
|
595
|
-
createdAt: Date;
|
|
596
595
|
profileId: string;
|
|
596
|
+
createdAt: Date;
|
|
597
|
+
updatedAt: Date;
|
|
598
|
+
description: string;
|
|
597
599
|
channel: string;
|
|
598
600
|
countryCode: import("@temboplus/frontend-core").ISO2CountryCode;
|
|
599
601
|
currencyCode: import("@temboplus/frontend-core").CurrencyCode;
|
|
600
|
-
updatedAt: Date;
|
|
601
602
|
msisdn: string;
|
|
602
603
|
amount: number;
|
|
603
|
-
description: string;
|
|
604
604
|
payeeName: string;
|
|
605
605
|
statusMessage: string;
|
|
606
606
|
notes?: string | null | undefined;
|
|
@@ -620,13 +620,13 @@ export declare const contract: {
|
|
|
620
620
|
}, {
|
|
621
621
|
status: import("./payout.dtos.js").PayoutStatus;
|
|
622
622
|
id: string;
|
|
623
|
-
createdAt: Date;
|
|
624
623
|
profileId: string;
|
|
625
|
-
|
|
624
|
+
createdAt: Date;
|
|
626
625
|
updatedAt: Date;
|
|
626
|
+
description: string;
|
|
627
|
+
channel: string;
|
|
627
628
|
msisdn: string;
|
|
628
629
|
amount: number;
|
|
629
|
-
description: string;
|
|
630
630
|
payeeName: string;
|
|
631
631
|
statusMessage: string;
|
|
632
632
|
countryCode?: string | undefined;
|
|
@@ -702,15 +702,15 @@ export declare const contract: {
|
|
|
702
702
|
}, "strip", z.ZodTypeAny, {
|
|
703
703
|
status: import("./payout.dtos.js").PayoutStatus;
|
|
704
704
|
id: string;
|
|
705
|
-
createdAt: Date;
|
|
706
705
|
profileId: string;
|
|
706
|
+
createdAt: Date;
|
|
707
|
+
updatedAt: Date;
|
|
708
|
+
description: string;
|
|
707
709
|
channel: string;
|
|
708
710
|
countryCode: import("@temboplus/frontend-core").ISO2CountryCode;
|
|
709
711
|
currencyCode: import("@temboplus/frontend-core").CurrencyCode;
|
|
710
|
-
updatedAt: Date;
|
|
711
712
|
msisdn: string;
|
|
712
713
|
amount: number;
|
|
713
|
-
description: string;
|
|
714
714
|
payeeName: string;
|
|
715
715
|
statusMessage: string;
|
|
716
716
|
notes?: string | null | undefined;
|
|
@@ -730,13 +730,13 @@ export declare const contract: {
|
|
|
730
730
|
}, {
|
|
731
731
|
status: import("./payout.dtos.js").PayoutStatus;
|
|
732
732
|
id: string;
|
|
733
|
-
createdAt: Date;
|
|
734
733
|
profileId: string;
|
|
735
|
-
|
|
734
|
+
createdAt: Date;
|
|
736
735
|
updatedAt: Date;
|
|
736
|
+
description: string;
|
|
737
|
+
channel: string;
|
|
737
738
|
msisdn: string;
|
|
738
739
|
amount: number;
|
|
739
|
-
description: string;
|
|
740
740
|
payeeName: string;
|
|
741
741
|
statusMessage: string;
|
|
742
742
|
countryCode?: string | undefined;
|