arco-support-request 0.0.76 → 0.0.79

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.
Files changed (39) hide show
  1. package/arco-support-request.metadata.json +1 -1
  2. package/bundles/arco-support-request.umd.js +1450 -1376
  3. package/bundles/arco-support-request.umd.js.map +1 -1
  4. package/bundles/arco-support-request.umd.min.js +1 -1
  5. package/bundles/arco-support-request.umd.min.js.map +1 -1
  6. package/esm2015/lib/entity-type-setup/activities-create/activities-create.component.js +2 -2
  7. package/esm2015/lib/entity-type-setup/dynamic/entity-dynamic-field/entity-dynamic-field.component.js +1 -1
  8. package/esm2015/lib/entity-type-setup/workflow-dynamic-popup/workflow-dynamic-popup.component.js +3 -3
  9. package/esm2015/lib/support-request/case-list/case-list.component.js +31 -13
  10. package/esm2015/lib/support-request/request-flow/request-flow.component.js +39 -5
  11. package/esm2015/lib/support-request/self-service-flow/self-service-flow.component.js +9 -2
  12. package/esm2015/lib/support-request/support-request-create/support-request-create.component.js +3 -3
  13. package/esm2015/lib/support-request/support-request-details/support-request-details.component.js +18 -12
  14. package/esm2015/lib/templates/grid/grid.component.js +5 -5
  15. package/esm2015/lib/templates/interface_enum/common-enum.js +14 -4
  16. package/fesm2015/arco-support-request.js +4450 -4376
  17. package/fesm2015/arco-support-request.js.map +1 -1
  18. package/lib/core/static/jwt.d.ts +7 -0
  19. package/lib/entity-type-setup/dynamic/entity-dynamic-field/entity-dynamic-field.component.d.ts +88 -0
  20. package/lib/entity-type-setup/dynamic/entity-dynamic-field/validation-error.component.d.ts +11 -0
  21. package/lib/entity-type-setup/dynamic/entity-dynamic-view/entity-dynamic-view.component.d.ts +70 -0
  22. package/lib/support-request/action/action.component.d.ts +31 -0
  23. package/lib/support-request/case-list/case-list.component.d.ts +100 -0
  24. package/lib/support-request/home/home.component.d.ts +6 -0
  25. package/lib/support-request/pagination/pagination.component.d.ts +18 -0
  26. package/lib/support-request/request-flow/request-flow.component.d.ts +150 -0
  27. package/lib/support-request/self-service-flow/self-service-flow.component.d.ts +32 -0
  28. package/lib/support-request/support-request-create/support-request-create.component.d.ts +55 -0
  29. package/lib/support-request/support-request-details/support-request-details.component.d.ts +128 -0
  30. package/lib/support-request/support-request-index/support-request-index.component.d.ts +5 -0
  31. package/lib/task/Interfaces/TaskInterface.d.ts +132 -0
  32. package/lib/task/Services/task.service.d.ts +75 -0
  33. package/lib/templates/grid/grid-datatype/grid-datatype.component.d.ts +11 -0
  34. package/lib/templates/grid/grid.component.d.ts +1 -1
  35. package/lib/templates/grid/inner-grid/inner-grid.component.d.ts +5 -0
  36. package/lib/templates/interface_enum/common-enum.d.ts +7 -3
  37. package/lib/ticket/_interfaces/model.d.ts +192 -0
  38. package/lib/ticket/_ticket-services/ticket-api.service.d.ts +81 -0
  39. package/package.json +1 -1
