eastern-area-fe-package 0.2.1
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/README.md +124 -0
- package/dist/components/DynamicIcon.d.ts +2 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/index.cjs +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +96069 -0
- package/dist/lib/iconsList.d.ts +5 -0
- package/dist/lib/index.d.ts +3 -0
- package/dist/lib/staticIcons.d.ts +4 -0
- package/dist/lib/tablerIcons.d.ts +4 -0
- package/dist/static.cjs +1 -0
- package/dist/static.d.ts +2 -0
- package/dist/static.js +2 -0
- package/dist/staticIcons-BdR9I_Uk.cjs +1 -0
- package/dist/staticIcons-DvSmzFCV.js +1407 -0
- package/dist/types/Icons.type.d.ts +13 -0
- package/dist/types/footer.types.d.ts +123 -0
- package/dist/types/governorate.types.d.ts +27 -0
- package/dist/types/home.types.d.ts +22 -0
- package/dist/types/index.d.ts +12 -0
- package/dist/types/media.types.d.ts +143 -0
- package/dist/types/pages.types.d.ts +71 -0
- package/dist/types/participation.types.d.ts +77 -0
- package/dist/types/request.types.d.ts +73 -0
- package/dist/types/satisfaction-content.types.d.ts +198 -0
- package/dist/types/satisfaction-survey.types.d.ts +43 -0
- package/dist/types/service.types.d.ts +177 -0
- package/dist/types/site-evaluation.types.d.ts +23 -0
- package/package.json +67 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ComponentType, SVGProps } from 'react';
|
|
2
|
+
export interface IconListItem {
|
|
3
|
+
name: string;
|
|
4
|
+
icon: ComponentType<SVGProps<SVGSVGElement>>;
|
|
5
|
+
labelAr: string;
|
|
6
|
+
}
|
|
7
|
+
export type IconsMap = Record<string, IconListItem>;
|
|
8
|
+
export interface DynamicIconProps<Name extends string = string> extends Omit<SVGProps<SVGSVGElement>, 'width' | 'height' | 'color'> {
|
|
9
|
+
iconName?: Name;
|
|
10
|
+
size?: number | string;
|
|
11
|
+
width?: number | string;
|
|
12
|
+
color?: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
export interface FooterLink {
|
|
2
|
+
id: string;
|
|
3
|
+
label: string;
|
|
4
|
+
labelEn: string;
|
|
5
|
+
url: string;
|
|
6
|
+
order: number;
|
|
7
|
+
isExternal?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export interface FooterColumn {
|
|
10
|
+
id: string;
|
|
11
|
+
title: string;
|
|
12
|
+
titleEn: string;
|
|
13
|
+
order: number;
|
|
14
|
+
isActive: boolean;
|
|
15
|
+
links: FooterLink[];
|
|
16
|
+
}
|
|
17
|
+
export interface SocialLink {
|
|
18
|
+
id: string;
|
|
19
|
+
platform: string;
|
|
20
|
+
url: string;
|
|
21
|
+
label?: string;
|
|
22
|
+
icon?: string;
|
|
23
|
+
order?: number;
|
|
24
|
+
isActive?: boolean;
|
|
25
|
+
}
|
|
26
|
+
export interface AccessibilityTool {
|
|
27
|
+
id: string;
|
|
28
|
+
name: string;
|
|
29
|
+
nameEn: string;
|
|
30
|
+
url: string;
|
|
31
|
+
order: number;
|
|
32
|
+
isActive: boolean;
|
|
33
|
+
}
|
|
34
|
+
export interface FooterLogo {
|
|
35
|
+
id: string;
|
|
36
|
+
url: string | File | null;
|
|
37
|
+
link: string;
|
|
38
|
+
order: number;
|
|
39
|
+
isActive: boolean;
|
|
40
|
+
}
|
|
41
|
+
export interface ContactItem {
|
|
42
|
+
id: string | null;
|
|
43
|
+
type?: 'address' | 'phone' | 'email' | 'fax' | 'working_hours';
|
|
44
|
+
label: string;
|
|
45
|
+
labelEn: string;
|
|
46
|
+
value: string;
|
|
47
|
+
icon: string;
|
|
48
|
+
order: number;
|
|
49
|
+
isActive: boolean;
|
|
50
|
+
}
|
|
51
|
+
export interface FooterInfo {
|
|
52
|
+
id?: string;
|
|
53
|
+
columns: FooterColumn[];
|
|
54
|
+
socialLinks: SocialLink[];
|
|
55
|
+
accessibilityTools: AccessibilityTool[];
|
|
56
|
+
logos: FooterLogo[];
|
|
57
|
+
contactItems: ContactItem[];
|
|
58
|
+
copyrightText: string;
|
|
59
|
+
copyrightTextEn: string;
|
|
60
|
+
sitemapUrl: string;
|
|
61
|
+
lastUpdateText: string;
|
|
62
|
+
lastUpdateTextEn: string;
|
|
63
|
+
}
|
|
64
|
+
export interface FooterConfig {
|
|
65
|
+
id?: string;
|
|
66
|
+
columns: FooterColumn[];
|
|
67
|
+
socialLinks: SocialLink[];
|
|
68
|
+
accessibilityTools: AccessibilityTool[];
|
|
69
|
+
logos: FooterLogo[];
|
|
70
|
+
contactInfo: ContactItem[];
|
|
71
|
+
copyrightText: string;
|
|
72
|
+
copyrightTextEn: string;
|
|
73
|
+
sitemapUrl: string;
|
|
74
|
+
lastUpdateText: string;
|
|
75
|
+
lastUpdateTextEn: string;
|
|
76
|
+
}
|
|
77
|
+
export interface Faq {
|
|
78
|
+
id: string;
|
|
79
|
+
question: string;
|
|
80
|
+
questionEn: string;
|
|
81
|
+
answer: string;
|
|
82
|
+
answerEn: string;
|
|
83
|
+
order: number;
|
|
84
|
+
}
|
|
85
|
+
export interface FAQItem {
|
|
86
|
+
id: string;
|
|
87
|
+
question: string;
|
|
88
|
+
questionEn: string;
|
|
89
|
+
answer: string;
|
|
90
|
+
answerEn: string;
|
|
91
|
+
}
|
|
92
|
+
export interface Sla {
|
|
93
|
+
id: string;
|
|
94
|
+
title: string;
|
|
95
|
+
titleEn: string;
|
|
96
|
+
description: string;
|
|
97
|
+
descriptionEn: string;
|
|
98
|
+
expectedTime: string;
|
|
99
|
+
expectedTimeEn: string;
|
|
100
|
+
isActive: boolean;
|
|
101
|
+
createdAt: string;
|
|
102
|
+
updatedAt: string;
|
|
103
|
+
}
|
|
104
|
+
export interface SLAItem {
|
|
105
|
+
id: string;
|
|
106
|
+
title: string;
|
|
107
|
+
titleEn: string;
|
|
108
|
+
description: string;
|
|
109
|
+
descriptionEn: string;
|
|
110
|
+
expectedTime: string;
|
|
111
|
+
expectedTimeEn: string;
|
|
112
|
+
}
|
|
113
|
+
export interface Policy {
|
|
114
|
+
id: string;
|
|
115
|
+
type: number;
|
|
116
|
+
typeName: string;
|
|
117
|
+
title: string;
|
|
118
|
+
titleEn: string;
|
|
119
|
+
content: string;
|
|
120
|
+
contentEn: string;
|
|
121
|
+
fileUrl?: string;
|
|
122
|
+
updatedAt: string | null;
|
|
123
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export interface GovernorateCenter {
|
|
2
|
+
id: string | number;
|
|
3
|
+
governorateId?: string | number;
|
|
4
|
+
name: string;
|
|
5
|
+
nameEn: string;
|
|
6
|
+
phone: string;
|
|
7
|
+
email: string;
|
|
8
|
+
}
|
|
9
|
+
export interface Governorate {
|
|
10
|
+
id: string | number;
|
|
11
|
+
name: string;
|
|
12
|
+
nameEn: string;
|
|
13
|
+
phone?: string;
|
|
14
|
+
fax?: string;
|
|
15
|
+
email: string;
|
|
16
|
+
location: string;
|
|
17
|
+
imageUrl: string | File | null;
|
|
18
|
+
governorName?: string;
|
|
19
|
+
category: number;
|
|
20
|
+
categoryName?: string;
|
|
21
|
+
description: string;
|
|
22
|
+
descriptionEn: string;
|
|
23
|
+
isActive?: boolean;
|
|
24
|
+
createdAt?: string;
|
|
25
|
+
updatedAt?: string;
|
|
26
|
+
centers: GovernorateCenter[];
|
|
27
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export interface HomeSectionImage {
|
|
2
|
+
id: string;
|
|
3
|
+
homeSectionId?: string;
|
|
4
|
+
imageUrl: string | File;
|
|
5
|
+
language?: number;
|
|
6
|
+
order: number;
|
|
7
|
+
}
|
|
8
|
+
export interface HomeSection {
|
|
9
|
+
id: string;
|
|
10
|
+
key: string;
|
|
11
|
+
title: string;
|
|
12
|
+
titleEn: string;
|
|
13
|
+
description: string;
|
|
14
|
+
descriptionEn: string;
|
|
15
|
+
buttonLabel: string;
|
|
16
|
+
buttonLabelEn: string;
|
|
17
|
+
order: number;
|
|
18
|
+
isActive: boolean;
|
|
19
|
+
images: HomeSectionImage[];
|
|
20
|
+
createdAt?: string;
|
|
21
|
+
updatedAt?: string;
|
|
22
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export type { DynamicIconProps, IconListItem, IconsMap } from './Icons.type';
|
|
2
|
+
export * from './service.types';
|
|
3
|
+
export * from './request.types';
|
|
4
|
+
export * from './satisfaction-survey.types';
|
|
5
|
+
export * from './site-evaluation.types';
|
|
6
|
+
export * from './footer.types';
|
|
7
|
+
export * from './home.types';
|
|
8
|
+
export * from './pages.types';
|
|
9
|
+
export * from './governorate.types';
|
|
10
|
+
export * from './participation.types';
|
|
11
|
+
export * from './satisfaction-content.types';
|
|
12
|
+
export * from './media.types';
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
export declare enum NewsCategory {
|
|
2
|
+
General = 1,
|
|
3
|
+
Emirate = 2,
|
|
4
|
+
Projects = 3
|
|
5
|
+
}
|
|
6
|
+
export declare enum EventStatus {
|
|
7
|
+
Upcoming = 1,
|
|
8
|
+
Ongoing = 2,
|
|
9
|
+
Completed = 3
|
|
10
|
+
}
|
|
11
|
+
export declare enum GalleryType {
|
|
12
|
+
Photo = 1,
|
|
13
|
+
Video = 2,
|
|
14
|
+
Album = 3
|
|
15
|
+
}
|
|
16
|
+
export declare enum MediaType {
|
|
17
|
+
Image = 1,
|
|
18
|
+
Video = 2
|
|
19
|
+
}
|
|
20
|
+
export interface NewsImage {
|
|
21
|
+
id: string;
|
|
22
|
+
newsItemId?: string;
|
|
23
|
+
url: string | File;
|
|
24
|
+
isDefault: boolean;
|
|
25
|
+
}
|
|
26
|
+
export interface News {
|
|
27
|
+
id: string;
|
|
28
|
+
title: string;
|
|
29
|
+
titleEn: string;
|
|
30
|
+
summary: string;
|
|
31
|
+
summaryEn: string;
|
|
32
|
+
content: string;
|
|
33
|
+
contentEn: string;
|
|
34
|
+
mainImage: string | File | null;
|
|
35
|
+
thumbnail: string;
|
|
36
|
+
publishDate: string;
|
|
37
|
+
category: number | string;
|
|
38
|
+
categoryName?: string;
|
|
39
|
+
isFeatured: boolean;
|
|
40
|
+
isHidden: boolean;
|
|
41
|
+
createdAt?: string;
|
|
42
|
+
updatedAt?: string | null;
|
|
43
|
+
images: NewsImage[];
|
|
44
|
+
}
|
|
45
|
+
export interface NewsItem {
|
|
46
|
+
id: string;
|
|
47
|
+
title: string;
|
|
48
|
+
titleEn: string;
|
|
49
|
+
summary: string;
|
|
50
|
+
summaryEn: string;
|
|
51
|
+
content: string;
|
|
52
|
+
contentEn: string;
|
|
53
|
+
mainImage: string | File | null;
|
|
54
|
+
image?: File | string | null;
|
|
55
|
+
thumbnail: string;
|
|
56
|
+
thumbnailFile?: File | string | null;
|
|
57
|
+
publishDate: string;
|
|
58
|
+
category: number | string;
|
|
59
|
+
isFeatured: boolean;
|
|
60
|
+
isHidden: boolean;
|
|
61
|
+
images: NewsImage[];
|
|
62
|
+
imageFiles?: File[];
|
|
63
|
+
}
|
|
64
|
+
export interface MediaAsset {
|
|
65
|
+
id: string;
|
|
66
|
+
type: number | string;
|
|
67
|
+
url: string | File | null;
|
|
68
|
+
thumbnail?: string | File | null;
|
|
69
|
+
file?: File;
|
|
70
|
+
isDefault?: boolean;
|
|
71
|
+
titleAr?: string;
|
|
72
|
+
titleEn?: string;
|
|
73
|
+
descriptionAr?: string;
|
|
74
|
+
descriptionEn?: string;
|
|
75
|
+
}
|
|
76
|
+
export interface IGalleryAsset {
|
|
77
|
+
id: string;
|
|
78
|
+
galleryItemId: string;
|
|
79
|
+
type: number;
|
|
80
|
+
url: string;
|
|
81
|
+
thumbnail: string | null;
|
|
82
|
+
isDefault: boolean;
|
|
83
|
+
titleAr?: string;
|
|
84
|
+
titleEn?: string;
|
|
85
|
+
descriptionAr?: string;
|
|
86
|
+
descriptionEn?: string;
|
|
87
|
+
}
|
|
88
|
+
export interface MediaGalleryItem {
|
|
89
|
+
id: string;
|
|
90
|
+
title: string;
|
|
91
|
+
titleEn: string;
|
|
92
|
+
type: number | string;
|
|
93
|
+
items?: MediaAsset[];
|
|
94
|
+
mainImage: string | File | null;
|
|
95
|
+
image?: File | string | null;
|
|
96
|
+
assetFiles?: File[];
|
|
97
|
+
category: string;
|
|
98
|
+
publishDate: string;
|
|
99
|
+
}
|
|
100
|
+
export interface IGalleryItem {
|
|
101
|
+
id: string;
|
|
102
|
+
title: string;
|
|
103
|
+
titleEn: string;
|
|
104
|
+
type: number;
|
|
105
|
+
typeName: string;
|
|
106
|
+
mainImage: string;
|
|
107
|
+
category: string;
|
|
108
|
+
publishDate: string;
|
|
109
|
+
createdAt: string;
|
|
110
|
+
updatedAt: string;
|
|
111
|
+
assets: IGalleryAsset[];
|
|
112
|
+
}
|
|
113
|
+
export interface EventItem {
|
|
114
|
+
id: string;
|
|
115
|
+
title: string;
|
|
116
|
+
titleEn: string;
|
|
117
|
+
description: string;
|
|
118
|
+
descriptionEn: string;
|
|
119
|
+
location: string;
|
|
120
|
+
locationEn: string;
|
|
121
|
+
startDate: string;
|
|
122
|
+
endDate: string;
|
|
123
|
+
imageUrl: string | File | null;
|
|
124
|
+
image?: File | string | null;
|
|
125
|
+
status: number | string;
|
|
126
|
+
statusName?: string;
|
|
127
|
+
}
|
|
128
|
+
export interface ICRMEvent {
|
|
129
|
+
id: string;
|
|
130
|
+
title: string;
|
|
131
|
+
titleEn: string;
|
|
132
|
+
description: string;
|
|
133
|
+
descriptionEn: string;
|
|
134
|
+
location: string;
|
|
135
|
+
locationEn: string;
|
|
136
|
+
startDate: string;
|
|
137
|
+
endDate: string;
|
|
138
|
+
imageUrl: string;
|
|
139
|
+
status: number;
|
|
140
|
+
statusName: string;
|
|
141
|
+
createdAt: string;
|
|
142
|
+
updatedAt: string;
|
|
143
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
export interface PageImage {
|
|
2
|
+
id: string;
|
|
3
|
+
imageUrlAr: string;
|
|
4
|
+
imageUrlEn: string;
|
|
5
|
+
titleAr: string;
|
|
6
|
+
titleEn: string;
|
|
7
|
+
order: number;
|
|
8
|
+
isDefault: boolean;
|
|
9
|
+
}
|
|
10
|
+
export interface PageImageDto {
|
|
11
|
+
id: string;
|
|
12
|
+
imageUrlAr: string;
|
|
13
|
+
imageUrlEn: string;
|
|
14
|
+
titleAr: string;
|
|
15
|
+
titleEn: string;
|
|
16
|
+
order: number;
|
|
17
|
+
isDefault: boolean;
|
|
18
|
+
}
|
|
19
|
+
export interface PageItem {
|
|
20
|
+
id: string;
|
|
21
|
+
titleAr: string;
|
|
22
|
+
titleEn: string;
|
|
23
|
+
slug: string;
|
|
24
|
+
contentAr: string;
|
|
25
|
+
contentEn: string;
|
|
26
|
+
summaryAr: string;
|
|
27
|
+
summaryEn: string;
|
|
28
|
+
featuredImageUrlAr: string;
|
|
29
|
+
featuredImageUrlEn: string;
|
|
30
|
+
seoTitleAr: string;
|
|
31
|
+
seoTitleEn: string;
|
|
32
|
+
seoDescriptionAr: string;
|
|
33
|
+
seoDescriptionEn: string;
|
|
34
|
+
seoKeywordsAr: string;
|
|
35
|
+
seoKeywordsEn: string;
|
|
36
|
+
ogImageUrlAr: string;
|
|
37
|
+
ogImageUrlEn: string;
|
|
38
|
+
type: number;
|
|
39
|
+
isPublished: boolean;
|
|
40
|
+
publishDate: string;
|
|
41
|
+
isFeatured: boolean;
|
|
42
|
+
order: number;
|
|
43
|
+
viewCount: number;
|
|
44
|
+
images: PageImage[];
|
|
45
|
+
}
|
|
46
|
+
export interface DynamicPageDto {
|
|
47
|
+
id: string;
|
|
48
|
+
titleAr: string;
|
|
49
|
+
titleEn: string;
|
|
50
|
+
slug: string;
|
|
51
|
+
contentAr: string;
|
|
52
|
+
contentEn: string;
|
|
53
|
+
isPublished: boolean;
|
|
54
|
+
images: PageImageDto[];
|
|
55
|
+
summaryAr?: string;
|
|
56
|
+
summaryEn?: string;
|
|
57
|
+
featuredImageUrlAr?: string;
|
|
58
|
+
featuredImageUrlEn?: string;
|
|
59
|
+
seoTitleAr?: string;
|
|
60
|
+
seoTitleEn?: string;
|
|
61
|
+
seoDescriptionAr?: string;
|
|
62
|
+
seoDescriptionEn?: string;
|
|
63
|
+
seoKeywordsAr?: string;
|
|
64
|
+
seoKeywordsEn?: string;
|
|
65
|
+
ogImageUrlAr?: string;
|
|
66
|
+
ogImageUrlEn?: string;
|
|
67
|
+
type?: number;
|
|
68
|
+
order?: number;
|
|
69
|
+
createdAt?: string;
|
|
70
|
+
updatedAt?: string;
|
|
71
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
export interface SocialLinkItem {
|
|
2
|
+
platform: string;
|
|
3
|
+
url: string;
|
|
4
|
+
label: string;
|
|
5
|
+
labelEn: string;
|
|
6
|
+
icon?: string;
|
|
7
|
+
}
|
|
8
|
+
export interface ElectronicParticipationFile {
|
|
9
|
+
id?: string;
|
|
10
|
+
_id?: string;
|
|
11
|
+
fileName: string;
|
|
12
|
+
fileNameEn: string;
|
|
13
|
+
url: string;
|
|
14
|
+
order: number;
|
|
15
|
+
}
|
|
16
|
+
export interface ParticipationFile {
|
|
17
|
+
fileName: string;
|
|
18
|
+
fileNameEn: string;
|
|
19
|
+
url: string;
|
|
20
|
+
order: number;
|
|
21
|
+
}
|
|
22
|
+
export interface ParticipationStats {
|
|
23
|
+
users?: {
|
|
24
|
+
totalUsers: number;
|
|
25
|
+
activeUsers: number;
|
|
26
|
+
};
|
|
27
|
+
content?: {
|
|
28
|
+
totalNews: number;
|
|
29
|
+
totalServices: number;
|
|
30
|
+
};
|
|
31
|
+
activity?: {
|
|
32
|
+
totalAuditLogs: number;
|
|
33
|
+
todayChanges: number;
|
|
34
|
+
thisWeekChanges: number;
|
|
35
|
+
thisMonthChanges: number;
|
|
36
|
+
};
|
|
37
|
+
topPages?: Array<{
|
|
38
|
+
pageKey: string;
|
|
39
|
+
title?: string;
|
|
40
|
+
viewCount: number;
|
|
41
|
+
}>;
|
|
42
|
+
}
|
|
43
|
+
export interface ParticipationItem {
|
|
44
|
+
id: string;
|
|
45
|
+
key: string;
|
|
46
|
+
type: string;
|
|
47
|
+
title: string;
|
|
48
|
+
titleEn: string;
|
|
49
|
+
description: string;
|
|
50
|
+
descriptionEn: string;
|
|
51
|
+
link: string;
|
|
52
|
+
content: string;
|
|
53
|
+
contentEn: string;
|
|
54
|
+
socialLinks: SocialLinkItem[];
|
|
55
|
+
files: ElectronicParticipationFile[];
|
|
56
|
+
runtimeData: ParticipationStats | null;
|
|
57
|
+
order: number;
|
|
58
|
+
isActive: boolean;
|
|
59
|
+
createdAt: string;
|
|
60
|
+
updatedAt: string | null;
|
|
61
|
+
}
|
|
62
|
+
export interface ElectronicParticipationSection {
|
|
63
|
+
id: string;
|
|
64
|
+
key: string;
|
|
65
|
+
type: string;
|
|
66
|
+
title: string;
|
|
67
|
+
titleEn: string;
|
|
68
|
+
description: string;
|
|
69
|
+
descriptionEn: string;
|
|
70
|
+
link: string;
|
|
71
|
+
content: string;
|
|
72
|
+
contentEn: string;
|
|
73
|
+
socialLinks: SocialLinkItem[];
|
|
74
|
+
files: ElectronicParticipationFile[];
|
|
75
|
+
order: number;
|
|
76
|
+
isActive: boolean;
|
|
77
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { Service, ServiceTranslation } from './service.types';
|
|
2
|
+
export declare enum RequestStatus {
|
|
3
|
+
Draft = 0,
|
|
4
|
+
InProgress = 1,
|
|
5
|
+
Approved = 2,
|
|
6
|
+
Rejected = 3,
|
|
7
|
+
Completed = 4
|
|
8
|
+
}
|
|
9
|
+
export declare enum ResidenceStatusEnum {
|
|
10
|
+
Citizen = 1,
|
|
11
|
+
Resident = 2,
|
|
12
|
+
Unspecified = 3
|
|
13
|
+
}
|
|
14
|
+
export type ResidenceStatus = ResidenceStatusEnum | 'مواطن' | 'مقيم' | 'غير معروف';
|
|
15
|
+
export interface FormDto {
|
|
16
|
+
id: string;
|
|
17
|
+
code: string;
|
|
18
|
+
translations?: ServiceTranslation[];
|
|
19
|
+
}
|
|
20
|
+
export interface RequestValuesOption {
|
|
21
|
+
value: string;
|
|
22
|
+
label: string;
|
|
23
|
+
labelArabic: string;
|
|
24
|
+
parentConditionValue?: string | null;
|
|
25
|
+
}
|
|
26
|
+
export interface RequestValues {
|
|
27
|
+
fieldId: string;
|
|
28
|
+
fieldOrder: number;
|
|
29
|
+
fieldKey: string;
|
|
30
|
+
fieldLabel: string;
|
|
31
|
+
fieldLabelArabic: string;
|
|
32
|
+
fieldType: number;
|
|
33
|
+
value: string;
|
|
34
|
+
options: RequestValuesOption[];
|
|
35
|
+
}
|
|
36
|
+
export type FormSubmissionValueDto = RequestValues;
|
|
37
|
+
export interface RequestHistory {
|
|
38
|
+
id: string;
|
|
39
|
+
fromStepCode: string;
|
|
40
|
+
toStepCode: string;
|
|
41
|
+
actionByUserId: string;
|
|
42
|
+
comment: string;
|
|
43
|
+
creationTime: string;
|
|
44
|
+
}
|
|
45
|
+
export type FormSubmissionHistoryDto = RequestHistory;
|
|
46
|
+
export interface RequestFieldValue {
|
|
47
|
+
fieldId: string;
|
|
48
|
+
value: string | string[] | number | boolean;
|
|
49
|
+
}
|
|
50
|
+
export interface ServiceRequest {
|
|
51
|
+
id: string;
|
|
52
|
+
requestNo: string;
|
|
53
|
+
tahseelRequestNo: string | null;
|
|
54
|
+
tahseelStatuse: string | null;
|
|
55
|
+
formId: string;
|
|
56
|
+
form: Service;
|
|
57
|
+
createdAt: string;
|
|
58
|
+
createdByUserId: string;
|
|
59
|
+
nationalId: string;
|
|
60
|
+
name: string;
|
|
61
|
+
phoneNumber: string;
|
|
62
|
+
email: string;
|
|
63
|
+
currentStepCode: string;
|
|
64
|
+
currentStepId: string | null;
|
|
65
|
+
status: string;
|
|
66
|
+
statusCode: RequestStatus;
|
|
67
|
+
assignedRoleId: string | null;
|
|
68
|
+
values: RequestValues[];
|
|
69
|
+
submissionHistories: RequestHistory[];
|
|
70
|
+
reportUrl: string | null;
|
|
71
|
+
residencestatus: ResidenceStatus;
|
|
72
|
+
}
|
|
73
|
+
export type FormSubmissionResponse = ServiceRequest;
|