vcomply-workflow-engine 6.0.67 → 6.0.68

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.
@@ -34524,6 +34524,12 @@ const CONSTANTS$1 = {
34524
34524
  POLICY_ID: 'policyId',
34525
34525
  };
34526
34526
 
34527
+ const API = {
34528
+ subscriptionList: `subscriptionList`,
34529
+ goToPolicyWorkroom: `/all/policy/workroom?id=`,
34530
+ editPolicy: `/all/policy/edit-policy?id=`,
34531
+ };
34532
+
34527
34533
  class RestApiService {
34528
34534
  constructor(httpClient, authService, config) {
34529
34535
  this.httpClient = httpClient;
@@ -38499,11 +38505,11 @@ class WorkflowPolicyComponent {
38499
38505
  this.loader = false;
38500
38506
  if (document.fileExtension === 'docx' ||
38501
38507
  document.fileExtension === 'DOCX') {
38502
- url = this.baseURL + '/all/policy/edit-policy?id=' + this.policyId;
38508
+ url = this.baseURL + API.editPolicy + this.policyId;
38503
38509
  }
38504
38510
  else if (document.fileExtension === 'pdf' ||
38505
38511
  document.fileExtension === 'PDF') {
38506
- url = this.baseURL + '/all/policy/workroom?id=' + this.policyId;
38512
+ url = this.baseURL + API.goToPolicyWorkroom + this.policyId;
38507
38513
  }
38508
38514
  this.iframeService.redirectIfInIframe(url, true);
38509
38515
  }