arco-support-request 0.0.65 → 0.0.66
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/arco-support-request.d.ts +32 -0
- package/arco-support-request.metadata.json +1 -0
- package/bundles/arco-support-request.umd.js +10936 -0
- package/bundles/arco-support-request.umd.js.map +1 -0
- package/bundles/arco-support-request.umd.min.js +2 -0
- package/bundles/arco-support-request.umd.min.js.map +1 -0
- package/esm2015/arco-support-request.js +33 -0
- package/esm2015/lib/Pipe/allpipe.pipe.js +110 -0
- package/esm2015/lib/Pipe/translate.pipe.js +31 -0
- package/esm2015/lib/arco-support-request.component.js +18 -0
- package/esm2015/lib/arco-support-request.module.js +20 -0
- package/esm2015/lib/arco-support-request.service.js +19 -0
- package/esm2015/lib/core/global.service.js +1747 -0
- package/esm2015/lib/core/handlebar-helper-register.js +182 -0
- package/esm2015/lib/core/static/jwt.js +8 -0
- package/esm2015/lib/entity-type-setup/activities-create/activities-create.component.js +105 -0
- package/esm2015/lib/entity-type-setup/activities-view/activities-view.component.js +46 -0
- package/esm2015/lib/entity-type-setup/dynamic/dynamic-details-view/dynamic-details-view.component.js +367 -0
- package/esm2015/lib/entity-type-setup/dynamic/entity-dynamic-field/entity-dynamic-field.component.js +850 -0
- package/esm2015/lib/entity-type-setup/dynamic/entity-dynamic-field/validation-error.component.js +85 -0
- package/esm2015/lib/entity-type-setup/dynamic/entity-dynamic-view/entity-dynamic-view.component.js +957 -0
- package/esm2015/lib/entity-type-setup/interface/entityTypeInterface.js +51 -0
- package/esm2015/lib/entity-type-setup/interface/eventEnum.js +84 -0
- package/esm2015/lib/entity-type-setup/page-form-instance.js +65 -0
- package/esm2015/lib/entity-type-setup/page.interface.classes.js +40 -0
- package/esm2015/lib/entity-type-setup/service/entity-type-setup.service.js +1833 -0
- package/esm2015/lib/entity-type-setup/workflow-dynamic-popup/workflow-dynamic-popup.component.js +276 -0
- package/esm2015/lib/search.pipe.js +19 -0
- package/esm2015/lib/support-request/action/action.component.js +104 -0
- package/esm2015/lib/support-request/case-list/case-list.component.js +390 -0
- package/esm2015/lib/support-request/home/home.component.js +23 -0
- package/esm2015/lib/support-request/pagination/pagination.component.js +34 -0
- package/esm2015/lib/support-request/request-flow/request-flow.component.js +685 -0
- package/esm2015/lib/support-request/self-service-flow/self-service-flow.component.js +78 -0
- package/esm2015/lib/support-request/support-request-create/support-request-create.component.js +270 -0
- package/esm2015/lib/support-request/support-request-details/support-request-details.component.js +508 -0
- package/esm2015/lib/support-request/support-request-index/support-request-index.component.js +16 -0
- package/esm2015/lib/support-request/support-request-routing.module.js +22 -0
- package/esm2015/lib/support-request/support-request.module.js +98 -0
- package/esm2015/lib/support-request/support-request.service.js +105 -0
- package/esm2015/lib/support-request/supportRequestInterface.js +2 -0
- package/esm2015/lib/task/Interfaces/TaskInterface.js +7 -0
- package/esm2015/lib/task/Services/task.service.js +251 -0
- package/esm2015/lib/templates/Pipe/translate.pipe.js +31 -0
- package/esm2015/lib/templates/attachmentsetup/attachment-interface.js +2 -0
- package/esm2015/lib/templates/attachmentsetup/attachment.service.js +196 -0
- package/esm2015/lib/templates/grid/grid-datatype/grid-datatype.component.js +37 -0
- package/esm2015/lib/templates/grid/grid-service.service.js +85 -0
- package/esm2015/lib/templates/grid/grid.component.js +436 -0
- package/esm2015/lib/templates/grid/inner-grid/inner-grid.component.js +15 -0
- package/esm2015/lib/templates/interface_enum/common-Interface.js +2 -0
- package/esm2015/lib/templates/interface_enum/common-enum.js +153 -0
- package/esm2015/lib/ticket/_interfaces/model.js +2 -0
- package/esm2015/lib/ticket/_ticket-services/ticket-api.service.js +232 -0
- package/esm2015/public-api.js +9 -0
- package/fesm2015/arco-support-request.js +10336 -0
- package/fesm2015/arco-support-request.js.map +1 -0
- package/lib/Pipe/allpipe.pipe.d.ts +19 -0
- package/lib/Pipe/translate.pipe.d.ts +7 -0
- package/lib/arco-support-request.component.d.ts +5 -0
- package/lib/arco-support-request.module.d.ts +2 -0
- package/lib/arco-support-request.service.d.ts +9 -0
- package/lib/core/global.service.d.ts +78 -0
- package/lib/core/handlebar-helper-register.d.ts +1 -0
- package/lib/core/static/jwt.d.ts +7 -0
- package/lib/entity-type-setup/activities-create/activities-create.component.d.ts +30 -0
- package/lib/entity-type-setup/activities-view/activities-view.component.d.ts +16 -0
- package/lib/entity-type-setup/dynamic/dynamic-details-view/dynamic-details-view.component.d.ts +67 -0
- package/lib/entity-type-setup/dynamic/entity-dynamic-field/entity-dynamic-field.component.d.ts +88 -0
- package/lib/entity-type-setup/dynamic/entity-dynamic-field/validation-error.component.d.ts +11 -0
- package/lib/entity-type-setup/dynamic/entity-dynamic-view/entity-dynamic-view.component.d.ts +69 -0
- package/lib/entity-type-setup/interface/entityTypeInterface.d.ts +916 -0
- package/lib/entity-type-setup/interface/eventEnum.d.ts +161 -0
- package/lib/entity-type-setup/page-form-instance.d.ts +13 -0
- package/lib/entity-type-setup/page.interface.classes.d.ts +33 -0
- package/lib/entity-type-setup/service/entity-type-setup.service.d.ts +604 -0
- package/lib/entity-type-setup/workflow-dynamic-popup/workflow-dynamic-popup.component.d.ts +66 -0
- package/lib/search.pipe.d.ts +4 -0
- package/lib/support-request/action/action.component.d.ts +31 -0
- package/lib/support-request/case-list/case-list.component.d.ts +91 -0
- package/lib/support-request/home/home.component.d.ts +6 -0
- package/lib/support-request/pagination/pagination.component.d.ts +18 -0
- package/lib/support-request/request-flow/request-flow.component.d.ts +143 -0
- package/lib/support-request/self-service-flow/self-service-flow.component.d.ts +31 -0
- package/lib/support-request/support-request-create/support-request-create.component.d.ts +55 -0
- package/lib/support-request/support-request-details/support-request-details.component.d.ts +116 -0
- package/lib/support-request/support-request-index/support-request-index.component.d.ts +5 -0
- package/lib/support-request/support-request-routing.module.d.ts +2 -0
- package/lib/support-request/support-request.module.d.ts +2 -0
- package/lib/support-request/support-request.service.d.ts +35 -0
- package/lib/support-request/supportRequestInterface.d.ts +6 -0
- package/lib/task/Interfaces/TaskInterface.d.ts +132 -0
- package/lib/task/Services/task.service.d.ts +75 -0
- package/lib/templates/Pipe/translate.pipe.d.ts +7 -0
- package/lib/templates/attachmentsetup/attachment-interface.d.ts +90 -0
- package/lib/templates/attachmentsetup/attachment.service.d.ts +61 -0
- package/lib/templates/grid/grid-datatype/grid-datatype.component.d.ts +11 -0
- package/lib/templates/grid/grid-service.service.d.ts +40 -0
- package/lib/templates/grid/grid.component.d.ts +155 -0
- package/lib/templates/grid/inner-grid/inner-grid.component.d.ts +5 -0
- package/lib/templates/interface_enum/common-Interface.d.ts +90 -0
- package/lib/templates/interface_enum/common-enum.d.ts +129 -0
- package/lib/ticket/_interfaces/model.d.ts +192 -0
- package/lib/ticket/_ticket-services/ticket-api.service.d.ts +81 -0
- package/package.json +22 -11
- package/{src/public-api.ts → public-api.d.ts} +1 -6
- package/karma.conf.js +0 -44
- package/ng-package.json +0 -18
- package/src/lib/Pipe/allpipe.pipe.ts +0 -127
- package/src/lib/Pipe/handlebar-helper-register.ts +0 -197
- package/src/lib/Pipe/translate.pipe.ts +0 -32
- package/src/lib/all-routing.ts +0 -61
- package/src/lib/arco-support-request.component.spec.ts +0 -25
- package/src/lib/arco-support-request.component.ts +0 -20
- package/src/lib/arco-support-request.module.ts +0 -19
- package/src/lib/arco-support-request.service.spec.ts +0 -16
- package/src/lib/arco-support-request.service.ts +0 -16
- package/src/lib/commonstyles/new-style-rtl.css +0 -381
- package/src/lib/commonstyles/styles.scss +0 -3984
- package/src/lib/core/encodeurl.service.ts +0 -23
- package/src/lib/core/global.service.ts +0 -1810
- package/src/lib/core/handlebar-helper-register.ts +0 -213
- package/src/lib/core/httpcancel.service.ts +0 -21
- package/src/lib/core/loader.service.ts +0 -19
- package/src/lib/core/loading-provider.service.ts +0 -64
- package/src/lib/core/managehttp.interceptor.ts +0 -49
- package/src/lib/core/static/jwt.ts +0 -7
- package/src/lib/core/token.service.ts +0 -37
- package/src/lib/entity-type-setup/activities-create/activities-create.component.html +0 -68
- package/src/lib/entity-type-setup/activities-create/activities-create.component.scss +0 -0
- package/src/lib/entity-type-setup/activities-create/activities-create.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/activities-create/activities-create.component.ts +0 -121
- package/src/lib/entity-type-setup/activities-view/activities-view.component.html +0 -19
- package/src/lib/entity-type-setup/activities-view/activities-view.component.scss +0 -3
- package/src/lib/entity-type-setup/activities-view/activities-view.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/activities-view/activities-view.component.ts +0 -53
- package/src/lib/entity-type-setup/activity-template/activity-template.component.html +0 -73
- package/src/lib/entity-type-setup/activity-template/activity-template.component.scss +0 -0
- package/src/lib/entity-type-setup/activity-template/activity-template.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/activity-template/activity-template.component.ts +0 -208
- package/src/lib/entity-type-setup/activity-template-details/activity-template-details.component.html +0 -356
- package/src/lib/entity-type-setup/activity-template-details/activity-template-details.component.scss +0 -50
- package/src/lib/entity-type-setup/activity-template-details/activity-template-details.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/activity-template-details/activity-template-details.component.ts +0 -346
- package/src/lib/entity-type-setup/commom-condition/commom-condition.component.html +0 -92
- package/src/lib/entity-type-setup/commom-condition/commom-condition.component.scss +0 -90
- package/src/lib/entity-type-setup/commom-condition/commom-condition.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/commom-condition/commom-condition.component.ts +0 -74
- package/src/lib/entity-type-setup/dynamic/data-fields/data-fields.component.html +0 -57
- package/src/lib/entity-type-setup/dynamic/data-fields/data-fields.component.scss +0 -16
- package/src/lib/entity-type-setup/dynamic/data-fields/data-fields.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/dynamic/data-fields/data-fields.component.ts +0 -59
- package/src/lib/entity-type-setup/dynamic/dynamic-details-view/dynamic-details-view.component.html +0 -102
- package/src/lib/entity-type-setup/dynamic/dynamic-details-view/dynamic-details-view.component.scss +0 -3
- package/src/lib/entity-type-setup/dynamic/dynamic-details-view/dynamic-details-view.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/dynamic/dynamic-details-view/dynamic-details-view.component.ts +0 -498
- package/src/lib/entity-type-setup/dynamic/entity-dynamic-field/entity-dynamic-field.component.html +0 -408
- package/src/lib/entity-type-setup/dynamic/entity-dynamic-field/entity-dynamic-field.component.scss +0 -123
- package/src/lib/entity-type-setup/dynamic/entity-dynamic-field/entity-dynamic-field.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/dynamic/entity-dynamic-field/entity-dynamic-field.component.ts +0 -1051
- package/src/lib/entity-type-setup/dynamic/entity-dynamic-field/validation-error.component.ts +0 -84
- package/src/lib/entity-type-setup/dynamic/entity-dynamic-form/entity-dynamic-form.component.html +0 -194
- package/src/lib/entity-type-setup/dynamic/entity-dynamic-form/entity-dynamic-form.component.scss +0 -81
- package/src/lib/entity-type-setup/dynamic/entity-dynamic-form/entity-dynamic-form.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/dynamic/entity-dynamic-form/entity-dynamic-form.component.ts +0 -1466
- package/src/lib/entity-type-setup/dynamic/entity-dynamic-view/entity-dynamic-view.component.html +0 -137
- package/src/lib/entity-type-setup/dynamic/entity-dynamic-view/entity-dynamic-view.component.scss +0 -0
- package/src/lib/entity-type-setup/dynamic/entity-dynamic-view/entity-dynamic-view.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/dynamic/entity-dynamic-view/entity-dynamic-view.component.ts +0 -1232
- package/src/lib/entity-type-setup/dynamic-task-details/dynamic-task-details.component.html +0 -329
- package/src/lib/entity-type-setup/dynamic-task-details/dynamic-task-details.component.scss +0 -0
- package/src/lib/entity-type-setup/dynamic-task-details/dynamic-task-details.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/dynamic-task-details/dynamic-task-details.component.ts +0 -520
- package/src/lib/entity-type-setup/dynamic-task-list/dynamic-task-list.component.html +0 -609
- package/src/lib/entity-type-setup/dynamic-task-list/dynamic-task-list.component.scss +0 -99
- package/src/lib/entity-type-setup/dynamic-task-list/dynamic-task-list.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/dynamic-task-list/dynamic-task-list.component.ts +0 -784
- package/src/lib/entity-type-setup/dynamic-ticket-details/dynamic-ticket-details.component.html +0 -632
- package/src/lib/entity-type-setup/dynamic-ticket-details/dynamic-ticket-details.component.scss +0 -261
- package/src/lib/entity-type-setup/dynamic-ticket-details/dynamic-ticket-details.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/dynamic-ticket-details/dynamic-ticket-details.component.ts +0 -765
- package/src/lib/entity-type-setup/dynamic-ticket-details-popup/dynamic-ticket-details-popup.component.html +0 -368
- package/src/lib/entity-type-setup/dynamic-ticket-details-popup/dynamic-ticket-details-popup.component.scss +0 -0
- package/src/lib/entity-type-setup/dynamic-ticket-details-popup/dynamic-ticket-details-popup.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/dynamic-ticket-details-popup/dynamic-ticket-details-popup.component.ts +0 -334
- package/src/lib/entity-type-setup/dynamic-ticket-list/dynamic-ticket-list.component.html +0 -500
- package/src/lib/entity-type-setup/dynamic-ticket-list/dynamic-ticket-list.component.scss +0 -0
- package/src/lib/entity-type-setup/dynamic-ticket-list/dynamic-ticket-list.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/dynamic-ticket-list/dynamic-ticket-list.component.ts +0 -862
- package/src/lib/entity-type-setup/entity-attachment-setup/entity-attachment-setup.component.html +0 -139
- package/src/lib/entity-type-setup/entity-attachment-setup/entity-attachment-setup.component.scss +0 -14
- package/src/lib/entity-type-setup/entity-attachment-setup/entity-attachment-setup.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/entity-attachment-setup/entity-attachment-setup.component.ts +0 -347
- package/src/lib/entity-type-setup/entity-category-activities/entity-category-activities.component.html +0 -150
- package/src/lib/entity-type-setup/entity-category-activities/entity-category-activities.component.scss +0 -27
- package/src/lib/entity-type-setup/entity-category-activities/entity-category-activities.component.ts +0 -384
- package/src/lib/entity-type-setup/entity-category-details/entity-category-details.component.html +0 -305
- package/src/lib/entity-type-setup/entity-category-details/entity-category-details.component.scss +0 -31
- package/src/lib/entity-type-setup/entity-category-details/entity-category-details.component.ts +0 -572
- package/src/lib/entity-type-setup/entity-field-rules/entity-field-rules.component.html +0 -610
- package/src/lib/entity-type-setup/entity-field-rules/entity-field-rules.component.scss +0 -50
- package/src/lib/entity-type-setup/entity-field-rules/entity-field-rules.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/entity-field-rules/entity-field-rules.component.ts +0 -633
- package/src/lib/entity-type-setup/entity-type-field/entity-type-field.component.html +0 -609
- package/src/lib/entity-type-setup/entity-type-field/entity-type-field.component.scss +0 -4
- package/src/lib/entity-type-setup/entity-type-field/entity-type-field.component.ts +0 -702
- package/src/lib/entity-type-setup/entity-type-form/entity-type-form.component.html +0 -530
- package/src/lib/entity-type-setup/entity-type-form/entity-type-form.component.scss +0 -12
- package/src/lib/entity-type-setup/entity-type-form/entity-type-form.component.ts +0 -767
- package/src/lib/entity-type-setup/entity-type-setup-routing.module.ts +0 -92
- package/src/lib/entity-type-setup/entity-type-setup.module.ts +0 -114
- package/src/lib/entity-type-setup/events/events.component.html +0 -211
- package/src/lib/entity-type-setup/events/events.component.scss +0 -61
- package/src/lib/entity-type-setup/events/events.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/events/events.component.ts +0 -517
- package/src/lib/entity-type-setup/field-type/field-type.component.html +0 -447
- package/src/lib/entity-type-setup/field-type/field-type.component.scss +0 -0
- package/src/lib/entity-type-setup/field-type/field-type.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/field-type/field-type.component.ts +0 -531
- package/src/lib/entity-type-setup/field-type-detail/field-type-detail.component.html +0 -152
- package/src/lib/entity-type-setup/field-type-detail/field-type-detail.component.scss +0 -24
- package/src/lib/entity-type-setup/field-type-detail/field-type-detail.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/field-type-detail/field-type-detail.component.ts +0 -35
- package/src/lib/entity-type-setup/instruction/instruction.component.html +0 -239
- package/src/lib/entity-type-setup/instruction/instruction.component.scss +0 -18
- package/src/lib/entity-type-setup/instruction/instruction.component.ts +0 -450
- package/src/lib/entity-type-setup/interface/entityTypeInterface.ts +0 -1045
- package/src/lib/entity-type-setup/interface/eventEnum.ts +0 -191
- package/src/lib/entity-type-setup/issue-group/issue-group.component.html +0 -77
- package/src/lib/entity-type-setup/issue-group/issue-group.component.scss +0 -0
- package/src/lib/entity-type-setup/issue-group/issue-group.component.ts +0 -221
- package/src/lib/entity-type-setup/issue-sub-group/issue-sub-group.component.html +0 -192
- package/src/lib/entity-type-setup/issue-sub-group/issue-sub-group.component.scss +0 -10
- package/src/lib/entity-type-setup/issue-sub-group/issue-sub-group.component.ts +0 -418
- package/src/lib/entity-type-setup/issue-sub-group-detail/issue-sub-group-detail.component.html +0 -42
- package/src/lib/entity-type-setup/issue-sub-group-detail/issue-sub-group-detail.component.scss +0 -8
- package/src/lib/entity-type-setup/issue-sub-group-detail/issue-sub-group-detail.component.ts +0 -52
- package/src/lib/entity-type-setup/my-task/my-task.component.html +0 -599
- package/src/lib/entity-type-setup/my-task/my-task.component.scss +0 -0
- package/src/lib/entity-type-setup/my-task/my-task.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/my-task/my-task.component.ts +0 -770
- package/src/lib/entity-type-setup/page-form-instance.ts +0 -73
- package/src/lib/entity-type-setup/page.interface.classes.ts +0 -43
- package/src/lib/entity-type-setup/service/dropdown.directive.ts +0 -12
- package/src/lib/entity-type-setup/service/entity-type-setup.service.ts +0 -2821
- package/src/lib/entity-type-setup/task-crete/task-crete.component.html +0 -61
- package/src/lib/entity-type-setup/task-crete/task-crete.component.scss +0 -0
- package/src/lib/entity-type-setup/task-crete/task-crete.component.ts +0 -117
- package/src/lib/entity-type-setup/ticket-create/ticket-create.component.html +0 -95
- package/src/lib/entity-type-setup/ticket-create/ticket-create.component.scss +0 -23
- package/src/lib/entity-type-setup/ticket-create/ticket-create.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/ticket-create/ticket-create.component.ts +0 -213
- package/src/lib/entity-type-setup/workflow-dynamic-popup/workflow-dynamic-popup.component.html +0 -222
- package/src/lib/entity-type-setup/workflow-dynamic-popup/workflow-dynamic-popup.component.scss +0 -14
- package/src/lib/entity-type-setup/workflow-dynamic-popup/workflow-dynamic-popup.component.spec.ts +0 -25
- package/src/lib/entity-type-setup/workflow-dynamic-popup/workflow-dynamic-popup.component.ts +0 -328
- package/src/lib/search.pipe.spec.ts +0 -8
- package/src/lib/search.pipe.ts +0 -21
- package/src/lib/support-request/action/action.component.html +0 -122
- package/src/lib/support-request/action/action.component.scss +0 -6
- package/src/lib/support-request/action/action.component.ts +0 -179
- package/src/lib/support-request/case-list/case-list.component.html +0 -220
- package/src/lib/support-request/case-list/case-list.component.scss +0 -208
- package/src/lib/support-request/case-list/case-list.component.ts +0 -433
- package/src/lib/support-request/home/home.component.html +0 -16
- package/src/lib/support-request/home/home.component.scss +0 -4
- package/src/lib/support-request/home/home.component.ts +0 -23
- package/src/lib/support-request/pagination/pagination.component.html +0 -71
- package/src/lib/support-request/pagination/pagination.component.scss +0 -77
- package/src/lib/support-request/pagination/pagination.component.ts +0 -29
- package/src/lib/support-request/request-flow/request-flow.component.html +0 -330
- package/src/lib/support-request/request-flow/request-flow.component.scss +0 -2
- package/src/lib/support-request/request-flow/request-flow.component.ts +0 -846
- package/src/lib/support-request/self-service-flow/self-service-flow.component.html +0 -64
- package/src/lib/support-request/self-service-flow/self-service-flow.component.scss +0 -2
- package/src/lib/support-request/self-service-flow/self-service-flow.component.ts +0 -87
- package/src/lib/support-request/support-request-create/support-request-create.component.html +0 -103
- package/src/lib/support-request/support-request-create/support-request-create.component.scss +0 -39
- package/src/lib/support-request/support-request-create/support-request-create.component.ts +0 -319
- package/src/lib/support-request/support-request-details/support-request-details.component.html +0 -268
- package/src/lib/support-request/support-request-details/support-request-details.component.scss +0 -319
- package/src/lib/support-request/support-request-details/support-request-details.component.ts +0 -678
- package/src/lib/support-request/support-request-index/support-request-index.component.html +0 -4
- package/src/lib/support-request/support-request-index/support-request-index.component.scss +0 -0
- package/src/lib/support-request/support-request-index/support-request-index.component.ts +0 -16
- package/src/lib/support-request/support-request-list/support-request-list.component.html +0 -455
- package/src/lib/support-request/support-request-list/support-request-list.component.scss +0 -0
- package/src/lib/support-request/support-request-list/support-request-list.component.ts +0 -869
- package/src/lib/support-request/support-request-routing.module.ts +0 -21
- package/src/lib/support-request/support-request.module.ts +0 -103
- package/src/lib/support-request/support-request.service.ts +0 -145
- package/src/lib/support-request/supportRequestInterface.ts +0 -6
- package/src/lib/task/Interfaces/TaskInterface.ts +0 -164
- package/src/lib/task/Services/task.service.spec.ts +0 -16
- package/src/lib/task/Services/task.service.ts +0 -354
- package/src/lib/task/task-routing.module.ts +0 -12
- package/src/lib/task/task.module.ts +0 -23
- package/src/lib/template/template.component.html +0 -22
- package/src/lib/template/template.component.scss +0 -0
- package/src/lib/template/template.component.spec.ts +0 -25
- package/src/lib/template/template.component.ts +0 -24
- package/src/lib/templates/attachmentsetup/attach-list/attach-list.component.html +0 -83
- package/src/lib/templates/attachmentsetup/attach-list/attach-list.component.scss +0 -0
- package/src/lib/templates/attachmentsetup/attach-list/attach-list.component.ts +0 -120
- package/src/lib/templates/attachmentsetup/attach-popup/attach-popup.component.html +0 -134
- package/src/lib/templates/attachmentsetup/attach-popup/attach-popup.component.scss +0 -0
- package/src/lib/templates/attachmentsetup/attach-popup/attach-popup.component.ts +0 -185
- package/src/lib/templates/attachmentsetup/attachment-api.ts +0 -55
- package/src/lib/templates/attachmentsetup/attachment-interface.ts +0 -100
- package/src/lib/templates/attachmentsetup/attachment.service.ts +0 -233
- package/src/lib/templates/attachmentsetup/attachmentsetup/attachmentsetup.component.html +0 -97
- package/src/lib/templates/attachmentsetup/attachmentsetup/attachmentsetup.component.scss +0 -10
- package/src/lib/templates/attachmentsetup/attachmentsetup/attachmentsetup.component.ts +0 -367
- package/src/lib/templates/attachmentsetup/documenttype/documenttype.component.html +0 -49
- package/src/lib/templates/attachmentsetup/documenttype/documenttype.component.scss +0 -0
- package/src/lib/templates/attachmentsetup/documenttype/documenttype.component.ts +0 -226
- package/src/lib/templates/attachmentsetup/menu-item-data/menu-item-data.component.html +0 -140
- package/src/lib/templates/attachmentsetup/menu-item-data/menu-item-data.component.scss +0 -8
- package/src/lib/templates/attachmentsetup/menu-item-data/menu-item-data.component.ts +0 -176
- package/src/lib/templates/card/card.component.html +0 -56
- package/src/lib/templates/card/card.component.scss +0 -0
- package/src/lib/templates/card/card.component.spec.ts +0 -25
- package/src/lib/templates/card/card.component.ts +0 -306
- package/src/lib/templates/dashboard/dashboard.component.html +0 -333
- package/src/lib/templates/dashboard/dashboard.component.scss +0 -16
- package/src/lib/templates/dashboard/dashboard.component.ts +0 -2290
- package/src/lib/templates/details/details.component.html +0 -233
- package/src/lib/templates/details/details.component.scss +0 -0
- package/src/lib/templates/details/details.component.spec.ts +0 -25
- package/src/lib/templates/details/details.component.ts +0 -15
- package/src/lib/templates/detailstwo/detailstwo.component.html +0 -694
- package/src/lib/templates/detailstwo/detailstwo.component.scss +0 -0
- package/src/lib/templates/detailstwo/detailstwo.component.spec.ts +0 -25
- package/src/lib/templates/detailstwo/detailstwo.component.ts +0 -15
- package/src/lib/templates/dyanamic-page/dyanamic-page.component.html +0 -1
- package/src/lib/templates/dyanamic-page/dyanamic-page.component.scss +0 -0
- package/src/lib/templates/dyanamic-page/dyanamic-page.component.spec.ts +0 -25
- package/src/lib/templates/dyanamic-page/dyanamic-page.component.ts +0 -15
- package/src/lib/templates/grid/grid-datatype/grid-datatype.component.ts +0 -39
- package/src/lib/templates/grid/grid-service.service.ts +0 -140
- package/src/lib/templates/grid/grid.component.html +0 -270
- package/src/lib/templates/grid/grid.component.scss +0 -99
- package/src/lib/templates/grid/grid.component.spec.ts +0 -25
- package/src/lib/templates/grid/grid.component.ts +0 -458
- package/src/lib/templates/grid/inner-grid/inner-grid.component.html +0 -1
- package/src/lib/templates/grid/inner-grid/inner-grid.component.scss +0 -0
- package/src/lib/templates/grid/inner-grid/inner-grid.component.spec.ts +0 -25
- package/src/lib/templates/grid/inner-grid/inner-grid.component.ts +0 -15
- package/src/lib/templates/home/home.component.html +0 -251
- package/src/lib/templates/home/home.component.scss +0 -20
- package/src/lib/templates/home/home.component.spec.ts +0 -25
- package/src/lib/templates/home/home.component.ts +0 -15
- package/src/lib/templates/interface_enum/common-Interface.ts +0 -107
- package/src/lib/templates/interface_enum/common-enum.ts +0 -147
- package/src/lib/templates/interface_enum/icon-class.ts +0 -1149
- package/src/lib/templates/leftside/leftside.component.html +0 -77
- package/src/lib/templates/leftside/leftside.component.scss +0 -0
- package/src/lib/templates/leftside/leftside.component.spec.ts +0 -25
- package/src/lib/templates/leftside/leftside.component.ts +0 -238
- package/src/lib/templates/login/login.component.html +0 -93
- package/src/lib/templates/login/login.component.scss +0 -110
- package/src/lib/templates/login/login.component.spec.ts +0 -25
- package/src/lib/templates/login/login.component.ts +0 -142
- package/src/lib/templates/main-content/main-content.component.html +0 -31
- package/src/lib/templates/main-content/main-content.component.scss +0 -6
- package/src/lib/templates/main-content/main-content.component.spec.ts +0 -25
- package/src/lib/templates/main-content/main-content.component.ts +0 -24
- package/src/lib/templates/menu-item/child-menu/child-menu.component.html +0 -5
- package/src/lib/templates/menu-item/child-menu/child-menu.component.scss +0 -3
- package/src/lib/templates/menu-item/child-menu/child-menu.component.ts +0 -22
- package/src/lib/templates/menu-item/menu-item.component.html +0 -25
- package/src/lib/templates/menu-item/menu-item.component.scss +0 -11
- package/src/lib/templates/menu-item/menu-item.component.ts +0 -29
- package/src/lib/templates/pagination/pagination.component.html +0 -71
- package/src/lib/templates/pagination/pagination.component.scss +0 -73
- package/src/lib/templates/pagination/pagination.component.ts +0 -29
- package/src/lib/templates/pie-chart/pie-chart.component.html +0 -0
- package/src/lib/templates/pie-chart/pie-chart.component.scss +0 -0
- package/src/lib/templates/pie-chart/pie-chart.component.ts +0 -14
- package/src/lib/templates/pipe/multiple-search.pipe.ts +0 -28
- package/src/lib/templates/pipe/simple-search.pipe.ts +0 -18
- package/src/lib/templates/pipe/translate.pipe.ts +0 -31
- package/src/lib/templates/request-flow-dash/request-flow-dash.component.html +0 -16
- package/src/lib/templates/request-flow-dash/request-flow-dash.component.scss +0 -0
- package/src/lib/templates/request-flow-dash/request-flow-dash.component.spec.ts +0 -25
- package/src/lib/templates/request-flow-dash/request-flow-dash.component.ts +0 -59
- package/src/lib/templates/table/table.component.html +0 -310
- package/src/lib/templates/table/table.component.scss +0 -0
- package/src/lib/templates/table/table.component.spec.ts +0 -25
- package/src/lib/templates/table/table.component.ts +0 -52
- package/src/lib/templates/template.service.ts +0 -43
- package/src/lib/templates/templates-routing.module.ts +0 -21
- package/src/lib/templates/templates.module.ts +0 -80
- package/src/lib/templates/topnav/topnav.component.html +0 -172
- package/src/lib/templates/topnav/topnav.component.scss +0 -10
- package/src/lib/templates/topnav/topnav.component.spec.ts +0 -25
- package/src/lib/templates/topnav/topnav.component.ts +0 -59
- package/src/lib/ticket/_interfaces/master-models.ts +0 -66
- package/src/lib/ticket/_interfaces/model.ts +0 -252
- package/src/lib/ticket/_ticket-services/ticket-api.service.ts +0 -319
- package/src/lib/ticket/_ticket-services/ticket-master-api.service.ts +0 -169
- package/src/lib/ticket/_ticket-services/ticket-priority.service.ts +0 -86
- package/src/lib/ticket/_ticket-services/ticketchannel.service.ts +0 -107
- package/src/lib/ticket/ticket-routing.module.ts +0 -12
- package/src/lib/ticket/ticket.module.ts +0 -29
- package/src/test.ts +0 -26
- package/tsconfig.lib.json +0 -25
- package/tsconfig.lib.prod.json +0 -10
- package/tsconfig.spec.json +0 -17
- package/tslint.json +0 -17
|
@@ -1,2821 +0,0 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { Injectable } from '@angular/core';
|
|
3
|
-
import { CriteriaBuilder } from '../../templates/grid/grid-service.service';
|
|
4
|
-
import {
|
|
5
|
-
INameTypeVal,
|
|
6
|
-
INameVal,
|
|
7
|
-
IRestConfig,
|
|
8
|
-
ISearchCriteria,
|
|
9
|
-
ISortingField,
|
|
10
|
-
} from '../../templates/interface_enum/common-Interface';
|
|
11
|
-
import {
|
|
12
|
-
ActivityTemplateCVM,
|
|
13
|
-
CommentsCVM,
|
|
14
|
-
CommentsUVM,
|
|
15
|
-
CommentsVM,
|
|
16
|
-
IActionCVM,
|
|
17
|
-
IEntityCategoryVM,
|
|
18
|
-
IEntityTypeWFProcessStageAssignmentCVM,
|
|
19
|
-
IEntityTypeWFProcessStageAssignmentUVM,
|
|
20
|
-
IEntityTypeWFProcessStageAssignmentVM,
|
|
21
|
-
IEntityTypeWFProcessStageStatusCVM,
|
|
22
|
-
IEntityTypeWFProcessStageStatusUVM,
|
|
23
|
-
IEntityTypeWFProcessStageStatusVM,
|
|
24
|
-
IEntityWFstageCVM,
|
|
25
|
-
IEntityWFstageUVM,
|
|
26
|
-
IEntityWFstageVM,
|
|
27
|
-
IEventConditionCVM,
|
|
28
|
-
IEventCVM,
|
|
29
|
-
ISlaCVM,
|
|
30
|
-
ISlaLineCVM,
|
|
31
|
-
WfProcessStageStatusFieldCVM,
|
|
32
|
-
WfProcessStageStatusFieldUVM,
|
|
33
|
-
WfProcessStageStatusFieldVM,
|
|
34
|
-
} from '../interface/entityTypeInterface';
|
|
35
|
-
import { environment } from '../../arco-support-request.service';
|
|
36
|
-
import {
|
|
37
|
-
EntityTypeFieldCVM,
|
|
38
|
-
EntityTypeFieldUVM,
|
|
39
|
-
EntityTypeFormCVM,
|
|
40
|
-
EntityTypeFormUVM,
|
|
41
|
-
EntityTypeSetUpCVM,
|
|
42
|
-
EntityTypeSetUpUVM,
|
|
43
|
-
EntityTypeSetUpVM,
|
|
44
|
-
} from '../interface/entityTypeInterface';
|
|
45
|
-
import { BehaviorSubject, Observable, Subject } from 'rxjs';
|
|
46
|
-
import {
|
|
47
|
-
AssignmentData,
|
|
48
|
-
AssignmentIssueGroup,
|
|
49
|
-
AssignmentRequester,
|
|
50
|
-
} from '../../templates/attachmentsetup/attachment-interface';
|
|
51
|
-
import { ISysEventActionCVM } from '../interface/eventEnum';
|
|
52
|
-
import { nullSafeIsEquivalent } from '@angular/compiler/src/output/output_ast';
|
|
53
|
-
import {
|
|
54
|
-
categoryrequestertypeCVM,
|
|
55
|
-
TicketGroupCVM,
|
|
56
|
-
TicketGroupUVM,
|
|
57
|
-
TicketGroupVM,
|
|
58
|
-
TicketSubGroupCVM,
|
|
59
|
-
TicketSubGroupUVM,
|
|
60
|
-
TicketSubGroupVM,
|
|
61
|
-
} from '../../ticket/_interfaces/model';
|
|
62
|
-
import { GlobalService } from '../../core/global.service';
|
|
63
|
-
@Injectable({
|
|
64
|
-
providedIn: 'root',
|
|
65
|
-
})
|
|
66
|
-
export class EntityTypeSetupService {
|
|
67
|
-
constructor(private http: HttpClient,
|
|
68
|
-
private globalService: GlobalService) {
|
|
69
|
-
this.globalService.onHostUrlChange.subscribe(x => {
|
|
70
|
-
environment.ServerUrl = x.Url +"/productivity/api/v1/";
|
|
71
|
-
});
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
onPlaceHolderSelect: BehaviorSubject<{ placeholder: any,Type:any }> =
|
|
75
|
-
new BehaviorSubject<{
|
|
76
|
-
placeholder: any;Type:any;
|
|
77
|
-
}>({ placeholder: null,Type:null });
|
|
78
|
-
|
|
79
|
-
public IsPopupOpen: boolean = false;
|
|
80
|
-
|
|
81
|
-
public serverURL: string;
|
|
82
|
-
private v1: string;
|
|
83
|
-
|
|
84
|
-
public EntityTypeRecId1: any;
|
|
85
|
-
public StageRecId: any;
|
|
86
|
-
|
|
87
|
-
public showpopup: Subject<any> = new Subject();
|
|
88
|
-
|
|
89
|
-
open() {
|
|
90
|
-
this.IsPopupOpen = true;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
close() {
|
|
94
|
-
this.IsPopupOpen = false;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
onshowWorkflowPopup: BehaviorSubject<{
|
|
98
|
-
showWorkflowPopup?: boolean;
|
|
99
|
-
fieldConfig?: any[];
|
|
100
|
-
isUpdateField?: boolean;
|
|
101
|
-
ActionCondition?: any;
|
|
102
|
-
isFileAttach?: boolean;
|
|
103
|
-
GridRecId?: number;
|
|
104
|
-
MenuRecId?: number;
|
|
105
|
-
ProcessId?: string;
|
|
106
|
-
CurrentStage?: any;
|
|
107
|
-
Items?: any;
|
|
108
|
-
}> = new BehaviorSubject<{
|
|
109
|
-
showWorkflowPopup?: boolean;
|
|
110
|
-
fieldConfig?: any[];
|
|
111
|
-
isUpdateField?: boolean;
|
|
112
|
-
ActionCondition?: any;
|
|
113
|
-
isFileAttach?: boolean;
|
|
114
|
-
GridRecId?: number;
|
|
115
|
-
MenuRecId?: number;
|
|
116
|
-
ProcessId?: string;
|
|
117
|
-
CurrentStage?: any;
|
|
118
|
-
Items?: any;
|
|
119
|
-
}>({
|
|
120
|
-
showWorkflowPopup: false,
|
|
121
|
-
fieldConfig: [],
|
|
122
|
-
isUpdateField: null,
|
|
123
|
-
ActionCondition: null,
|
|
124
|
-
isFileAttach: false,
|
|
125
|
-
GridRecId: null,
|
|
126
|
-
MenuRecId: null,
|
|
127
|
-
ProcessId: null,
|
|
128
|
-
CurrentStage: null,
|
|
129
|
-
Items: null,
|
|
130
|
-
});
|
|
131
|
-
|
|
132
|
-
public dataTypeValue = [
|
|
133
|
-
{ Id: 1, Type: 'string' },
|
|
134
|
-
{ Id: 2, Type: 'int' },
|
|
135
|
-
{ Id: 3, Type: 'date' },
|
|
136
|
-
{ Id: 4, Type: 'dateTime' },
|
|
137
|
-
{ Id: 5, Type: 'decimal' },
|
|
138
|
-
{ Id: 6, Type: 'timeSpan' },
|
|
139
|
-
{ Id: 7, Type: 'image' },
|
|
140
|
-
{ Id: 8, Type: 'dropdown' },
|
|
141
|
-
{ Id: 9, Type: 'bool' },
|
|
142
|
-
{ Id: 10, Type: 'textarea' },
|
|
143
|
-
{ Id: 11, Type: 'file' },
|
|
144
|
-
{ Id: 19, Type: 'htmleditor' },
|
|
145
|
-
];
|
|
146
|
-
|
|
147
|
-
EntityTypeRecId = null;
|
|
148
|
-
|
|
149
|
-
getMethod(url) {
|
|
150
|
-
return this.http.get(url);
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
uploadFiles(
|
|
154
|
-
files,
|
|
155
|
-
obj: { docType: string; docName: string; recId: number | string }
|
|
156
|
-
) {
|
|
157
|
-
|
|
158
|
-
// let url_ = this.Attach_serverURL + this.commonURL + "/documenttype/uploadfile?RecId=" + Obj.RecId + "&Title=" + Obj.Title + "&Tablename=" + Obj.Tablename + "&CurrentController=" + Obj.CurrentController + "&CurrentAction=" + Obj.CurrentAction + "&DocumentType=" + Obj.DocumentType + "&DocumentVersion=" + Obj.DocumentVersion + "&FileName=" + Obj.FileName;
|
|
159
|
-
let url_ =
|
|
160
|
-
this.serverURL +
|
|
161
|
-
this.v1 +
|
|
162
|
-
`/common/documenttype/uploadfile?DocumentType=${obj.docType}&FileName=${obj.docName}&RecId=${obj.recId}`;
|
|
163
|
-
url_ = url_.replace(/[?&]$/, '');
|
|
164
|
-
|
|
165
|
-
// const content_ = Obj;
|
|
166
|
-
|
|
167
|
-
// let options_: any = {
|
|
168
|
-
// body: content_,
|
|
169
|
-
// observe: "response",
|
|
170
|
-
// // formData:files,
|
|
171
|
-
// responseType: "blob",
|
|
172
|
-
// headers: new HttpHeaders({
|
|
173
|
-
// "Content-Type": "application/json",
|
|
174
|
-
// "Accept": "application/json"
|
|
175
|
-
// })
|
|
176
|
-
// };
|
|
177
|
-
|
|
178
|
-
return this.http.post(url_, files);
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
getEnumForEntityType() {
|
|
182
|
-
let url = environment.ServerUrl + 'entitytype/getenumdropdown';
|
|
183
|
-
return this.http.get<CommentsVM[]>(url);
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
getComments(criteriastr: ISearchCriteria) {
|
|
187
|
-
let url = environment.ServerUrl + 'entitytype/comments';
|
|
188
|
-
return this.http.get<CommentsVM[]>(url, CriteriaBuilder(criteriastr));
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
getSingleComments(RecId: number) {
|
|
192
|
-
let url = environment.ServerUrl + 'entitytype/comments/' + RecId;
|
|
193
|
-
return this.http.get<CommentsVM>(url);
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
createComments(data: CommentsCVM) {
|
|
197
|
-
let url = environment.ServerUrl + 'entitytype/comments/add';
|
|
198
|
-
return this.http.post(url, data);
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
updateComments(data: CommentsUVM) {
|
|
202
|
-
let url = environment.ServerUrl + 'entitytype/comments/update';
|
|
203
|
-
return this.http.put(url, data);
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
deleteComments(RecIds: number[]) {
|
|
207
|
-
let url = environment.ServerUrl + 'entitytype/comments?recIds=' + RecIds;
|
|
208
|
-
return this.http.delete(url);
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
getWfProcessStageStatusFieldByActionRecId(
|
|
212
|
-
criteriastr: ISearchCriteria,
|
|
213
|
-
ActionRecId: number
|
|
214
|
-
) {
|
|
215
|
-
// alert("a")
|
|
216
|
-
|
|
217
|
-
let url =
|
|
218
|
-
environment.ServerUrl +
|
|
219
|
-
'entitytype/wfprocessstagestatusfield?ActionRecId=' +
|
|
220
|
-
ActionRecId;
|
|
221
|
-
return this.http.get<WfProcessStageStatusFieldVM[]>(
|
|
222
|
-
url,
|
|
223
|
-
CriteriaBuilder(criteriastr)
|
|
224
|
-
);
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
getWfProcessStageStatusField(criteriastr: ISearchCriteria) {
|
|
228
|
-
let url = environment.ServerUrl + 'entitytype/wfprocessstagestatusfield';
|
|
229
|
-
return this.http.get<WfProcessStageStatusFieldVM[]>(
|
|
230
|
-
url,
|
|
231
|
-
CriteriaBuilder(criteriastr)
|
|
232
|
-
);
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
getSingleWfProcessStageStatusField(RecId: number) {
|
|
236
|
-
let url =
|
|
237
|
-
environment.ServerUrl + 'entitytype/wfprocessstagestatusfield/' + RecId;
|
|
238
|
-
return this.http.get<WfProcessStageStatusFieldVM>(url);
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
createWfProcessStageStatusField(data: WfProcessStageStatusFieldCVM) {
|
|
242
|
-
|
|
243
|
-
let url =
|
|
244
|
-
environment.ServerUrl + 'entitytype/wfprocessstagestatusfield/add';
|
|
245
|
-
return this.http.post(url, data);
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
updateWfProcessStageStatusField(data: WfProcessStageStatusFieldUVM) {
|
|
249
|
-
let url =
|
|
250
|
-
environment.ServerUrl + 'entitytype/wfprocessstagestatusfield/update';
|
|
251
|
-
return this.http.put(url, data);
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
deleteWfProcessStageStatusField(RecIds: number[]) {
|
|
255
|
-
let url =
|
|
256
|
-
environment.ServerUrl +
|
|
257
|
-
'entitytype/wfprocessstagestatusfield?recIds=' +
|
|
258
|
-
RecIds;
|
|
259
|
-
return this.http.delete(url);
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
//------------------------setup------------------//
|
|
263
|
-
|
|
264
|
-
getSingleWfStage(RecID: any) {
|
|
265
|
-
const url = EntityWfStage.GetSinglewfstage(RecID);
|
|
266
|
-
return this.http.get(url);
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
getEntityTypeDropdowns(EnumName: string) {
|
|
270
|
-
const url = EntityWfStage.getEntityTypeDropDown(EnumName);
|
|
271
|
-
return this.http.get(url);
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
getNextStageDropDown(EnumRecord: number) {
|
|
275
|
-
const url = EntityWfStage.GetNextStageDropDown(EnumRecord);
|
|
276
|
-
return this.http.get(url);
|
|
277
|
-
}
|
|
278
|
-
|
|
279
|
-
getEnumDropDown(EnumName: string) {
|
|
280
|
-
const url = EntityWfStage.getEntityTypeDropDown(EnumName);
|
|
281
|
-
return this.http.get(url);
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
getlistview(EntityTypeId: number) {
|
|
285
|
-
const url = EntityTypeSetUp.getlistview(EntityTypeId);
|
|
286
|
-
return this.http.get(url);
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
getCaseDropDown(caseType) {
|
|
290
|
-
const url = EntityWfStage.getCaseTypeDropDown(caseType);
|
|
291
|
-
return this.http.get(url);
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
getEntityRecorddrop(EnumRecord: number) {
|
|
295
|
-
const url = EntityWfStage.GetEntityRecordDropDown(EnumRecord);
|
|
296
|
-
return this.http.get(url);
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
getEntityActionDropdown(RecId: number) {
|
|
300
|
-
const url = EntityWfStage.GetEntityActionDropDown(RecId);
|
|
301
|
-
return this.http.get(url);
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
getAssignmentByStageId(
|
|
305
|
-
criteriastr: ISearchCriteria,
|
|
306
|
-
stageRecId
|
|
307
|
-
): Observable<IEntityWFstageVM[]> {
|
|
308
|
-
const wfStagelist =
|
|
309
|
-
EntityWfStage.GetwfprocessstageassignmentByStageRecId(stageRecId);
|
|
310
|
-
return this.http.get<IEntityWFstageVM[]>(wfStagelist, {
|
|
311
|
-
params: CriteriaBuilder(criteriastr),
|
|
312
|
-
});
|
|
313
|
-
}
|
|
314
|
-
getAssignmentByEntityTypeId(
|
|
315
|
-
criteriastr: ISearchCriteria,
|
|
316
|
-
EntityTypeId
|
|
317
|
-
): Observable<IEntityWFstageVM[]> {
|
|
318
|
-
const wfStagelist =
|
|
319
|
-
EntityWfStage.GetwfprocessstageassignmentByEntityTypeId(EntityTypeId);
|
|
320
|
-
return this.http.get<IEntityWFstageVM[]>(wfStagelist, {
|
|
321
|
-
params: CriteriaBuilder(criteriastr),
|
|
322
|
-
});
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
getShortKeyCannedResponse(searchterm?: string) {
|
|
326
|
-
|
|
327
|
-
const url = ShortKeyCannedResponse.getShortCannedRespones(searchterm);
|
|
328
|
-
return this.http.get(url);
|
|
329
|
-
}
|
|
330
|
-
|
|
331
|
-
getAllWfStage(
|
|
332
|
-
criteriastr: ISearchCriteria,
|
|
333
|
-
EntityTypeId,
|
|
334
|
-
showallpending?
|
|
335
|
-
): Observable<IEntityWFstageVM[]> {
|
|
336
|
-
const wfStagelist = EntityWfStage.Getwfstage(EntityTypeId,showallpending);
|
|
337
|
-
return this.http.get<IEntityWFstageVM[]>(wfStagelist, {
|
|
338
|
-
params: CriteriaBuilder(criteriastr),
|
|
339
|
-
});
|
|
340
|
-
}
|
|
341
|
-
|
|
342
|
-
getWfStageEnumdropdown(enumname: string) {
|
|
343
|
-
const url = EntityWfStage.getWfStageEnumdropdown(enumname, 'Productivity');
|
|
344
|
-
return this.http.get(url);
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
getWfStage(EntityTypeId: number, recordStatus: number) {
|
|
348
|
-
|
|
349
|
-
const url = EntityWfStage.getWfStages(EntityTypeId, recordStatus);
|
|
350
|
-
return this.http.get(url);
|
|
351
|
-
}
|
|
352
|
-
|
|
353
|
-
postWfStage(data: IEntityWFstageCVM) {
|
|
354
|
-
const wfstagelist = EntityWfStage.Postwfstage();
|
|
355
|
-
return this.http.post(wfstagelist, data);
|
|
356
|
-
}
|
|
357
|
-
|
|
358
|
-
postWfStagePublic(data: IEntityWFstageCVM) {
|
|
359
|
-
|
|
360
|
-
const wfstagelist = EntityWfStage.PostwfstagePublic();
|
|
361
|
-
return this.http.post(wfstagelist, data);
|
|
362
|
-
}
|
|
363
|
-
|
|
364
|
-
putWfStage(data: IEntityWFstageUVM) {
|
|
365
|
-
const updat = EntityWfStage.Putwfstage();
|
|
366
|
-
return this.http.put(updat, data);
|
|
367
|
-
}
|
|
368
|
-
|
|
369
|
-
updateWfStagePublic(data: IEntityWFstageUVM) {
|
|
370
|
-
const updat = EntityWfStage.PutwfPublicstage();
|
|
371
|
-
return this.http.put(updat, data);
|
|
372
|
-
}
|
|
373
|
-
|
|
374
|
-
deleteWfStage(RecId: number[]) {
|
|
375
|
-
const dele = EntityWfStage.Deletewfstage(RecId);
|
|
376
|
-
return this.http.delete(dele);
|
|
377
|
-
}
|
|
378
|
-
|
|
379
|
-
deleteWfProcessStageStatus(RecId: number[]) {
|
|
380
|
-
const dele = EntityWfStage.Deletewfprocessstagestatus(RecId);
|
|
381
|
-
return this.http.delete(dele);
|
|
382
|
-
}
|
|
383
|
-
|
|
384
|
-
getSingleWfProcessAssignment(RecID: any) {
|
|
385
|
-
const url =
|
|
386
|
-
Entitywfprocessstageassignment.GetSinglewfprocessstageassignment(RecID);
|
|
387
|
-
return this.http.get(url);
|
|
388
|
-
}
|
|
389
|
-
|
|
390
|
-
getAllWfProcessAssignment(
|
|
391
|
-
criteriastr: ISearchCriteria
|
|
392
|
-
): Observable<IEntityTypeWFProcessStageAssignmentVM[]> {
|
|
393
|
-
const wfProcessAssignmentlist =
|
|
394
|
-
Entitywfprocessstageassignment.Getwfprocessstageassignment();
|
|
395
|
-
return this.http.get<IEntityTypeWFProcessStageAssignmentVM[]>(
|
|
396
|
-
wfProcessAssignmentlist,
|
|
397
|
-
{ params: CriteriaBuilder(criteriastr) }
|
|
398
|
-
);
|
|
399
|
-
}
|
|
400
|
-
|
|
401
|
-
getAllWfProcessAssignmentByStageRecId(
|
|
402
|
-
criteriastr: ISearchCriteria,
|
|
403
|
-
StageRecId
|
|
404
|
-
): Observable<IEntityTypeWFProcessStageAssignmentVM[]> {
|
|
405
|
-
const wfProcessAssignmentlist =
|
|
406
|
-
Entitywfprocessstageassignment.GetwfprocessstageassignmentByStageRecId(
|
|
407
|
-
StageRecId
|
|
408
|
-
);
|
|
409
|
-
return this.http.get<IEntityTypeWFProcessStageAssignmentVM[]>(
|
|
410
|
-
wfProcessAssignmentlist,
|
|
411
|
-
{ params: CriteriaBuilder(criteriastr) }
|
|
412
|
-
);
|
|
413
|
-
}
|
|
414
|
-
|
|
415
|
-
postWfProcessAssignment(data: IEntityTypeWFProcessStageAssignmentCVM) {
|
|
416
|
-
const wfProcessAssignmentlist =
|
|
417
|
-
Entitywfprocessstageassignment.Postwfprocessstageassignment();
|
|
418
|
-
return this.http.post(wfProcessAssignmentlist, data);
|
|
419
|
-
}
|
|
420
|
-
|
|
421
|
-
putWfProcessAssignment(data: IEntityTypeWFProcessStageAssignmentUVM) {
|
|
422
|
-
const updat = Entitywfprocessstageassignment.Putwfprocessstageassignment();
|
|
423
|
-
return this.http.put(updat, data);
|
|
424
|
-
}
|
|
425
|
-
deleteWfProcessAssignment(RecId: number[]) {
|
|
426
|
-
const dele =
|
|
427
|
-
Entitywfprocessstageassignment.Deletewfprocessstageassignment(RecId);
|
|
428
|
-
return this.http.delete(dele);
|
|
429
|
-
}
|
|
430
|
-
getAssignAssignment(StageRecId: any) {
|
|
431
|
-
const url = AssignmentUserRole.GetAssignUser(StageRecId);
|
|
432
|
-
return this.http.get(url);
|
|
433
|
-
}
|
|
434
|
-
|
|
435
|
-
PostTicketMappingTypeAssign(data) {
|
|
436
|
-
const Typelist = AssignmentUserRole.PostAssignUser();
|
|
437
|
-
return this.http.post(Typelist, data);
|
|
438
|
-
}
|
|
439
|
-
|
|
440
|
-
PostUserAssignmentByStageRecId(data) {
|
|
441
|
-
|
|
442
|
-
const st = data.URIds.map((x) => 'URIds=' + x).join('&');
|
|
443
|
-
let url_ = `${environment.ServerUrl}/entitytype/wfprocessstageassignment/assingnuser?${st}&StageRecId=${data.StageRecId}`;
|
|
444
|
-
return this.http.post(url_, null);
|
|
445
|
-
}
|
|
446
|
-
|
|
447
|
-
PostUserUnAssignmentByStageRecId(data) {
|
|
448
|
-
|
|
449
|
-
const st = data.URIds.map((x) => 'URIds=' + x).join('&');
|
|
450
|
-
let url_ = `${environment.ServerUrl}/entitytype/wfprocessstageassignment/unassingnuser?${st}&StageRecId=${data.StageRecId}`;
|
|
451
|
-
return this.http.post(url_, null);
|
|
452
|
-
}
|
|
453
|
-
|
|
454
|
-
TicketMappingTypeUnassign(data) {
|
|
455
|
-
const Typelist = AssignmentUserRole.PostUnassignUser();
|
|
456
|
-
return this.http.post(Typelist, data);
|
|
457
|
-
}
|
|
458
|
-
|
|
459
|
-
PostAssignmentRoleTypeAssignByStageRecId(data) {
|
|
460
|
-
|
|
461
|
-
const st = data.URIds.map((x) => 'URIds=' + x).join('&');
|
|
462
|
-
let url_ = `${environment.ServerUrl}/entitytype/wfprocessstageassignment/assingnrole?${st}&StageRecId=${data.StageRecId}`;
|
|
463
|
-
return this.http.post(url_, null);
|
|
464
|
-
}
|
|
465
|
-
|
|
466
|
-
PostAssignmentRoleTypeUnassignRecId(data) {
|
|
467
|
-
|
|
468
|
-
const st = data.URIds.map((x) => 'URIds=' + x).join('&');
|
|
469
|
-
let url_ = `${environment.ServerUrl}/entitytype/wfprocessstageassignment/unassingnrole?${st}&StageRecId=${data.StageRecId}`;
|
|
470
|
-
return this.http.post(url_, null);
|
|
471
|
-
}
|
|
472
|
-
|
|
473
|
-
PostAssignmentRoleTypeAssignByStageRecIds(data, StageRecId) {
|
|
474
|
-
|
|
475
|
-
const Typelist = AssignmentUserRole.PostAssignRole(StageRecId);
|
|
476
|
-
return this.http.post(Typelist, data);
|
|
477
|
-
}
|
|
478
|
-
|
|
479
|
-
// PostAssignmentRoleTypeAssign(data){
|
|
480
|
-
// const Typelist = AssignmentUserRole.PostAssignRole();
|
|
481
|
-
// return this.http.post(Typelist,data);
|
|
482
|
-
// }
|
|
483
|
-
|
|
484
|
-
PostAssignmentRoleTypeUnassign(data) {
|
|
485
|
-
const Typelist = AssignmentUserRole.PostUnAssignRole();
|
|
486
|
-
return this.http.post(Typelist, data);
|
|
487
|
-
}
|
|
488
|
-
|
|
489
|
-
getRoleUserwise() {
|
|
490
|
-
const userwise = AssignmentUserRole.GetRoleSelect();
|
|
491
|
-
return this.http.get(userwise);
|
|
492
|
-
}
|
|
493
|
-
|
|
494
|
-
getRolesUserwise() {
|
|
495
|
-
const userwises = AssignmentUserRole.GetUserSelect();
|
|
496
|
-
return this.http.get(userwises);
|
|
497
|
-
}
|
|
498
|
-
|
|
499
|
-
getRolewithUserwise(EntityTypeRecId: number, URIds: number) {
|
|
500
|
-
const userwise = AssignmentUserRole.GetRoleUserWise(EntityTypeRecId, URIds);
|
|
501
|
-
return this.http.get(userwise);
|
|
502
|
-
}
|
|
503
|
-
|
|
504
|
-
getRoleswithUserwise(EntityTypeRecId: number, URIds: number) {
|
|
505
|
-
const userwises = AssignmentUserRole.GetRolesUserWise(
|
|
506
|
-
EntityTypeRecId,
|
|
507
|
-
URIds
|
|
508
|
-
);
|
|
509
|
-
return this.http.get(userwises);
|
|
510
|
-
}
|
|
511
|
-
|
|
512
|
-
PostAssignmentRolesAssignByStageRecId(data) {
|
|
513
|
-
|
|
514
|
-
const st = data.StageRecId.map((x) => 'StageRecId=' + x).join('&');
|
|
515
|
-
let url_ = `${environment.ServerUrl}entitytype/wfprocessstageassignment/stagestatus/assingnrole?${st}&URIds=${data.URIds}`;
|
|
516
|
-
return this.http.post(url_, null);
|
|
517
|
-
}
|
|
518
|
-
|
|
519
|
-
PostAssignmentRolesUnAssignByStageRecId(data) {
|
|
520
|
-
|
|
521
|
-
const st = data.StageRecId.map((x) => 'StageRecId=' + x).join('&');
|
|
522
|
-
let url_ = `${environment.ServerUrl}entitytype/wfprocessstageassignment/stagestatus/unassingnrole?${st}&URIds=${data.URIds}`;
|
|
523
|
-
return this.http.post(url_, null);
|
|
524
|
-
}
|
|
525
|
-
|
|
526
|
-
PostUserAssignByStageRecId(data) {
|
|
527
|
-
|
|
528
|
-
const st = data.StageRecId.map((x) => 'StageRecId=' + x).join('&');
|
|
529
|
-
let url_ = `${environment.ServerUrl}entitytype/wfprocessstageassignment/stagestatus/assingnuser?${st}&URIds=${data.URIds}`;
|
|
530
|
-
return this.http.post(url_, null);
|
|
531
|
-
}
|
|
532
|
-
|
|
533
|
-
PostUsersUnAssignByStageRecId(data) {
|
|
534
|
-
|
|
535
|
-
const st = data.StageRecId.map((x) => 'StageRecId=' + x).join('&');
|
|
536
|
-
let url_ = `${environment.ServerUrl}entitytype/wfprocessstageassignment/stagestatus/unassingnuser?${st}&URIds=${data.URIds}`;
|
|
537
|
-
return this.http.post(url_, null);
|
|
538
|
-
}
|
|
539
|
-
getSingleWfProcessStage(RecID: any) {
|
|
540
|
-
const url = Entitywfprocessstagestatus.GetSinglewfprocessstagestatus(RecID);
|
|
541
|
-
return this.http.get(url);
|
|
542
|
-
}
|
|
543
|
-
|
|
544
|
-
getWfProcessStageByStageRecId(
|
|
545
|
-
criteriastr: ISearchCriteria,
|
|
546
|
-
StageRecId: number
|
|
547
|
-
): Observable<IEntityTypeWFProcessStageStatusVM[]> {
|
|
548
|
-
|
|
549
|
-
const wfProcessStatuslist =
|
|
550
|
-
Entitywfprocessstagestatus.GetwfprocessstagestatusByStageRecId(
|
|
551
|
-
StageRecId
|
|
552
|
-
);
|
|
553
|
-
return this.http.get<IEntityTypeWFProcessStageStatusVM[]>(
|
|
554
|
-
wfProcessStatuslist,
|
|
555
|
-
{ params: CriteriaBuilder(criteriastr) }
|
|
556
|
-
);
|
|
557
|
-
}
|
|
558
|
-
|
|
559
|
-
getAllWfProcessStage(
|
|
560
|
-
criteriastr: ISearchCriteria,
|
|
561
|
-
StageRecId: number
|
|
562
|
-
): Observable<IEntityTypeWFProcessStageStatusVM[]> {
|
|
563
|
-
const wfProcessStatuslist =
|
|
564
|
-
Entitywfprocessstagestatus.Getwfprocessstagestatus();
|
|
565
|
-
return this.http.get<IEntityTypeWFProcessStageStatusVM[]>(
|
|
566
|
-
wfProcessStatuslist,
|
|
567
|
-
{ params: CriteriaBuilder(criteriastr) }
|
|
568
|
-
);
|
|
569
|
-
}
|
|
570
|
-
|
|
571
|
-
postWfProcessStage(data: IEntityTypeWFProcessStageStatusCVM) {
|
|
572
|
-
const wfProcessStatuslist =
|
|
573
|
-
Entitywfprocessstagestatus.Postwfprocessstagestatus();
|
|
574
|
-
return this.http.post(wfProcessStatuslist, data);
|
|
575
|
-
}
|
|
576
|
-
|
|
577
|
-
postWfProcessStagePublic(data: IEntityTypeWFProcessStageStatusCVM) {
|
|
578
|
-
const wfProcessStatuslist =
|
|
579
|
-
Entitywfprocessstagestatus.PostwfprocessstagestatusPublic();
|
|
580
|
-
return this.http.post(wfProcessStatuslist, data);
|
|
581
|
-
}
|
|
582
|
-
|
|
583
|
-
getAllEvent(EntityTypeId: number) {
|
|
584
|
-
|
|
585
|
-
const url = EntityEvent.getAllEvents(EntityTypeId);
|
|
586
|
-
return this.http.get(url);
|
|
587
|
-
}
|
|
588
|
-
|
|
589
|
-
getAllActionGroup(criteriastr: ISearchCriteria) {
|
|
590
|
-
|
|
591
|
-
const url = EntityEvent.getAllActionGroup();
|
|
592
|
-
return this.http.get(url, { params: CriteriaBuilder(criteriastr) });
|
|
593
|
-
}
|
|
594
|
-
|
|
595
|
-
getAllActionGroupByEntityTypeRecId(
|
|
596
|
-
criteriastr: ISearchCriteria,
|
|
597
|
-
EntityTypeRecId
|
|
598
|
-
) {
|
|
599
|
-
|
|
600
|
-
const url = EntityEvent.getAllActionGroupByEntityTypeRecId(EntityTypeRecId);
|
|
601
|
-
return this.http.get(url, { params: CriteriaBuilder(criteriastr) });
|
|
602
|
-
}
|
|
603
|
-
|
|
604
|
-
getActivityTemplate(CaseTypeId) {
|
|
605
|
-
|
|
606
|
-
const url = EntityEvent.getActivityTemplate(CaseTypeId);
|
|
607
|
-
return this.http.get(url);
|
|
608
|
-
}
|
|
609
|
-
|
|
610
|
-
GetSingleActionCondition(recId: number) {
|
|
611
|
-
|
|
612
|
-
const url = EntityEvent.GetSingleEventCondition(recId);
|
|
613
|
-
return this.http.get(url);
|
|
614
|
-
}
|
|
615
|
-
|
|
616
|
-
GetSingleEvents(recId: number) {
|
|
617
|
-
|
|
618
|
-
const url = EntityEvent.GetSingleEvents(recId);
|
|
619
|
-
return this.http.get(url);
|
|
620
|
-
}
|
|
621
|
-
|
|
622
|
-
GetEventsHistory(criteriastr: ISearchCriteria, EventRecId) {
|
|
623
|
-
|
|
624
|
-
const url = EntityEvent.GetEventsHistory(EventRecId);
|
|
625
|
-
return this.http.get(url, { params: CriteriaBuilder(criteriastr) });
|
|
626
|
-
}
|
|
627
|
-
|
|
628
|
-
GetSingleAction(recId: number) {
|
|
629
|
-
|
|
630
|
-
const url = EntityEvent.GetSingleAction(recId);
|
|
631
|
-
return this.http.get(url);
|
|
632
|
-
}
|
|
633
|
-
|
|
634
|
-
getAllEvents(criteriastr: ISearchCriteria) {
|
|
635
|
-
|
|
636
|
-
const url = EntityEvent.getAllEventsWithoutType();
|
|
637
|
-
return this.http.get(url, { params: CriteriaBuilder(criteriastr) });
|
|
638
|
-
}
|
|
639
|
-
|
|
640
|
-
getEventsFollowupcommentsbyrefrecid(
|
|
641
|
-
criteriastr: ISearchCriteria,
|
|
642
|
-
refRecId,
|
|
643
|
-
entitytyperecid,
|
|
644
|
-
refTableName
|
|
645
|
-
) {
|
|
646
|
-
|
|
647
|
-
const url = EntityEvent.getEventsFollowupcommentsbyrefrecid(
|
|
648
|
-
refRecId,
|
|
649
|
-
entitytyperecid,
|
|
650
|
-
refTableName
|
|
651
|
-
);
|
|
652
|
-
return this.http.get(url, { params: CriteriaBuilder(criteriastr) });
|
|
653
|
-
}
|
|
654
|
-
|
|
655
|
-
getAllEventsByEntityTypeRecId(EntityTypeRecId) {
|
|
656
|
-
|
|
657
|
-
const url = EntityEvent.getAllEventsWithType(EntityTypeRecId);
|
|
658
|
-
return this.http.get(url);
|
|
659
|
-
}
|
|
660
|
-
|
|
661
|
-
getAllEventsByEntityTypeRecIdList(
|
|
662
|
-
EntityTypeRecId,
|
|
663
|
-
criteriastr: ISearchCriteria
|
|
664
|
-
) {
|
|
665
|
-
|
|
666
|
-
const url = EntityEvent.getAllEventsWithType(EntityTypeRecId);
|
|
667
|
-
return this.http.get(url, { params: CriteriaBuilder(criteriastr) });
|
|
668
|
-
}
|
|
669
|
-
|
|
670
|
-
getAllActionsByEntityTypeId(EntityTypeId: number) {
|
|
671
|
-
|
|
672
|
-
const url = EntityEvent.getAllActionsByEntityTypeId(EntityTypeId);
|
|
673
|
-
return this.http.get(url);
|
|
674
|
-
}
|
|
675
|
-
|
|
676
|
-
getActionsByActionGroupId(criteriastr: ISearchCriteria, actionGroupId) {
|
|
677
|
-
|
|
678
|
-
const url = EntityEvent.getActionsByActionGroupId(actionGroupId);
|
|
679
|
-
return this.http.get(url, { params: CriteriaBuilder(criteriastr) });
|
|
680
|
-
}
|
|
681
|
-
|
|
682
|
-
deleteAction(RecId: number[]) {
|
|
683
|
-
const url = EntityEvent.deleteAction(RecId);
|
|
684
|
-
return this.http.delete(url);
|
|
685
|
-
}
|
|
686
|
-
|
|
687
|
-
getAllActions(criteriastr: ISearchCriteria) {
|
|
688
|
-
|
|
689
|
-
const url = EntityEvent.getAllActions();
|
|
690
|
-
return this.http.get(url, { params: CriteriaBuilder(criteriastr) });
|
|
691
|
-
}
|
|
692
|
-
|
|
693
|
-
getAllActionsByEntityTypeRecId(
|
|
694
|
-
EntityTypeRecId,
|
|
695
|
-
criteriastr: ISearchCriteria
|
|
696
|
-
) {
|
|
697
|
-
|
|
698
|
-
const url = EntityEvent.getAllActionsByEntityTypeRecId(EntityTypeRecId);
|
|
699
|
-
return this.http.get(url, { params: CriteriaBuilder(criteriastr) });
|
|
700
|
-
}
|
|
701
|
-
|
|
702
|
-
getEventCondition(recId: number) {
|
|
703
|
-
|
|
704
|
-
const url = EntityEvent.getEventsConditions(recId);
|
|
705
|
-
return this.http.get(url);
|
|
706
|
-
}
|
|
707
|
-
|
|
708
|
-
deleteEvent(RecId: number[]) {
|
|
709
|
-
const url = EntityEvent.deleteEvents(RecId);
|
|
710
|
-
return this.http.delete(url);
|
|
711
|
-
}
|
|
712
|
-
|
|
713
|
-
getEventAction(EventName: string) {
|
|
714
|
-
|
|
715
|
-
const url = EntityEvent.getEventAction(EventName);
|
|
716
|
-
return this.http.get(url);
|
|
717
|
-
}
|
|
718
|
-
|
|
719
|
-
postEventAction(data: ISysEventActionCVM) {
|
|
720
|
-
const url = EntityEvent.postEventAction();
|
|
721
|
-
return this.http.post(url, data);
|
|
722
|
-
}
|
|
723
|
-
|
|
724
|
-
deleteEventAction(RecId: number[]) {
|
|
725
|
-
const url = EntityEvent.deleteEventAction(RecId);
|
|
726
|
-
return this.http.delete(url);
|
|
727
|
-
}
|
|
728
|
-
|
|
729
|
-
putEventAction(data: ISysEventActionCVM) {
|
|
730
|
-
const url = EntityEvent.putEventAction();
|
|
731
|
-
return this.http.put(url, data);
|
|
732
|
-
}
|
|
733
|
-
|
|
734
|
-
postEvent(data: IEventCVM) {
|
|
735
|
-
const EventList = EntityEvent.PostEventAdd();
|
|
736
|
-
return this.http.post(EventList, data);
|
|
737
|
-
}
|
|
738
|
-
|
|
739
|
-
postAction(data: IActionCVM) {
|
|
740
|
-
const ActionList = EntityEvent.PostActionAdd();
|
|
741
|
-
return this.http.post(ActionList, data);
|
|
742
|
-
}
|
|
743
|
-
|
|
744
|
-
putAction(data: IActionCVM) {
|
|
745
|
-
const ActionList = EntityEvent.PutActionAdd();
|
|
746
|
-
return this.http.put(ActionList, data);
|
|
747
|
-
}
|
|
748
|
-
|
|
749
|
-
postActionGroup(data) {
|
|
750
|
-
const ActionList = EntityEvent.PostActionGroupAdd();
|
|
751
|
-
return this.http.post(ActionList, data);
|
|
752
|
-
}
|
|
753
|
-
|
|
754
|
-
putActionGroup(data) {
|
|
755
|
-
const ActionList = EntityEvent.putActionGroup();
|
|
756
|
-
return this.http.put(ActionList, data);
|
|
757
|
-
}
|
|
758
|
-
|
|
759
|
-
postEventActive(recId, comments) {
|
|
760
|
-
|
|
761
|
-
const url = EntityEvent.PostEventActive(recId, comments);
|
|
762
|
-
return this.http.post(url, null);
|
|
763
|
-
}
|
|
764
|
-
|
|
765
|
-
postActionActive(recId, comments) {
|
|
766
|
-
const url = EntityEvent.PostActionActive(recId, comments);
|
|
767
|
-
return this.http.post(url, null);
|
|
768
|
-
}
|
|
769
|
-
|
|
770
|
-
postActive(recId, comments) {
|
|
771
|
-
const url = EntityEvent.PostActive(recId, comments);
|
|
772
|
-
return this.http.post(url, null);
|
|
773
|
-
}
|
|
774
|
-
|
|
775
|
-
postActionDeActive(recId, comments) {
|
|
776
|
-
const url = EntityEvent.PostActionDeActive(recId, comments);
|
|
777
|
-
return this.http.post(url, null);
|
|
778
|
-
}
|
|
779
|
-
|
|
780
|
-
postEventDeActive(recId, comments) {
|
|
781
|
-
const url = EntityEvent.PostEventDeActive(recId, comments);
|
|
782
|
-
return this.http.post(url, null);
|
|
783
|
-
}
|
|
784
|
-
|
|
785
|
-
postDeActive(recId, comments) {
|
|
786
|
-
const url = EntityEvent.PostDeActive(recId, comments);
|
|
787
|
-
return this.http.post(url, null);
|
|
788
|
-
}
|
|
789
|
-
|
|
790
|
-
postEventCondition(data: IEventConditionCVM) {
|
|
791
|
-
const EventList = EntityEvent.PostEventConditionAdd();
|
|
792
|
-
return this.http.post(EventList, data);
|
|
793
|
-
}
|
|
794
|
-
|
|
795
|
-
putEventCondition(data) {
|
|
796
|
-
const url = EntityEvent.putEventCondition();
|
|
797
|
-
return this.http.put(url, data);
|
|
798
|
-
}
|
|
799
|
-
|
|
800
|
-
getValidate(EntityTypeRecId: number) {
|
|
801
|
-
const url = EntityEvent.setValidation(EntityTypeRecId);
|
|
802
|
-
return this.http.get(url);
|
|
803
|
-
}
|
|
804
|
-
|
|
805
|
-
getRequester(RequesterTypeId: string) {
|
|
806
|
-
const url = EntityEvent.setdropdownrequester(RequesterTypeId);
|
|
807
|
-
return this.http.get(url);
|
|
808
|
-
}
|
|
809
|
-
|
|
810
|
-
getSla(EntityTypeId: number) {
|
|
811
|
-
|
|
812
|
-
const url = Sla.getAllSla(EntityTypeId);
|
|
813
|
-
return this.http.get(url);
|
|
814
|
-
}
|
|
815
|
-
|
|
816
|
-
getSlaLine(criteriastr: ISearchCriteria, SLARecId: number) {
|
|
817
|
-
|
|
818
|
-
const url = Sla.getSlaLines(SLARecId);
|
|
819
|
-
return this.http.get(url, { params: CriteriaBuilder(criteriastr) });
|
|
820
|
-
}
|
|
821
|
-
|
|
822
|
-
postSlaActive(recId, comments) {
|
|
823
|
-
|
|
824
|
-
const url = Sla.PostSlaActive(recId, comments);
|
|
825
|
-
return this.http.post(url, null);
|
|
826
|
-
}
|
|
827
|
-
|
|
828
|
-
postSlaDeActive(recId, comments) {
|
|
829
|
-
const url = Sla.PostSlaDeActive(recId, comments);
|
|
830
|
-
return this.http.post(url, null);
|
|
831
|
-
}
|
|
832
|
-
|
|
833
|
-
addSla(data: ISlaCVM) {
|
|
834
|
-
|
|
835
|
-
const EventList = Sla.PostSlaAdd();
|
|
836
|
-
|
|
837
|
-
return this.http.post(EventList, data);
|
|
838
|
-
}
|
|
839
|
-
|
|
840
|
-
addSlaLine(data: ISlaLineCVM) {
|
|
841
|
-
const EventList = Sla.PostSlaLineAdd();
|
|
842
|
-
return this.http.post(EventList, data);
|
|
843
|
-
}
|
|
844
|
-
|
|
845
|
-
updateSlaLine(data: ISlaLineCVM) {
|
|
846
|
-
const url = Sla.putSlaLine();
|
|
847
|
-
return this.http.put(url, data);
|
|
848
|
-
}
|
|
849
|
-
|
|
850
|
-
updateSla(data: ISlaCVM) {
|
|
851
|
-
const url = Sla.putSla();
|
|
852
|
-
return this.http.put(url, data);
|
|
853
|
-
}
|
|
854
|
-
|
|
855
|
-
deleteSla(RecId: number[]) {
|
|
856
|
-
const url = Sla.deleteSla(RecId);
|
|
857
|
-
return this.http.delete(url);
|
|
858
|
-
}
|
|
859
|
-
|
|
860
|
-
deleteSlaLine(RecId: number[]) {
|
|
861
|
-
const url = Sla.deleteSlaLine(RecId);
|
|
862
|
-
return this.http.delete(url);
|
|
863
|
-
}
|
|
864
|
-
|
|
865
|
-
putWfProcessStage(data: IEntityTypeWFProcessStageStatusUVM) {
|
|
866
|
-
const updat = Entitywfprocessstagestatus.Putwfprocessstagestatus();
|
|
867
|
-
return this.http.put(updat, data);
|
|
868
|
-
}
|
|
869
|
-
|
|
870
|
-
putWfProcessStagePublic(data: IEntityTypeWFProcessStageStatusUVM) {
|
|
871
|
-
const updat = Entitywfprocessstagestatus.PutwfprocessstagestatusPublic();
|
|
872
|
-
return this.http.put(updat, data);
|
|
873
|
-
}
|
|
874
|
-
|
|
875
|
-
deleteWfProcessStage(RecId: number[]) {
|
|
876
|
-
const dele = Entitywfprocessstagestatus.Deletewfprocessstagestatus(RecId);
|
|
877
|
-
return this.http.delete(dele);
|
|
878
|
-
}
|
|
879
|
-
|
|
880
|
-
// -------------------Dynamic --------------- //
|
|
881
|
-
|
|
882
|
-
dynamicAPi(
|
|
883
|
-
restData: IRestConfig,
|
|
884
|
-
FormValues?: any,
|
|
885
|
-
searchCriteria?: ISearchCriteria,
|
|
886
|
-
SearchText?: any,
|
|
887
|
-
isHavecriteria?: boolean
|
|
888
|
-
) {
|
|
889
|
-
// alert('get service');
|
|
890
|
-
|
|
891
|
-
let params = this.setparameter(
|
|
892
|
-
restData.QueryStrings,
|
|
893
|
-
FormValues,
|
|
894
|
-
SearchText,
|
|
895
|
-
isHavecriteria
|
|
896
|
-
);
|
|
897
|
-
let parameter = this.getArraycolumn(params);
|
|
898
|
-
|
|
899
|
-
let _url = restData.URL + parameter;
|
|
900
|
-
// searchCriteria = this.setCriteriaField(restData.QueryStrings,FormValues,searchCriteria)
|
|
901
|
-
|
|
902
|
-
switch (restData.Method) {
|
|
903
|
-
case 'GET': {
|
|
904
|
-
|
|
905
|
-
return this.http.get<any>(_url, {
|
|
906
|
-
params: CriteriaBuilder(searchCriteria),
|
|
907
|
-
});
|
|
908
|
-
break;
|
|
909
|
-
}
|
|
910
|
-
case 'POST': {
|
|
911
|
-
return this.http.post<any>(_url, restData.Body);
|
|
912
|
-
break;
|
|
913
|
-
}
|
|
914
|
-
case 'PUT': {
|
|
915
|
-
return this.http.put<any>(_url, restData.Body);
|
|
916
|
-
break;
|
|
917
|
-
}
|
|
918
|
-
case 'DELETE': {
|
|
919
|
-
return this.http.delete<any>(_url);
|
|
920
|
-
break;
|
|
921
|
-
}
|
|
922
|
-
default: {
|
|
923
|
-
return this.http.get<any>(_url);
|
|
924
|
-
}
|
|
925
|
-
}
|
|
926
|
-
}
|
|
927
|
-
|
|
928
|
-
setparameter(
|
|
929
|
-
parameters: INameTypeVal[],
|
|
930
|
-
FormValues,
|
|
931
|
-
SearchText?,
|
|
932
|
-
isHavecriteria?: boolean
|
|
933
|
-
) {
|
|
934
|
-
|
|
935
|
-
let params: INameVal[] = [];
|
|
936
|
-
|
|
937
|
-
parameters.forEach((element) => {
|
|
938
|
-
if (element.Type == 'FieldValue') {
|
|
939
|
-
let temp: INameVal = {
|
|
940
|
-
Name: element.Name,
|
|
941
|
-
Value: FormValues[element.Value],
|
|
942
|
-
};
|
|
943
|
-
// if(!element.IsCriteriaField)
|
|
944
|
-
params.push(temp);
|
|
945
|
-
}
|
|
946
|
-
|
|
947
|
-
else if (element.Type == 'SearchValue') {
|
|
948
|
-
if (SearchText && !isHavecriteria) {
|
|
949
|
-
let temp: INameVal = {
|
|
950
|
-
Name: element.Name,
|
|
951
|
-
Value: SearchText,
|
|
952
|
-
};
|
|
953
|
-
params.push(temp);
|
|
954
|
-
}
|
|
955
|
-
}
|
|
956
|
-
else {
|
|
957
|
-
let temp: INameVal = { Name: element.Name, Value: element.Value };
|
|
958
|
-
params.push(temp);
|
|
959
|
-
}
|
|
960
|
-
|
|
961
|
-
});
|
|
962
|
-
|
|
963
|
-
return params;
|
|
964
|
-
}
|
|
965
|
-
getArraycolumn(column: INameVal[] = []) {
|
|
966
|
-
if (Array.isArray(column) && column.length > 0) {
|
|
967
|
-
let str = '';
|
|
968
|
-
let i = 0;
|
|
969
|
-
column.forEach((x) => {
|
|
970
|
-
|
|
971
|
-
if (i == 0) str += `?${x.Name}=${x.Value ? x.Value : '' }`;
|
|
972
|
-
else str += `&${x.Name}=${x.Value ? x.Value : ''}`;
|
|
973
|
-
i++;
|
|
974
|
-
});
|
|
975
|
-
return str;
|
|
976
|
-
} else return '';
|
|
977
|
-
}
|
|
978
|
-
|
|
979
|
-
getDyamicUrl(url) {
|
|
980
|
-
let _url = `${environment.ServerUrl}/${url}`;
|
|
981
|
-
return this.http.get(_url);
|
|
982
|
-
}
|
|
983
|
-
getFieldList() {
|
|
984
|
-
const url = EntityTypeSetUp.getAllEntityTypeSetup();
|
|
985
|
-
return this.http.get(url);
|
|
986
|
-
}
|
|
987
|
-
|
|
988
|
-
setCriteriaField(parameters: INameTypeVal[],FormValues,searchCriteria){
|
|
989
|
-
let criteria = null;
|
|
990
|
-
parameters.forEach((element) => {
|
|
991
|
-
if(element.IsCriteriaField && element.Type != 'SearchValue'){
|
|
992
|
-
debugger
|
|
993
|
-
if(searchCriteria && searchCriteria.Where){
|
|
994
|
-
let filterobj = {
|
|
995
|
-
Field: element.Name,
|
|
996
|
-
Operator: 'Contains',
|
|
997
|
-
TableAlias: '',
|
|
998
|
-
Value: FormValues[element.Value],
|
|
999
|
-
};
|
|
1000
|
-
if(filterobj.Value)
|
|
1001
|
-
searchCriteria.Where.push(filterobj);
|
|
1002
|
-
criteria = searchCriteria;
|
|
1003
|
-
}else{
|
|
1004
|
-
if(!searchCriteria){
|
|
1005
|
-
let SortingField: ISortingField = { field: null, direction: null } as any;
|
|
1006
|
-
searchCriteria ={
|
|
1007
|
-
Pagging: {
|
|
1008
|
-
PageNo: 1,
|
|
1009
|
-
PageSize: 100,
|
|
1010
|
-
},
|
|
1011
|
-
Where: [],
|
|
1012
|
-
SortOrder: SortingField,
|
|
1013
|
-
}
|
|
1014
|
-
}
|
|
1015
|
-
|
|
1016
|
-
searchCriteria.Where = [];
|
|
1017
|
-
|
|
1018
|
-
let filterobj = {
|
|
1019
|
-
Field: element.Name,
|
|
1020
|
-
Operator: 'Contains',
|
|
1021
|
-
TableAlias: '',
|
|
1022
|
-
Value: FormValues[element.Value],
|
|
1023
|
-
};
|
|
1024
|
-
|
|
1025
|
-
if(filterobj.Value)
|
|
1026
|
-
searchCriteria.Where.push(filterobj)
|
|
1027
|
-
|
|
1028
|
-
criteria = searchCriteria;
|
|
1029
|
-
}
|
|
1030
|
-
}
|
|
1031
|
-
});
|
|
1032
|
-
return criteria
|
|
1033
|
-
}
|
|
1034
|
-
|
|
1035
|
-
// ------------------ Favorites --------------
|
|
1036
|
-
|
|
1037
|
-
favoriteAndRecent() {
|
|
1038
|
-
|
|
1039
|
-
const url = Favorites.favoriteandrecent();
|
|
1040
|
-
return this.http.get(url);
|
|
1041
|
-
}
|
|
1042
|
-
|
|
1043
|
-
getFavorites(EntityTypeId) {
|
|
1044
|
-
|
|
1045
|
-
const url = Favorites.getFavorites(EntityTypeId);
|
|
1046
|
-
return this.http.get(url);
|
|
1047
|
-
}
|
|
1048
|
-
getFavoriteAndRecent() {
|
|
1049
|
-
|
|
1050
|
-
const url = Favorites.getFavoriteAndRecent();
|
|
1051
|
-
return this.http.get(url);
|
|
1052
|
-
}
|
|
1053
|
-
addRecent(EntityTypeId) {
|
|
1054
|
-
|
|
1055
|
-
const url = Favorites.addRecent(EntityTypeId);
|
|
1056
|
-
return this.http.post(url, null);
|
|
1057
|
-
}
|
|
1058
|
-
addFavorites(EntityTypeId) {
|
|
1059
|
-
|
|
1060
|
-
const url = Favorites.addFavorites(EntityTypeId);
|
|
1061
|
-
return this.http.post(url, null);
|
|
1062
|
-
}
|
|
1063
|
-
removeFavorites(EntityTypeId) {
|
|
1064
|
-
|
|
1065
|
-
const url = Favorites.removeFavorites(EntityTypeId);
|
|
1066
|
-
return this.http.delete(url);
|
|
1067
|
-
}
|
|
1068
|
-
|
|
1069
|
-
//------------------------setup------------------//
|
|
1070
|
-
getAllEntityTypeSetup(criteriastr: ISearchCriteria) {
|
|
1071
|
-
|
|
1072
|
-
const url = EntityTypeSetUp.getAllEntityTypeSetup();
|
|
1073
|
-
return this.http.get(url, { params: CriteriaBuilder(criteriastr) });
|
|
1074
|
-
}
|
|
1075
|
-
getAllEntityTypeSetupForDropDown() {
|
|
1076
|
-
|
|
1077
|
-
const url = EntityTypeSetUp.getAllEntityTypeSetup();
|
|
1078
|
-
return this.http.get(url);
|
|
1079
|
-
}
|
|
1080
|
-
|
|
1081
|
-
getActiveEntityTypeSetup(
|
|
1082
|
-
criteriastr: ISearchCriteria,
|
|
1083
|
-
EntityType,
|
|
1084
|
-
CategoryId?
|
|
1085
|
-
) {
|
|
1086
|
-
|
|
1087
|
-
const url = EntityTypeSetUp.getActiveEntityTypeSetup(
|
|
1088
|
-
EntityType,
|
|
1089
|
-
CategoryId
|
|
1090
|
-
);
|
|
1091
|
-
return this.http.get(url, { params: CriteriaBuilder(criteriastr) });
|
|
1092
|
-
}
|
|
1093
|
-
|
|
1094
|
-
getAllAssinedActivites(criteriastr: ISearchCriteria, EntityTypeId) {
|
|
1095
|
-
|
|
1096
|
-
const url = EntityTypeSetUp.getAllAssinedActivites(EntityTypeId);
|
|
1097
|
-
return this.http.get(url, { params: CriteriaBuilder(criteriastr) });
|
|
1098
|
-
}
|
|
1099
|
-
|
|
1100
|
-
getActiveEntityForm(EntityTypeRecId) {
|
|
1101
|
-
|
|
1102
|
-
const url = EntityTypeSetUp.getActiveEntityForm(EntityTypeRecId);
|
|
1103
|
-
return this.http.get(url);
|
|
1104
|
-
}
|
|
1105
|
-
|
|
1106
|
-
getActiveEntityFormByList(EntityTypeRecId) {
|
|
1107
|
-
|
|
1108
|
-
const url = EntityTypeSetUp.getActiveEntityFormbyList(EntityTypeRecId);
|
|
1109
|
-
return this.http.get(url);
|
|
1110
|
-
}
|
|
1111
|
-
|
|
1112
|
-
getActiveEntityFormByDetails(EntityTypeRecId) {
|
|
1113
|
-
|
|
1114
|
-
const url = EntityTypeSetUp.getActiveEntityFormbyDetails(EntityTypeRecId);
|
|
1115
|
-
return this.http.get(url);
|
|
1116
|
-
}
|
|
1117
|
-
|
|
1118
|
-
getSingleEntityTypeSetupById(RecId: number) {
|
|
1119
|
-
const url = EntityTypeSetUp.getSingleEntityTypeSetupById(RecId);
|
|
1120
|
-
return this.http.get(url);
|
|
1121
|
-
}
|
|
1122
|
-
|
|
1123
|
-
postEntityTypeSetup(data: EntityTypeSetUpCVM) {
|
|
1124
|
-
const url = EntityTypeSetUp.postEntityTypeSetup();
|
|
1125
|
-
return this.http.post(url, data);
|
|
1126
|
-
}
|
|
1127
|
-
putEntityTypeSetup(data: EntityTypeSetUpUVM) {
|
|
1128
|
-
|
|
1129
|
-
const url = EntityTypeSetUp.putEntityTypeSetup();
|
|
1130
|
-
return this.http.put(url, data);
|
|
1131
|
-
}
|
|
1132
|
-
deleteEntityTypeSetup(RecId: number[]) {
|
|
1133
|
-
const url = EntityTypeSetUp.deleteEntityTypeSetup(RecId);
|
|
1134
|
-
return this.http.delete(url);
|
|
1135
|
-
}
|
|
1136
|
-
|
|
1137
|
-
getEntityTypeDropdown(EnumName: string) {
|
|
1138
|
-
const url = EntityTypeSetUp.getEntityTypeDropdown(EnumName);
|
|
1139
|
-
return this.http.get(url);
|
|
1140
|
-
}
|
|
1141
|
-
|
|
1142
|
-
getEntitySetupTemplate(EntityType: any, CategoryId?: any) {
|
|
1143
|
-
const url = EntityTypeSetUp.getEntitySetupTemplate(EntityType, CategoryId);
|
|
1144
|
-
return this.http.get(url);
|
|
1145
|
-
}
|
|
1146
|
-
|
|
1147
|
-
getDocumentTypeAssignUnAssign(MenuRecId: number) {
|
|
1148
|
-
const url = EntityTypeSetUp.getDocumentTypeAssignUnAssign(MenuRecId);
|
|
1149
|
-
return this.http.get(url);
|
|
1150
|
-
}
|
|
1151
|
-
assignDocumentType(data: AssignmentData) {
|
|
1152
|
-
|
|
1153
|
-
const st = data.DocumentTypeRecId.map((x) => 'DocumentTypeRecId=' + x).join(
|
|
1154
|
-
'&'
|
|
1155
|
-
);
|
|
1156
|
-
let url_ = `${environment.ServerUrl}security/documenttype/entitytype/assign?${st}&MenuOrEntityRecId=${data.MenuOrEntityRecId}`;
|
|
1157
|
-
return this.http.post(url_, null);
|
|
1158
|
-
}
|
|
1159
|
-
unassignDocumentType(data: AssignmentData) {
|
|
1160
|
-
const st = data.DocumentTypeRecId.map((x) => 'DocumentTypeRecId=' + x).join(
|
|
1161
|
-
'&'
|
|
1162
|
-
);
|
|
1163
|
-
let url_ = `${environment.ServerUrl}security/documenttype/entitytype/unassign?${st}&MenuOrEntityRecId=${data.MenuOrEntityRecId}`;
|
|
1164
|
-
return this.http.post(url_, data);
|
|
1165
|
-
}
|
|
1166
|
-
|
|
1167
|
-
getAllRules(EntityTypeId: number) {
|
|
1168
|
-
|
|
1169
|
-
const url = EntityTypeSetUp.getAllRules(EntityTypeId);
|
|
1170
|
-
return this.http.get(url);
|
|
1171
|
-
}
|
|
1172
|
-
|
|
1173
|
-
getAllRulesWithTemplateData(EntityTypeId: number) {
|
|
1174
|
-
|
|
1175
|
-
const url = EntityTypeSetUp.getAllRulesWithTemplateData(EntityTypeId);
|
|
1176
|
-
return this.http.get(url);
|
|
1177
|
-
}
|
|
1178
|
-
|
|
1179
|
-
getSingleRules(EntityTypeId: number, FormRecId: number) {
|
|
1180
|
-
|
|
1181
|
-
const url = EntityTypeSetUp.getSinglelRules(EntityTypeId, FormRecId);
|
|
1182
|
-
return this.http.get(url);
|
|
1183
|
-
}
|
|
1184
|
-
|
|
1185
|
-
// ------------------------- Entity Category -------------------------
|
|
1186
|
-
|
|
1187
|
-
getSingleEntityCategoryById(RecId: number) {
|
|
1188
|
-
const url = EntityTypeSetUp.getEntityCategoryById(RecId);
|
|
1189
|
-
return this.http.get(url);
|
|
1190
|
-
}
|
|
1191
|
-
|
|
1192
|
-
getAllEntityCategory(criteriastr?: ISearchCriteria) {
|
|
1193
|
-
|
|
1194
|
-
const url = EntityTypeSetUp.getAllEntityTypeCategory();
|
|
1195
|
-
return this.http.get(url, { params: CriteriaBuilder(criteriastr) });
|
|
1196
|
-
}
|
|
1197
|
-
|
|
1198
|
-
getAllEntityCategoryTask(criteriastr?: ISearchCriteria) {
|
|
1199
|
-
|
|
1200
|
-
const url = EntityTypeSetUp.getEntityTypTask();
|
|
1201
|
-
return this.http.get(url, { params: CriteriaBuilder(criteriastr) });
|
|
1202
|
-
}
|
|
1203
|
-
|
|
1204
|
-
createEntityCategory(data: IEntityCategoryVM) {
|
|
1205
|
-
const url = EntityTypeSetUp.createEntityCategory();
|
|
1206
|
-
return this.http.post(url, data);
|
|
1207
|
-
}
|
|
1208
|
-
updateEntityCategory(data: IEntityCategoryVM) {
|
|
1209
|
-
const url = EntityTypeSetUp.updateEntityCategory();
|
|
1210
|
-
return this.http.put(url, data);
|
|
1211
|
-
}
|
|
1212
|
-
deletEntityCategory(RecId: number[]) {
|
|
1213
|
-
const url = EntityTypeSetUp.deleteEntityCategory(RecId);
|
|
1214
|
-
return this.http.delete(url);
|
|
1215
|
-
}
|
|
1216
|
-
|
|
1217
|
-
getLookupValuseByLookupId(LookupTypeId) {
|
|
1218
|
-
const url = EntityTypeSetUp.getLookupValuseByLookupId(LookupTypeId);
|
|
1219
|
-
return this.http.get(url);
|
|
1220
|
-
}
|
|
1221
|
-
|
|
1222
|
-
getRequestereType() {
|
|
1223
|
-
const url = EntityTypeSetUp.getRequesterType();
|
|
1224
|
-
return this.http.get(url);
|
|
1225
|
-
}
|
|
1226
|
-
|
|
1227
|
-
getFieldType() {
|
|
1228
|
-
|
|
1229
|
-
const url = EntityTypeSetUp.getFieldType();
|
|
1230
|
-
return this.http.get(url);
|
|
1231
|
-
}
|
|
1232
|
-
|
|
1233
|
-
assignRequesterType(data: AssignmentRequester) {
|
|
1234
|
-
|
|
1235
|
-
const st = data.RelationIds.map((x) => 'RelationIds=' + x).join('&');
|
|
1236
|
-
let url_ = `${environment.ServerUrl}categorytypeteams/assingnrequestertype?CategoryId=${data.CategoryId}&${st}`;
|
|
1237
|
-
return this.http.post(url_, null);
|
|
1238
|
-
}
|
|
1239
|
-
unassignRequesterType(data: AssignmentRequester) {
|
|
1240
|
-
|
|
1241
|
-
const st = data.RelationIds.map((x) => 'RelationIds=' + x).join('&');
|
|
1242
|
-
let url_ = `${environment.ServerUrl}categorytypeteams/unassingnrequestertype?CategoryId=${data.CategoryId}&${st}`;
|
|
1243
|
-
return this.http.post(url_, null);
|
|
1244
|
-
}
|
|
1245
|
-
|
|
1246
|
-
getassignandunassignrequester(CategoryId: string) {
|
|
1247
|
-
const url = EntityTypeSetUp.getassignunassignrequester(CategoryId);
|
|
1248
|
-
return this.http.get(url);
|
|
1249
|
-
}
|
|
1250
|
-
|
|
1251
|
-
// ----------------------- ActivityTemplate ----------------------------
|
|
1252
|
-
|
|
1253
|
-
getSingleActivityTemplateById(RecId: number) {
|
|
1254
|
-
|
|
1255
|
-
const url = EntityTypeSetUp.getActivityTemplateById(RecId);
|
|
1256
|
-
return this.http.get(url);
|
|
1257
|
-
}
|
|
1258
|
-
|
|
1259
|
-
getAllActivityTemplate(criteriastr?: ISearchCriteria, Actiontype?: number) {
|
|
1260
|
-
|
|
1261
|
-
const url = EntityTypeSetUp.getActivityTemplate(Actiontype);
|
|
1262
|
-
return this.http.get(url, { params: CriteriaBuilder(criteriastr) });
|
|
1263
|
-
}
|
|
1264
|
-
|
|
1265
|
-
createActivityTemplate(data: ActivityTemplateCVM) {
|
|
1266
|
-
const url = EntityTypeSetUp.createActivityTemplate();
|
|
1267
|
-
return this.http.post(url, data);
|
|
1268
|
-
}
|
|
1269
|
-
updateActivityTemplate(data: ActivityTemplateCVM) {
|
|
1270
|
-
const url = EntityTypeSetUp.updateActivityTemplate();
|
|
1271
|
-
return this.http.put(url, data);
|
|
1272
|
-
}
|
|
1273
|
-
deletActivityTemplate(RecId: number[]) {
|
|
1274
|
-
const url = EntityTypeSetUp.deleteActivityTemplate(RecId);
|
|
1275
|
-
return this.http.delete(url);
|
|
1276
|
-
}
|
|
1277
|
-
|
|
1278
|
-
//-------------------------------field------------------------
|
|
1279
|
-
|
|
1280
|
-
getTimerEventDropdown(EnumName: string) {
|
|
1281
|
-
const url = EntityWfStage.getEntityTypeDropdown(EnumName);
|
|
1282
|
-
return this.http.get(url);
|
|
1283
|
-
}
|
|
1284
|
-
|
|
1285
|
-
getAllEntityTypeField(criteriastr: ISearchCriteria, EntityTypeId: number) {
|
|
1286
|
-
|
|
1287
|
-
const url = EntityTypeField.getAllEntityTypeField(EntityTypeId);
|
|
1288
|
-
return this.http.get(url, { params: CriteriaBuilder(criteriastr) });
|
|
1289
|
-
}
|
|
1290
|
-
|
|
1291
|
-
getAllEntityTypeFieldWithDynamic(
|
|
1292
|
-
criteriastr: ISearchCriteria,
|
|
1293
|
-
EntityTypeId: number
|
|
1294
|
-
) {
|
|
1295
|
-
|
|
1296
|
-
const url = EntityTypeField.getAllEntityTypeFieldWithDynamic(EntityTypeId);
|
|
1297
|
-
return this.http.get(url, { params: CriteriaBuilder(criteriastr) });
|
|
1298
|
-
}
|
|
1299
|
-
|
|
1300
|
-
getAllDefaultEntityTypeField(EntityTypeId: number) {
|
|
1301
|
-
|
|
1302
|
-
const url = EntityTypeField.getAllDefaultEntityTypeField(EntityTypeId);
|
|
1303
|
-
return this.http.get(url);
|
|
1304
|
-
}
|
|
1305
|
-
|
|
1306
|
-
getSingleEntityTypeFieldById(RecId: number) {
|
|
1307
|
-
const url = EntityTypeField.getSingleEntityTypeFieldById(RecId);
|
|
1308
|
-
return this.http.get(url);
|
|
1309
|
-
}
|
|
1310
|
-
postEntityTypeField(data: EntityTypeFieldCVM) {
|
|
1311
|
-
const url = EntityTypeField.postEntityTypeField();
|
|
1312
|
-
return this.http.post(url, data);
|
|
1313
|
-
}
|
|
1314
|
-
|
|
1315
|
-
putEntityTypeField(data: EntityTypeFieldUVM) {
|
|
1316
|
-
const url = EntityTypeField.putEntityTypeField();
|
|
1317
|
-
return this.http.put(url, data);
|
|
1318
|
-
}
|
|
1319
|
-
|
|
1320
|
-
deleteEntityTypeField(RecId: number[]) {
|
|
1321
|
-
const url = EntityTypeField.deleteEntityTypeField(RecId);
|
|
1322
|
-
return this.http.delete(url);
|
|
1323
|
-
}
|
|
1324
|
-
|
|
1325
|
-
getApiUrl(ApiUrl: string) {
|
|
1326
|
-
|
|
1327
|
-
let url = `${environment.ServerUrl}${ApiUrl}`;
|
|
1328
|
-
return this.http.get(url);
|
|
1329
|
-
}
|
|
1330
|
-
|
|
1331
|
-
//-------------------------form-----------------------------
|
|
1332
|
-
|
|
1333
|
-
getAllEntityTypeForm(criteriastr: ISearchCriteria, EntityTypeId: number) {
|
|
1334
|
-
|
|
1335
|
-
const url = EntityTypeForm.getAllEntityTypeForm(EntityTypeId);
|
|
1336
|
-
return this.http.get(url, { params: CriteriaBuilder(criteriastr) });
|
|
1337
|
-
}
|
|
1338
|
-
|
|
1339
|
-
getEntityTypeForm(
|
|
1340
|
-
criteriastr: ISearchCriteria,
|
|
1341
|
-
EntityTypeId: number,
|
|
1342
|
-
FormType: number
|
|
1343
|
-
) {
|
|
1344
|
-
|
|
1345
|
-
const url = EntityTypeForm.getEntityTypeForm(EntityTypeId, FormType);
|
|
1346
|
-
return this.http.get(url, { params: CriteriaBuilder(criteriastr) });
|
|
1347
|
-
}
|
|
1348
|
-
getSingleEntityTypeFormById(RecId: number) {
|
|
1349
|
-
|
|
1350
|
-
const url = EntityTypeForm.getSingleEntityTypeFormById(RecId);
|
|
1351
|
-
return this.http.get(url);
|
|
1352
|
-
}
|
|
1353
|
-
|
|
1354
|
-
getSingleFormStatus(RecId: number, Status: number) {
|
|
1355
|
-
const url = EntityTypeForm.getStatusUpdate(RecId, Status);
|
|
1356
|
-
return this.http.get(url);
|
|
1357
|
-
}
|
|
1358
|
-
postEntityTypeForm(data: EntityTypeFormCVM) {
|
|
1359
|
-
const url = EntityTypeForm.postEntityTypeForm();
|
|
1360
|
-
return this.http.post(url, data);
|
|
1361
|
-
}
|
|
1362
|
-
|
|
1363
|
-
postEntityTypeFormData(
|
|
1364
|
-
data: EntityTypeFormCVM,
|
|
1365
|
-
EntityTypeRecId: number,
|
|
1366
|
-
FormType: number,
|
|
1367
|
-
Version?: number
|
|
1368
|
-
) {
|
|
1369
|
-
const url = EntityTypeForm.postEntityTypeFormData(
|
|
1370
|
-
EntityTypeRecId,
|
|
1371
|
-
FormType,
|
|
1372
|
-
Version
|
|
1373
|
-
);
|
|
1374
|
-
return this.http.post(url, data);
|
|
1375
|
-
}
|
|
1376
|
-
|
|
1377
|
-
putEntityTypeForm(data: EntityTypeFormUVM) {
|
|
1378
|
-
const url = EntityTypeForm.putEntityTypeForm();
|
|
1379
|
-
return this.http.put(url, data);
|
|
1380
|
-
}
|
|
1381
|
-
deleteEntityTypeForm(RecId: number[]) {
|
|
1382
|
-
const url = EntityTypeForm.deleteEntityTypeForm(RecId);
|
|
1383
|
-
return this.http.delete(url);
|
|
1384
|
-
}
|
|
1385
|
-
|
|
1386
|
-
// ---------------------------
|
|
1387
|
-
|
|
1388
|
-
// urlGetDynamicTaskGet(criteriastr: ISearchCriteria) {
|
|
1389
|
-
// const url = taskAPIs.getDynamicTaskGet();
|
|
1390
|
-
// return this.http.get<any>(url, { params: CriteriaBuilder(criteriastr) });
|
|
1391
|
-
// }
|
|
1392
|
-
|
|
1393
|
-
urlGetDynamicTask(criteriastr: ISearchCriteria, EntityTypeId: number) {
|
|
1394
|
-
|
|
1395
|
-
const url = EntityTypeDynamic.getAllEntityTypeTask(EntityTypeId);
|
|
1396
|
-
return this.http.get(url, { params: CriteriaBuilder(criteriastr) });
|
|
1397
|
-
}
|
|
1398
|
-
|
|
1399
|
-
urlGetDynamicTaskSingleByRecId(recId: number) {
|
|
1400
|
-
return this.http.get<any>(EntityTypeDynamic.getSingleTaskByRecId(recId));
|
|
1401
|
-
}
|
|
1402
|
-
|
|
1403
|
-
urlGetDynamicTicketSingleByRecId(recId: number) {
|
|
1404
|
-
return this.http.get<any>(EntityTypeDynamic.getSingleTicketByRecId(recId));
|
|
1405
|
-
}
|
|
1406
|
-
|
|
1407
|
-
urlGetDynamicTicketJoinSingleByRecId(recId: number, entityTypeRecId: number) {
|
|
1408
|
-
return this.http.get<any>(
|
|
1409
|
-
EntityTypeDynamic.getSingleTicketJoinByRecId(recId, entityTypeRecId)
|
|
1410
|
-
);
|
|
1411
|
-
}
|
|
1412
|
-
|
|
1413
|
-
urlPostTicketWfAction(
|
|
1414
|
-
RecIds: number,
|
|
1415
|
-
stageId,
|
|
1416
|
-
action,
|
|
1417
|
-
comments,
|
|
1418
|
-
updateFileds,
|
|
1419
|
-
updateFieldsObject,
|
|
1420
|
-
EntityTypeId
|
|
1421
|
-
) {
|
|
1422
|
-
|
|
1423
|
-
let updateFiledsString = JSON.stringify(updateFileds);
|
|
1424
|
-
|
|
1425
|
-
let obj: any = {
|
|
1426
|
-
RecIds: [RecIds],
|
|
1427
|
-
RecId: 0,
|
|
1428
|
-
StageId: stageId,
|
|
1429
|
-
Action: action,
|
|
1430
|
-
Comments: comments,
|
|
1431
|
-
RefFields: updateFieldsObject,
|
|
1432
|
-
RecordStatus: 0,
|
|
1433
|
-
};
|
|
1434
|
-
|
|
1435
|
-
let url_ =
|
|
1436
|
-
environment.ServerUrl +
|
|
1437
|
-
'entitytype/ticket/wfAction?entitytyperecid=' +
|
|
1438
|
-
EntityTypeId;
|
|
1439
|
-
return this.http.post(url_, obj);
|
|
1440
|
-
}
|
|
1441
|
-
|
|
1442
|
-
urlPostTaskWfAction(
|
|
1443
|
-
RecIds: number,
|
|
1444
|
-
stageId,
|
|
1445
|
-
action,
|
|
1446
|
-
comments,
|
|
1447
|
-
updateFileds,
|
|
1448
|
-
updateFieldsObject,
|
|
1449
|
-
EntityTypeId
|
|
1450
|
-
) {
|
|
1451
|
-
|
|
1452
|
-
let updateFiledsString = JSON.stringify(updateFileds);
|
|
1453
|
-
|
|
1454
|
-
let obj: any = {
|
|
1455
|
-
RecIds: [RecIds],
|
|
1456
|
-
RecId: 0,
|
|
1457
|
-
StageId: stageId,
|
|
1458
|
-
Action: action,
|
|
1459
|
-
Comments: comments,
|
|
1460
|
-
RefFields: updateFieldsObject,
|
|
1461
|
-
RecordStatus: 0,
|
|
1462
|
-
};
|
|
1463
|
-
|
|
1464
|
-
let url_ =
|
|
1465
|
-
environment.ServerUrl +
|
|
1466
|
-
'entitytype/ticket/wfAction?entitytyperecid=' +
|
|
1467
|
-
EntityTypeId;
|
|
1468
|
-
return this.http.post(url_, obj);
|
|
1469
|
-
}
|
|
1470
|
-
|
|
1471
|
-
getWfInsProcessStageComments(
|
|
1472
|
-
criteriastr: ISearchCriteria,
|
|
1473
|
-
EntityTypeId,
|
|
1474
|
-
refRecId
|
|
1475
|
-
): Observable<IEntityWFstageVM[]> {
|
|
1476
|
-
const wfStagelist = EntityTypeDynamic.Getwfinsprocessstagecomments(
|
|
1477
|
-
EntityTypeId,
|
|
1478
|
-
refRecId
|
|
1479
|
-
);
|
|
1480
|
-
return this.http.get<IEntityWFstageVM[]>(wfStagelist, {
|
|
1481
|
-
params: CriteriaBuilder(criteriastr),
|
|
1482
|
-
});
|
|
1483
|
-
}
|
|
1484
|
-
|
|
1485
|
-
postTicketComments(file, values) {
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
// let Url = environment.ServerUrl + "task/followupcomments/create="+values;
|
|
1489
|
-
let Url = `${environment.ServerUrl}entitytype/ticket/comments/create?RefRecId=${values.refRecId}&comments=${values.comments}&refernceFields=${values.refernceFields}`;
|
|
1490
|
-
|
|
1491
|
-
if (file && file.length > 0) {
|
|
1492
|
-
let formData: FormData = new FormData();
|
|
1493
|
-
let _file: File = file[0];
|
|
1494
|
-
formData.append('Files', _file, file.name);
|
|
1495
|
-
return this.http.post(Url, formData);
|
|
1496
|
-
}
|
|
1497
|
-
|
|
1498
|
-
return this.http.post(Url, null);
|
|
1499
|
-
|
|
1500
|
-
// return this.http.post<any>(taskAPIs.PostComments(), values);
|
|
1501
|
-
}
|
|
1502
|
-
|
|
1503
|
-
postTaskComments(file, values) {
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
// let Url = environment.ServerUrl + "task/followupcomments/create="+values;
|
|
1507
|
-
let Url = `${environment.ServerUrl}task/followupcomments/create?RefRecId=${values.refRecId}&entitytyperecid=${values.entitytyperecid}&FollowUp=${values.commnets}`;
|
|
1508
|
-
|
|
1509
|
-
if (file && file.length > 0) {
|
|
1510
|
-
let formData: FormData = new FormData();
|
|
1511
|
-
let _file: File = file[0];
|
|
1512
|
-
formData.append('Files', _file, file.name);
|
|
1513
|
-
return this.http.post(Url, formData);
|
|
1514
|
-
}
|
|
1515
|
-
|
|
1516
|
-
return this.http.post(Url, null);
|
|
1517
|
-
|
|
1518
|
-
// return this.http.post<any>(taskAPIs.PostComments(), values);
|
|
1519
|
-
}
|
|
1520
|
-
|
|
1521
|
-
// urlPostTicketWfAction(RecIds: number[], stageId, action, comments, updateFileds) {
|
|
1522
|
-
//
|
|
1523
|
-
// return this.http.get<any>(EntityTypeDynamic.postTicketWfAction(RecIds, stageId, action, comments, updateFileds));
|
|
1524
|
-
// }
|
|
1525
|
-
|
|
1526
|
-
urlGetWfStageAction(EntityTypeId: number, StageId: number) {
|
|
1527
|
-
|
|
1528
|
-
return this.http.get<any>(
|
|
1529
|
-
EntityTypeDynamic.getWfStageAction(EntityTypeId, StageId)
|
|
1530
|
-
);
|
|
1531
|
-
}
|
|
1532
|
-
|
|
1533
|
-
urlGetStatusField(ActionRecId: number) {
|
|
1534
|
-
|
|
1535
|
-
return this.http.get<any>(EntityTypeDynamic.getStatusField(ActionRecId));
|
|
1536
|
-
}
|
|
1537
|
-
|
|
1538
|
-
urlGetDynamicTicket(criteriastr: ISearchCriteria, EntityTypeId: number) {
|
|
1539
|
-
|
|
1540
|
-
const url = EntityTypeDynamic.getAllEntityTypeTicket(EntityTypeId);
|
|
1541
|
-
return this.http.get(url, { params: CriteriaBuilder(criteriastr) });
|
|
1542
|
-
}
|
|
1543
|
-
|
|
1544
|
-
UrlPostDynamicCreate(EntityTicketModel: string) {
|
|
1545
|
-
const url = EntityTypeDynamic.PostDynamicTicket(EntityTicketModel);
|
|
1546
|
-
return this.http.post(url, EntityTicketModel);
|
|
1547
|
-
}
|
|
1548
|
-
|
|
1549
|
-
EntityTypeTicketCreate(EntityTicketModel: string) {
|
|
1550
|
-
const url = EntityTypeDynamic.EntityTypeTicketCreate(EntityTicketModel);
|
|
1551
|
-
return this.http.post(url, null);
|
|
1552
|
-
}
|
|
1553
|
-
|
|
1554
|
-
EntityTypeTaskCreate(EntityTaskModel: string) {
|
|
1555
|
-
const url = EntityTypeDynamic.EntityTypeTaskCreate(EntityTaskModel);
|
|
1556
|
-
return this.http.post(url, null);
|
|
1557
|
-
}
|
|
1558
|
-
|
|
1559
|
-
GetEntityTypeId() {
|
|
1560
|
-
const url = EntityTypeDynamic.getEntityTpeId();
|
|
1561
|
-
return this.http.get(url);
|
|
1562
|
-
}
|
|
1563
|
-
//----------------------myAssigned Cases------------------------------//
|
|
1564
|
-
getAllMyAssignedCases(criteriastr: ISearchCriteria, CategoryId: any, Type?) {
|
|
1565
|
-
|
|
1566
|
-
let url = EntityTypeMyAssignedCases.getAllMyAssignedCases(CategoryId, Type);
|
|
1567
|
-
if (Type == 'Inbox') {
|
|
1568
|
-
url = EntityTypeMyAssignedCases.getAllMyInbox(CategoryId);
|
|
1569
|
-
}
|
|
1570
|
-
return this.http.get(url, { params: CriteriaBuilder(criteriastr) });
|
|
1571
|
-
}
|
|
1572
|
-
|
|
1573
|
-
getmyassigncase(criteriastr: ISearchCriteria, Type?) {
|
|
1574
|
-
|
|
1575
|
-
let url = EntityTypeMyAssignedCases.getmyassigncase(Type);
|
|
1576
|
-
// if (Type == "Inbox") {
|
|
1577
|
-
// url = EntityTypeMyAssignedCases.getAllMyInbox(CategoryId);
|
|
1578
|
-
// }
|
|
1579
|
-
return this.http.get(url, { params: CriteriaBuilder(criteriastr) });
|
|
1580
|
-
}
|
|
1581
|
-
|
|
1582
|
-
getMyAssignedCasesByRecId(RecId: number) {
|
|
1583
|
-
const url = EntityTypeMyAssignedCases.getMyAssignedCasesByRecId(RecId);
|
|
1584
|
-
return this.http.get(url);
|
|
1585
|
-
}
|
|
1586
|
-
createMyAssignedCases(data: any) {
|
|
1587
|
-
const url = EntityTypeMyAssignedCases.postMyAssignedCases();
|
|
1588
|
-
return this.http.post(url, data);
|
|
1589
|
-
}
|
|
1590
|
-
updateMyAssignedCases(data: any) {
|
|
1591
|
-
const url = EntityTypeMyAssignedCases.putMyAssignedCases();
|
|
1592
|
-
return this.http.put(url, data);
|
|
1593
|
-
}
|
|
1594
|
-
deleteMyAssignedCases(RecId: number[]) {
|
|
1595
|
-
const url = EntityTypeMyAssignedCases.deleteMyAssignedCases(RecId);
|
|
1596
|
-
return this.http.delete(url);
|
|
1597
|
-
}
|
|
1598
|
-
|
|
1599
|
-
// Field type api.
|
|
1600
|
-
|
|
1601
|
-
getAllFieldType(criteriastr: ISearchCriteria = null) {
|
|
1602
|
-
|
|
1603
|
-
const url = environment.ServerUrl + 'fieldtype';
|
|
1604
|
-
if (criteriastr == null) {
|
|
1605
|
-
return this.http.get(url);
|
|
1606
|
-
} else {
|
|
1607
|
-
return this.http.get(url, { params: CriteriaBuilder(criteriastr) });
|
|
1608
|
-
}
|
|
1609
|
-
}
|
|
1610
|
-
getSingleFieldType(RecId: number) {
|
|
1611
|
-
const url = environment.ServerUrl + 'fieldtype/' + RecId;
|
|
1612
|
-
return this.http.get(url);
|
|
1613
|
-
}
|
|
1614
|
-
createFieldType(data: any) {
|
|
1615
|
-
const url = environment.ServerUrl + 'fieldtype/add';
|
|
1616
|
-
return this.http.post(url, data);
|
|
1617
|
-
}
|
|
1618
|
-
updateFieldType(data: any) {
|
|
1619
|
-
const url = environment.ServerUrl + 'fieldtype/update';
|
|
1620
|
-
return this.http.put(url, data);
|
|
1621
|
-
}
|
|
1622
|
-
deleteFieldType(RecId: number[]) {
|
|
1623
|
-
const url = environment.ServerUrl + 'fieldtype?recIds=' + RecId;
|
|
1624
|
-
return this.http.delete(url);
|
|
1625
|
-
}
|
|
1626
|
-
|
|
1627
|
-
//----------------------myAssigned Cases------------------------------//
|
|
1628
|
-
//----------------------myAssigned Cases------------------------------//
|
|
1629
|
-
|
|
1630
|
-
///////Dynmaic Apis /////
|
|
1631
|
-
|
|
1632
|
-
getDynamicAll(criteriastr: ISearchCriteria, entityTypeRecId: any,processStageId?,CustomerId?) {
|
|
1633
|
-
debugger;
|
|
1634
|
-
let url = dynamic.getDynamicAll(entityTypeRecId,processStageId);
|
|
1635
|
-
if(CustomerId){
|
|
1636
|
-
url += '&CustomerId='+CustomerId
|
|
1637
|
-
}
|
|
1638
|
-
|
|
1639
|
-
return this.http.get(url, { params: CriteriaBuilder(criteriastr) });
|
|
1640
|
-
}
|
|
1641
|
-
getDynamicAllForSupportReq(
|
|
1642
|
-
criteriastr: ISearchCriteria,
|
|
1643
|
-
entityTypeRecId: any
|
|
1644
|
-
) {
|
|
1645
|
-
|
|
1646
|
-
const url = dynamic.getDynamicAllForSupportReq(entityTypeRecId);
|
|
1647
|
-
return this.http.get(url, { params: CriteriaBuilder(criteriastr) });
|
|
1648
|
-
}
|
|
1649
|
-
|
|
1650
|
-
dynamicGet(
|
|
1651
|
-
criteriastr: ISearchCriteria,
|
|
1652
|
-
entityTypeRecId: any,
|
|
1653
|
-
filterStatusId: any
|
|
1654
|
-
) {
|
|
1655
|
-
|
|
1656
|
-
const url = dynamic.dynamicGet(entityTypeRecId, filterStatusId);
|
|
1657
|
-
return this.http.get(url, { params: CriteriaBuilder(criteriastr) });
|
|
1658
|
-
}
|
|
1659
|
-
|
|
1660
|
-
dynamicTaskGetByEntityTypeId(
|
|
1661
|
-
criteriastr: ISearchCriteria,
|
|
1662
|
-
EntityTypeId,
|
|
1663
|
-
StausId?: any
|
|
1664
|
-
) {
|
|
1665
|
-
|
|
1666
|
-
let url = dynamic.dynamicTaskGetByEntityTypeRecId(EntityTypeId, StausId);
|
|
1667
|
-
if (StausId) {
|
|
1668
|
-
url = dynamic.dynamicTaskGetByEntityTypeRecIdAndStatusId(
|
|
1669
|
-
EntityTypeId,
|
|
1670
|
-
StausId
|
|
1671
|
-
);
|
|
1672
|
-
}
|
|
1673
|
-
return this.http.get(url, { params: CriteriaBuilder(criteriastr) });
|
|
1674
|
-
}
|
|
1675
|
-
|
|
1676
|
-
getDynamicById(entityTypeRecId: number, RecId: number) {
|
|
1677
|
-
const url = dynamic.getDynamicById(entityTypeRecId, RecId);
|
|
1678
|
-
return this.http.get(url);
|
|
1679
|
-
}
|
|
1680
|
-
// createDynamic(data: any, file?: any, fileObj?: any[]) {
|
|
1681
|
-
//
|
|
1682
|
-
// const DoctypeRecIds = fileObj
|
|
1683
|
-
// .map((x) => 'DoctypeRecIds=' + x.DoctypeRecId)
|
|
1684
|
-
// .join('&');
|
|
1685
|
-
// let url = dynamic.insertDynamic(data);
|
|
1686
|
-
// url = `${url}&${DoctypeRecIds}`;
|
|
1687
|
-
// return this.http.post(url, file);
|
|
1688
|
-
// }
|
|
1689
|
-
|
|
1690
|
-
createDynamic(data: any, file?: any, fileObj?: any[]) {
|
|
1691
|
-
|
|
1692
|
-
let url = dynamic.insertDynamic(data);
|
|
1693
|
-
if (fileObj && fileObj.length > 0) {
|
|
1694
|
-
const DoctypeRecIds = fileObj
|
|
1695
|
-
.map((x) => 'DoctypeRecIds=' + x.DoctypeRecId)
|
|
1696
|
-
.join('&');
|
|
1697
|
-
url = `${url}&${DoctypeRecIds}`;
|
|
1698
|
-
}
|
|
1699
|
-
return this.http.post(url, file);
|
|
1700
|
-
}
|
|
1701
|
-
|
|
1702
|
-
updateDynamic(data: any) {
|
|
1703
|
-
const url = dynamic.updateDynamic(data);
|
|
1704
|
-
return this.http.put(url, null);
|
|
1705
|
-
}
|
|
1706
|
-
deleteDynamic(entityTypeRecId: number, RecId: number) {
|
|
1707
|
-
const url = dynamic.deleteDynamicById(entityTypeRecId, RecId);
|
|
1708
|
-
return this.http.delete(url);
|
|
1709
|
-
}
|
|
1710
|
-
|
|
1711
|
-
dynamicTaskGet(
|
|
1712
|
-
criteriastr: ISearchCriteria,
|
|
1713
|
-
filterStatusId: any,
|
|
1714
|
-
StausId?: any
|
|
1715
|
-
) {
|
|
1716
|
-
|
|
1717
|
-
let url = dynamic.dynamicTaskGet(filterStatusId, StausId);
|
|
1718
|
-
if (StausId) {
|
|
1719
|
-
if (!filterStatusId || filterStatusId == 'alltask')
|
|
1720
|
-
url = dynamic.dynamicTaskGetByStausIdAndfilterStatus(
|
|
1721
|
-
filterStatusId,
|
|
1722
|
-
StausId
|
|
1723
|
-
);
|
|
1724
|
-
}
|
|
1725
|
-
|
|
1726
|
-
return this.http.get(url, { params: CriteriaBuilder(criteriastr) });
|
|
1727
|
-
}
|
|
1728
|
-
|
|
1729
|
-
getDynamicAllActivity(
|
|
1730
|
-
criteriastr: ISearchCriteria,
|
|
1731
|
-
entityTypeRecId: any,
|
|
1732
|
-
ActivityTypeId: number
|
|
1733
|
-
) {
|
|
1734
|
-
|
|
1735
|
-
const url = dynamic.getDynamicAllActivity(entityTypeRecId, ActivityTypeId);
|
|
1736
|
-
return this.http.get(url, { params: CriteriaBuilder(criteriastr) });
|
|
1737
|
-
}
|
|
1738
|
-
|
|
1739
|
-
getDynamicActivityByRefRecid(
|
|
1740
|
-
criteriastr: ISearchCriteria,
|
|
1741
|
-
entityTypeRecId: any,
|
|
1742
|
-
ActivityTypeId: number,
|
|
1743
|
-
RefRecid
|
|
1744
|
-
) {
|
|
1745
|
-
|
|
1746
|
-
const url = dynamic.getDynamicActivityByRefRecid(
|
|
1747
|
-
entityTypeRecId,
|
|
1748
|
-
ActivityTypeId,
|
|
1749
|
-
RefRecid
|
|
1750
|
-
);
|
|
1751
|
-
return this.http.get(url, { params: CriteriaBuilder(criteriastr) });
|
|
1752
|
-
}
|
|
1753
|
-
|
|
1754
|
-
getActivityUploadFile(RefRecId: number, EntityTypeId: number,ActivityTypeId:number) {
|
|
1755
|
-
|
|
1756
|
-
const url = dynamic.getActivityUploadFile(RefRecId, EntityTypeId,ActivityTypeId);
|
|
1757
|
-
return this.http.get(url);
|
|
1758
|
-
}
|
|
1759
|
-
|
|
1760
|
-
// getDynamicById(entityTypeRecId: number, RecId: number) {
|
|
1761
|
-
// const url = dynamic.getDynamicById(entityTypeRecId, RecId);
|
|
1762
|
-
// return this.http.get(url);
|
|
1763
|
-
// }
|
|
1764
|
-
// createDynamic(data: any) {
|
|
1765
|
-
// const url = dynamic.insertDynamic(data);
|
|
1766
|
-
// return this.http.post(url, null);
|
|
1767
|
-
// }
|
|
1768
|
-
// updateDynamic(data: any) {
|
|
1769
|
-
// const url = dynamic.updateDynamic(data);
|
|
1770
|
-
// return this.http.put(url, null);
|
|
1771
|
-
// }
|
|
1772
|
-
// deleteDynamic(entityTypeRecId: number, RecId: number) {
|
|
1773
|
-
// const url = dynamic.deleteDynamicById(entityTypeRecId, RecId);
|
|
1774
|
-
// return this.http.delete(url);
|
|
1775
|
-
// }
|
|
1776
|
-
|
|
1777
|
-
getDynamicByEntityRefrecid(
|
|
1778
|
-
entityTypeRecId: number,
|
|
1779
|
-
RefTypeId: number,
|
|
1780
|
-
criteriastr,
|
|
1781
|
-
ActivityId?: number
|
|
1782
|
-
) {
|
|
1783
|
-
let url = dynamic.getDynamicRefRecidEntity(entityTypeRecId, RefTypeId);
|
|
1784
|
-
if (ActivityId) {
|
|
1785
|
-
url = url + '&ActivityId=' + ActivityId;
|
|
1786
|
-
}
|
|
1787
|
-
return this.http.get(url, { params: CriteriaBuilder(criteriastr) });
|
|
1788
|
-
}
|
|
1789
|
-
|
|
1790
|
-
//------------------------category-Teams----------------------------//
|
|
1791
|
-
|
|
1792
|
-
getAllCategoryTypeTeams(criteriastr: ISearchCriteria, CategoryId: any) {
|
|
1793
|
-
|
|
1794
|
-
const url = EntityTypeCategoryTypeTeams.getAllCategoryTypeTeams(CategoryId);
|
|
1795
|
-
return this.http.get(url, { params: CriteriaBuilder(criteriastr) });
|
|
1796
|
-
}
|
|
1797
|
-
getCategoryTypeTeamsByRecId(RecId: number) {
|
|
1798
|
-
const url = EntityTypeCategoryTypeTeams.getCategoryTypeTeamsByRecId(RecId);
|
|
1799
|
-
return this.http.get(url);
|
|
1800
|
-
}
|
|
1801
|
-
createCategoryTypeTeams(data: any) {
|
|
1802
|
-
const url = EntityTypeCategoryTypeTeams.postCategoryTypeTeams();
|
|
1803
|
-
return this.http.post(url, data);
|
|
1804
|
-
}
|
|
1805
|
-
updateCategoryTypeTeams(data: any) {
|
|
1806
|
-
const url = EntityTypeCategoryTypeTeams.putCategoryTypeTeams();
|
|
1807
|
-
return this.http.put(url, data);
|
|
1808
|
-
}
|
|
1809
|
-
deleteCategoryTypeTeams(RecId: number[]) {
|
|
1810
|
-
const url = EntityTypeCategoryTypeTeams.deleteCategoryTypeTeams(RecId);
|
|
1811
|
-
return this.http.delete(url);
|
|
1812
|
-
}
|
|
1813
|
-
getAssignmentsDepartmentsAndRoles(CategoryId: string) {
|
|
1814
|
-
const url =
|
|
1815
|
-
EntityTypeCategoryTypeTeams.getAssignmentsDepartmentsAndRoles(CategoryId);
|
|
1816
|
-
return this.http.get(url);
|
|
1817
|
-
}
|
|
1818
|
-
assignRoles(CategoryId: string, RelationIds: string[]) {
|
|
1819
|
-
const re = RelationIds.map((x) => 'RelationIds=' + x).join('&');
|
|
1820
|
-
const url = EntityTypeCategoryTypeTeams.assignRole();
|
|
1821
|
-
let url_ = `${url}?${re}&CategoryId=${CategoryId}`;
|
|
1822
|
-
return this.http.post(url_, null);
|
|
1823
|
-
}
|
|
1824
|
-
unAssignRoles(CategoryId: string, RelationIds: string[]) {
|
|
1825
|
-
const re = RelationIds.map((x) => 'RelationIds=' + x).join('&');
|
|
1826
|
-
const url = EntityTypeCategoryTypeTeams.unAssignRole();
|
|
1827
|
-
let url_ = `${url}?${re}&CategoryId=${CategoryId}`;
|
|
1828
|
-
return this.http.post(url_, null);
|
|
1829
|
-
}
|
|
1830
|
-
assignDepartment(CategoryId: string, RelationIds: string[]) {
|
|
1831
|
-
const re = RelationIds.map((x) => 'RelationIds=' + x).join('&');
|
|
1832
|
-
const url = EntityTypeCategoryTypeTeams.assignDepartment();
|
|
1833
|
-
let url_ = `${url}?${re}&CategoryId=${CategoryId}`;
|
|
1834
|
-
return this.http.post(url_, null);
|
|
1835
|
-
}
|
|
1836
|
-
unAssignDepartment(CategoryId: string, RelationIds: string[]) {
|
|
1837
|
-
const re = RelationIds.map((x) => 'RelationIds=' + x).join('&');
|
|
1838
|
-
const url = EntityTypeCategoryTypeTeams.unAssignDepartment();
|
|
1839
|
-
let url_ = `${url}?${re}&CategoryId=${CategoryId}`;
|
|
1840
|
-
return this.http.post(url_, null);
|
|
1841
|
-
}
|
|
1842
|
-
|
|
1843
|
-
validatetoken(token: string) {
|
|
1844
|
-
const url = loginauth.validatetoken(token);
|
|
1845
|
-
return this.http.get(url);
|
|
1846
|
-
}
|
|
1847
|
-
//------------------------category- Teams----------------------------//
|
|
1848
|
-
|
|
1849
|
-
//------------------------category-Activities----------------------------//
|
|
1850
|
-
|
|
1851
|
-
getAllCategoryTypeActivities(criteriastr: ISearchCriteria, CategoryId: any) {
|
|
1852
|
-
|
|
1853
|
-
const url =
|
|
1854
|
-
EntityTypeCategoryTypeActivities.getAllCategoryTypeActivities(CategoryId);
|
|
1855
|
-
return this.http.get(url, { params: CriteriaBuilder(criteriastr) });
|
|
1856
|
-
}
|
|
1857
|
-
getCategoryTypeActivitiesByRecId(RecId: number) {
|
|
1858
|
-
const url =
|
|
1859
|
-
EntityTypeCategoryTypeActivities.getCategoryTypeActivitiesByRecId(RecId);
|
|
1860
|
-
return this.http.get(url);
|
|
1861
|
-
}
|
|
1862
|
-
postCategoryTypeActivities(data: any) {
|
|
1863
|
-
const url = EntityTypeCategoryTypeActivities.postCategoryTypeActivities();
|
|
1864
|
-
return this.http.post(url, data);
|
|
1865
|
-
}
|
|
1866
|
-
putCategoryTypeActivities(data: any) {
|
|
1867
|
-
const url = EntityTypeCategoryTypeActivities.putCategoryTypeActivities();
|
|
1868
|
-
return this.http.put(url, data);
|
|
1869
|
-
}
|
|
1870
|
-
deleteCategoryTypeActivities(RecId: number[]) {
|
|
1871
|
-
const url =
|
|
1872
|
-
EntityTypeCategoryTypeActivities.deleteCategoryTypeActivities(RecId);
|
|
1873
|
-
return this.http.delete(url);
|
|
1874
|
-
}
|
|
1875
|
-
|
|
1876
|
-
getAssignmentsActivities(CategoryId: string) {
|
|
1877
|
-
const url =
|
|
1878
|
-
EntityTypeCategoryTypeActivities.getAssignmentsActivities(CategoryId);
|
|
1879
|
-
return this.http.get(url);
|
|
1880
|
-
}
|
|
1881
|
-
assignActivities(CategoryId: string, Activitys: string[]) {
|
|
1882
|
-
const re = Activitys.map((x) => 'Activitys=' + x).join('&');
|
|
1883
|
-
const url = EntityTypeCategoryTypeActivities.assignActivities();
|
|
1884
|
-
let url_ = `${url}?${re}&CategoryId=${CategoryId}`;
|
|
1885
|
-
return this.http.post(url_, null);
|
|
1886
|
-
}
|
|
1887
|
-
unAssignActivities(CategoryId: string, Activitys: string[]) {
|
|
1888
|
-
const re = Activitys.map((x) => 'Activitys=' + x).join('&');
|
|
1889
|
-
const url = EntityTypeCategoryTypeActivities.unAssignActivities();
|
|
1890
|
-
let url_ = `${url}?${re}&CategoryId=${CategoryId}`;
|
|
1891
|
-
return this.http.post(url_, null);
|
|
1892
|
-
}
|
|
1893
|
-
//------------------------category-Activities end----------------------------//
|
|
1894
|
-
//////---------------------------issueGroup--------------------------------------------/////
|
|
1895
|
-
getGroupData(criteriastr: ISearchCriteria) {
|
|
1896
|
-
let url = environment.ServerUrl + 'ticketmaster/group';
|
|
1897
|
-
return this.http.get<TicketGroupVM[]>(url, {
|
|
1898
|
-
params: CriteriaBuilder(criteriastr),
|
|
1899
|
-
});
|
|
1900
|
-
}
|
|
1901
|
-
|
|
1902
|
-
getSingleGroupData(RecId: number) {
|
|
1903
|
-
let url = environment.ServerUrl + 'ticketmaster/group/single/' + RecId;
|
|
1904
|
-
return this.http.get<TicketGroupVM>(url);
|
|
1905
|
-
}
|
|
1906
|
-
|
|
1907
|
-
createGroupData(data: TicketGroupCVM, file?) {
|
|
1908
|
-
|
|
1909
|
-
let datas: any = JSON.stringify(data);
|
|
1910
|
-
let url = `${environment.ServerUrl}ticketmaster/group/create?data=${datas}`;
|
|
1911
|
-
if (file && file.length > 0) {
|
|
1912
|
-
let formData: FormData = new FormData();
|
|
1913
|
-
let _file: File = file[0];
|
|
1914
|
-
formData.append('Files', _file, _file.name);
|
|
1915
|
-
return this.http.post(url, formData);
|
|
1916
|
-
}
|
|
1917
|
-
return this.http.post(url, null);
|
|
1918
|
-
}
|
|
1919
|
-
|
|
1920
|
-
updateGroupData(data: TicketGroupUVM,file?) {
|
|
1921
|
-
let datas:any = JSON.stringify(data);
|
|
1922
|
-
let url = environment.ServerUrl + `ticketmaster/group/update?data=${datas}`;
|
|
1923
|
-
if (file && file.length > 0) {
|
|
1924
|
-
let formData: FormData = new FormData();
|
|
1925
|
-
let _file: File = file[0];
|
|
1926
|
-
formData.append('Files', _file, _file.name);
|
|
1927
|
-
return this.http.post(url, formData);
|
|
1928
|
-
}
|
|
1929
|
-
return this.http.post(url, null);
|
|
1930
|
-
}
|
|
1931
|
-
|
|
1932
|
-
deleteGroupData(RecId: number) {
|
|
1933
|
-
let url = environment.ServerUrl + 'ticketmaster/group/' + RecId;
|
|
1934
|
-
return this.http.delete(url);
|
|
1935
|
-
}
|
|
1936
|
-
|
|
1937
|
-
assignIssueGroup(data: AssignmentIssueGroup) {
|
|
1938
|
-
|
|
1939
|
-
const st = data.RequesterTypes.map((x) => 'RequesterTypes=' + x).join('&');
|
|
1940
|
-
let url_ = `${environment.ServerUrl}issuegrouprequestermapping/assign?IssueGroupId=${data.IssueGroupId}&${st}`;
|
|
1941
|
-
return this.http.post(url_, null);
|
|
1942
|
-
}
|
|
1943
|
-
unassignIssueGroup(data: AssignmentIssueGroup) {
|
|
1944
|
-
|
|
1945
|
-
const st = data.RequesterTypes.map((x) => 'RequesterTypes=' + x).join('&');
|
|
1946
|
-
let url_ = `${environment.ServerUrl}issuegrouprequestermapping/unassign?IssueGroupId=${data.IssueGroupId}&${st}`;
|
|
1947
|
-
return this.http.post(url_, null);
|
|
1948
|
-
}
|
|
1949
|
-
|
|
1950
|
-
getassignandunassignIssueGroup(IssueGroupId: string) {
|
|
1951
|
-
const url = EntityTypeSetUp.getassignunassignissuegroup(IssueGroupId);
|
|
1952
|
-
return this.http.get(url);
|
|
1953
|
-
}
|
|
1954
|
-
|
|
1955
|
-
// -------------categoryrequestertype---------------
|
|
1956
|
-
|
|
1957
|
-
getcategoryrequestertype(criteriastr?: ISearchCriteria) {
|
|
1958
|
-
let url = environment.ServerUrl + 'categoryrequestertype';
|
|
1959
|
-
return this.http.get<TicketGroupVM[]>(url, {
|
|
1960
|
-
params: CriteriaBuilder(criteriastr),
|
|
1961
|
-
});
|
|
1962
|
-
}
|
|
1963
|
-
|
|
1964
|
-
getsupportRequestData(criteriastr: ISearchCriteria,Usertype:string,RequesterId:string,Source:string,processStageId:string) {
|
|
1965
|
-
|
|
1966
|
-
let url = environment.ServerUrl + 'entitytype/supportrequestbyrequestertype?Usertype='+Usertype+'&UserFieldId='+RequesterId+'&processStageId='+processStageId;
|
|
1967
|
-
return this.http.get(url, {
|
|
1968
|
-
params: CriteriaBuilder(criteriastr),
|
|
1969
|
-
});
|
|
1970
|
-
}
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
createcategoryrequestertype(data: categoryrequestertypeCVM) {
|
|
1974
|
-
|
|
1975
|
-
let url = environment.ServerUrl + 'categoryrequestertype/add';
|
|
1976
|
-
return this.http.post(url, data);
|
|
1977
|
-
}
|
|
1978
|
-
|
|
1979
|
-
updatecategoryrequestertype(data: categoryrequestertypeCVM) {
|
|
1980
|
-
let url = environment.ServerUrl + 'categoryrequestertype/update';
|
|
1981
|
-
return this.http.put(url, data);
|
|
1982
|
-
}
|
|
1983
|
-
|
|
1984
|
-
getSinglecategoryrequestertype(RecId: number) {
|
|
1985
|
-
let url = environment.ServerUrl + 'categoryrequestertype/' + RecId;
|
|
1986
|
-
return this.http.get<TicketGroupVM>(url);
|
|
1987
|
-
}
|
|
1988
|
-
|
|
1989
|
-
deletecategoryrequestertype(RecId: number[]) {
|
|
1990
|
-
const url = categoryrequestertype.deleteCategoryTypeActivities(RecId);
|
|
1991
|
-
return this.http.delete(url);
|
|
1992
|
-
categoryrequestertype;
|
|
1993
|
-
}
|
|
1994
|
-
|
|
1995
|
-
//////---------------------------issuesubGroup--------------------------------------------/////
|
|
1996
|
-
|
|
1997
|
-
getSubGroupData(criteriastr: ISearchCriteria) {
|
|
1998
|
-
let url = environment.ServerUrl + 'ticketmaster/subgroup';
|
|
1999
|
-
return this.http.get<TicketSubGroupVM>(url, {
|
|
2000
|
-
params: CriteriaBuilder(criteriastr),
|
|
2001
|
-
});
|
|
2002
|
-
}
|
|
2003
|
-
getSingleSubGroupDataByRecId(RecId: number) {
|
|
2004
|
-
let url =
|
|
2005
|
-
environment.ServerUrl + 'ticketmaster/subgroup/getsingle/' + RecId;
|
|
2006
|
-
return this.http.get(url);
|
|
2007
|
-
}
|
|
2008
|
-
|
|
2009
|
-
getSubGroupDataByGroupId(criteriastr: ISearchCriteria, GroupId: number) {
|
|
2010
|
-
let url =
|
|
2011
|
-
environment.ServerUrl +
|
|
2012
|
-
'ticketmaster/subgroup/bygroupId?groupId=' +
|
|
2013
|
-
GroupId;
|
|
2014
|
-
return this.http.get(url, { params: CriteriaBuilder(criteriastr) });
|
|
2015
|
-
}
|
|
2016
|
-
|
|
2017
|
-
createSubGroupData(data: TicketSubGroupCVM, file?) {
|
|
2018
|
-
let datas: any = JSON.stringify(data);
|
|
2019
|
-
let url =
|
|
2020
|
-
environment.ServerUrl + `ticketmaster/subgroup/create?data=${datas}`;
|
|
2021
|
-
if (file && file.length > 0) {
|
|
2022
|
-
let formData: FormData = new FormData();
|
|
2023
|
-
let _file: File = file[0];
|
|
2024
|
-
formData.append('Files', _file, _file.name);
|
|
2025
|
-
return this.http.post(url, formData);
|
|
2026
|
-
}
|
|
2027
|
-
return this.http.post(url, null);
|
|
2028
|
-
}
|
|
2029
|
-
|
|
2030
|
-
updateSubGroupData(data: TicketSubGroupUVM, file?) {
|
|
2031
|
-
let datas: any = JSON.stringify(data);
|
|
2032
|
-
let url =
|
|
2033
|
-
environment.ServerUrl + `ticketmaster/subgroup/update?data=${datas}`;
|
|
2034
|
-
if (file && file.length > 0) {
|
|
2035
|
-
let formData: FormData = new FormData();
|
|
2036
|
-
let _file: File = file[0];
|
|
2037
|
-
formData.append('Files', _file, _file.name);
|
|
2038
|
-
return this.http.post(url, formData);
|
|
2039
|
-
}
|
|
2040
|
-
return this.http.post(url, null);
|
|
2041
|
-
}
|
|
2042
|
-
|
|
2043
|
-
deleteSubGroupData(RecId: number) {
|
|
2044
|
-
let url = environment.ServerUrl + 'ticketmaster/subgroup/' + RecId;
|
|
2045
|
-
return this.http.delete(url);
|
|
2046
|
-
}
|
|
2047
|
-
|
|
2048
|
-
//-----------------------------assignmets for subGroup----------------------------//
|
|
2049
|
-
getAssignmentsForSubGroup(SubGroupId: string) {
|
|
2050
|
-
const url = IssueSubGroup.getAssignmentsForSubGroup(SubGroupId);
|
|
2051
|
-
return this.http.get(url);
|
|
2052
|
-
}
|
|
2053
|
-
assignSubGroup(SubGroupId: string, CaseTypeIds: number[]) {
|
|
2054
|
-
const re = CaseTypeIds.map((x) => 'CaseTypeIds=' + x).join('&');
|
|
2055
|
-
const url = IssueSubGroup.assignSubGroup();
|
|
2056
|
-
let url_ = `${url}?${re}&SubGroupId=${SubGroupId}`;
|
|
2057
|
-
return this.http.post(url_, null);
|
|
2058
|
-
}
|
|
2059
|
-
unAssignSubGroup(SubGroupId: string, CaseTypeIds: number[]) {
|
|
2060
|
-
const re = CaseTypeIds.map((x) => 'CaseTypeIds=' + x).join('&');
|
|
2061
|
-
const url = IssueSubGroup.unAssignSubGroup();
|
|
2062
|
-
let url_ = `${url}?${re}&SubGroupId=${SubGroupId}`;
|
|
2063
|
-
return this.http.post(url_, null);
|
|
2064
|
-
}
|
|
2065
|
-
/////////-----------------------instruction------------------------------
|
|
2066
|
-
getAllInstruction(criteriastr: ISearchCriteria) {
|
|
2067
|
-
const url = Instruction.getAllInstruction();
|
|
2068
|
-
return this.http.get(url, { params: CriteriaBuilder(criteriastr) });
|
|
2069
|
-
}
|
|
2070
|
-
getSingleInstruction(RecId: number) {
|
|
2071
|
-
const url = Instruction.getSingleInstruction(RecId);
|
|
2072
|
-
return this.http.get(url);
|
|
2073
|
-
}
|
|
2074
|
-
createInstruction(data: any) {
|
|
2075
|
-
const url = Instruction.createInstruction();
|
|
2076
|
-
return this.http.post(url, data);
|
|
2077
|
-
}
|
|
2078
|
-
updateInstruction(data: any) {
|
|
2079
|
-
const url = Instruction.updateInstruction();
|
|
2080
|
-
return this.http.put(url, data);
|
|
2081
|
-
}
|
|
2082
|
-
deleteInstruction(RecIds: number[]) {
|
|
2083
|
-
const url = Instruction.deleteInstruction(RecIds);
|
|
2084
|
-
return this.http.delete(url);
|
|
2085
|
-
}
|
|
2086
|
-
getAssignmentsForInstruction(InstructionId: number) {
|
|
2087
|
-
const url = Instruction.getAssignmentForInstruction(InstructionId);
|
|
2088
|
-
return this.http.get(url);
|
|
2089
|
-
}
|
|
2090
|
-
assignInstruction(InstructionRecId: number, SubGroupIds: number[]) {
|
|
2091
|
-
const re = SubGroupIds.map((x) => 'SubGroupIds=' + x).join('&');
|
|
2092
|
-
const url = Instruction.assignInstruction();
|
|
2093
|
-
let url_ = `${url}?${re}&InstructionRecId=${InstructionRecId}`;
|
|
2094
|
-
return this.http.post(url_, null);
|
|
2095
|
-
}
|
|
2096
|
-
unAssignInstruction(InstructionRecId: number, SubGroupIds: number[]) {
|
|
2097
|
-
const re = SubGroupIds.map((x) => 'SubGroupIds=' + x).join('&');
|
|
2098
|
-
const url = Instruction.unAssignInstruction();
|
|
2099
|
-
let url_ = `${url}?${re}&InstructionRecId=${InstructionRecId}`;
|
|
2100
|
-
return this.http.post(url_, null);
|
|
2101
|
-
}
|
|
2102
|
-
getInstructionDropDown(subGroupId: string) {
|
|
2103
|
-
let url =
|
|
2104
|
-
environment.ServerUrl +
|
|
2105
|
-
'subgroupassingnment/instructionbysubgroup?SubGroupId=' +
|
|
2106
|
-
subGroupId;
|
|
2107
|
-
return this.http.get(url);
|
|
2108
|
-
}
|
|
2109
|
-
// ------------------------------------assignments for instruction in isssue sub group details---------------------------------------------------//
|
|
2110
|
-
getAssignmentsForInstructionbySubGroupId(subGroupId: string) {
|
|
2111
|
-
let url =
|
|
2112
|
-
environment.ServerUrl +
|
|
2113
|
-
'subgroupassingnment/instructionbysubgroupid/assignandunassign?SubGroupId=' +
|
|
2114
|
-
subGroupId;
|
|
2115
|
-
return this.http.get(url);
|
|
2116
|
-
}
|
|
2117
|
-
assignInstructionBySubGroupId(
|
|
2118
|
-
SubGroupId: string,
|
|
2119
|
-
InstructionRecId: number[]
|
|
2120
|
-
) {
|
|
2121
|
-
const re = InstructionRecId.map((x) => 'InstructionRecId=' + x).join('&');
|
|
2122
|
-
let url =
|
|
2123
|
-
environment.ServerUrl +
|
|
2124
|
-
'subgroupassingnment/instructionbysubgroupid/assign';
|
|
2125
|
-
let url_ = `${url}?${re}&SubGroupId=${SubGroupId}`;
|
|
2126
|
-
return this.http.post(url_, null);
|
|
2127
|
-
}
|
|
2128
|
-
unAssignInstructionBySubGroupId(
|
|
2129
|
-
SubGroupId: string,
|
|
2130
|
-
InstructionRecId: number[]
|
|
2131
|
-
) {
|
|
2132
|
-
const re = InstructionRecId.map((x) => 'InstructionRecId=' + x).join('&');
|
|
2133
|
-
let url =
|
|
2134
|
-
environment.ServerUrl +
|
|
2135
|
-
'subgroupassingnment/instructionbysubgroupid/unassign';
|
|
2136
|
-
let url_ = `${url}?${re}&SubGroupId=${SubGroupId}`;
|
|
2137
|
-
return this.http.post(url_, null);
|
|
2138
|
-
}
|
|
2139
|
-
/////////-----------------------canned response------------------------------
|
|
2140
|
-
getAllCannedResponse(criteriastr: ISearchCriteria) {
|
|
2141
|
-
const url = CannedResponse.getAllCannedResponse();
|
|
2142
|
-
return this.http.get(url, { params: CriteriaBuilder(criteriastr) });
|
|
2143
|
-
}
|
|
2144
|
-
getSingleCannedResponse(RecId: number) {
|
|
2145
|
-
const url = CannedResponse.getSingleCannedResponse(RecId);
|
|
2146
|
-
return this.http.get(url);
|
|
2147
|
-
}
|
|
2148
|
-
createCannedResponse(data: any) {
|
|
2149
|
-
const url = CannedResponse.createCannedResponse();
|
|
2150
|
-
return this.http.post(url, data);
|
|
2151
|
-
}
|
|
2152
|
-
updateCannedResponse(data: any) {
|
|
2153
|
-
const url = CannedResponse.updateCannedResponse();
|
|
2154
|
-
return this.http.put(url, data);
|
|
2155
|
-
}
|
|
2156
|
-
deleteCannedResponse(RecIds: number[]) {
|
|
2157
|
-
const url = CannedResponse.deleteCannedResponse(RecIds);
|
|
2158
|
-
return this.http.delete(url);
|
|
2159
|
-
}
|
|
2160
|
-
|
|
2161
|
-
getAllIssueCrud(criteriastr: ISearchCriteria, IssueId: string) {
|
|
2162
|
-
const url = IssueCrud.getAllIssueCrud(IssueId);
|
|
2163
|
-
return this.http.get(url, { params: CriteriaBuilder(criteriastr) });
|
|
2164
|
-
}
|
|
2165
|
-
getSingleIssueCrud(RecId: number) {
|
|
2166
|
-
const url = IssueCrud.getSingleIssueCrud(RecId);
|
|
2167
|
-
return this.http.get(url);
|
|
2168
|
-
}
|
|
2169
|
-
createIssueCrud(data: any) {
|
|
2170
|
-
const url = IssueCrud.createIssueCrud();
|
|
2171
|
-
return this.http.post(url, data);
|
|
2172
|
-
}
|
|
2173
|
-
updateIssueCrud(data: any) {
|
|
2174
|
-
const url = IssueCrud.updateIssueCrud();
|
|
2175
|
-
return this.http.put(url, data);
|
|
2176
|
-
}
|
|
2177
|
-
deleteIssueCrud(RecIds: number[]) {
|
|
2178
|
-
const url = IssueCrud.deleteIssueCrud(RecIds);
|
|
2179
|
-
return this.http.delete(url);
|
|
2180
|
-
}
|
|
2181
|
-
}
|
|
2182
|
-
// ------------------------------------------
|
|
2183
|
-
export const EntityWfStage = {
|
|
2184
|
-
Getwfstage: (EntityTypeId,showallpending?) =>
|
|
2185
|
-
`${environment.ServerUrl}entitytype/wfstage?EntityTypeId=${EntityTypeId}&showallpending=${showallpending}`,
|
|
2186
|
-
|
|
2187
|
-
getWfStageEnumdropdown: (enumname: string, domainmodule: string) =>
|
|
2188
|
-
`${environment.ServerUrl}entitytype/getenumdropdown?enumname=${enumname}&domainmodule=${domainmodule}`,
|
|
2189
|
-
|
|
2190
|
-
getWfStages: (EntityTypeId: number, recordstatus: number) =>
|
|
2191
|
-
`${environment.ServerUrl}entitytype/wfstage?EntityTypeId=${EntityTypeId}&recordstatus=${recordstatus}`,
|
|
2192
|
-
|
|
2193
|
-
GetwfprocessstageassignmentByStageRecId: (stageRecId) =>
|
|
2194
|
-
`${environment.ServerUrl}entitytype/wfprocessstageassignment?StageRecId=${stageRecId}`,
|
|
2195
|
-
|
|
2196
|
-
GetwfprocessstageassignmentByEntityTypeId: (CaseTypeId) =>
|
|
2197
|
-
`${environment.ServerUrl}entitytype/wfprocessstageassignmentbycasetypeid?CaseTypeId=${CaseTypeId}`,
|
|
2198
|
-
|
|
2199
|
-
Postwfstage: () => `${environment.ServerUrl}entitytype/wfstage/add`,
|
|
2200
|
-
|
|
2201
|
-
PostwfstagePublic: () =>
|
|
2202
|
-
`${environment.ServerUrl}entitytype/wfstage/public/add`,
|
|
2203
|
-
|
|
2204
|
-
PutwfPublicstage: () =>
|
|
2205
|
-
`${environment.ServerUrl}entitytype/wfstage/public/update`,
|
|
2206
|
-
|
|
2207
|
-
Putwfstage: () => `${environment.ServerUrl}entitytype/wfstage/update`,
|
|
2208
|
-
|
|
2209
|
-
GetSinglewfstage: (recId: any) =>
|
|
2210
|
-
`${environment.ServerUrl}entitytype/wfstage/${recId}`,
|
|
2211
|
-
|
|
2212
|
-
Deletewfstage: (RecId: number[]) =>
|
|
2213
|
-
`${environment.ServerUrl}entitytype/wfstage?recIds=${RecId}`,
|
|
2214
|
-
|
|
2215
|
-
Deletewfprocessstagestatus: (RecId: number[]) =>
|
|
2216
|
-
`${environment.ServerUrl}entitytype/wfprocessstagestatus?recIds=${RecId}`,
|
|
2217
|
-
|
|
2218
|
-
getEntityTypeDropDown: (EnumName: string) =>
|
|
2219
|
-
`${environment.ServerUrl}entitytype/getenumdropdown?enumname=${EnumName}`,
|
|
2220
|
-
|
|
2221
|
-
getCaseTypeDropDown: (caseType) =>
|
|
2222
|
-
`${environment.ServerUrl}entitytype/setup/active?entityType=${caseType}`,
|
|
2223
|
-
|
|
2224
|
-
GetEntityRecordDropDown: (EntityTypeId: number) =>
|
|
2225
|
-
`${environment.ServerUrl}entitytype/recordstatusbyentitytypeid?EntityTypeId=${EntityTypeId}`,
|
|
2226
|
-
|
|
2227
|
-
GetNextStageDropDown: (EntityTypeId: number) =>
|
|
2228
|
-
`${environment.ServerUrl}entitytype/wfstage?EntityTypeId=${EntityTypeId}`,
|
|
2229
|
-
|
|
2230
|
-
getEntityTypeDropdown: (EnumName: string) =>
|
|
2231
|
-
`${environment.ServerUrl}entitytype/getenumdropdown?enumname=${EnumName}`,
|
|
2232
|
-
|
|
2233
|
-
GetEntityActionDropDown: (RecId: number) =>
|
|
2234
|
-
`${environment.ServerUrl}entitytype/wfstage/action/${RecId}`,
|
|
2235
|
-
};
|
|
2236
|
-
|
|
2237
|
-
export const Entitywfprocessstageassignment = {
|
|
2238
|
-
Getwfprocessstageassignment: () =>
|
|
2239
|
-
`${environment.ServerUrl}entitytype/wfprocessstageassignment`,
|
|
2240
|
-
|
|
2241
|
-
GetwfprocessstageassignmentByStageRecId: (StageRecId) =>
|
|
2242
|
-
`${environment.ServerUrl}entitytype/wfprocessstageassignment`,
|
|
2243
|
-
|
|
2244
|
-
Postwfprocessstageassignment: () =>
|
|
2245
|
-
`${environment.ServerUrl}entitytype/wfprocessstageassignment/add`,
|
|
2246
|
-
|
|
2247
|
-
Putwfprocessstageassignment: () =>
|
|
2248
|
-
`${environment.ServerUrl}entitytype/wfprocessstageassignment/update`,
|
|
2249
|
-
|
|
2250
|
-
GetSinglewfprocessstageassignment: (recId: any) =>
|
|
2251
|
-
`${environment.ServerUrl}entitytype/wfprocessstageassignment/${recId}`,
|
|
2252
|
-
|
|
2253
|
-
Deletewfprocessstageassignment: (RecId: number[]) =>
|
|
2254
|
-
`${environment.ServerUrl}entitytype/wfprocessstageassignment?recIds=${RecId}`,
|
|
2255
|
-
};
|
|
2256
|
-
|
|
2257
|
-
export const Entitywfprocessstagestatus = {
|
|
2258
|
-
GetwfprocessstagestatusByStageRecId: (StageRecId) =>
|
|
2259
|
-
`${environment.ServerUrl}entitytype/wfprocessstagestatus?StageRecId=${StageRecId}`,
|
|
2260
|
-
|
|
2261
|
-
Getwfprocessstagestatus: () =>
|
|
2262
|
-
`${environment.ServerUrl}entitytype/wfprocessstagestatus`,
|
|
2263
|
-
|
|
2264
|
-
Postwfprocessstagestatus: () =>
|
|
2265
|
-
`${environment.ServerUrl}entitytype/wfprocessstagestatus/add`,
|
|
2266
|
-
|
|
2267
|
-
PostwfprocessstagestatusPublic: () =>
|
|
2268
|
-
`${environment.ServerUrl}entitytype/wfprocessstagestatus/public/add`,
|
|
2269
|
-
|
|
2270
|
-
Putwfprocessstagestatus: () =>
|
|
2271
|
-
`${environment.ServerUrl}entitytype/wfprocessstagestatus/update`,
|
|
2272
|
-
|
|
2273
|
-
PutwfprocessstagestatusPublic: () =>
|
|
2274
|
-
`${environment.ServerUrl}entitytype/wfprocessstagestatus/public/update`,
|
|
2275
|
-
|
|
2276
|
-
GetSinglewfprocessstagestatus: (recId: any) =>
|
|
2277
|
-
`${environment.ServerUrl}entitytype/wfprocessstagestatus/${recId}`,
|
|
2278
|
-
|
|
2279
|
-
Deletewfprocessstagestatus: (RecId: number[]) =>
|
|
2280
|
-
`${environment.ServerUrl}entitytype/wfprocessstagestatus?recIds=${RecId}`,
|
|
2281
|
-
};
|
|
2282
|
-
|
|
2283
|
-
export const EntityEvent = {
|
|
2284
|
-
PostEventAdd: () => `${environment.ServerUrl}entitytype/event/add`,
|
|
2285
|
-
|
|
2286
|
-
PostActionAdd: () => `${environment.ServerUrl}entitytype/eventaction/add`,
|
|
2287
|
-
|
|
2288
|
-
PutActionAdd: () => `${environment.ServerUrl}entitytype/eventaction/update`,
|
|
2289
|
-
|
|
2290
|
-
PostActionGroupAdd: () =>
|
|
2291
|
-
`${environment.ServerUrl}entitytype/eventcondition/add`,
|
|
2292
|
-
|
|
2293
|
-
putActionGroup: () =>
|
|
2294
|
-
`${environment.ServerUrl}entitytype/eventcondition/update`,
|
|
2295
|
-
|
|
2296
|
-
PostEventActive: (recId, comments) =>
|
|
2297
|
-
`${environment.ServerUrl}entitytype/event/activate?recid=${recId}&comments=${comments}`,
|
|
2298
|
-
|
|
2299
|
-
PostActionActive: (recId, comments) =>
|
|
2300
|
-
`${environment.ServerUrl}entitytype/eventaction/activate?recid=${recId}&comments=${comments}`,
|
|
2301
|
-
|
|
2302
|
-
PostActive: (recId, comments) =>
|
|
2303
|
-
`${environment.ServerUrl}entitytype/setup/activate?recid=${recId}&comments=${comments}`,
|
|
2304
|
-
|
|
2305
|
-
PostEventDeActive: (recId, comments) =>
|
|
2306
|
-
`${environment.ServerUrl}entitytype/event/deactivate?recid=${recId}&comments=${comments}`,
|
|
2307
|
-
|
|
2308
|
-
PostActionDeActive: (recId, comments) =>
|
|
2309
|
-
`${environment.ServerUrl}entitytype/eventaction/deactivate?recid=${recId}&comments=${comments}`,
|
|
2310
|
-
|
|
2311
|
-
PostDeActive: (recId, comments) =>
|
|
2312
|
-
`${environment.ServerUrl}entitytype/setup/deactivate?recid=${recId}&comments=${comments}`,
|
|
2313
|
-
|
|
2314
|
-
PostEventConditionAdd: () =>
|
|
2315
|
-
`${environment.ServerUrl}entitytype/eventcondition/add`,
|
|
2316
|
-
|
|
2317
|
-
GetSingleEventCondition: (recId: any) =>
|
|
2318
|
-
`${environment.ServerUrl}entitytype/eventcondition/${recId}`,
|
|
2319
|
-
|
|
2320
|
-
GetSingleEvents: (recId: any) =>
|
|
2321
|
-
`${environment.ServerUrl}entitytype/event/${recId}`,
|
|
2322
|
-
|
|
2323
|
-
GetEventsHistory: (EventRecId: any) =>
|
|
2324
|
-
`${environment.ServerUrl}entitytype/eventactionprocesshistorybyreferenceid?EventRecId=${EventRecId}`,
|
|
2325
|
-
|
|
2326
|
-
GetSingleAction: (recId: any) =>
|
|
2327
|
-
`${environment.ServerUrl}entitytype/eventaction/${recId}`,
|
|
2328
|
-
|
|
2329
|
-
getAllEvents: (EntityTypeId: number) =>
|
|
2330
|
-
`${environment.ServerUrl}entitytype/event?EntityTypeRecId=${EntityTypeId}`,
|
|
2331
|
-
|
|
2332
|
-
getAllEventsByEntityTypeRecId: (EntityTypeId: number) =>
|
|
2333
|
-
`${environment.ServerUrl}entitytype/event?EntityTypeRecId=${EntityTypeId}`,
|
|
2334
|
-
|
|
2335
|
-
getAllEventsWithoutType: () => `${environment.ServerUrl}entitytype/event`,
|
|
2336
|
-
|
|
2337
|
-
getAllEventsWithType: (EntityTypeRecId) =>
|
|
2338
|
-
`${environment.ServerUrl}entitytype/event?EntityTypeRecId=${EntityTypeRecId}`,
|
|
2339
|
-
|
|
2340
|
-
getEventsFollowupcommentsbyrefrecid: (
|
|
2341
|
-
refRecId,
|
|
2342
|
-
entitytyperecid,
|
|
2343
|
-
refTableName
|
|
2344
|
-
) =>
|
|
2345
|
-
`${environment.ServerUrl}task/followupcomments/byrefrecid?refRecId=${refRecId}&entitytyperecid=${entitytyperecid}&refTableName=${refTableName}`,
|
|
2346
|
-
|
|
2347
|
-
getAllActionGroup: () => `${environment.ServerUrl}entitytype/eventcondition`,
|
|
2348
|
-
|
|
2349
|
-
getAllActionGroupByEntityTypeRecId: (EntityTypeId) =>
|
|
2350
|
-
`${environment.ServerUrl}entitytype/eventcondition?EntityTypeRecId=${EntityTypeId}`,
|
|
2351
|
-
|
|
2352
|
-
getActivityTemplate: (CasetypeId) =>
|
|
2353
|
-
`${environment.ServerUrl}templateactivity?CasetypeId=${CasetypeId}`,
|
|
2354
|
-
|
|
2355
|
-
getAllActionsByEntityTypeId: (EntityTypeId: number) =>
|
|
2356
|
-
`${environment.ServerUrl}entitytype/eventactionbycasetypeid?EntityTypeRecId=${EntityTypeId}`,
|
|
2357
|
-
|
|
2358
|
-
getAllActions: () =>
|
|
2359
|
-
`${environment.ServerUrl}entitytype/eventactionbycasetypeid`,
|
|
2360
|
-
|
|
2361
|
-
getAllActionsByEntityTypeRecId: (EntityTypeRecId) =>
|
|
2362
|
-
`${environment.ServerUrl}entitytype/eventactionbycasetypeid?EntityTypeRecId=${EntityTypeRecId}`,
|
|
2363
|
-
|
|
2364
|
-
getActionsByActionGroupId: (actionGroupId) =>
|
|
2365
|
-
`${environment.ServerUrl}entitytype/eventactionbycasetypeid?ConditionRecId=${actionGroupId}`,
|
|
2366
|
-
|
|
2367
|
-
deleteAction: (RecIds: number[]) =>
|
|
2368
|
-
`${environment.ServerUrl}entitytype/eventaction?recIds=${RecIds}`,
|
|
2369
|
-
|
|
2370
|
-
getEventsConditions: (EventRecId: number) =>
|
|
2371
|
-
`${environment.ServerUrl}entitytype/eventcondition/${EventRecId}`,
|
|
2372
|
-
|
|
2373
|
-
deleteEvents: (RecIds: number[]) =>
|
|
2374
|
-
`${environment.ServerUrl}entitytype/event?recIds=${RecIds}`,
|
|
2375
|
-
|
|
2376
|
-
getEventAction: (EventName) =>
|
|
2377
|
-
`${environment.ServerUrl}entitytype/eventaction?EventName=${EventName}`,
|
|
2378
|
-
|
|
2379
|
-
postEventAction: () => `${environment.ServerUrl}entitytype/eventaction/add`,
|
|
2380
|
-
|
|
2381
|
-
putEventAction: () => `${environment.ServerUrl}entitytype/eventaction/update`,
|
|
2382
|
-
|
|
2383
|
-
putEventCondition: () =>
|
|
2384
|
-
`${environment.ServerUrl}entitytype/eventcondition/update`,
|
|
2385
|
-
|
|
2386
|
-
deleteEventAction: (RecIds: number[]) =>
|
|
2387
|
-
`${environment.ServerUrl}entitytype/eventaction?recIds=${RecIds}`,
|
|
2388
|
-
|
|
2389
|
-
setValidation: (EntityTypeRecId: number) =>
|
|
2390
|
-
`${environment.ServerUrl}entitytype/setup/validate?EntityTypeRecId=${EntityTypeRecId}`,
|
|
2391
|
-
|
|
2392
|
-
setdropdownrequester: (RequesterTypeId: string) =>
|
|
2393
|
-
`${environment.ServerUrl}entitytype/setup/requestertype?RequesterTypeId=${RequesterTypeId}`,
|
|
2394
|
-
};
|
|
2395
|
-
|
|
2396
|
-
export const Sla = {
|
|
2397
|
-
PostSlaAdd: () => `${environment.ServerUrl}entitytype/sla/add`,
|
|
2398
|
-
|
|
2399
|
-
getAllSla: (EntityTypeId: number) =>
|
|
2400
|
-
`${environment.ServerUrl}entitytype/sla?CaseTypeId=${EntityTypeId}`,
|
|
2401
|
-
|
|
2402
|
-
getSlaLines: (SLARecId: number) =>
|
|
2403
|
-
`${environment.ServerUrl}entitytype/sla/lines/withstage?SLARecId=${SLARecId}`,
|
|
2404
|
-
|
|
2405
|
-
deleteSla: (RecIds: number[]) =>
|
|
2406
|
-
`${environment.ServerUrl}entitytype/sla?recIds=${RecIds}`,
|
|
2407
|
-
|
|
2408
|
-
deleteSlaLine: (RecIds: number[]) =>
|
|
2409
|
-
`${environment.ServerUrl}entitytype/sla/lines?recIds=${RecIds}`,
|
|
2410
|
-
|
|
2411
|
-
putSla: () => `${environment.ServerUrl}entitytype/sla/update`,
|
|
2412
|
-
|
|
2413
|
-
putSlaLine: () => `${environment.ServerUrl}entitytype/sla/lines/update`,
|
|
2414
|
-
|
|
2415
|
-
PostSlaLineAdd: () => `${environment.ServerUrl}entitytype/sla/lines/add`,
|
|
2416
|
-
|
|
2417
|
-
PostSlaActive: (recId, comments) =>
|
|
2418
|
-
`${environment.ServerUrl}entitytype/sla/activate?recid=${recId}&comments=${comments}`,
|
|
2419
|
-
|
|
2420
|
-
PostSlaDeActive: (recId, comments) =>
|
|
2421
|
-
`${environment.ServerUrl}entitytype/sla/deactivate?recid=${recId}&comments=${comments}`,
|
|
2422
|
-
};
|
|
2423
|
-
|
|
2424
|
-
export const AssignmentUserRole = {
|
|
2425
|
-
GetAssignUser: (StageRecId: number) =>
|
|
2426
|
-
`${environment.ServerUrl}entitytype/wfprocessstageassignment/usersandroles?StageRecId=${StageRecId}`,
|
|
2427
|
-
|
|
2428
|
-
PostAssignUser: () =>
|
|
2429
|
-
`${environment.ServerUrl}entitytype/wfprocessstageassignment/assingnuser`,
|
|
2430
|
-
|
|
2431
|
-
PostUnassignUser: () =>
|
|
2432
|
-
`${environment.ServerUrl}entitytype/wfprocessstageassignment/unassingnuser`,
|
|
2433
|
-
|
|
2434
|
-
PostAssignRole: (StageRecId) =>
|
|
2435
|
-
`${environment.ServerUrl}entitytype/wfprocessstageassignment/assingnrole&StageRecId=${StageRecId}`,
|
|
2436
|
-
|
|
2437
|
-
PostUnAssignRole: () =>
|
|
2438
|
-
`${environment.ServerUrl}entitytype/wfprocessstageassignment/unassingnrole`,
|
|
2439
|
-
|
|
2440
|
-
GetRoleSelect: () => `${environment.ServerUrl}security/rolemaster`,
|
|
2441
|
-
|
|
2442
|
-
GetUserSelect: () => `${environment.ServerUrl}security/user/assigntodropdown`,
|
|
2443
|
-
|
|
2444
|
-
GetRoleUserWise: (EntityTypeRecId: number, URIds: number) =>
|
|
2445
|
-
`${environment.ServerUrl}entitytype/wfprocessstageassignment/stagestatusrole?EntityTypeRecId=${EntityTypeRecId}&URIds=${URIds}`,
|
|
2446
|
-
|
|
2447
|
-
GetRolesUserWise: (EntityTypeRecId: number, URIds: number) =>
|
|
2448
|
-
`${environment.ServerUrl}entitytype/wfprocessstageassignment/stagestatususer?EntityTypeRecId=${EntityTypeRecId}&URIds=${URIds}`,
|
|
2449
|
-
|
|
2450
|
-
PostRoleUserwise: (StageRecId: number, URIds: number) =>
|
|
2451
|
-
`${environment.ServerUrl}entitytype/wfprocessstageassignment/stagestatus/assingnrole?StageRecId=${StageRecId}&URIds=${URIds}`,
|
|
2452
|
-
|
|
2453
|
-
PostRolesUserwise: (StageRecId: number, URIds: number) =>
|
|
2454
|
-
`${environment.ServerUrl}entitytype/wfprocessstageassignment/stagestatus/unassingnrole?StageRecId=${StageRecId}&URIds=${URIds}`,
|
|
2455
|
-
|
|
2456
|
-
PostUserwise: (StageRecId: number, URIds: number) =>
|
|
2457
|
-
`${environment.ServerUrl}entitytype/wfprocessstageassignment/stagestatus/unassingnuser?StageRecId=${StageRecId}&URIds=${URIds}`,
|
|
2458
|
-
|
|
2459
|
-
PostUserswise: (StageRecId: number, URIds: number) =>
|
|
2460
|
-
`${environment.ServerUrl}entitytype/wfprocessstageassignment/stagestatus/assingnuser?StageRecId=${StageRecId}&URIds=${URIds}`,
|
|
2461
|
-
};
|
|
2462
|
-
|
|
2463
|
-
export const Favorites = {
|
|
2464
|
-
getFavoriteAndRecent: () =>
|
|
2465
|
-
`${environment.ServerUrl}entitytype/favoriteandrecent`,
|
|
2466
|
-
|
|
2467
|
-
favoriteandrecent: () =>
|
|
2468
|
-
`${environment.ServerUrl}entitytype/favoriteandrecent`,
|
|
2469
|
-
|
|
2470
|
-
getFavorites: (EntityType) =>
|
|
2471
|
-
`${environment.ServerUrl}entitytype/favorite/${EntityType}`,
|
|
2472
|
-
addFavorites: (EntityType) =>
|
|
2473
|
-
`${environment.ServerUrl}entitytype/favorite/add?CaseTypeId=${EntityType}`,
|
|
2474
|
-
addRecent: (EntityType) =>
|
|
2475
|
-
`${environment.ServerUrl}entitytype/recent/add?CaseTypeId=${EntityType}`,
|
|
2476
|
-
removeFavorites: (EntityType) =>
|
|
2477
|
-
`${environment.ServerUrl}entitytype/favorite/?CaseTypeIds=${EntityType}`,
|
|
2478
|
-
};
|
|
2479
|
-
|
|
2480
|
-
export const EntityTypeSetUp = {
|
|
2481
|
-
getAllEntityTypeSetup: () => `${environment.ServerUrl}entitytype/setup`,
|
|
2482
|
-
getAllAssinedActivites: (EntityTypeId) =>
|
|
2483
|
-
`${environment.ServerUrl}entitytype/setup/assined/activites?EntityTypeRecId=${EntityTypeId}`,
|
|
2484
|
-
getActiveEntityTypeSetup: (EntityType, CategoryId?) =>
|
|
2485
|
-
`${environment.ServerUrl}entitytype/setup/active?entityType=${EntityType}&CategoryId=${CategoryId}`,
|
|
2486
|
-
|
|
2487
|
-
getActiveEntityForm: (EntityTypeRecId) =>
|
|
2488
|
-
`${environment.ServerUrl}entitytype/form/activationrecord/${EntityTypeRecId}`,
|
|
2489
|
-
getActiveEntityFormbyList: (EntityTypeRecId) =>
|
|
2490
|
-
`${environment.ServerUrl}entitytype/form/activationrecordbylist/${EntityTypeRecId}`,
|
|
2491
|
-
getActiveEntityFormbyDetails: (EntityTypeRecId) =>
|
|
2492
|
-
`${environment.ServerUrl}entitytype/form/activationrecorddetails/${EntityTypeRecId}`,
|
|
2493
|
-
getSingleEntityTypeSetupById: (RecId: number) =>
|
|
2494
|
-
`${environment.ServerUrl}entitytype/setup/${RecId}`,
|
|
2495
|
-
|
|
2496
|
-
getEntitySetupTemplate: (EntityType: number, CategoryId?: any) =>
|
|
2497
|
-
`${environment.ServerUrl}entitytype/setup/dynamictemplate?entityType=${EntityType}&CategoryId=${CategoryId}`,
|
|
2498
|
-
|
|
2499
|
-
postEntityTypeSetup: () => `${environment.ServerUrl}entitytype/setup/add`,
|
|
2500
|
-
putEntityTypeSetup: () => `${environment.ServerUrl}entitytype/setup/update`,
|
|
2501
|
-
deleteEntityTypeSetup: (RecIds: number[]) =>
|
|
2502
|
-
`${environment.ServerUrl}entitytype/setup?recIds=${RecIds}`,
|
|
2503
|
-
getEntityTypeDropdown: (EnumName: string) =>
|
|
2504
|
-
`${environment.ServerUrl}entitytype/getenumdropdown?enumname=${EnumName}`,
|
|
2505
|
-
getDocumentTypeAssignUnAssign: (MenuRecId: number) =>
|
|
2506
|
-
`${environment.ServerUrl}security/documenttype/entitytype/assignandunassign?MenuOrEntityRecId=${MenuRecId}`,
|
|
2507
|
-
assignDocumentType: () =>
|
|
2508
|
-
`${environment.ServerUrl}security/documenttype/entitytype/assign`,
|
|
2509
|
-
unassignDocumentType: () =>
|
|
2510
|
-
`${environment.ServerUrl}security/documenttype/entitytype/unassign`,
|
|
2511
|
-
getAllRules: (EntityTypeId: number) =>
|
|
2512
|
-
`${environment.ServerUrl}/entitytype/rulesdata/${EntityTypeId}`,
|
|
2513
|
-
getAllRulesWithTemplateData: (EntityTypeId: number) =>
|
|
2514
|
-
`${environment.ServerUrl}/entitytype/ruleswithtemplatedata/${EntityTypeId}`,
|
|
2515
|
-
|
|
2516
|
-
getSinglelRules: (EntityTypeId: number, FormRecId: number) =>
|
|
2517
|
-
`${environment.ServerUrl}entitytype/rulesdata/byformrecid?EntityTypeRecId=${EntityTypeId}&FormRecId=${FormRecId}`,
|
|
2518
|
-
|
|
2519
|
-
getEntityCategoryById: (RecId: number) =>
|
|
2520
|
-
`${environment.ServerUrl}entitytype/categorytype/${RecId}`,
|
|
2521
|
-
getAllEntityTypeCategory: () =>
|
|
2522
|
-
`${environment.ServerUrl}entitytype/categorytype`,
|
|
2523
|
-
|
|
2524
|
-
getEntityTypTask: () =>
|
|
2525
|
-
`${environment.ServerUrl}entitytype/setup/active?entityType=20`,
|
|
2526
|
-
|
|
2527
|
-
createEntityCategory: () =>
|
|
2528
|
-
`${environment.ServerUrl}entitytype/categorytype/add`,
|
|
2529
|
-
updateEntityCategory: () =>
|
|
2530
|
-
`${environment.ServerUrl}entitytype/categorytype/update`,
|
|
2531
|
-
deleteEntityCategory: (RecIds: number[]) =>
|
|
2532
|
-
`${environment.ServerUrl}entitytype/categorytype?recIds=${RecIds}`,
|
|
2533
|
-
|
|
2534
|
-
getLookupValuseByLookupId: (LookupTypeId: number[]) =>
|
|
2535
|
-
`${environment.ServerUrl}lookupvalues/GetAllByLookTypeId/${LookupTypeId}`,
|
|
2536
|
-
|
|
2537
|
-
getRequesterType: () => `${environment.ServerUrl}categoryrequestertype`,
|
|
2538
|
-
|
|
2539
|
-
getFieldType: () => `${environment.ServerUrl}fieldtype`,
|
|
2540
|
-
|
|
2541
|
-
getassignunassignrequester: (CategoryId: string) =>
|
|
2542
|
-
`${environment.ServerUrl}categorytypeteams/requestertype?CategoryId=${CategoryId}`,
|
|
2543
|
-
|
|
2544
|
-
getassignunassignissuegroup: (IssueGroupId: string) =>
|
|
2545
|
-
`${environment.ServerUrl}issuegrouprequestermapping/assignandunassign?IssueGroupId=${IssueGroupId}`,
|
|
2546
|
-
|
|
2547
|
-
getlistview: (EntityTypeId: number) =>
|
|
2548
|
-
`${environment.ServerUrl}entitytype/field/listview?EntityTypeId=${EntityTypeId}`,
|
|
2549
|
-
|
|
2550
|
-
getActivityTemplate: (Actiontype?: number) =>
|
|
2551
|
-
`${environment.ServerUrl}entitytype/activitytemplate?Actiontype=${Actiontype}`,
|
|
2552
|
-
getActivityTemplateById: (RecId: number) =>
|
|
2553
|
-
`${environment.ServerUrl}entitytype/activitytemplate/${RecId}`,
|
|
2554
|
-
|
|
2555
|
-
createActivityTemplate: () =>
|
|
2556
|
-
`${environment.ServerUrl}entitytype/activitytemplate/add`,
|
|
2557
|
-
updateActivityTemplate: () =>
|
|
2558
|
-
`${environment.ServerUrl}entitytype/activitytemplate/update`,
|
|
2559
|
-
deleteActivityTemplate: (RecIds: number[]) =>
|
|
2560
|
-
`${environment.ServerUrl}entitytype/activitytemplate?recIds=${RecIds}`,
|
|
2561
|
-
};
|
|
2562
|
-
export const EntityTypeField = {
|
|
2563
|
-
getAllEntityTypeField: (EntityTypeId: number) =>
|
|
2564
|
-
`${environment.ServerUrl}entitytype/field?EntityTypeId=${EntityTypeId}`,
|
|
2565
|
-
getAllEntityTypeFieldWithDynamic: (EntityTypeId: number) =>
|
|
2566
|
-
`${environment.ServerUrl}entitytype/field/eventlistview?EntityTypeId=${EntityTypeId}`,
|
|
2567
|
-
getAllDefaultEntityTypeField: (EntityTypeId: number) =>
|
|
2568
|
-
`${environment.ServerUrl}entitytype/field?EntityTypeId=${EntityTypeId}`,
|
|
2569
|
-
getSingleEntityTypeFieldById: (RecId: number) =>
|
|
2570
|
-
`${environment.ServerUrl}entitytype/field/${RecId}`,
|
|
2571
|
-
postEntityTypeField: () => `${environment.ServerUrl}entitytype/field/add`,
|
|
2572
|
-
putEntityTypeField: () => `${environment.ServerUrl}entitytype/field/update`,
|
|
2573
|
-
deleteEntityTypeField: (RecIds: number[]) =>
|
|
2574
|
-
`${environment.ServerUrl}entitytype/field?recIds=${RecIds}`,
|
|
2575
|
-
};
|
|
2576
|
-
export const EntityTypeForm = {
|
|
2577
|
-
getEntityTypeForm: (EntityTypeId: number, FormType: number) =>
|
|
2578
|
-
`${environment.ServerUrl}entitytype/form?EntityTypeId=${EntityTypeId}&FormType=${FormType}`,
|
|
2579
|
-
getAllEntityTypeForm: (EntityTypeId: number) =>
|
|
2580
|
-
`${environment.ServerUrl}entitytype/form?EntityTypeId=${EntityTypeId}`,
|
|
2581
|
-
getSingleEntityTypeFormById: (RecId: number) =>
|
|
2582
|
-
`${environment.ServerUrl}entitytype/form/${RecId}`,
|
|
2583
|
-
getStatusUpdate: (RecId: number, Status: number) =>
|
|
2584
|
-
`${environment.ServerUrl}entitytype/form/updatestatus?RecId=${RecId}&Status=${Status}`,
|
|
2585
|
-
postEntityTypeForm: () => `${environment.ServerUrl}entitytype/form/add`,
|
|
2586
|
-
postEntityTypeFormData: (
|
|
2587
|
-
EntityTypeRecId: number,
|
|
2588
|
-
FormType: number,
|
|
2589
|
-
Version?: number
|
|
2590
|
-
) =>
|
|
2591
|
-
`${environment.ServerUrl}entitytype/form/addnew?EntityTypeRecId=${EntityTypeRecId}&FormType=${FormType}&Version=${Version}`,
|
|
2592
|
-
putEntityTypeForm: () => `${environment.ServerUrl}entitytype/form/update`,
|
|
2593
|
-
deleteEntityTypeForm: (RecIds: number[]) =>
|
|
2594
|
-
`${environment.ServerUrl}entitytype/form?recIds=${RecIds}`,
|
|
2595
|
-
};
|
|
2596
|
-
|
|
2597
|
-
export const EntityTypeDynamic = {
|
|
2598
|
-
getAllEntityTypeTask: (EntityTypeId: number) =>
|
|
2599
|
-
`${environment.ServerUrl}entitytype/task?entityTypeRecId=${EntityTypeId}`,
|
|
2600
|
-
|
|
2601
|
-
getSingleTaskByRecId: (recId: number) =>
|
|
2602
|
-
`${environment.ServerUrl}entitytype/task/${recId}`,
|
|
2603
|
-
|
|
2604
|
-
getSingleTicketByRecId: (recId: number) =>
|
|
2605
|
-
`${environment.ServerUrl}entitytype/ticket/${recId}`,
|
|
2606
|
-
|
|
2607
|
-
getSingleTicketJoinByRecId: (recId: number, entityTypeRecId: number) =>
|
|
2608
|
-
`${environment.ServerUrl}entitytype/ticketfieldjoin/${recId}/${entityTypeRecId}`,
|
|
2609
|
-
|
|
2610
|
-
getWfStageAction: (EntityTypeId: number, StageId: number) =>
|
|
2611
|
-
`${environment.ServerUrl}entitytype/wfstageaction?EntityTypeId=${EntityTypeId}&StageId=${StageId}`,
|
|
2612
|
-
|
|
2613
|
-
// postTicketWfAction: (RecIds, stageId, action, comments, updateFileds) => `${environment.ServerUrl}entitytype/ticket/wfAction?EntityTypeId=${EntityTypeId}&StageId=${StageId}`,
|
|
2614
|
-
|
|
2615
|
-
Getwfinsprocessstagecomments: (entitytyperecid: number, refrecid: number) =>
|
|
2616
|
-
`${environment.ServerUrl}entitytype/wfinsprocessstagecomments?entitytyperecid=${entitytyperecid}&refrecid=${refrecid}`,
|
|
2617
|
-
|
|
2618
|
-
getStatusField: (ActionRecId: number) =>
|
|
2619
|
-
`${environment.ServerUrl}entitytype/wfprocessstagestatusfield?ActionRecId=${ActionRecId}`,
|
|
2620
|
-
|
|
2621
|
-
getAllEntityTypeTicket: (EntityTypeId: number) =>
|
|
2622
|
-
`${environment.ServerUrl}entitytype/ticket?entityTypeRecId=` + EntityTypeId,
|
|
2623
|
-
|
|
2624
|
-
EntityTypeTicketCreate: (EntityTicketModel: string) =>
|
|
2625
|
-
`${environment.ServerUrl}entitytype/ticket/create?EntityTicketModel=${EntityTicketModel}`,
|
|
2626
|
-
|
|
2627
|
-
EntityTypeTaskCreate: (EntityTaskModel: string) =>
|
|
2628
|
-
`${environment.ServerUrl}entitytype/task/create?EntityTaskModel=${EntityTaskModel}`,
|
|
2629
|
-
|
|
2630
|
-
getSingleEntityTypeFieldById: (RecId: number) =>
|
|
2631
|
-
`${environment.ServerUrl}entitytype/field/${RecId}`,
|
|
2632
|
-
|
|
2633
|
-
postEntityTypeField: () => `${environment.ServerUrl}entitytype/field/add`,
|
|
2634
|
-
|
|
2635
|
-
putEntityTypeField: () => `${environment.ServerUrl}entitytype/field/update`,
|
|
2636
|
-
|
|
2637
|
-
deleteEntityTypeField: (RecIds: number[]) =>
|
|
2638
|
-
`${environment.ServerUrl}entitytype/field?recIds=${RecIds}`,
|
|
2639
|
-
|
|
2640
|
-
PostDynamicTicket: (EntityTicketModel: string) =>
|
|
2641
|
-
`${environment.ServerUrl}entitytype/ticket/create?EntityTicketModel=${EntityTicketModel}`,
|
|
2642
|
-
|
|
2643
|
-
getEntityTpeId: () => `${environment.ServerUrl}entitytype/setup/active`,
|
|
2644
|
-
};
|
|
2645
|
-
|
|
2646
|
-
export const EntityTypeMyAssignedCases = {
|
|
2647
|
-
getAllMyAssignedCases: (CategoryId: number, type) =>
|
|
2648
|
-
`${environment.ServerUrl}entitytype/myassigncase?CategoryId=${CategoryId}&filter=${type}`,
|
|
2649
|
-
|
|
2650
|
-
getmyassigncase: (type) =>
|
|
2651
|
-
`${environment.ServerUrl}entitytype/myassigncase?filter=${type}`,
|
|
2652
|
-
|
|
2653
|
-
getAllMyInbox: (CategoryId: number) =>
|
|
2654
|
-
`${environment.ServerUrl}entitytype/myassigncase?CategoryId=${CategoryId}&filter=Participate`,
|
|
2655
|
-
getMyAssignedCasesByRecId: (RecId: number) =>
|
|
2656
|
-
`${environment.ServerUrl}entitytype/myassigncase/${RecId}`,
|
|
2657
|
-
postMyAssignedCases: () =>
|
|
2658
|
-
`${environment.ServerUrl}entitytype/myassigncase/add`,
|
|
2659
|
-
putMyAssignedCases: () =>
|
|
2660
|
-
`${environment.ServerUrl}entitytype/myassigncase/update`,
|
|
2661
|
-
deleteMyAssignedCases: (RecIds: number[]) =>
|
|
2662
|
-
`${environment.ServerUrl}entitytype/myassigncase?recIds=${RecIds}`,
|
|
2663
|
-
};
|
|
2664
|
-
|
|
2665
|
-
export const dynamic = {
|
|
2666
|
-
getDynamicAll: (entityTypeRecId: number,processStageId?) =>
|
|
2667
|
-
`${environment.ServerUrl}entitytype/dynamic/get/?entityTypeRecId=${entityTypeRecId}&processStageId=${processStageId}`,
|
|
2668
|
-
getDynamicAllForSupportReq: (entityTypeRecId: number) =>
|
|
2669
|
-
`${environment.ServerUrl}entitytype/dynamic/get/?entityTypeRecId=${entityTypeRecId}`,
|
|
2670
|
-
|
|
2671
|
-
dynamicTaskGet: (filterStatusId: any, StausId) =>
|
|
2672
|
-
`${environment.ServerUrl}entitytype/dynamic/task/get?filterStatusId=${filterStatusId}&StatusId=${StausId}`,
|
|
2673
|
-
|
|
2674
|
-
dynamicTaskGetByEntityTypeRecId: (EntityTypeRecId, StatusId: any) =>
|
|
2675
|
-
`${environment.ServerUrl}entitytype/dynamic/task/get?EntityTypeRecId=${EntityTypeRecId}&StatusId=${StatusId}`,
|
|
2676
|
-
|
|
2677
|
-
dynamicTaskGetByCreatedSource: (SourceId,SourceEntityTypeId, SourceType: any) =>
|
|
2678
|
-
`${environment.ServerUrl}entitytype/dynamic/task/get?SourceId=${SourceId}&SourceType=${SourceType}&SourceEntityTypeId=${SourceEntityTypeId}`,
|
|
2679
|
-
|
|
2680
|
-
dynamicGet: (entityTypeRecId: number, filterStatusId: any) =>
|
|
2681
|
-
`${environment.ServerUrl}entitytype/dynamic/get/?entityTypeRecId=${entityTypeRecId}&StatusId=${filterStatusId}`,
|
|
2682
|
-
// dynamicTaskGet: (filterStatusId:any) =>`${environment.ServerUrl}entitytype/dynamic/task/get?filterStatusId=${filterStatusId}`,
|
|
2683
|
-
dynamicTaskGetByEntityTypeRecIdAndStatusId: (
|
|
2684
|
-
EntityTypeRecId,
|
|
2685
|
-
StatusId: any
|
|
2686
|
-
) =>
|
|
2687
|
-
`${environment.ServerUrl}entitytype/dynamic/task/get?EntityTypeRecId=${EntityTypeRecId}&StatusId=${StatusId}`,
|
|
2688
|
-
// dynamicTaskGetByEntityTypeRecId: (EntityTypeRecId) =>`${environment.ServerUrl}entitytype/dynamic/task/get?EntityTypeRecId=${EntityTypeRecId}`,
|
|
2689
|
-
dynamicTaskGetByStausId: (StatusId: any) =>
|
|
2690
|
-
`${environment.ServerUrl}entitytype/dynamic/task/get?StatusId=${StatusId}`,
|
|
2691
|
-
dynamicTaskGetByStausIdAndfilterStatus: (filterStatusId, StatusId: any) =>
|
|
2692
|
-
`${environment.ServerUrl}entitytype/dynamic/task/get?filterStatusId=${filterStatusId}&StatusId=${StatusId}`,
|
|
2693
|
-
|
|
2694
|
-
getDynamicAllActivity: (entityTypeRecId: number, ActivityTypeId: number) =>
|
|
2695
|
-
`${environment.ServerUrl}entitytype/dynamic/get/?entityTypeRecId=${entityTypeRecId}&ActivityTypeId=${ActivityTypeId}`,
|
|
2696
|
-
|
|
2697
|
-
getDynamicActivityByRefRecid: (
|
|
2698
|
-
entityTypeRecId: number,
|
|
2699
|
-
ActivityTypeId: number,
|
|
2700
|
-
RefRecid: number
|
|
2701
|
-
) =>
|
|
2702
|
-
`${environment.ServerUrl}entitytype/dynamic/get/?entityTypeRecId=${entityTypeRecId}&processStageId=0&ActivityTypeId=${ActivityTypeId}&ReftypeId=${RefRecid}`,
|
|
2703
|
-
|
|
2704
|
-
getActivityUploadFile: (RefRecId: number, EntityTypeId: number,ActivityTypeId:number) =>
|
|
2705
|
-
`${environment.ServerUrl}/getuploadfilesbyreferanceparams?RefRecId=${RefRecId}&EntityTypeId=${EntityTypeId}&ActivityTypeId=${ActivityTypeId}`,
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
getDynamicById: (entityTypeRecId: number, RecId: number) =>
|
|
2709
|
-
`${environment.ServerUrl}/entitytype/dynamic/${RecId}/${entityTypeRecId}`,
|
|
2710
|
-
insertDynamic: (EntityData) =>
|
|
2711
|
-
`${environment.ServerUrl}/entitytype/dynamic/insert?EntityData=${EntityData}`,
|
|
2712
|
-
updateDynamic: (EntityData) =>
|
|
2713
|
-
`${environment.ServerUrl}entitytype/dynamic/update?EntityData=${EntityData}`,
|
|
2714
|
-
deleteDynamicById: (entityTypeRecid: number, RecId: number) =>
|
|
2715
|
-
`${environment.ServerUrl}entitytype/dynamic/delete?entityTypeRecid=${entityTypeRecid}&recId=${RecId}`,
|
|
2716
|
-
|
|
2717
|
-
getDynamicRefRecidEntity: (entityTypeRecId: number, RefTypeId: number) =>
|
|
2718
|
-
`${environment.ServerUrl}entitytype/dynamic/activity/get?entityTypeRecId=${entityTypeRecId}&RefTypeId=${RefTypeId}`,
|
|
2719
|
-
};
|
|
2720
|
-
|
|
2721
|
-
export const EntityTypeCategoryTypeTeams = {
|
|
2722
|
-
getAllCategoryTypeTeams: (CategoryId: number) =>
|
|
2723
|
-
`${environment.ServerUrl}categorytypeteams?CategoryId=${CategoryId}`,
|
|
2724
|
-
getCategoryTypeTeamsByRecId: (RecId: number) =>
|
|
2725
|
-
`${environment.ServerUrl}categorytypeteams/${RecId}`,
|
|
2726
|
-
postCategoryTypeTeams: () => `${environment.ServerUrl}categorytypeteams/add`,
|
|
2727
|
-
putCategoryTypeTeams: () =>
|
|
2728
|
-
`${environment.ServerUrl}categorytypeteams/update`,
|
|
2729
|
-
deleteCategoryTypeTeams: (RecIds: number[]) =>
|
|
2730
|
-
`${environment.ServerUrl}categorytypeteams?recIds=${RecIds}`,
|
|
2731
|
-
getAssignmentsDepartmentsAndRoles: (CategoryId: any) =>
|
|
2732
|
-
`${environment.ServerUrl}categorytypeteams/departmentsandroles?CategoryId=${CategoryId}`,
|
|
2733
|
-
assignRole: () => `${environment.ServerUrl}categorytypeteams/assingnrole`,
|
|
2734
|
-
unAssignRole: () => `${environment.ServerUrl}categorytypeteams/unassingnrole`,
|
|
2735
|
-
assignDepartment: () =>
|
|
2736
|
-
`${environment.ServerUrl}categorytypeteams/assingndepartment`,
|
|
2737
|
-
unAssignDepartment: () =>
|
|
2738
|
-
`${environment.ServerUrl}categorytypeteams/unassingndepartment`,
|
|
2739
|
-
};
|
|
2740
|
-
|
|
2741
|
-
export const EntityTypeCategoryTypeActivities = {
|
|
2742
|
-
getAllCategoryTypeActivities: (CategoryId: number) =>
|
|
2743
|
-
`${environment.ServerUrl}categorytypeactivity?CategoryId=${CategoryId}`,
|
|
2744
|
-
getCategoryTypeActivitiesByRecId: (RecId: number) =>
|
|
2745
|
-
`${environment.ServerUrl}categorytypeactivity/${RecId}`,
|
|
2746
|
-
postCategoryTypeActivities: () =>
|
|
2747
|
-
`${environment.ServerUrl}categorytypeactivity/add`,
|
|
2748
|
-
putCategoryTypeActivities: () =>
|
|
2749
|
-
`${environment.ServerUrl}categorytypeactivity/update`,
|
|
2750
|
-
deleteCategoryTypeActivities: (RecIds: number[]) =>
|
|
2751
|
-
`${environment.ServerUrl}categorytypeactivity?recIds=${RecIds}`,
|
|
2752
|
-
getAssignmentsActivities: (CategoryId: any) =>
|
|
2753
|
-
`${environment.ServerUrl}categorytypeactivity/assignandunassign?CategoryId=${CategoryId}`,
|
|
2754
|
-
assignActivities: () => `${environment.ServerUrl}categorytypeactivity/assign`,
|
|
2755
|
-
unAssignActivities: () =>
|
|
2756
|
-
`${environment.ServerUrl}categorytypeactivity/unassign`,
|
|
2757
|
-
};
|
|
2758
|
-
export const IssueSubGroup = {
|
|
2759
|
-
getAssignmentsForSubGroup: (SubGroupId: string) =>
|
|
2760
|
-
`${environment.ServerUrl}subgroupassingnment/assignandunassign?SubGroupId=${SubGroupId}`,
|
|
2761
|
-
assignSubGroup: () => `${environment.ServerUrl}subgroupassingnment/assign`,
|
|
2762
|
-
unAssignSubGroup: () =>
|
|
2763
|
-
`${environment.ServerUrl}subgroupassingnment/unassign`,
|
|
2764
|
-
};
|
|
2765
|
-
|
|
2766
|
-
export const categoryrequestertype = {
|
|
2767
|
-
deleteCategoryTypeActivities: (RecIds: number[]) =>
|
|
2768
|
-
`${environment.ServerUrl}categoryrequestertype?recIds=${RecIds}`,
|
|
2769
|
-
};
|
|
2770
|
-
|
|
2771
|
-
export const Instruction = {
|
|
2772
|
-
getAllInstruction: () => `${environment.ServerUrl}subgroup/instruction`,
|
|
2773
|
-
getSingleInstruction: (RecId: number) =>
|
|
2774
|
-
`${environment.ServerUrl}subgroup/instruction/${RecId}`,
|
|
2775
|
-
createInstruction: () => `${environment.ServerUrl}subgroup/instruction/add`,
|
|
2776
|
-
updateInstruction: () =>
|
|
2777
|
-
`${environment.ServerUrl}subgroup/instruction/update`,
|
|
2778
|
-
deleteInstruction: (recIds: number[]) =>
|
|
2779
|
-
`${environment.ServerUrl}subgroup/instruction?recIds=${recIds}`,
|
|
2780
|
-
getAssignmentForInstruction: (InstructionId: number) =>
|
|
2781
|
-
`${environment.ServerUrl}subgroupassingnment/instruction/assignandunassign?InstructionRecId=${InstructionId}`,
|
|
2782
|
-
assignInstruction: () =>
|
|
2783
|
-
`${environment.ServerUrl}subgroupassingnment/instruction/assign`,
|
|
2784
|
-
unAssignInstruction: () =>
|
|
2785
|
-
`${environment.ServerUrl}subgroupassingnment/instruction/unassign`,
|
|
2786
|
-
};
|
|
2787
|
-
|
|
2788
|
-
export const ShortKeyCannedResponse = {
|
|
2789
|
-
getShortCannedRespones: (searchterm: string) =>
|
|
2790
|
-
`${environment.ServerUrl}entitytype/cannedresponsebyshortcode?searchterm=${searchterm}`,
|
|
2791
|
-
};
|
|
2792
|
-
export const CannedResponse = {
|
|
2793
|
-
getAllCannedResponse: () =>
|
|
2794
|
-
`${environment.ServerUrl}entitytype/cannedresponse`,
|
|
2795
|
-
getSingleCannedResponse: (RecId: number) =>
|
|
2796
|
-
`${environment.ServerUrl}entitytype/cannedresponse/${RecId}`,
|
|
2797
|
-
createCannedResponse: () =>
|
|
2798
|
-
`${environment.ServerUrl}entitytype/cannedresponse/add`,
|
|
2799
|
-
updateCannedResponse: () =>
|
|
2800
|
-
`${environment.ServerUrl}entitytype/cannedresponse/update`,
|
|
2801
|
-
deleteCannedResponse: (recIds: number[]) =>
|
|
2802
|
-
`${environment.ServerUrl}entitytype/cannedresponse?recIds=${recIds}`,
|
|
2803
|
-
};
|
|
2804
|
-
|
|
2805
|
-
export const IssueCrud = {
|
|
2806
|
-
getAllIssueCrud: (IssueId: string) =>
|
|
2807
|
-
`${environment.ServerUrl}issuecaserequestermapping?IssueId=${IssueId}`,
|
|
2808
|
-
getSingleIssueCrud: (RecId: number) =>
|
|
2809
|
-
`${environment.ServerUrl}issuecaserequestermapping/${RecId}`,
|
|
2810
|
-
createIssueCrud: () =>
|
|
2811
|
-
`${environment.ServerUrl}issuecaserequestermapping/add`,
|
|
2812
|
-
updateIssueCrud: () =>
|
|
2813
|
-
`${environment.ServerUrl}issuecaserequestermapping/update`,
|
|
2814
|
-
deleteIssueCrud: (recIds: number[]) =>
|
|
2815
|
-
`${environment.ServerUrl}issuecaserequestermapping?recIds=${recIds}`,
|
|
2816
|
-
};
|
|
2817
|
-
|
|
2818
|
-
export const loginauth = {
|
|
2819
|
-
validatetoken: (Token: string) =>
|
|
2820
|
-
`${environment.ServerUrl}api/security/ValidateSecurityToken?Token=${Token}`,
|
|
2821
|
-
};
|