64 lines
1.6 KiB
TypeScript
64 lines
1.6 KiB
TypeScript
// mockData.ts
|
|
export type User = {
|
|
merchantId: number;
|
|
id: string;
|
|
name?: string;
|
|
username?: string;
|
|
firstName?: string;
|
|
lastName?: string;
|
|
email?: string;
|
|
phone?: string;
|
|
jobTitle?: string;
|
|
enabled?: boolean;
|
|
authorities?: string[];
|
|
allowedMerchantIds?: number[];
|
|
created?: string;
|
|
disabledBy?: string | null;
|
|
disabledDate?: string | null;
|
|
disabledReason?: string | null;
|
|
incidentNotes?: boolean;
|
|
lastLogin?: string;
|
|
lastMandatoryUpdated?: string;
|
|
marketingNewsletter?: boolean;
|
|
releaseNotes?: boolean;
|
|
requiredActions?: string[];
|
|
twoFactorCondition?: string;
|
|
twoFactorCredentials?: unknown[]; // narrow if you know the shape
|
|
};
|
|
|
|
export const users: User[] = [
|
|
{
|
|
merchantId: 100987998,
|
|
id: "bc6a8a55-13bc-4538-8255-cd0cec3bb4e9",
|
|
name: "Jacob",
|
|
username: "lspaddy",
|
|
firstName: "Paddy",
|
|
lastName: "Man",
|
|
email: "patrick@omegasys.eu",
|
|
phone: "",
|
|
jobTitle: "",
|
|
enabled: true,
|
|
authorities: [
|
|
"ROLE_IIN",
|
|
"ROLE_FIRST_APPROVER",
|
|
"ROLE_RULES_ADMIN",
|
|
"ROLE_TRANSACTION_VIEWER",
|
|
"ROLE_IIN_ADMIN",
|
|
"ROLE_USER_PSP_ACCOUNT",
|
|
],
|
|
allowedMerchantIds: [100987998],
|
|
created: "2025-05-04T15:32:48.432Z",
|
|
disabledBy: null,
|
|
disabledDate: null,
|
|
disabledReason: null,
|
|
incidentNotes: false,
|
|
lastLogin: "",
|
|
lastMandatoryUpdated: "2025-05-04T15:32:48.332Z",
|
|
marketingNewsletter: false,
|
|
releaseNotes: false,
|
|
requiredActions: ["CONFIGURE_TOTP", "UPDATE_PASSWORD"],
|
|
twoFactorCondition: "required",
|
|
twoFactorCredentials: [],
|
|
},
|
|
];
|