chore: add new feature for checking the user has access to the service or not

This commit is contained in:
mahyargdz
2025-08-23 09:48:19 +03:30
parent 8642b8e8d5
commit 29a7299a25
10 changed files with 76 additions and 19 deletions
@@ -19,6 +19,15 @@ export enum InvoiceStatus {
OVERDUE = "OVERDUE",
}
export interface IDanakCheckAccessResponse {
statusCode: number;
success: boolean;
data?: {
hasAccess: boolean;
};
error?: string;
}
export interface IExternalInvoiceJob {
invoice: {
id: string;