@@ -0,0 +1,128 @@
1
+ import { OnDestroy } from '@angular/core';
2
+ import { OnInit } from '@angular/core';
3
+ import { FormBuilder, FormGroup } from '@angular/forms';
4
+ import { ActivatedRoute, Router } from '@angular/router';
5
+ import { GlobalService } from '../../core/global.service';
6
+ import { TaskService } from '../../task/Services/task.service';
7
+ import { AssignTo, IUpdateStatus, TaskAssignment } from '../../task/Interfaces/TaskInterface';
8
+ import { GridServiceService } from '../../templates/grid/grid-service.service';
9
+ import { E_SelectMode } from '../../templates/interface_enum/common-enum';
10
+ import { IActionDef, IColumnDef, ISearchCriteria, ISortingField } from '../../templates/interface_enum/common-Interface';
11
+ import { TicketApiService } from '../../ticket/_ticket-services/ticket-api.service';
12
+ import { PageDetailsRow } from '../../entity-type-setup/page.interface.classes';
13
+ import { EntityTypeSetupService } from '../../entity-type-setup/service/entity-type-setup.service';
14
+ import { TranslatePipe } from '../../Pipe/translate.pipe';
15
+ export declare class SupportRequestDetailsComponent implements OnInit, OnDestroy {
16
+ taskService: TaskService;
17
+ EntityTypeSetupService: EntityTypeSetupService;
18
+ private fb;
19
+ private actRoute;
20
+ private gridServiceService;
21
+ ticketService: TicketApiService;
22
+ globalService: GlobalService;
23
+ private route;
24
+ constructor(taskService: TaskService, EntityTypeSetupService: EntityTypeSetupService, fb: FormBuilder, actRoute: ActivatedRoute, gridServiceService: GridServiceService, ticketService: TicketApiService, globalService: GlobalService, route: Router);
25
+ EntityTypeRecId: number;
26
+ RecId: number;
27
+ ViewFrom: any;
28
+ IsWfAction: boolean;
29
+ environment: any;
30
+ ngOnInit(): void;
31
+ HistoryListCriteria: ISearchCriteria;
32
+ _TaskDetail: any;
33
+ stageId: number;
34
+ EntityTypeId: number;
35
+ EntityTypeIdRecId: number;
36
+ refRecId: number;
37
+ getTaskDetails(): void;
38
+ EntityFormId: number;
39
+ EntityPageGroupsData: PageDetailsRow[];
40
+ EntityDefaultPageGroupsData: PageDetailsRow[];
41
+ getEntityFormDetails(): void;
42
+ getWorkflowActionComments(comments: any, updateFileds: any, updateFieldsObject: any): void;
43
+ pageTitle: string;
44
+ pageDesp: string;
45
+ selectMode: E_SelectMode;
46
+ isAttach: boolean;
47
+ isCreate: boolean;
48
+ isEdit: boolean;
49
+ isDelete: boolean;
50
+ isExport: boolean;
51
+ gridActionList: IActionDef[];
52
+ columnDefs: IColumnDef[];
53
+ commentsData: any[];
54
+ commentsDataCount: number;
55
+ getComments(): void;
56
+ Searchcriteria: ISearchCriteria;
57
+ ActivityFields: any[];
58
+ getActivity(): void;
59
+ getActivityFileUploads(item: any): void;
60
+ addEvents(data: any): void;
61
+ displayPopupCreateView: boolean;
62
+ CreateItemId: number;
63
+ selectedActivityItem: any;
64
+ commentsActivityItem: any;
65
+ detailsEntityTypeId: number;
66
+ Activity: number;
67
+ ActivityType: any[];
68
+ TotalActivity: number;
69
+ openPopupCreatePage(item: any): void;
70
+ closePopupCreateView(Type?: any): void;
71
+ slider(direction: any, Id: any): void;
72
+ StatusAndStageList: any[];
73
+ storeCriteria: ISearchCriteria;
74
+ getWorkflowStatusWithStage(): void;
75
+ showStageDetails: boolean;
76
+ selectedProcess: any;
77
+ selectedProcessList: any[];
78
+ selectProcess(item: any): void;
79
+ closeProcess(): void;
80
+ tabDisplayView: number;
81
+ gridChangeTabs(data: any): void;
82
+ loadMoreActivities(): void;
83
+ SortingField: ISortingField;
84
+ activitySearchcriteria: ISearchCriteria;
85
+ getActivities(): void;
86
+ TaskList: any[];
87
+ ProcessStageList: any;
88
+ TimelineList: any[];
89
+ setTimeline(): void;
90
+ GetPageList(Criteria: ISearchCriteria): void;
91
+ fileList: any;
92
+ fileChange(event: any): void;
93
+ TaskCommentFile: any;
94
+ Comments: string;
95
+ CommentsTitle: string;
96
+ commentSubmit(): void;
97
+ openDefaultComments(): void;
98
+ wfActionData: {
99
+ id: number;
100
+ name: string;
101
+ }[];
102
+ wfStageAction: any;
103
+ getWfStageAction(EntityTypeId: any, StageId: any): void;
104
+ wfStatusFields: any[];
105
+ action: number;
106
+ showWorkflowPopup: boolean;
107
+ workflowEntityFormId: any;
108
+ getStatusField(data: any): void;
109
+ backToList(): void;
110
+ ngOnDestroy(): void;
111
+ assignmentForm: FormGroup;
112
+ actionFormActionId: number;
113
+ assignTypeValue: string;
114
+ updateStatusAssignTo: AssignTo[];
115
+ actionPopup: boolean;
116
+ closeModelPopup(): void;
117
+ GetFormattedDate(_date: any): string;
118
+ taskId: any;
119
+ targetDate: any;
120
+ submitData: IUpdateStatus;
121
+ assignSubmit(): void;
122
+ getAssignmentByRefRecIdList(Criteria: ISearchCriteria): void;
123
+ loadGrid(data: any, TotalRecord: number): void;
124
+ taskAssignData: TaskAssignment[];
125
+ columnDef: IColumnDef[];
126
+ getTaskAssignData(): void;
127
+ translatePipe: TranslatePipe;
128
+ }
@@ -0,0 +1,5 @@
1
+ import { OnInit } from '@angular/core';
2
+ export declare class SupportRequestIndexComponent implements OnInit {
3
+ constructor();
4
+ ngOnInit(): void;
5
+ }
@@ -0,0 +1,132 @@
1
+ export interface TaskCVM {
2
+ Title: string;
3
+ Description: string;
4
+ AssignedTo: string;
5
+ TargetDate: Date;
6
+ IsDone: number;
7
+ Source: number;
8
+ SourceId: string;
9
+ RefTableName: string;
10
+ RefRecId: string;
11
+ CompletePercentage: number;
12
+ CustomerId: string;
13
+ ContractNumber: string;
14
+ SourceEn?: string;
15
+ IsDoneEn?: string;
16
+ }
17
+ export interface TaskUVM extends TaskCVM {
18
+ RecId: number;
19
+ }
20
+ export interface TaskVM extends TaskUVM {
21
+ CreatedDateTime: Date;
22
+ CreatedBy: string;
23
+ ModifiedDatetime: Date;
24
+ ModifiedBy: string;
25
+ DataAreaId: string;
26
+ RecVersion: string;
27
+ }
28
+ export interface ITaskMenuType {
29
+ name: string;
30
+ stageId: string;
31
+ id: number;
32
+ myTaskInner?: IMyTask[];
33
+ }
34
+ export interface IMyTask {
35
+ name: string;
36
+ stageId: string;
37
+ id: number;
38
+ }
39
+ export declare enum IsDone {
40
+ Done = 1,
41
+ NotDone = 2,
42
+ Close = 3
43
+ }
44
+ export interface DoneField {
45
+ Id: number;
46
+ Name: string;
47
+ }
48
+ export interface customerType {
49
+ Value: string;
50
+ Label: string;
51
+ }
52
+ export interface AssignToGroup {
53
+ TicketAssignGroupID: number;
54
+ TicketAssignGroupDetails: string;
55
+ TicketAssignGroupDetailsAr: string;
56
+ AssignGroupManager: string;
57
+ IsActive: boolean;
58
+ CreatedDatetime: Date;
59
+ CreatedBy: string;
60
+ ModifiedDatetime: Date;
61
+ ModifiedBy: string;
62
+ DataAreaId: string;
63
+ RecId: number;
64
+ RecVersion: string;
65
+ }
66
+ export interface AssignTo {
67
+ ID: number;
68
+ Name: string;
69
+ }
70
+ export interface IndCustomer {
71
+ Id: string;
72
+ Desc: string;
73
+ }
74
+ export interface IndContract {
75
+ Id: string;
76
+ Desc: string;
77
+ }
78
+ export interface Comments {
79
+ Title: string;
80
+ FollowUp: string;
81
+ RefTableName: string;
82
+ RefRecId: number;
83
+ IsRead: boolean;
84
+ CreatedDatetime: Date;
85
+ CreatedBy: string;
86
+ ModifiedDatetime: Date;
87
+ ModifiedBy: string;
88
+ RecId: number;
89
+ }
90
+ export interface TaskAssignment {
91
+ Description: string;
92
+ AssignedTo: string;
93
+ TargetData: Date;
94
+ IsDone: number;
95
+ AssignType: number;
96
+ Source: number;
97
+ SourceId: string;
98
+ RefRecId: number;
99
+ RefTableName: string;
100
+ CreatedDatetime: Date;
101
+ CreatedBy: string;
102
+ ModifiedDatetime: Date;
103
+ ModifiedBy: string;
104
+ RecId: number;
105
+ }
106
+ export interface ITaskComments {
107
+ CreatedBy: string;
108
+ CreatedDatetime: Date;
109
+ DataAreaId: string;
110
+ FollowUp: string;
111
+ IsRead: string;
112
+ ModifiedBy: string;
113
+ ModifiedDatetime: Date;
114
+ RecId: number;
115
+ RecVersion: string;
116
+ RefRecId: number;
117
+ RefTableName: string;
118
+ Title: string;
119
+ uploadFiles?: any;
120
+ }
121
+ export interface IUpdateStatus {
122
+ recId: number;
123
+ ActionStatus: number;
124
+ AssignedTo: string;
125
+ TargetDate?: Date | string;
126
+ Description: string;
127
+ Comments: string;
128
+ }
129
+ export interface ITaskAssignmentTypes {
130
+ name: string;
131
+ id: number;
132
+ }
@@ -0,0 +1,75 @@
1
+ import { HttpClient } from '@angular/common/http';
2
+ import { AssignToGroup, Comments, IndContract, IndCustomer, ITaskMenuType, IUpdateStatus, TaskAssignment, TaskVM } from '../Interfaces/TaskInterface';
3
+ import { GlobalService } from '../../core/global.service';
4
+ import { IColumnDef, ISearchCriteria } from '../../templates/interface_enum/common-Interface';
5
+ import { BehaviorSubject } from 'rxjs';
6
+ export declare class TaskService {
7
+ private http;
8
+ private service;
9
+ constructor(http: HttpClient, service: GlobalService);
10
+ PrevUrl: any;
11
+ setPrevUrl(url: any): void;
12
+ getPrevUrl(): any;
13
+ notifier: BehaviorSubject<any>;
14
+ TaskMenuType: ITaskMenuType;
15
+ taskMenus: ITaskMenuType[];
16
+ form: any;
17
+ IsSubmit: boolean;
18
+ IsPopupOpen: boolean;
19
+ gridData: TaskVM[];
20
+ token: string;
21
+ gridDataForDetail: TaskVM;
22
+ file: any;
23
+ showCommentPopup: boolean;
24
+ refRecIdForComments: number;
25
+ comment: string;
26
+ taskColumns: IColumnDef[];
27
+ open(): void;
28
+ close(): void;
29
+ getTaskData(): void;
30
+ getAssignToGroup(): import("rxjs").Observable<AssignToGroup>;
31
+ getAssignTo(Id: number): import("rxjs").Observable<Object>;
32
+ getIndCustomerId(Id?: any): import("rxjs").Observable<IndCustomer>;
33
+ getEntityTypeId(): import("rxjs").Observable<IndCustomer>;
34
+ getBizCustomerId(): import("rxjs").Observable<Object>;
35
+ getIntContractNo(Id: number): import("rxjs").Observable<IndContract>;
36
+ getBizContractNo(Id: number): import("rxjs").Observable<Object>;
37
+ get(): import("rxjs").Observable<TaskVM[]>;
38
+ getSingle(RecId: string): import("rxjs").Observable<TaskVM>;
39
+ createTask(Obj: any, file: any): import("rxjs").Observable<import("@angular/common/http").HttpResponse<Object>>;
40
+ create(fileList: any, data: any): import("rxjs").Observable<any>;
41
+ DynamicTaskCreate(fileList: any, data: any): import("rxjs").Observable<any>;
42
+ update(data: any): import("rxjs").Observable<Object>;
43
+ delete(RecId: string): import("rxjs").Observable<Object>;
44
+ getSingleComment(refRecId: number): import("rxjs").Observable<Comments>;
45
+ createComment(data: any): import("rxjs").Observable<Object>;
46
+ createTaskAssignData(data: any): import("rxjs").Observable<Object>;
47
+ getTaskAssignData(): import("rxjs").Observable<TaskAssignment>;
48
+ urlGetErp(criteriastr: ISearchCriteria, stageId: any): import("rxjs").Observable<any>;
49
+ urlGetAssignToMyTeam(criteriastr: ISearchCriteria, stageId: any, taskStatus: any): import("rxjs").Observable<any>;
50
+ urlGetTaskByRecId(recId: number): import("rxjs").Observable<any>;
51
+ urlGetDynamicTaskCommentsByRefRecId(refRecId: any, entityTypeRecId: any): import("rxjs").Observable<any>;
52
+ urlGetTaskCommentsByRefRecId(refRecId: number): import("rxjs").Observable<any>;
53
+ assignmentbyrefrecid(criteriastr: ISearchCriteria, refRecId: any, entityTypeRecId: any): import("rxjs").Observable<any>;
54
+ urlGetAssignmentByRefRecIdList(criteriastr: ISearchCriteria, refRecId: any): import("rxjs").Observable<any>;
55
+ urlDeleteAssignmentByRecId(RecId: number): import("rxjs").Observable<any>;
56
+ urlAssignmentUpdateStatus(data: IUpdateStatus): import("rxjs").Observable<any>;
57
+ TaskAssignmentUpdateStatus(data: any, entityTypeRecId: any): import("rxjs").Observable<any>;
58
+ urlGetAssignToList(): import("rxjs").Observable<any>;
59
+ urlComments(file: any, values: any): import("rxjs").Observable<Object>;
60
+ }
61
+ export declare const taskAPIs: {
62
+ getAllTasks: (stageId: string) => string;
63
+ getAssignToMyTeam: (stageId: string, taskStatus: number) => string;
64
+ getTaskByRecId: (recId: number) => string;
65
+ getTaskCommentsByRefRecId: (refRecId: number) => string;
66
+ getDynamicTaskCommentsByRefRecId: (refRecId: number, EntityTypeRecId: any) => string;
67
+ getAssignmentByRefRecIdList: (refRecId: number) => string;
68
+ getAssignmentbyrefrecid: (refRecId: number, entityTypeRecId: any) => string;
69
+ deleteAssignmentByRecId: (refRecId: number) => string;
70
+ getAssignmentUpdateStatus: (data: IUpdateStatus) => string;
71
+ getTaskAssignmentUpdateStatus: (data: IUpdateStatus, entityTypeRecId: any) => string;
72
+ getAssignToList: () => string;
73
+ PostComments: () => string;
74
+ getDynamicTaskGet: () => string;
75
+ };
@@ -0,0 +1,11 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { E_DataType, E_FieldType, E_FormStatus } from '../../interface_enum/common-enum';
3
+ export declare class GridDatatypeComponent implements OnInit {
4
+ constructor();
5
+ ngOnInit(): void;
6
+ list: any;
7
+ col: any;
8
+ columnDataType: typeof E_DataType;
9
+ columnFieldType: typeof E_FieldType;
10
+ columnFormStatus: typeof E_FormStatus;
11
+ }
@@ -198,7 +198,7 @@ export declare class GridComponent implements OnInit {
198
198
  GridCondition: any;
199
199
  IsFilter: boolean;
200
200
  toggleFilter(): void;
201
- getGridSearch(event: any, datatype?: any): void;
201
+ getGridSearch(event: any, datatype?: any, value?: any): void;
202
202
  getGridSearchTextChange(event: any): void;
203
203
  setSearchData(datatype?: any): void;
204
204
  getGridsorting(event: any): void;
@@ -0,0 +1,5 @@
1
+ import { OnInit } from '@angular/core';
2
+ export declare class InnerGridComponent implements OnInit {
3
+ constructor();
4
+ ngOnInit(): void;
5
+ }
@@ -114,10 +114,14 @@ export declare enum E_FormStatus {
114
114
  InActive = 3
115
115
  }
116
116
  export declare enum E_FormType {
117
- List = 1,
117
+ Table = 1,
118
118
  Details = 2,
119
- Datasource = 3,
120
- WorkflowForm = 4
119
+ List = 3,
120
+ Card = 4,
121
+ Columns = 5,
122
+ Gallery = 6,
123
+ DataSource = 30,
124
+ Workflow = 40
121
125
  }
122
126
  export declare enum E_Language {
123
127
  English = "English",
@@ -0,0 +1,192 @@
1
+ export interface ITicketFormData {
2
+ EnquiryId: number | null;
3
+ CustomerId: number | null;
4
+ CustomerName: string;
5
+ ContactNo: string;
6
+ Email: string;
7
+ EnquieryDate: string | null;
8
+ Description: string;
9
+ StatusId: number | null;
10
+ Subject: string;
11
+ CreatedBy: string;
12
+ AssignedTo: string;
13
+ PriorityID: number | null;
14
+ GroupID: number | null;
15
+ SubGroupID: number | null;
16
+ TicketTypeID: number | null;
17
+ TicketAssignGroupID: number | null;
18
+ TicketCreater: string;
19
+ ContractNumber: string;
20
+ LabourNumber: string;
21
+ TicketChannelId: number | null;
22
+ RefTableName: string;
23
+ RefRecId: number;
24
+ IpAddress: string;
25
+ SLA_ID: string;
26
+ LastSentNotification: string | null;
27
+ LastSentNotificationRecId: number | null;
28
+ LastSentResolveNotification: string | null;
29
+ LastSentResolveNotificationRecId: number | null;
30
+ CRM_GUID: string;
31
+ Channel: number | null;
32
+ EnqFiles: any | null;
33
+ PriorityIDEn: string | null;
34
+ TicketAssignGroupIDEn: string | null;
35
+ TicketChannelIdEn: string | null;
36
+ TicketTypeIDEn: string | null;
37
+ GroupIDEn: string | null;
38
+ SubGroupIDEn: string | null;
39
+ StatusNameEn: string | null;
40
+ TicketCreaterEn: string | null;
41
+ }
42
+ export interface ICustomer {
43
+ CustomerID: string;
44
+ ContractNumber: string;
45
+ }
46
+ export interface IContractNumber {
47
+ ContractNumber: string;
48
+ }
49
+ export interface ILabour {
50
+ EmployeeId: string;
51
+ Name: string;
52
+ }
53
+ export interface ITicketChannel {
54
+ ID: number;
55
+ Name: string;
56
+ }
57
+ export interface ITicketType {
58
+ ID: number;
59
+ Name: string;
60
+ }
61
+ export interface IDepartment {
62
+ ID: number;
63
+ Name: string;
64
+ }
65
+ export interface IAssignTo {
66
+ ID: number;
67
+ Name: string;
68
+ }
69
+ export interface IPriority {
70
+ ID: number;
71
+ Name: string;
72
+ }
73
+ export interface ICategory {
74
+ TicketGroupID: number;
75
+ TicketGroupName: string;
76
+ TicketAssignGroupId: number;
77
+ }
78
+ export interface ISubCategory {
79
+ Id: number;
80
+ Description: string;
81
+ }
82
+ export interface ITicketPriority {
83
+ PriorityID: number;
84
+ PriorityName: string;
85
+ PriorityNameAr: string;
86
+ }
87
+ export interface ITicketPriorityUVM extends ITicketPriority {
88
+ RecId: number;
89
+ }
90
+ export interface ITicketPriorityVM extends ITicketPriorityUVM {
91
+ }
92
+ export interface ITicketTypeCVM {
93
+ TicketTypeID: number | null;
94
+ TicketTypeDetails: string;
95
+ TicketTypeDetailsAr: string;
96
+ IsActive: boolean;
97
+ }
98
+ export interface ITicketTypeUVM extends ITicketTypeCVM {
99
+ RecId: number;
100
+ }
101
+ export interface ITicketTypeVM extends ITicketTypeUVM {
102
+ }
103
+ export interface ITicketDepartmentTicketTypeMappingCVM {
104
+ TicketTypeID: number;
105
+ TicketAssignGroupID: number;
106
+ }
107
+ export interface ITicketDepartmentTicketTypeMappingList {
108
+ TicketTypeID: number;
109
+ TicketAssignGroupID: number[];
110
+ }
111
+ export interface ITicketDepartmentTicketTypeMappingUVM extends ITicketDepartmentTicketTypeMappingCVM {
112
+ RecId: number;
113
+ }
114
+ export interface ITicketDepartmentTicketTypeMappingVM {
115
+ }
116
+ export interface ITicketComments {
117
+ Comments: string | null;
118
+ Accuracy: string | null;
119
+ CommentId: string | null;
120
+ CreatedByAtSource: string | null;
121
+ CreatedDatetime: string | null;
122
+ CustomerSatisfied: string | null;
123
+ DataAreaId: string | null;
124
+ EnquiryId: string | null;
125
+ IpAddress: string | null;
126
+ IsRead: string | null;
127
+ LastSentNotification: string | null;
128
+ LastSentNotificationRecId: string | null;
129
+ ModifiedBy: string | null;
130
+ ModifiedDatetime: string | null;
131
+ RecId: string | null;
132
+ RecVersion: string | null;
133
+ ReplyType: string | null;
134
+ StatusId: string | null;
135
+ StatusNameEn: string | null;
136
+ postedby: string | null;
137
+ posteddate: string | null;
138
+ tblFiles: any;
139
+ }
140
+ export interface TicketChannelCVM {
141
+ TicketChannelDetails: string;
142
+ }
143
+ export interface TicketChannelUVM extends TicketChannelCVM {
144
+ RecId: number;
145
+ }
146
+ export interface TicketChannelVM extends TicketChannelUVM {
147
+ TicketChannelID: number;
148
+ }
149
+ export interface TicketGroupCVM {
150
+ TicketGroupName: string;
151
+ IsActive: boolean;
152
+ RequesterType?: string;
153
+ }
154
+ export interface categoryrequestertypeCVM {
155
+ RecId?: number;
156
+ UserType: number;
157
+ FieldTypeId: string;
158
+ Description: string;
159
+ ImageUrl: string;
160
+ }
161
+ export interface TicketGroupUVM extends TicketGroupCVM {
162
+ RecId: number;
163
+ }
164
+ export interface TicketGroupVM extends TicketGroupUVM {
165
+ TicketGroupID: number;
166
+ TicketTypeID: number;
167
+ CreatedDateTime: Date;
168
+ CreatedBy: string;
169
+ ModifiedDateTime: Date;
170
+ ModifiedBy: string;
171
+ }
172
+ export interface TicketSubGroupCVM {
173
+ TicketGroupID: number;
174
+ SubGroupName: string;
175
+ CaseTypeId?: number;
176
+ }
177
+ export interface TicketSubGroupUVM extends TicketSubGroupCVM {
178
+ RecId: number;
179
+ }
180
+ export interface TicketSubGroupVM extends TicketSubGroupUVM {
181
+ SubGroupID: number;
182
+ }
183
+ export interface TicketAssignedToGroupCVM {
184
+ TicketAssignGroupDetails: string;
185
+ TicketAssignGroupID: number;
186
+ }
187
+ export interface TicketAssignedToGroupUVM extends TicketAssignedToGroupCVM {
188
+ RecId: number;
189
+ }
190
+ export interface TicketAssignedToGroupVM extends TicketAssignedToGroupUVM {
191
+ IsSelected?: boolean;
192
+ }
@@ -0,0 +1,81 @@
1
+ import { HttpClient } from '@angular/common/http';
2
+ import { GlobalService } from '../../core/global.service';
3
+ import { ISearchCriteria } from '../../templates/interface_enum/common-Interface';
4
+ export declare class TicketApiService {
5
+ private http;
6
+ private globalService;
7
+ constructor(http: HttpClient, globalService: GlobalService);
8
+ PrevUrl: any;
9
+ setPrevUrl(url: any): void;
10
+ getPrevTicketUrl(): any;
11
+ getTicketData(criteriastr: ISearchCriteria, Type: any): import("rxjs").Observable<any>;
12
+ getAllTickets(criteriastr: ISearchCriteria): import("rxjs").Observable<any>;
13
+ urlGetTicketByRecId(ticketId: any): import("rxjs").Observable<any>;
14
+ urlGetTicketUpdateByRecId(ticketId: any): import("rxjs").Observable<any>;
15
+ GetStatusAssignmentListByStatusId(StatusId: any): import("rxjs").Observable<any>;
16
+ creteTicketComments(fileList: any, refRecId: any, statusId: any, comments: any, replyType: any): import("rxjs").Observable<any>;
17
+ creteTicketUpdateStatus(fileList: any, refRecId: any, statusId: any, comments: any, replyType: any): import("rxjs").Observable<any>;
18
+ getTicketCharts(): import("rxjs").Observable<any>;
19
+ urlIndividualCustomerName(termsearch: any): import("rxjs").Observable<any>;
20
+ urlBissunessCustomerName(termsearch: any): import("rxjs").Observable<any>;
21
+ urlIndividualContractNo(customerId: any): import("rxjs").Observable<any>;
22
+ urlBussinessContractNo(customerId: any): import("rxjs").Observable<any>;
23
+ urlIndividualLabourNo(customerId: any, contractId: any): import("rxjs").Observable<any>;
24
+ urlBussinessLabourNo(termsearch: any, contractNumber: any): import("rxjs").Observable<any>;
25
+ urlTicketChannel(): import("rxjs").Observable<any>;
26
+ urlTicketType(): import("rxjs").Observable<any>;
27
+ urlDepartment(ticketChannelId: any): import("rxjs").Observable<any>;
28
+ urlAssignTo(assignToGroup: any): import("rxjs").Observable<any>;
29
+ urlPriority(): import("rxjs").Observable<any>;
30
+ urlCategory(assignToGroup: any): import("rxjs").Observable<any>;
31
+ urlSubCategory(groupId: any): import("rxjs").Observable<any>;
32
+ createTickets(fileList: any, formvalue: any): import("rxjs").Observable<any>;
33
+ }
34
+ export declare const ticketAPIs: {
35
+ getAllTickets: () => string;
36
+ getMyTickets: () => string;
37
+ getActiveTickets: () => string;
38
+ getMyCreatedTickets: () => string;
39
+ getMyTeamTickets: () => string;
40
+ getClosedTickets: () => string;
41
+ getTicketByRecId: (ticId: any) => string;
42
+ getTicketChart: () => string;
43
+ getTicketUpdateByRecId: (ticId: any) => string;
44
+ GetStatusAssignmentListByStatusId: (StatusId: any) => string;
45
+ getIndividualCustomerName(termsearch: any): string;
46
+ creteTicketComments(refRecId: any, statusId: any, comments: any, replyType: any): string;
47
+ creteTicketUpdateStatus(refRecId: any, statusId: any, comments: any, replyType: any): string;
48
+ getBissunessCustomerName: (termsearch: any) => string;
49
+ getIndividualContractNo: (customerId: any) => string;
50
+ getBussinessContractNo: (customerId: any) => string;
51
+ getIndividualLabourNo: (customerId: any, contractId: any) => string;
52
+ getBussinessLabourNo: (termsearch: any, contractNumber: any) => string;
53
+ getTicketChannel: () => string;
54
+ getTicketType: () => string;
55
+ getDepartment: (ticketChannelId: any) => string;
56
+ getAssignTo: (assignToGroup: any) => string;
57
+ getPriority: () => string;
58
+ getCategory: (assignToGroup: any) => string;
59
+ getSubCategory: (groupId: any) => string;
60
+ getCreateTicketsUrl: () => string;
61
+ };
62
+ export declare const ticketpriority: {
63
+ GetAllTicketPriority: () => string;
64
+ PostTicketPriority: () => string;
65
+ PutTicketPriority: () => string;
66
+ GetSingleTicketPriority: (RecId: number) => string;
67
+ DeleteTicketPriority: (RecId: number) => string;
68
+ };
69
+ export declare const TicketType: {
70
+ GetAllTicketType: () => string;
71
+ GetAssignTicketType: (TicketTypeID: number) => string;
72
+ GetUnAssignTicketType: (TicketTypeID: number) => string;
73
+ PostTicketType: () => string;
74
+ PutTicketType: () => string;
75
+ GetSingleTicketType: (RecId: number) => string;
76
+ DeleteTicketType: (RecId: number) => string;
77
+ };
78
+ export declare const TicketDepartmetTypeMapping: {
79
+ PostAssign: () => string;
80
+ PostUnassign: () => string;
81
+ };
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "arco-support-request",
5
5
  "FTS-support-request"
6
6
  ],
7
- "version": "0.0.76",
7
+ "version": "0.0.79",
8
8
  "peerDependencies": {
9
9
  "@angular/common": "^11.2.14",
10
10
  "@angular/core": "^11.2.14"